Class ConfigMeanShiftSearch
java.lang.Object
boofcv.factory.feature.detect.peak.ConfigMeanShiftSearch
- All Implemented Interfaces:
Configuration,Serializable
Configuration for performing a mean-shift search for a local peak
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleWhen motion along both axises is less than this hold the searchintMaximum number of mean shift iterations it will performbooleanIf the region will have an "odd" region.booleanIf mean-shift will only consider positive values in the intensity function -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.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
-
maxIterations
public int maxIterationsMaximum number of mean shift iterations it will perform -
convergenceTol
public double convergenceTolWhen motion along both axises is less than this hold the search -
odd
public boolean oddIf the region will have an "odd" region. Odd regions have a width that is an odd number, i.e. 2*radius+1 and start sampling at -radius. Even regions have an even width (2*radius) and start sampling at -(radius-0.5). Odd is used if there's a single sharp peak, even is used if the peak is two pixels. -
positiveOnly
public boolean positiveOnlyIf mean-shift will only consider positive values in the intensity function
-
-
Constructor Details
-
ConfigMeanShiftSearch
public ConfigMeanShiftSearch(int maxIterations, double convergenceTol) -
ConfigMeanShiftSearch
public ConfigMeanShiftSearch()
-
-
Method Details
-
setTo
-
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
-