public class ImageGradient_Reflection<Input extends ImageSingleBand,Output extends ImageSingleBand> extends java.lang.Object implements ImageGradient<Input,Output>
| Constructor and Description |
|---|
ImageGradient_Reflection(java.lang.reflect.Method m) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorder()
How many pixels wide is the region that is not processed along the outside
border of the image.
|
BorderType |
getBorderType()
Returns how the image borders are handled.
|
ImageType<Output> |
getDerivativeType()
Image type for derivative output
|
void |
process(Input inputImage,
Output derivX,
Output derivY)
Computes the image gradient from the input image and stores the results into
'derivX' and 'derivY'
|
void |
setBorderType(BorderType type)
Overrides using
BorderType.EXTENDED along the image border. |
public ImageGradient_Reflection(java.lang.reflect.Method m)
public void process(Input inputImage, Output derivX, Output derivY)
ImageGradientprocess in interface ImageGradient<Input extends ImageSingleBand,Output extends ImageSingleBand>inputImage - Original input image. Not modified.derivX - First order image derivative along the x-axis. Modified.derivY - First order image derivative along the y-axis. Modified.public void setBorderType(BorderType type)
ImageDerivativeBorderType.EXTENDED along the image border. Don't change this behavior unless
you know what you're doing.setBorderType in interface ImageDerivative<Input extends ImageSingleBand,Output extends ImageSingleBand>type - Specify image border behaviorpublic BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<Input extends ImageSingleBand,Output extends ImageSingleBand>public int getBorder()
ImageDerivativegetBorder in interface ImageDerivative<Input extends ImageSingleBand,Output extends ImageSingleBand>public ImageType<Output> getDerivativeType()
ImageDerivativegetDerivativeType in interface ImageDerivative<Input extends ImageSingleBand,Output extends ImageSingleBand>