public class DominantOrientationExtractor extends AbstractDominantOrientationExtractor
Modifier and Type | Field and Description |
---|---|
static float |
DEFAULT_PEAK_THRESHOLD
Default value for the threshold at which other peaks are detected
relative to the biggest peak.
|
protected OrientationHistogramExtractor |
oriHistExtractor |
protected float |
peakThreshold
Threshold for peak detection.
|
Constructor and Description |
---|
DominantOrientationExtractor()
Construct with default values.
|
DominantOrientationExtractor(float peakThreshold,
OrientationHistogramExtractor oriHistExtractor)
Construct with given parameters.
|
Modifier and Type | Method and Description |
---|---|
float[] |
extractFeatureRaw(GradientScaleSpaceImageExtractorProperties<FImage> properties)
Extract an orientation histogram and find the dominant orientations
by looking for peaks.
|
OrientationHistogramExtractor |
getOriHistExtractor() |
extractFeature
public static float DEFAULT_PEAK_THRESHOLD
protected OrientationHistogramExtractor oriHistExtractor
protected float peakThreshold
public DominantOrientationExtractor()
public DominantOrientationExtractor(float peakThreshold, OrientationHistogramExtractor oriHistExtractor)
peakThreshold
- threshold at which other peaks are detected relative to the biggest peakoriHistExtractor
- the orientation histogram extractorpublic float[] extractFeatureRaw(GradientScaleSpaceImageExtractorProperties<FImage> properties)
extractFeatureRaw
in class AbstractDominantOrientationExtractor
properties
- Properties describing the interest point in scale space.public OrientationHistogramExtractor getOriHistExtractor()