public class ImplImageDistort_MS<T extends ImageSingleBand> extends Object implements ImageDistort<MultiSpectral<T>>
ImageDistort for MultiSpectral images.| Constructor and Description |
|---|
ImplImageDistort_MS(ImageDistort<T> layerDistort) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MultiSpectral<T> srcImg,
MultiSpectral<T> dstImg)
Applies the transform to the entire destination image.
|
void |
apply(MultiSpectral<T> srcImg,
MultiSpectral<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.
|
public ImplImageDistort_MS(ImageDistort<T> layerDistort)
public void setModel(PixelTransform_F32 dstToSrc)
ImageDistortsetModel in interface ImageDistort<MultiSpectral<T extends ImageSingleBand>>dstToSrc - Pixel coordinate transformation.public void apply(MultiSpectral<T> srcImg, MultiSpectral<T> dstImg)
ImageDistortapply in interface ImageDistort<MultiSpectral<T extends ImageSingleBand>>srcImg - Input image. Not modified.dstImg - Output image. Modified.public void apply(MultiSpectral<T> srcImg, MultiSpectral<T> dstImg, int dstX0, int dstY0, int dstX1, int dstY1)
ImageDistortapply in interface ImageDistort<MultiSpectral<T extends ImageSingleBand>>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.