Hello,
I have a .tif movie file, which contains 100 .tif image (512x512) files. Now I have a IDL based script for .PMA file (512x512) analysis:
--------------------------------------------------------------------------
openr, 1, Name + ".PMA"
; figure out size + allocate appropriately
result = FSTAT(1)
readu, 1, film_x
readu, 1, film_y
film_l = long(long(result.SIZE-4)/(long(film_x)*long(film_y)))
print, "film x,y,l : ", film_x,film_y,film_l
------------------------------------------------------------------------------
When I use this script to read a .PMA file, film_x = film_y = 512. For a .tif movie file, the output is film_x = 19789, film_y = 10752.
I think I use openr function on a wrong way, maybe.
Can I get some suggestion at here?
Thanks!
|