Class ConfigSiftDetector
java.lang.Object
boofcv.abst.feature.detect.interest.ConfigSiftDetector
- All Implemented Interfaces:
Configuration,Serializable
Configuration for
SiftDetector- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleThreshold used to remove edge responses.Configures non-maximum feature detector across the imageintMaximum number of features it will return in total.intThe maximum number of features it can detect in a single scale.Approach used to select features when more than the maximum have been detected -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.copy()static ConfigSiftDetectorCreates a configuration similar to how it was originally described in the papersetTo(ConfigSiftDetector src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
extract
Configures non-maximum feature detector across the image -
maxFeaturesPerScale
public int maxFeaturesPerScaleThe maximum number of features it can detect in a single scale. Useful if you want to prevent high frequency features from dominating. If ≤ 0 then it will have no limit. -
maxFeaturesAll
public int maxFeaturesAllMaximum number of features it will return in total. If ≤ 0 then it will have no limit. -
selector
Approach used to select features when more than the maximum have been detected -
edgeR
public double edgeRThreshold used to remove edge responses. Larger values means its less strict. Try 10
-
-
Constructor Details
-
ConfigSiftDetector
public ConfigSiftDetector() -
ConfigSiftDetector
public ConfigSiftDetector(int maxFeaturesPerScale)
-
-
Method Details
-
createPaper
Creates a configuration similar to how it was originally described in the paper -
checkValidity
public void checkValidity()Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
setTo
-
copy
-