A description of an image warp.
The central method of a Warp
is warpSparseRect()
, which returns the source pixel positions for a specified (subdivided) rectangular region of the output.
As in the Interpolation
class, pixel positions are represented using scaled integer coordinates, yielding subpixel accuracy but still allowing the use of integer arithmetic. The degree of precision is set by means of the getSubSampleBitsH()
and getSubSampleBitsV
parameters to the warpRect()
method.
@see Interpolation
@see WarpAffine
@see WarpGrid
@see WarpPerspective
@see WarpPolynomial
@see WarpQuadratic
@see WarpCubic
@see WarpGeneralPolynomial
@see WarpOpImage