5#include "../value_range.hpp"
41 return hypothesesThreshold_;
66 hypothesesThreshold_ = value;
79 return derivativePatchSize_;
96 derivativePatchSize_ = value;
109 return indifferentRadius_;
126 indifferentRadius_ = value;
154 partsToFind_ = value;
167 return rawResultsOnly_;
188 rawResultsOnly_ = value;
232 return icpMaxIterations_;
248 icpMaxIterations_ = value;
261 return precisionThreshold_;
278 precisionThreshold_ = value;
307 minCoverage_ = value;
320 return maxOcclusion_;
337 maxOcclusion_ = value;
350 return maxInconsistency_;
367 maxInconsistency_ = value;
403 return value <= range.
Max() && value >= range.
Min();
406 double hypothesesThreshold_ = 0.7;
407 int derivativePatchSize_ = 5;
408 double indifferentRadius_ = 0.6;
409 int partsToFind_ = 0;
410 bool rawResultsOnly_ =
false;
412 int icpMaxIterations_ = 10;
413 double precisionThreshold_ = 2.0;
414 double minCoverage_ = 0.7;
415 double maxOcclusion_ = 0.2;
416 double maxInconsistency_ = 0.2;
417 double minScore_ = 0.7;
int ICPMaxIterations() const noexcept
Get the maximum number of iterations of the ICP algorithm.
Definition search_parameters.hpp:230
double HypothesesThreshold() const noexcept
Get minimum feature score for hypotheses generation.
Definition search_parameters.hpp:39
void SetMaxInconsistency(double value)
Set maximum inconsistency.
Definition search_parameters.hpp:363
int DerivativePatchSize() const noexcept
Get smoothing area in pixels for gradient and normal calculation.
Definition search_parameters.hpp:77
void SetPrecisionThreshold(double value)
Set precision threshold.
Definition search_parameters.hpp:274
double MinScore() const noexcept
Get minimum score.
Definition search_parameters.hpp:378
bool RawResultsOnly() const noexcept
Get the raw results flag.
Definition search_parameters.hpp:165
int PartsToFind() const noexcept
Get the maximum number of objects to find.
Definition search_parameters.hpp:137
void SetMaxOcclusion(double value)
Set maximum occlusion.
Definition search_parameters.hpp:333
double MaxInconsistency() const noexcept
Get maximum inconsistency.
Definition search_parameters.hpp:348
void SetHypothesesThreshold(double value)
Set minimum feature score for hypotheses generation.
Definition search_parameters.hpp:62
void SetMinScore(double value)
Set minimum score.
Definition search_parameters.hpp:392
void SetDerivativePatchSize(int value)
Set smoothing area in pixels for gradient and normal calculation.
Definition search_parameters.hpp:92
void SetICPMaxIterations(int value)
Set the maximum number of iterations of the ICP algorithm.
Definition search_parameters.hpp:244
void SetICPShrink(int value)
Set the subsample factor for ICP.
Definition search_parameters.hpp:215
double MinCoverage() const noexcept
Get minimum coverage.
Definition search_parameters.hpp:289
void SetMinCoverage(double value)
Set minimum coverage.
Definition search_parameters.hpp:303
void SetPartsToFind(int value)
Set the maximum number of objects to find.
Definition search_parameters.hpp:150
double IndifferentRadius() const noexcept
Get fraction of template size which accounts for a single object.
Definition search_parameters.hpp:107
void SetRawResultsOnly(bool value) noexcept
Set the raw results flag.
Definition search_parameters.hpp:186
void SetIndifferentRadius(double value)
Set fraction of template size which accounts for a single object.
Definition search_parameters.hpp:122
double PrecisionThreshold() const noexcept
Get precision threshold.
Definition search_parameters.hpp:259
double MaxOcclusion() const noexcept
Get maximum occlusion.
Definition search_parameters.hpp:318
int ICPShrink() const noexcept
Get the subsample factor for ICP.
Definition search_parameters.hpp:199
SearchParameters()=default
Default search parameters.
Container for range definitions.
Definition value_range.hpp:17
T Min() const noexcept
Gets the minimum value.
Definition value_range.hpp:47
T Max() const noexcept
Gets the maximum value.
Definition value_range.hpp:69
Namespace for Match3D DNC (CAD-based 3D-object recognition).
Definition dnc.hpp:27
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17