warp

Apply geometric transformation

Syntax

B = warp(w,A)

Description

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

Input Arguments

expand 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

expand 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.

Introduced in R2017b