public class ImageGradient_Gaussian<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>> extends java.lang.Object implements ImageGradient<I,D>
| Constructor and Description |
|---|
ImageGradient_Gaussian(double sigma,
int radius,
java.lang.Class<I> inputType,
java.lang.Class<D> derivType) |
ImageGradient_Gaussian(int radius,
java.lang.Class<I> inputType,
java.lang.Class<D> derivType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorder()
How many pixels wide is the region that is not processed along the outside
border of the image.
|
boofcv.struct.border.BorderType |
getBorderType()
Returns how the image borders are handled.
|
boofcv.struct.image.ImageType<D> |
getDerivativeType()
Image type for derivative output
|
void |
process(I inputImage,
D derivX,
D derivY)
Computes the image gradient from the input image and stores the results into
'derivX' and 'derivY'
|
void |
setBorderType(boofcv.struct.border.BorderType type)
Overrides using
BorderType.EXTENDED along the image border. |
public ImageGradient_Gaussian(int radius,
java.lang.Class<I> inputType,
java.lang.Class<D> derivType)
public void process(I inputImage, D derivX, D derivY)
ImageGradientprocess in interface ImageGradient<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>>inputImage - Original input image. Not modified.derivX - First order image derivative along the x-axis. Modified.derivY - First order image derivative along the y-axis. Modified.public void setBorderType(boofcv.struct.border.BorderType type)
ImageDerivativeBorderType.EXTENDED along the image border. Don't change this behavior unless
you know what you're doing.setBorderType in interface ImageDerivative<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>>type - Specify image border behaviorpublic boofcv.struct.border.BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>>public int getBorder()
ImageDerivativepublic boofcv.struct.image.ImageType<D> getDerivativeType()
ImageDerivativegetDerivativeType in interface ImageDerivative<I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>>