Apply geometric transformation


B = warp(w,A) performs the geometrical transformation defined in w on input image A and returns the warped image in B.

Input Arguments

collapse all

Image warper, specified as a Warper object.

Input image, specified as a numeric matrix, with size m-by-n or m-by-n-by-p. The size of A must match w.InputSize.

Data Types: single | int16 | uint8

Output Arguments

collapse all

Transformed image, returned as a numeric matrix. B has the same type as A and its first two dimensions are w.OutputSize. If A has p planes, B will also have p planes.

See Also

Introduced in R2017b