utilities.boofcv_extensions
Class WrapDetectDescribeSurfNormalization<T extends boofcv.struct.image.ImageSingleBand,II extends boofcv.struct.image.ImageSingleBand>

java.lang.Object
  extended by utilities.boofcv_extensions.WrapDetectDescribeSurfNormalization<T,II>
All Implemented Interfaces:
boofcv.abst.feature.detdesc.DetectDescribePoint<T,boofcv.struct.feature.SurfFeature>, boofcv.abst.feature.detect.interest.InterestPointDetector<T>

public class WrapDetectDescribeSurfNormalization<T extends boofcv.struct.image.ImageSingleBand,II extends boofcv.struct.image.ImageSingleBand>
extends java.lang.Object
implements boofcv.abst.feature.detdesc.DetectDescribePoint<T,boofcv.struct.feature.SurfFeature>

Wrapper around SURF algorithms for DetectDescribePoint.

Author:
Peter Abeles

Field Summary
private  DescribePointSurfNormalization<II> describe
           
private  boofcv.alg.feature.detect.interest.FastHessianFeatureDetector<II> detector
           
private  boofcv.struct.GrowQueue_F64 featureAngles
           
private  boofcv.struct.feature.SurfFeatureQueue features
           
private  java.util.List<boofcv.struct.feature.ScalePoint> foundPoints
           
private  II ii
           
private  boofcv.abst.feature.orientation.OrientationIntegral<II> orientation
           
 
Constructor Summary
WrapDetectDescribeSurfNormalization(boofcv.alg.feature.detect.interest.FastHessianFeatureDetector<II> detector, boofcv.abst.feature.orientation.OrientationIntegral<II> orientation, DescribePointSurfNormalization<II> describe)
           
 
Method Summary
 boofcv.struct.feature.SurfFeature createDescription()
           
 void detect(T input)
           
 boofcv.struct.feature.SurfFeature getDescriptor(int index)
           
 java.lang.Class<boofcv.struct.feature.SurfFeature> getDescriptorType()
           
 georegression.struct.point.Point2D_F64 getLocation(int featureIndex)
           
 int getNumberOfFeatures()
           
 double getOrientation(int featureIndex)
           
 double getScale(int featureIndex)
           
 boolean hasOrientation()
           
 boolean hasScale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

detector

private boofcv.alg.feature.detect.interest.FastHessianFeatureDetector<II extends boofcv.struct.image.ImageSingleBand> detector

orientation

private boofcv.abst.feature.orientation.OrientationIntegral<II extends boofcv.struct.image.ImageSingleBand> orientation

describe

private DescribePointSurfNormalization<II extends boofcv.struct.image.ImageSingleBand> describe

ii

private II extends boofcv.struct.image.ImageSingleBand ii

features

private boofcv.struct.feature.SurfFeatureQueue features

foundPoints

private java.util.List<boofcv.struct.feature.ScalePoint> foundPoints

featureAngles

private boofcv.struct.GrowQueue_F64 featureAngles
Constructor Detail

WrapDetectDescribeSurfNormalization

public WrapDetectDescribeSurfNormalization(boofcv.alg.feature.detect.interest.FastHessianFeatureDetector<II> detector,
                                           boofcv.abst.feature.orientation.OrientationIntegral<II> orientation,
                                           DescribePointSurfNormalization<II> describe)
Method Detail

createDescription

public boofcv.struct.feature.SurfFeature createDescription()
Specified by:
createDescription in interface boofcv.abst.feature.detdesc.DetectDescribePoint<T extends boofcv.struct.image.ImageSingleBand,boofcv.struct.feature.SurfFeature>

getDescriptor

public boofcv.struct.feature.SurfFeature getDescriptor(int index)
Specified by:
getDescriptor in interface boofcv.abst.feature.detdesc.DetectDescribePoint<T extends boofcv.struct.image.ImageSingleBand,boofcv.struct.feature.SurfFeature>

getDescriptorType

public java.lang.Class<boofcv.struct.feature.SurfFeature> getDescriptorType()
Specified by:
getDescriptorType in interface boofcv.abst.feature.detdesc.DetectDescribePoint<T extends boofcv.struct.image.ImageSingleBand,boofcv.struct.feature.SurfFeature>

detect

public void detect(T input)
Specified by:
detect in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

getNumberOfFeatures

public int getNumberOfFeatures()
Specified by:
getNumberOfFeatures in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

getLocation

public georegression.struct.point.Point2D_F64 getLocation(int featureIndex)
Specified by:
getLocation in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

getScale

public double getScale(int featureIndex)
Specified by:
getScale in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

getOrientation

public double getOrientation(int featureIndex)
Specified by:
getOrientation in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

hasScale

public boolean hasScale()
Specified by:
hasScale in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>

hasOrientation

public boolean hasOrientation()
Specified by:
hasOrientation in interface boofcv.abst.feature.detect.interest.InterestPointDetector<T extends boofcv.struct.image.ImageSingleBand>