Package boofcv.alg.similar
Class ConfigSimilarImagesSceneRecognition
java.lang.Object
boofcv.alg.similar.ConfigSimilarImagesSceneRecognition
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigSimilarImagesSceneRecognition extends Object implements Configuration
Configuration for
SimilarImagesSceneRecognition
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description ConfigAssociate
associate
Feature associationConfigDetectDescribe
features
Image feature detectorint
limitMatchesConsider
Number of images which will be considered as matches when using the recognizerConfigLength
minimumSimilar
Specifies how many features need to be matched for an image to be considered similar.ConfigRecognitionNister2006
recognizeNister2006
Configuration forRecognitionVocabularyTreeNister2006
-
Constructor Summary
Constructors Constructor Description ConfigSimilarImagesSceneRecognition()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.static ConfigSimilarImagesSceneRecognition
createFailSafe()
The default makes implicit assumptions about the input image.ConfigSimilarImagesSceneRecognition
setTo(ConfigSimilarImagesSceneRecognition 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
-
limitMatchesConsider
public int limitMatchesConsiderNumber of images which will be considered as matches when using the recognizer -
minimumSimilar
Specifies how many features need to be matched for an image to be considered similar. Absolute is the number of matches. Fraction is relative to the number of images in each image. -
features
Image feature detector -
recognizeNister2006
Configuration forRecognitionVocabularyTreeNister2006
-
associate
Feature association
-
-
Constructor Details
-
ConfigSimilarImagesSceneRecognition
public ConfigSimilarImagesSceneRecognition()
-
-
Method Details
-
createFailSafe
The default makes implicit assumptions about the input image. This relaxes those but will perform worse in most situations. Only use this if the default completely fails. -
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
-