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
ConstructorDescriptionImageGradient_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 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_Gaussian
-
ImageGradient_Gaussian
-
-
Method Details
-
process
Description copied from interface:ImageGradient
Computes the image gradient from the input image and stores the results into 'derivX' and 'derivY' -
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<I extends ImageGray<I>,
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<I extends ImageGray<I>,
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. -
getInputType
Description copied from interface:ImageGradient
Image type of input image- Specified by:
getInputType
in interfaceImageGradient<I extends ImageGray<I>,
D extends ImageGray<D>>
-
getDerivativeType
Description copied from interface:ImageDerivative
Image type for derivative output- Specified by:
getDerivativeType
in interfaceImageDerivative<I extends ImageGray<I>,
D extends ImageGray<D>>
-