Package boofcv.abst.filter.derivative
Class ImageGradient_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
java.lang.Object
boofcv.abst.filter.derivative.ImageGradient_SB<Input,Output>
- All Implemented Interfaces:
ImageDerivative<Input,
,Output> ImageGradient<Input,
Output>
- Direct Known Subclasses:
ImageGradient_SB.Prewitt
,ImageGradient_SB.Scharr
,ImageGradient_SB.Sobel
,ImageGradient_SB.Three
,ImageGradient_SB.Two0
,ImageGradient_SB.Two1
public abstract class ImageGradient_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
extends Object
implements ImageGradient<Input,Output>
Generic implementation which uses reflections to call derivative functions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
-
Constructor Summary
ModifierConstructorDescriptionprotected
ImageGradient_SB
(Class<Input> inputType, Class<Output> 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
setBorderType
(BorderType type) Overrides usingBorderType.EXTENDED
along the image border.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.abst.filter.derivative.ImageGradient
process
-
Constructor Details
-
ImageGradient_SB
-
-
Method Details
-
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<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - Parameters:
type
- Specify image border behavior
-
getBorderType
Description copied from interface:ImageDerivative
Returns how the image borders are handled.- Specified by:
getBorderType
in interfaceImageDerivative<Input extends ImageGray<Input>,
Output extends ImageGray<Output>> - 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<Input extends ImageGray<Input>,
Output extends ImageGray<Output>>
-
getDerivativeType
Description copied from interface:ImageDerivative
Image type for derivative output- Specified by:
getDerivativeType
in interfaceImageDerivative<Input extends ImageGray<Input>,
Output extends ImageGray<Output>>
-