public interface GaussianScaleSpace<T extends ImageSingleBand,D extends ImageSingleBand>
Interface for computing the scale space of an image and its derivatives. The scale space of an image is computed by convolving a Gaussian kernel across the image. The image's scale is determined by the Gaussian's standard deviation. See [1] for a summary of scale-space theory.
[1] Tony Lindeberg, "Scale-space: A framework for handling image structures at multiple scales," In. Proc. CERN School of Computing, Egmond aan Zee, The Netherlands, 8-21 September, 1996
| Modifier and Type | Method and Description |
|---|---|
BorderType |
getBorderType()
Returns how image borders are processed.
|
double |
getCurrentScale()
Returns the value of the current active scale.
|
D |
getDerivative(boolean... isX)
Returns the partial derivative of the image.
|
double |
getScale(int level)
Returns the scale for the specified layer in the pyramid.
|
T |
getScaledImage()
Returns the scaled image at the active scale.
|
int |
getTotalScales()
Returns number of scaled images inside of this scale space.
|
void |
setActiveScale(int index)
Sets the active scale.
|
void |
setBorderType(BorderType type)
Change how image borders are handled.
|
void |
setImage(T input)
Specifies the original un-scaled image.
|
void |
setScales(double... scales)
Sets the scales/blur magnitudes for which the scale-space should be computed over.
|
void setScales(double... scales)
scales - All the scales. These are absolute and not relative to the previous level.double getScale(int level)
void setImage(T input)
input - Original image.void setActiveScale(int index)
setImage(boofcv.struct.image.ImageSingleBand)
before this function.index - Index of active scaleint getTotalScales()
double getCurrentScale()
T getScaledImage()
void setBorderType(BorderType type)
type - The BorderType.BorderType getBorderType()
D getDerivative(boolean... isX)
Returns the partial derivative of the image.
Examples:
derivative X = getDerivative(true)
derivative Y = getDerivative(false)
derivative XY = getDerivative(true,false)
isX - specifies which partial derivative is to be returned.