Warper
Apply same geometric transformation to many images efficiently
Description
A Warper
object applies a linear 2-D geometric
transformation to images with a specific size. If the input images are RGB images or 3-D
grayscale images, then the Warper
object applies the geometric
transformation to each color channel or plane independently.
Creation
Syntax
Description
w = images.geotrans.Warper(___,
also sets one or more writable properties using name-value arguments.Name=Value
)
For example, w =
images.geotrans.Warper(tform,size(im),FillValue=1)
specifies a
fill value of 1
for pixels outside the original
image.
Input Arguments
Name-Value Arguments
Properties
Object Functions
warp | Apply geometric transformation of Warper object |
Examples
Algorithms
Warper
is optimized to apply the same geometric transformation
across a batch of same size images. Warper
achieves this optimization
by splitting the warping process into two steps: computation of the transformed
coordinates (done once) and interpolation on the image (done for each image). Compared
to imwarp
, this approach speeds up the
whole process significantly for small to medium-sized images, with diminishing returns
for larger images.