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
-
Method Summary
Modifier and TypeMethodDescriptionint
How 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 imagevoid
Computes the image gradient from the input image and stores the results into 'derivX' and 'derivY'void
setBorderType
(BorderType type) Overrides usingBorderType.EXTENDED
along the image border.
-
Constructor Details
-
ImageGradient_PL
-
-
Method Details
-
process
Description copied from interface:ImageGradient
Computes the image gradient from the input image and stores the results into 'derivX' and 'derivY' -
getInputType
Description copied from interface:ImageGradient
Image type of input image- Specified by:
getInputType
in interfaceImageGradient<T extends ImageGray<T>,
D extends ImageGray<D>>
-
setBorderType
Description copied from interface:ImageDerivative
Overrides usingBorderType.EXTENDED
along the image border. Don't change this behavior unless you know what you're doing.- Specified by:
setBorderType
in interfaceImageDerivative<T extends ImageGray<T>,
D extends ImageGray<D>> - Parameters:
type
- Specify image border behavior
-
getBorderType
Description copied from interface:ImageDerivative
Returns how the image borders are handled.- Specified by:
getBorderType
in interfaceImageDerivative<T extends ImageGray<T>,
D extends ImageGray<D>> - Returns:
- Image border type.
-
getBorder
public int getBorder()Description copied from interface:ImageDerivative
How many pixels wide is the region that is not processed along the outside border of the image. -
getDerivativeType
Description copied from interface:ImageDerivative
Image type for derivative output- Specified by:
getDerivativeType
in interfaceImageDerivative<T extends ImageGray<T>,
D extends ImageGray<D>>
-