|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberlab.recognition.local.extractor.LocalFeaturesExtractor
org.cyberlab.recognition.local.extractor.net.SocketLocalFeaturesExtractor
public class SocketLocalFeaturesExtractor
Features extractor that uses socket connections to an external server helping in extracting features and descriptors. Warning: The extractor supports almost all feature detectors and descriptor extractors in OpenCV. The bugs are in the external socket server code. For more information about the descriptors and features supported in OpenCV refer to the official OpenCV documentation.
Field Summary |
---|
Fields inherited from class org.cyberlab.recognition.local.extractor.LocalFeaturesExtractor |
---|
descriptorType, featureType, type |
Constructor Summary | |
---|---|
SocketLocalFeaturesExtractor(java.lang.String ip,
int port)
The default extractor constructor uses SURF for feature detection and descriptor extraction. |
|
SocketLocalFeaturesExtractor(java.lang.String ip,
int port,
int featureType,
int descriptorType)
The advanced extractor can use all the feature detectors currently supported by OpenCV: "FAST" – FastFeatureDetector "STAR" – StarFeatureDetector "SIFT" – SIFT (nonfree module) "SURF" – SURF (nonfree module) "ORB" – ORB "MSER" – MSER "GFTT" – GoodFeaturesToTrackDetector "HARRIS" – GoodFeaturesToTrackDetector with Harris detector enabled "DENSE" – DenseFeatureDetector "SIMPLEBLOB" – SimpleBlobDetector Also a combined format is supported: feature detector adapter name ("GRID" – GridAdaptedFeatureDetector, "PYRAMID" – PyramidAdaptedFeatureDetector) + feature detector name (see above), for example: "GRID_FAST", "PYRAMID_STAR". WARNING: The "Dynamic" feature detectors are only used by the Android version of OpenCV and doesn't exist on other platforms than OpenCV. |
Method Summary | |
---|---|
ImageFeatures |
getFeatures(Bitmap image)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketLocalFeaturesExtractor(java.lang.String ip, int port)
ip
- the socket server IPport
- the socket server port numberpublic SocketLocalFeaturesExtractor(java.lang.String ip, int port, int featureType, int descriptorType)
ip
- the socket server IPport
- the socket server port numberfeatureType
- The feature detector typedescriptorType
- The descriptor extractor typeMethod Detail |
---|
public ImageFeatures getFeatures(Bitmap image)
getFeatures
in class LocalFeaturesExtractor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |