T
- The type of InterestPointData
public class OctaveInterestPointFinder<T extends InterestPointData> extends Object implements OctaveProcessor<GaussianOctave<FImage>,FImage>
GaussianPyramid
which provides GaussianOctave
instances.
This finder calls a specified InterestPointFeatureCollector
which
does something with the features located at a given octave.Modifier and Type | Field and Description |
---|---|
protected MultiscaleInterestPointDetector<T> |
detector |
protected InterestPointFeatureCollector<T> |
listener |
protected IPDSelectionMode |
selectionMode |
Constructor and Description |
---|
OctaveInterestPointFinder(MultiscaleInterestPointDetector<T> detector,
IPDSelectionMode selectionMode) |
Modifier and Type | Method and Description |
---|---|
void |
finish()
Once all the features have been detected, do something (default: nothing)
|
void |
process(GaussianOctave<FImage> octave)
Process the provided octave.
|
protected void |
processOctaveLevelPoints(FImage fImage,
List<T> points,
float currentScale,
float octaveSize) |
void |
setOctaveInterestPointListener(InterestPointFeatureCollector<T> listener) |
protected MultiscaleInterestPointDetector<T extends InterestPointData> detector
protected InterestPointFeatureCollector<T extends InterestPointData> listener
protected IPDSelectionMode selectionMode
public OctaveInterestPointFinder(MultiscaleInterestPointDetector<T> detector, IPDSelectionMode selectionMode)
detector
- the detector with which features are foundselectionMode
- the detector's feature selection modepublic void process(GaussianOctave<FImage> octave)
OctaveProcessor
process
in interface OctaveProcessor<GaussianOctave<FImage>,FImage>
octave
- the octave.protected void processOctaveLevelPoints(FImage fImage, List<T> points, float currentScale, float octaveSize)
public void setOctaveInterestPointListener(InterestPointFeatureCollector<T> listener)
listener
- to be informed on detection of new interest pointspublic void finish()