Warper
Apply same geometric transformation to many images efficiently
Description
A Warper
object applies a linear geometric transformation
to 2-D images with a specific size.
Creation
Syntax
Description
w = images.geotrans.Warper(___,
sets the Interpolation and FillValue
properties using one or more name-value arguments.Name,Value
)
For example, warper =
images.geotrans.Warper(tform,size(im),"FillValue",1)
specifies
a fill value of 1
for pixels outside the original
image.
Input Arguments
Properties
Object Functions
warp | Apply geometric transformation |
Examples
Tips
If the input images are RGB images or 3-D grayscale images of size m-by-n-by-p, then
warp
applies the transformation to each color channel or plane p independently.
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.