- 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,D extends ImageGray> extends java.lang.Object implements ImageGradient<Planar<T>,Planar<D>>
Wrapper for applying image gradients toPlanarimages.
-
-
Constructor Summary
Constructors Constructor and Description ImageGradient_PL(ImageGradient<T,D> bandGradient, int numBands)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetBorder()How many pixels wide is the region that is not processed along the outside border of the image.BorderTypegetBorderType()Returns how the image borders are handled.ImageType<Planar<D>>getDerivativeType()Image type for derivative outputvoidprocess(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'voidsetBorderType(BorderType type)Overrides usingBorderType.EXTENDEDalong the image border.
-
-
-
Constructor Detail
-
ImageGradient_PL
public ImageGradient_PL(ImageGradient<T,D> bandGradient, int numBands)
-
-
Method Detail
-
process
public void process(Planar<T> inputImage, Planar<D> derivX, Planar<D> derivY)
Description copied from interface:ImageGradientComputes the image gradient from the input image and stores the results into 'derivX' and 'derivY'
-
setBorderType
public void setBorderType(BorderType type)
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<Planar<T extends ImageGray>,Planar<D extends ImageGray>>- Parameters:
type- Specify image border behavior
-
getBorderType
public BorderType getBorderType()
Description copied from interface:ImageDerivativeReturns how the image borders are handled.- Specified by:
getBorderTypein interfaceImageDerivative<Planar<T extends ImageGray>,Planar<D extends ImageGray>>- 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
public ImageType<Planar<D>> getDerivativeType()
Description copied from interface:ImageDerivativeImage type for derivative output- Specified by:
getDerivativeTypein interfaceImageDerivative<Planar<T extends ImageGray>,Planar<D extends ImageGray>>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG