Inverse FFT Stopped Working on Mac

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Inverse FFT Stopped Working on Mac

George Reis
I use the FFT to remove repeating patterns from images. I've done this for years, and suddenly the Inverse FFT is now returning a copy of the original image with no changes! That is, I run the FFT, mark my points, then run Inverse FFT, and the new image is identical to the original with the pattern still in place.

This is on a Mac 10.6.8 using several versions of ImageJ, including, 1.36b, and both 32 and 64 bit versions of 1.45s.

Any ideas as to what caused this and what the fix is?

TIA,

George
Reply | Threaded
Open this post in threaded view
|

Re: Inverse FFT Stopped Working on Mac

Michael Schmid
Hi George,

no such problem under 1..46n22, OS X 10.6.8 here.

Maybe, when filtering the FFT, you have modified brightness and contrast?
Fourier filtering by editing the image works only if the pixel values are 0 (suppress) or 255 (pass).  It is not enough if the selected area appears white or black because B&C are set in a way that shows it as black or white.

Note that the drawing tools, delete and fill set *color* to the foreground or background color. If 'white' does not correspond to 255, they won't set anything to 255. Same for black and 0.

Also make sure that the foreground and background colors are really black and white (double click the eyedropper and click on the black rectangle at the bottom).

Michael
________________________________________________________________
On May 10, 2012, at 21:37, George Reis wrote:

> I use the FFT to remove repeating patterns from images. I've done this for years, and suddenly the Inverse FFT is now returning a copy of the original image with no changes! That is, I run the FFT, mark my points, then run Inverse FFT, and the new image is identical to the original with the pattern still in place.
>
> This is on a Mac 10.6.8 using several versions of ImageJ, including, 1.36b, and both 32 and 64 bit versions of 1.45s.
>
> Any ideas as to what caused this and what the fix is?
>
> TIA,
>
> George
Reply | Threaded
Open this post in threaded view
|

Re: Inverse FFT Stopped Working on Mac

George Reis
On May 10, 2012, at 12:55 PM, Michael Schmid wrote:

> Also make sure that the foreground and background colors are really black and white

Apparently this was it, although I don't know how they changed in the first place! Or why they were wrong in three different versions!

Thanks Michael