comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 3D images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
3D images [message #39857] Fri, 18 June 2004 13:49
siliconcube is currently offline  siliconcube
Messages: 11
Registered: June 2004
Junior Member
Hello,
this board has been very helpful and I was wondering if anyone could
help me with the following.
I'm trying to construct a cylinder. I made a circle in photoshop and
made 10 copies of the file just renaming it. (example circle_01.tiff,
...._02.tiff etc)

this is the code I have (which is barely modified code from Dr.
Fannings website) and with the following code i was hoping to get an
isosurface of a cylinder and this is the error that I get before I
make past the last line:
% READ_TIFF: Not a TIFF file, bad magic number 19778 (0x4d42)
% Execution halted at: $MAIN$
The images are TIFF Files, I checked them from properties tab in
windows.
when I run query_tiff command I get the following error
IDL> ok = query_tiff('test_01.tif', info)
% Loaded DLM: TIFF.
IDL> print, info.dimensions
% Expression must be a structure in this context: INFO.
% Execution halted at: $MAIN$


files=findfile('*.tif')
index=bsort(files, sortedfiles)
volume=bytarr(1600,1200,80)
for j=0,9 do begin
image=read_tiff(sortedfiles[j])
volume[*,*,j] = image
endfor

Thank you
Al
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: RANDOMU not very random
Next Topic: [Urgent] TXT-to-GRIB Converter & NetCDF-to-GRIB Converter for IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:40:49 PDT 2025

Total time taken to generate the page: 0.00362 seconds