Cross-correlating 2 images to find match
i am in a blank now regarding problems with the cross-correlation function with JAI
i know to find cross-correlation coefficient of 2 images i have to perform
IDFT(DFT(baseImage),conjugate(DFT(matchTemplate)) to find a match
but the problem arise, i get back a RenderedOp Object, and i have no idea how to
derive a sensible value that i can relate to which a match has been found between the baseImage and matchTemplate.
Any kind soul out there that have any idea on how i can go about playing with the cross-correlated image??
I attempted to convert the RenderedOp image into a awt.Image object for display, and guess what i see a big patch of white rectangle at the top left corner of the entire image, with the rest populated by black background with "colored" strips in the foreground?
please explain to me this anyone? many thanks beforehand