#### Anney

##### Newbie level 3

I am tring to perform a coding of the below equations which basically is an enhancement operation of an image called Single Scale Retinex.

**The Single Scale retinex is given by**

Ri (x,y)=log Ii (x,y) – log [F(x,y) * Ii (x,y) ]

Where

F(x,y) = K exp(-r2 / c2 )--- Surround Function

c- Scalar value and selection of K is that

r- √ x2 + y2

∫∫ F(x,y) dx dy =1

Ri (x,y)=log Ii (x,y) – log [F(x,y) * Ii (x,y) ]

Where

F(x,y) = K exp(-r2 / c2 )--- Surround Function

c- Scalar value and selection of K is that

r- √ x2 + y2

∫∫ F(x,y) dx dy =1

The problem I have is , I am not able to find the value of F(x,y) (surround function) with the integration condition....

Could somebody help me with this

Thank you