Package boofcv.abst.filter.derivative
Class ImageGradient_SB<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.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.Sobel,ImageGradient_SB.Three,ImageGradient_SB.Two0,ImageGradient_SB.Two1
public abstract class ImageGradient_SB<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>> extends java.lang.Object implements ImageGradient<Input,Output>
Generic implementation which uses reflections to call derivative functions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageGradient_SB.Prewitt<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>>static classImageGradient_SB.Sobel<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>>static classImageGradient_SB.Three<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>>static classImageGradient_SB.Two0<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>>static classImageGradient_SB.Two1<T extends boofcv.struct.image.ImageGray<T>,D extends boofcv.struct.image.ImageGray<D>>
-
Constructor Summary
Constructors Constructor Description ImageGradient_SB(java.lang.Class<Input> inputType, java.lang.Class<Output> derivType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBorder()How many pixels wide is the region that is not processed along the outside border of the image.boofcv.struct.border.BorderTypegetBorderType()Returns how the image borders are handled.boofcv.struct.image.ImageType<Output>getDerivativeType()Image type for derivative outputboofcv.struct.image.ImageType<Input>getInputType()Image type of input imagevoidsetBorderType(boofcv.struct.border.BorderType type)Overrides usingBorderType.EXTENDEDalong 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
-
-
-
-
Method Detail
-
setBorderType
public void setBorderType(boofcv.struct.border.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<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- Parameters:
type- Specify image border behavior
-
getBorderType
public boofcv.struct.border.BorderType getBorderType()
Description copied from interface:ImageDerivativeReturns how the image borders are handled.- Specified by:
getBorderTypein interfaceImageDerivative<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>- 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
public boofcv.struct.image.ImageType<Input> getInputType()
Description copied from interface:ImageGradientImage type of input image- Specified by:
getInputTypein interfaceImageGradient<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>
-
getDerivativeType
public boofcv.struct.image.ImageType<Output> getDerivativeType()
Description copied from interface:ImageDerivativeImage type for derivative output- Specified by:
getDerivativeTypein interfaceImageDerivative<Input extends boofcv.struct.image.ImageGray<Input>,Output extends boofcv.struct.image.ImageGray<Output>>
-
-