public class FirstBandDoGOctaveExtremaFinder extends Object implements OctaveInterestPointFinder<GaussianOctave<MBFImage>,MBFImage>, OctaveInterestPointListener<GaussianOctave<FImage>,FImage>
FirstBandDoGOctaveExtremaFinder is an OctaveInterestPointFinder that
can be applied to GaussianOctaves. A FirstBandDoGOctaveExtremaFinder
works like a DoGOctaveExtremaFinder, but with an MBFImage, however,
only the first band of the MBFImage is used to build the DoG pyramid and for
the application of the inner finder.| Constructor and Description |
|---|
FirstBandDoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder)
Construct with the given finder.
|
FirstBandDoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder,
OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> 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<MBFImage> |
getOctave()
Get the octave from which we are operating
|
OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> |
getOctaveInterestPointListener()
Get the current listener object.
|
void |
process(GaussianOctave<MBFImage> octave)
Process the provided octave.
|
void |
setOctaveInterestPointListener(OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> listener)
Set a listener object that will listen to events triggered when interest
points are detected.
|
public FirstBandDoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder)
finder - the finderpublic FirstBandDoGOctaveExtremaFinder(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder, OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> listener)
finder - the finderlistener - the listenerpublic void setOctaveInterestPointListener(OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> listener)
OctaveInterestPointFindersetOctaveInterestPointListener in interface OctaveInterestPointFinder<GaussianOctave<MBFImage>,MBFImage>listener - the listenerpublic OctaveInterestPointListener<GaussianOctave<MBFImage>,MBFImage> getOctaveInterestPointListener()
OctaveInterestPointFindergetOctaveInterestPointListener in interface OctaveInterestPointFinder<GaussianOctave<MBFImage>,MBFImage>public void process(GaussianOctave<MBFImage> octave)
OctaveProcessorprocess in interface OctaveProcessor<GaussianOctave<MBFImage>,MBFImage>octave - the octave.public GaussianOctave<MBFImage> getOctave()
OctaveInterestPointFindergetOctave in interface OctaveInterestPointFinder<GaussianOctave<MBFImage>,MBFImage>public GaussianOctave<FImage> getDoGOctave()
public int getCurrentScaleIndex()
OctaveInterestPointFindergetCurrentScaleIndex in interface OctaveInterestPointFinder<GaussianOctave<MBFImage>,MBFImage>public void foundInterestPoint(OctaveInterestPointFinder<GaussianOctave<FImage>,FImage> finder, float x, float y, float octaveScale)
OctaveInterestPointListenerfoundInterestPoint in interface OctaveInterestPointListener<GaussianOctave<FImage>,FImage>finder - the finder that found the pointx - the x positiony - the y positionoctaveScale - the scale within the octave