public class ImageGradient_PL<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>> extends java.lang.Object implements ImageGradient<boofcv.struct.image.Planar<T>,boofcv.struct.image.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.
|
boofcv.struct.border.BorderType |
getBorderType()
Returns how the image borders are handled.
|
boofcv.struct.image.ImageType<boofcv.struct.image.Planar<D>> |
getDerivativeType()
Image type for derivative output
|
void |
process(boofcv.struct.image.Planar<T> inputImage,
boofcv.struct.image.Planar<D> derivX,
boofcv.struct.image.Planar<D> derivY)
Computes the image gradient from the input image and stores the results into
'derivX' and 'derivY'
|
void |
setBorderType(boofcv.struct.border.BorderType type)
Overrides using
BorderType.EXTENDED along the image border. |
public ImageGradient_PL(ImageGradient<T,D> bandGradient, int numBands)
public void process(boofcv.struct.image.Planar<T> inputImage, boofcv.struct.image.Planar<D> derivX, boofcv.struct.image.Planar<D> derivY)
ImageGradientprocess in interface ImageGradient<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,boofcv.struct.image.Planar<D extends boofcv.struct.image.ImageGray<D>>>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(boofcv.struct.border.BorderType type)
ImageDerivativeBorderType.EXTENDED along the image border. Don't change this behavior unless
you know what you're doing.setBorderType in interface ImageDerivative<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,boofcv.struct.image.Planar<D extends boofcv.struct.image.ImageGray<D>>>type - Specify image border behaviorpublic boofcv.struct.border.BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,boofcv.struct.image.Planar<D extends boofcv.struct.image.ImageGray<D>>>public int getBorder()
ImageDerivativepublic boofcv.struct.image.ImageType<boofcv.struct.image.Planar<D>> getDerivativeType()
ImageDerivativegetDerivativeType in interface ImageDerivative<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,boofcv.struct.image.Planar<D extends boofcv.struct.image.ImageGray<D>>>