images.geotrans.LocalWeightedMeanTransformation2D
2-D local weighted mean geometric transformation
Description
A LocalWeightedMeanTransformation2D object stores
information about a 2-D local weighted mean geometric transformation and enables inverse
transformations.
Creation
You can create a LocalWeightedMeanTransformation2D object in these
ways.
The
fitgeotform2dfunction, which estimates a geometric transformation that maps pairs of control points between two images.The
images.geotrans.LocalWeightedMeanTransformation2Ddescribed here. This function creates aLocalWeightedMeanTransformation2Dobject using coordinates of fixed points and moving points, and a specified number of points to use in the local weighted mean calculation.
Description
tform = images.geotrans.LocalWeightedMeanTransformation2D(
creates a movingPoints,fixedPoints,n)LocalWeightedMeanTransformation2D object that maps
control points in the moving image, movingPoints, to
control points in the fixed image, fixedPoints, using a
local weighted mean transformation. The n closest points
are used to infer a second degree polynomial transformation for each control
point pair. You can select control points using the cpselect function.
Input Arguments
Properties
Object Functions
outputLimits | Find output spatial limits given input spatial limits |
transformPointsInverse | Apply inverse geometric transformation |
Examples
Algorithms
The local weighted mean transformation infers a polynomial at each control point using
neighboring control points. The mapping at any location depends on a weighted average of
these polynomials. The n closest points are used to infer a second
degree polynomial transformation for each control point pair. n can
be as small as 6, but making it small risks generating ill-conditioned
polynomials.
Version History
Introduced in R2013b