public class FactoryPyramid
extends java.lang.Object
| Constructor and Description |
|---|
FactoryPyramid() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends ImageGray> |
discreteGaussian(int[] scaleFactors,
double sigma,
int radius,
boolean saveOriginalReference,
java.lang.Class<T> imageType)
Creates an updater for discrete pyramids where a Gaussian is convolved across the input
prior to sub-sampling.
|
static <T extends ImageGray> |
floatGaussian(double[] scaleFactors,
double[] sigmas,
java.lang.Class<T> imageType)
Creates a float pyramid where each layer is blurred using a Gaussian with the specified
sigma.
|
static <T extends ImageGray> |
scaleSpace(double[] scaleSpace,
java.lang.Class<T> imageType)
Constructs a scale-space image pyramid.
|
static <T extends ImageGray> |
scaleSpacePyramid(double[] scaleSpace,
java.lang.Class<T> imageType)
Constructs an image pyramid which is designed to mimic a
GaussianScaleSpace. |
public static <T extends ImageGray> PyramidDiscrete<T> discreteGaussian(int[] scaleFactors, double sigma, int radius, boolean saveOriginalReference, java.lang.Class<T> imageType)
imageType - Type of input image.sigma - Gaussian sigma. If < 0 then a sigma is selected using the radius. Try -1.radius - Radius of the Gaussian kernel. If < 0 then the radius is selected using sigma. Try 2.public static <T extends ImageGray> PyramidFloat<T> floatGaussian(double[] scaleFactors, double[] sigmas, java.lang.Class<T> imageType)
scaleFactors - The scale factor of each layer relative to the previous layer.
Layer 0 is relative to the input image.sigmas - Gaussian blur magnitude for each layer.imageType - Type of image in the pyramid.public static <T extends ImageGray> PyramidFloat<T> scaleSpacePyramid(double[] scaleSpace, java.lang.Class<T> imageType)
GaussianScaleSpace. Each layer in the pyramid
should have the equivalent amount of blur that a space-space constructed with the same parameters would have.scaleSpace - The scale of each layer and the desired amount of blur relative to the original imageimageType - Type of imagepublic static <T extends ImageGray> PyramidFloat<T> scaleSpace(double[] scaleSpace, java.lang.Class<T> imageType)
T - Type of imagescaleSpace - Amount of blur applied to each layer in the pyramid relative to the input image.imageType - Type of image