public class ImageGradient_Gaussian<I extends ImageGray,D extends ImageGray> 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.
|
BorderType |
getBorderType()
Returns how the image borders are handled.
|
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(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)
ImageGradientpublic void setBorderType(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 ImageGray,D extends ImageGray>type - Specify image border behaviorpublic BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<I extends ImageGray,D extends ImageGray>public int getBorder()
ImageDerivativepublic ImageType<D> getDerivativeType()
ImageDerivativegetDerivativeType in interface ImageDerivative<I extends ImageGray,D extends ImageGray>