public class ImageGradient_Gaussian<I extends ImageSingleBand,D extends ImageSingleBand> extends Object implements ImageGradient<I,D>
| Constructor and Description |
|---|
ImageGradient_Gaussian(double sigma,
int radius,
Class<I> inputType,
Class<D> derivType) |
ImageGradient_Gaussian(int radius,
Class<I> inputType,
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.
|
Class |
getDerivType() |
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 the default border behavior.
|
public ImageGradient_Gaussian(int radius,
Class<I> inputType,
Class<D> derivType)
public void process(I inputImage, D derivX, D derivY)
ImageGradientprocess in interface ImageGradient<I extends ImageSingleBand,D extends ImageSingleBand>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(BorderType type)
ImageDerivativeFactoryDerivative for a discussion
of the pros and cons of each border type.setBorderType in interface ImageDerivative<I extends ImageSingleBand,D extends ImageSingleBand>type - How image borders are handled.public BorderType getBorderType()
ImageDerivativegetBorderType in interface ImageDerivative<I extends ImageSingleBand,D extends ImageSingleBand>public int getBorder()
ImageDerivativegetBorder in interface ImageDerivative<I extends ImageSingleBand,D extends ImageSingleBand>public Class getDerivType()
getDerivType in interface ImageDerivative<I extends ImageSingleBand,D extends ImageSingleBand>Copyright © 2013. All Rights Reserved.