Package boofcv.abst.filter.derivative
Class ImageGradient_Gaussian<I extends ImageGray<I>,D extends ImageGray<D>>
java.lang.Object
boofcv.abst.filter.derivative.ImageGradient_Gaussian<I,D>
- All Implemented Interfaces:
ImageDerivative<I,,D> ImageGradient<I,D>
public class ImageGradient_Gaussian<I extends ImageGray<I>,D extends ImageGray<D>>
extends Object
implements ImageGradient<I,D>
Finds the derivative using a Gaussian kernel. This is the same as convolving the image
and then computing the derivative
-
Constructor Summary
ConstructorsConstructorDescriptionImageGradient_Gaussian(double sigma, int radius, Class<I> inputType, Class<D> derivType) ImageGradient_Gaussian(int radius, Class<I> inputType, Class<D> derivType) -
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_Gaussian
-
ImageGradient_Gaussian
-
-
Method Details
-
process
Description copied from interface:ImageGradientComputes the image gradient from the input image and stores the results into 'derivX' and 'derivY' -
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<I extends ImageGray<I>,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<I extends ImageGray<I>,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. -
getInputType
Description copied from interface:ImageGradientImage type of input image- Specified by:
getInputTypein interfaceImageGradient<I extends ImageGray<I>,D extends ImageGray<D>>
-
getDerivativeType
Description copied from interface:ImageDerivativeImage type for derivative output- Specified by:
getDerivativeTypein interfaceImageDerivative<I extends ImageGray<I>,D extends ImageGray<D>>
-