Re: Leveling Image
Posted by Gabriel Landini on Aug 22, 2011; 1:46pm
URL: http://imagej.273.s1.nabble.com/Leveling-Image-tp3683357p3683365.html
On Monday 22 Aug 2011, Ahsan wrote:
> Thank you much for you reply. The approach you talked about in the end is
> actually what i am thinking and looking for. I.e. first subtracting a
> fitted plane to remove the noise and then correcting the image line by
> line by using the median approach. I have been able to do the plane
> correction and was wondering if there is any plugin for line wise
> correction using the median approach.
The Fourier analysis image looks truly impressive, but wouldn't this erase
areas that also happen to be originally dark and horizontal? I wonder if this
would be unable to differentiate between the artifact and the data. For
example is the horizontal dark valley in the original a feature or an
artifact?
Now that you provided an image, the idea of modelling the background intensity
goes through the window as there is no obvious background in the image to play
with.
To answer your other question, to do a line filtering you can reslice your
image (from Top). This creates a stack which is the image seen from the top
(so each slice is a line).
Then you could filter the stack with a median filter as large as the image
width and reslice back to obtain the horizontally-median-filtered image. The
only problem is that the maximum filter radius one can use is 100 and your
image is wider than 200.
Regards
Gabriel