org.cyberlab.local.recognition.extractor
Class LocalFeaturesExtractor
java.lang.Object
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
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
featureType
protected final int featureType
descriptorType
protected final int descriptorType
type
public final long type
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 typedescriptorType
- The OpenCV descriptor extractor type
getFeatures
public abstract ImageFeatures getFeatures(Bitmap image)