Member
Joined:
Posts: 12

How can I measure the error between two speckle intensities. ?

Administrator
Joined:
Posts: 73

Hi,

What do you mean by error? In what context? What data to you have?

If you have two speckle images and you want to know how close they are, you can just calculate the quadratic error:
\sum((I1[n]-I2[n])^2)
which is 0 if the two speckle are the same

Or calculate the correlation between the two images
\sum(I1[n]I2[n])/\sqrt(\sum(I1[n]I1[n])\sum(I2[n]I2[n]))
which is 100% if the two speckles are the same.

Best,

Sebastien

Member
Joined:
Posts: 12

Thanks Sebastin.

I would like to see how close the two speckle images are.

So by correlation you mean correlation coefficient if I am not mistaken ?

Administrator
Joined:
Posts: 73

Yes, the correlation coefficient is one standard measure of the similarity between two images.