Class ConfigSiftDetector
java.lang.Object
boofcv.abst.feature.detect.interest.ConfigSiftDetector
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
SiftDetector
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Threshold used to remove edge responses.Configures non-maximum feature detector across the imageint
Maximum number of features it will return in total.int
The 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.copy()
static ConfigSiftDetector
Creates 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, wait
Methods 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:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-
setTo
-
copy
-