cpcorr
Tune control point locations using cross-correlation
Description
adjusts the position of moving control points, movingPointsAdjusted = cpcorr(movingPoints,fixedPoints,moving,fixed)movingPoints,
with respect to fixed control points, fixedPoints, using
normalized cross-correlation between the moving image moving
and the fixed image fixed. The cpcorr
function returns the adjusted moving control points in
movingPointsAdjusted.
Examples
Input Arguments
Output Arguments
Tips
The
movingandfixedimages must have the same scale forcpcorrto be effective.If
cpcorrcannot correlate a pair of control points,movingPointsAdjustedcontains the same coordinates asmovingPointsfor that pair.cpcorrcannot adjust a point if any of these conditions occur:points are too near the edge of either image
regions of images around points contain
InforNaNregion around a point in moving image has zero standard deviation
regions of images around points are poorly correlated
Algorithms
cpcorr only moves the position of a control point by up to four pixels.
Adjusted coordinates are accurate up to one-tenth of a pixel.
cpcorr is designed to get subpixel accuracy from the image
content and coarse control point selection.


