Login  Register

Re: Substract diffuse reflection.... #2

Posted by Liisa Palomaa on Oct 29, 2006; 6:46am
URL: http://imagej.273.s1.nabble.com/Substract-diffuse-reflection-tp3701147p3701153.html

Hi!

I have an idea how I can take away the diffuse reflection. But I need
some help, please.I attached some images so it is easier to understand
what I want to do.

http://img100.imageshack.us/img100/4790/t2img20kp4.png

I want to substract "light intesity" that is the same as the line in
the image- from all the points in the image. The line doesn't show the
exakt place- but I want to substract the light intesity- that is same
as for a line from the center of the image and up to the top of the
image or/and the center of the image to the bottom af the image. If I
do a plot profile from the top of the image to the bottom ( in the
midle in x-direction) I get the following plot:

http://img86.imageshack.us/img86/5053/plotoft2img1gj9.png

I think it is a good idea to use a median filter with radius 5 on the
plot profile- to make it more smooth, before subtracting the light
intesity from the original image.

The reason why  want to do this way - is that I am interested of the
light scattering in the horizontal direction........

 I am not sure if it will work- because the plot profile should be a
Gaussian distrubuted-(the same on both sides of the midle) when I make
the selection in the midle- but it seems like the black area- is not
always in the midle for all the images. But maybe it is good enough.
It might happen that is best to try to find the position in the
x-direction where the plot profile is Gaussian distributed..... And
then make a picture of it's light intensity-0 and then substract it
from the original image.

I would really appreciate if someone can help me and tell me if this
is possible or not.
I attached some images if someone want to try.

http://img132.imageshack.us/img132/6105/t2img100jl2.png
http://img132.imageshack.us/img132/4930/t2img1cb9.png

Thanks in advance

Liisa