How do I perform the correlation between two patches that I extracted from an image?
I have extracted two patches and saved them into two different images. Now I just want to perform correlation between them. There is no template image for me. My both images are of same size and type.
Im using flipimagefilter followed by simple Itkconvolutionimagefilter to perform correlation operation.
If my two images are of size 555, how do I print the value of correlation? (I dont want to do any padding for the images. I just need the output correlation value as 111)