public interface ImageDistort<T extends ImageBase>
| Modifier and Type | Method and Description |
|---|---|
void |
apply(T srcImg,
T dstImg)
Applies the transform to the entire destination image.
|
void |
apply(T srcImg,
T dstImg,
int dstX0,
int dstY0,
int dstX1,
int dstY1)
Applies the transform to only the specified region inside the destination image.
|
void |
setModel(PixelTransform_F32 dstToSrc)
Specifies how pixel coordinates are transformed from the destination
to source images.
|
void setModel(PixelTransform_F32 dstToSrc)
dstToSrc - Pixel coordinate transformation.void apply(T srcImg, T dstImg)
srcImg - Input image. Not modified.dstImg - Output image. Modified.void apply(T srcImg, T dstImg, int dstX0, int dstY0, int dstX1, int dstY1)
srcImg - Input image. Not modified.dstImg - Output image. Modified.dstX0 - Left most crop boundary. Inclusive.dstY0 - Top most crop boundary. Inclusive.dstX1 - Right most crop boundary. Exclusive.dstY1 - Bottom most crop boundary. Exclusive.Copyright © 2013. All Rights Reserved.