Class ConfigSiftDetector
java.lang.Object
boofcv.abst.feature.detect.interest.ConfigSiftDetector
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigSiftDetector extends Object implements Configuration
Configuration for
SiftDetector
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description double
edgeR
Threshold used to remove edge responses.ConfigExtract
extract
Configures non-maximum feature detector across the imageint
maxFeaturesAll
Maximum number of features it will return in total.int
maxFeaturesPerScale
The maximum number of features it can detect in a single scale.ConfigSelectLimit
selector
Approach used to select features when more than the maximum have been detected -
Constructor Summary
Constructors Constructor Description ConfigSiftDetector()
ConfigSiftDetector(int maxFeaturesPerScale)
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigSiftDetector
copy()
static ConfigSiftDetector
createPaper()
Creates a configuration similar to how it was originally described in the paperConfigSiftDetector
setTo(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
-