java.lang.Object
imagingbook.common.filter.generic.GenericFilter
imagingbook.common.filter.generic.GenericFilterScalarSeparable
imagingbook.common.filter.linear.LinearFilterSeparable
imagingbook.common.filter.linear.GaussianFilterSeparable
- All Implemented Interfaces:
ProgressReporter
This class implements a x/y-separated 2D Gaussian filter by extending
LinearFilterSeparable
.- Version:
- 2020/12/29
- See Also:
-
Field Summary
Fields inherited from class imagingbook.common.filter.generic.GenericFilterScalarSeparable
doX, doY
-
Constructor Summary
ConstructorsConstructorDescriptionGaussianFilterSeparable
(double sigma) Constructor accepting a common sigma for x/y.GaussianFilterSeparable
(double sigmaX, double sigmaY) Constructor accepting individual sigmas for x/y. -
Method Summary
Methods inherited from class imagingbook.common.filter.linear.LinearFilterSeparable
doPixelX, doPixelY
Methods inherited from class imagingbook.common.filter.generic.GenericFilterScalarSeparable
reportProgress, runPass
Methods inherited from class imagingbook.common.filter.generic.GenericFilter
abort, applyTo, applyTo, applyTo, closeFilter, getDepth, getHeight, getPass, getProgress, getWidth, initFilter, initPass, passesRequired, reportProgress
-
Constructor Details
-
GaussianFilterSeparable
Constructor accepting a common sigma for x/y.- Parameters:
sigma
- the width of the 2D Gaussian in x- and y-direction
-
GaussianFilterSeparable
Constructor accepting individual sigmas for x/y. If any sigma ≤ 0 or NaN, i.e., the corresponding x- or y-pass is not performed.- Parameters:
sigmaX
- the width of the 2D Gaussian in x-directionsigmaY
- the width of the 2D Gaussian in y-direction
-