@Zorro and Ferdem
Thanks for replying me.....I will try working on your suggestions
Actually I need to solve for Ri(x,y) with those conditions and my difficulty is in 2D integration.
Using meshgrid I agree ,I can find r...which on substituting in F(x,y) = k exp(-r.^2/c.^2)....[[c is any scalar value]]
now to find the value of k i use the integration condition ∫∫ F(x,y) dx dy =1
ie k=1/∫∫ (exp(-r.^2/c.^2))
My problem is I dont know how to satisfy this condition and subsitute in
Ri (x,y)=log Ii (x,y) – log [F(x,y) * Ii (x,y) ]
I get errors while coding this part....Can anyone send me the matlab code for this .
Regards
Anney
---------- Post added at 13:33 ---------- Previous post was at 13:13 ----------
Hi adding some more information to the previous thread..
Ii(x,y) is the original image
* is the convolution operation
F(x,y) is the surround function calculated from F(x,y) = k exp(-r.^2/c.^2)
Thank You
Anney