3D images [message #39857] |
Fri, 18 June 2004 13:49 |
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
|
|
|