boofcv.abst.feature.detect.extract
Class ConfigExtract
- java.lang.Object
-
- boofcv.abst.feature.detect.extract.ConfigExtract
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
- Direct Known Subclasses:
- ConfigGeneralDetector
public class ConfigExtract extends java.lang.Object implements Configuration
General configuration forNonMaxSuppression.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description booleandetectMaximumsIf true then local maximums will be foundbooleandetectMinimumsIf false then local maximums will be foundintignoreBorderSize of border around the image in which pixels are not considered.intradiusSearch radius of the non-maximum region.floatthresholdMinimum feature intensity it will consider when detecting a maximum.booleanuseStrictRuleIs a strict test used to test for local maximums.
-
Constructor Summary
Constructors Constructor and Description ConfigExtract()ConfigExtract(int radius, float threshold)Constructor which defaults to an ignore border of 0 and to using a strict ruleConfigExtract(int radius, float threshold, int ignoreBorder, boolean useStrictRule)ConfigExtract(int radius, float threshold, int ignoreBorder, boolean useStrictRule, boolean detectMinimums, boolean detectMaximums)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.voidsetTo(ConfigExtract orig)
-
-
-
Field Detail
-
radius
public int radius
Search radius of the non-maximum region. Most common value is 1 for a 3x3 region. Default is 1.
-
threshold
public float threshold
Minimum feature intensity it will consider when detecting a maximum. For local minimums it will use a value of -threshold. Defaults to 0.
-
ignoreBorder
public int ignoreBorder
Size of border around the image in which pixels are not considered. Default is 0.
-
useStrictRule
public boolean useStrictRule
Is a strict test used to test for local maximums. If strict the local maximum must be greater than all its neighbors, otherwise it just needs to be greater than or equal to its neighbors. Default is true.
-
detectMinimums
public boolean detectMinimums
If false then local maximums will be found
-
detectMaximums
public boolean detectMaximums
If true then local maximums will be found
-
-
Constructor Detail
-
ConfigExtract
public ConfigExtract(int radius, float threshold, int ignoreBorder, boolean useStrictRule, boolean detectMinimums, boolean detectMaximums)
-
ConfigExtract
public ConfigExtract(int radius, float threshold, int ignoreBorder, boolean useStrictRule)
-
ConfigExtract
public ConfigExtract(int radius, float threshold)Constructor which defaults to an ignore border of 0 and to using a strict rule
-
ConfigExtract
public ConfigExtract()
-
-
Method Detail
-
setTo
public void setTo(ConfigExtract orig)
-
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG