[Image-SIG] Saving 16bit tiffs

Bob Klimek klimek at grc.nasa.gov
Tue Feb 17 10:27:32 EST 2004

Scott Rifkin wrote:

>I am trying to do the following:
>1) read a 16-bit tiff image 
>2) extract a rectangle from it
>3) do a two-dimensional Fourier transform on the extracted rectangle-I do 
>this by the getdata function, reshaping it into a Numeric array, and 
>calling fft2d on it.
>4) remove some of the lower frequency contribution
>5) take the inverse Fourier transform
>6)paste that back into the original image
>7) save the image as a 16-bit tiff to a new file

Since you're dealing with 16-bit images, you might be able to do this 
with PythonMagick (http://www.procoders.net/moinmoin/PythonMagick).


More information about the Image-SIG mailing list