Package boofcv.abst.filter.derivative
Class ImageGradient_PL<T extends ImageGray<T>,D extends ImageGray<D>>
java.lang.Object
boofcv.abst.filter.derivative.ImageGradient_PL<T,D>
- All Implemented Interfaces:
ImageDerivative<Planar<T>,,Planar<D>> ImageGradient<Planar<T>,Planar<D>>
public class ImageGradient_PL<T extends ImageGray<T>,D extends ImageGray<D>>
extends Object
implements ImageGradient<Planar<T>,Planar<D>>
Wrapper for applying image gradients to
Planar images.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintHow many pixels wide is the region that is not processed along the outside border of the image.Returns how the image borders are handled.Image type for derivative outputImage type of input imagevoidComputes the image gradient from the input image and stores the results into 'derivX' and 'derivY'voidsetBorderType(BorderType type) Overrides usingBorderType.EXTENDEDalong the image border.
-
Constructor Details
-
ImageGradient_PL
-
-
Method Details
-
process
Description copied from interface:ImageGradientComputes the image gradient from the input image and stores the results into 'derivX' and 'derivY' -
getInputType
Description copied from interface:ImageGradientImage type of input image- Specified by:
getInputTypein interfaceImageGradient<T extends ImageGray<T>,D extends ImageGray<D>>
-
setBorderType
Description copied from interface:ImageDerivativeOverrides usingBorderType.EXTENDEDalong the image border. Don't change this behavior unless you know what you're doing.- Specified by:
setBorderTypein interfaceImageDerivative<T extends ImageGray<T>,D extends ImageGray<D>> - Parameters:
type- Specify image border behavior
-
getBorderType
Description copied from interface:ImageDerivativeReturns how the image borders are handled.- Specified by:
getBorderTypein interfaceImageDerivative<T extends ImageGray<T>,D extends ImageGray<D>> - Returns:
- Image border type.
-
getBorder
public int getBorder()Description copied from interface:ImageDerivativeHow many pixels wide is the region that is not processed along the outside border of the image. -
getDerivativeType
Description copied from interface:ImageDerivativeImage type for derivative output- Specified by:
getDerivativeTypein interfaceImageDerivative<T extends ImageGray<T>,D extends ImageGray<D>>
-