Documentation |
Apply geometric transformation to image
B = imwarp(A,tform) transforms the image A according to the geometric transformation defined by tform, which is a geometric transformation object. B is the transformed image.
[B,RB] = imwarp(A,RA,tform) transforms the spatially referenced image, specified by the image data A and the associated spatial referencing object RA. The output is a spatially referenced image specified by the image data B and the associated spatial referencing object RB.
[B,RB] = imwarp(___,Name,Value) specifies parameters that control various aspects of the geometric transformation. Parameter names can be abbreviated, and case does not matter.
Code Generation: imwarp supports the generation of efficient, production-quality C/C++ code from MATLAB. When generating code, the geometric transformation object input, tform, must be either affine2d or projective2d. Additionally, the interpolation method and optional parameter names must be string constants. To see a complete list of all the list of toolbox functions that support code generation, see List of Supported Functions with Usage Notes.
affine2d | affine3d | imref2d | imref3d | imregtform | projective2d