public class ImageGradient_PL<T extends ImageGray,D extends ImageGray> extends java.lang.Object implements ImageGradient<Planar<T>,Planar<D>>
Planar images.| Constructor and Description |
|---|
ImageGradient_PL(ImageGradient<T,D> bandGradient,
int numBands) |
| 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<Planar<D>> |
getDerivativeType()
Image type for derivative output
|
void |
process(Planar<T> inputImage,
Planar<D> derivX,
Planar<D> 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_PL(ImageGradient<T,D> bandGradient, int numBands)
public void process(Planar<T> inputImage, Planar<D> derivX, Planar<D> derivY)
ImageGradientpublic 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<Planar<T extends ImageGray>,Planar<D extends ImageGray>>type - Specify image border behaviorpublic BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<Planar<T extends ImageGray>,Planar<D extends ImageGray>>public int getBorder()
ImageDerivativepublic ImageType<Planar<D>> getDerivativeType()
ImageDerivativegetDerivativeType in interface ImageDerivative<Planar<T extends ImageGray>,Planar<D extends ImageGray>>