public class DoGOctaveExtremaFinder extends Object implements OctaveInterestPointFinder<GaussianOctave<FImage>,FImage>, OctaveInterestPointListener<GaussianOctave<FImage>,FImage>
OctaveInterestPointFinder
that
can be applied to GaussianOctave
s. Internally, a Difference-of-
Gaussian octave () is constructed from the Gaussian octave
and an internal OctaveInterestPointFinder
is applied. Detections
of interest points from the internal finder are proxied through the
DoGOctaveExtremaFinder, and sent to the listener object of the
DoGOctaveExtremaFinder.Constructor and Description |
---|
DoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder)
Construct with the given finder.
|
DoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder,
OctaveInterestPointListener<GaussianOctave<FImage>,FImage> listener)
Construct with the given finder and listener.
|
Modifier and Type | Method and Description |
---|---|
void |
foundInterestPoint(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder,
float x,
float y,
float octaveScale)
Do something with a detected interest point.
|
int |
getCurrentScaleIndex()
Get the current scale index within the octave.
|
GaussianOctave<FImage> |
getDoGOctave()
Get the difference-of-Gaussian octave corresponding to
the current Gaussian octave.
|
GaussianOctave<FImage> |
getOctave()
Get the octave from which we are operating
|
OctaveInterestPointListener<GaussianOctave<FImage>,FImage> |
getOctaveInterestPointListener()
Get the current listener object.
|
void |
process(GaussianOctave<FImage> octave)
Process the provided octave.
|
void |
setOctaveInterestPointListener(OctaveInterestPointListener<GaussianOctave<FImage>,FImage> listener)
Set a listener object that will listen to events triggered when interest
points are detected.
|
public DoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder)
finder
- the finderpublic DoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder, OctaveInterestPointListener<GaussianOctave<FImage>,FImage> listener)
finder
- the finderlistener
- the listenerpublic void setOctaveInterestPointListener(OctaveInterestPointListener<GaussianOctave<FImage>,FImage> listener)
OctaveInterestPointFinder
setOctaveInterestPointListener
in interface OctaveInterestPointFinder<GaussianOctave<FImage>,FImage>
listener
- the listenerpublic OctaveInterestPointListener<GaussianOctave<FImage>,FImage> getOctaveInterestPointListener()
OctaveInterestPointFinder
getOctaveInterestPointListener
in interface OctaveInterestPointFinder<GaussianOctave<FImage>,FImage>
public void process(GaussianOctave<FImage> octave)
OctaveProcessor
process
in interface OctaveProcessor<GaussianOctave<FImage>,FImage>
octave
- the octave.public GaussianOctave<FImage> getOctave()
OctaveInterestPointFinder
getOctave
in interface OctaveInterestPointFinder<GaussianOctave<FImage>,FImage>
public GaussianOctave<FImage> getDoGOctave()
public int getCurrentScaleIndex()
OctaveInterestPointFinder
getCurrentScaleIndex
in interface OctaveInterestPointFinder<GaussianOctave<FImage>,FImage>
public void foundInterestPoint(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder, float x, float y, float octaveScale)
OctaveInterestPointListener
foundInterestPoint
in interface OctaveInterestPointListener<GaussianOctave<FImage>,FImage>
finder
- the finder that found the pointx
- the x positiony
- the y positionoctaveScale
- the scale within the octave