org.cyberlab.local.recognition.extractor
Class LocalFeaturesExtractor

java.lang.Object
  extended by org.cyberlab.local.recognition.extractor.LocalFeaturesExtractor
Direct Known Subclasses:
DeviceLocalFeaturesExtractor, SocketLocalFeaturesExtractor

public abstract class LocalFeaturesExtractor
extends java.lang.Object

Abstract local features extractor. New feature extractors implement this and thus allowing common handling of all local feature extractors.

Author:
Mats-Gøran Karlsen

Field Summary
protected  int descriptorType
           
protected  int featureType
           
 long type
           
 
Constructor Summary
LocalFeaturesExtractor()
          The default extractor constructor uses SURF for image feature detection.
LocalFeaturesExtractor(int featureType, int descriptorType)
          The advanced detector can use all the feature detectors and descriptor extractors currently supported by OpenCV for image feature detection.
 
Method Summary
abstract  ImageFeatures getFeatures(Bitmap image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

featureType

protected final int featureType

descriptorType

protected final int descriptorType

type

public final long type
Constructor Detail

LocalFeaturesExtractor

public LocalFeaturesExtractor()
The default extractor constructor uses SURF for image feature detection.


LocalFeaturesExtractor

public LocalFeaturesExtractor(int featureType,
                              int descriptorType)
The advanced detector can use all the feature detectors and descriptor extractors currently supported by OpenCV for image feature detection. Refer to the official OpenCV documentation for more information.

Parameters:
featureType - The OpenCV feature detector type
descriptorType - The OpenCV descriptor extractor type
Method Detail

getFeatures

public abstract ImageFeatures getFeatures(Bitmap image)