From: Vikas on
Hi,
XCORR2 gives me the coefficients of the correlated image . I have
a problem in getting the pixel valued from the maximum correlation
coefficients.

After that how to draw a rectangle in the original image to show the
correlated image.

Basically I am struggling in finding out the region of the interest
in the original image from the correlation coefficients.

Thanks

Regards
Vikas
From: Neo on
hi,

BW = roipoly(I,c,r)

this is the command used to draw a region of interest over the image
file, the first parameter represents the Image variable, c and r are
the polygons's vector

hope this helps


> XCORR2 gives me the coefficients of the correlated image . I have
> a problem in getting the pixel valued from the maximum correlation
> coefficients.
>
> After that how to draw a rectangle in the original image to show the
> correlated image.
>
> Basically I am struggling in finding out the region of the interest
> in the original image from the correlation coefficients.
>