Config class for the Segmentator Processing. More...
#include <SegmentatorConfig.hxx>
Public Member Functions | |
| SegmentatorConfig () | |
| SegmentatorConfig (const SegmentatorConfig &prototype, const bool shareData=false, const bool deep=true) | |
| __COMMON_DYNAMIC_TYPE (SegmentatorConfig, 2) | |
| __COMMON_DYN_ATTRIBUTE (0, public, int, MinSegmentLength) protected | |
| bool | LoadMinSegmentLength (CLAM::Storage &s) |
| __COMMON_DYN_ATTRIBUTE (1, public, Array< TDescriptorsParams >, DescriptorsParams) protected | |
| bool | LoadDescriptorsParams (CLAM::Storage &s) |
| void | AddDescParams (const TDescriptorsParams &descParams) |
| bool | FindDescParams (TDescriptorsParams &descParams) |
| void | ClearDescParams () |
| void | SetDescriptorsSearch (const SearchArray< TDescriptorsParams > &frame) |
| const SearchArray < TDescriptorsParams > & | GetDescriptorsSearch () const |
| SearchArray< TDescriptorsParams > & | GetDescriptorsSearch () |
| ~SegmentatorConfig () | |
Protected Member Functions | |
| void | DefaultInit () |
| The concrete dynamic type constructor calls DefaultInit(). | |
Friends | |
| class | Segmentator |
Config class for the Segmentator Processing.
Definition at line 70 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::SegmentatorConfig | ( | ) | [inline] |
Definition at line 74 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::SegmentatorConfig | ( | const SegmentatorConfig & | prototype, | |
| const bool | shareData = false, |
|||
| const bool | deep = true | |||
| ) | [inline] |
Definition at line 74 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::~SegmentatorConfig | ( | ) | [inline] |
Definition at line 94 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::__COMMON_DYN_ATTRIBUTE | ( | 1 | , | |
| public | , | |||
| Array< TDescriptorsParams > | , | |||
| DescriptorsParams | ||||
| ) | [inline] |
Definition at line 76 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::__COMMON_DYN_ATTRIBUTE | ( | 0 | , | |
| public | , | |||
| int | , | |||
| MinSegmentLength | ||||
| ) | [inline] |
Definition at line 75 of file SegmentatorConfig.hxx.
| CLAM::SegmentatorConfig::__COMMON_DYNAMIC_TYPE | ( | SegmentatorConfig | , | |
| 2 | ||||
| ) |
| void SegmentatorConfig::AddDescParams | ( | const TDescriptorsParams & | descParams | ) |
Definition at line 147 of file Segmentator.cxx.
References GetDescriptorsSearch().
| void SegmentatorConfig::ClearDescParams | ( | ) |
Definition at line 176 of file Segmentator.cxx.
| void SegmentatorConfig::DefaultInit | ( | void | ) | [protected] |
The concrete dynamic type constructor calls DefaultInit().
This allows user to initialize his/her object. But we define DefaultInit() here because we don't want to force writting one DefaultInit() function for each concrete dynamic type. If a dynamic type concrete class defines some (not-default) constructors, this should also call the DefaultInit().
Reimplemented from CLAM::DynamicType.
Definition at line 132 of file Segmentator.cxx.
References SetDescriptorsSearch(), and CLAM::DynamicType::UpdateData().
| bool SegmentatorConfig::FindDescParams | ( | TDescriptorsParams & | descParams | ) |
Definition at line 164 of file Segmentator.cxx.
References GetDescriptorsSearch(), CLAM::TDescriptorsParams::percentil, and CLAM::TDescriptorsParams::threshold.
| SearchArray<TDescriptorsParams>& CLAM::SegmentatorConfig::GetDescriptorsSearch | ( | ) | [inline] |
Definition at line 91 of file SegmentatorConfig.hxx.
| const SearchArray<TDescriptorsParams>& CLAM::SegmentatorConfig::GetDescriptorsSearch | ( | ) | const [inline] |
Definition at line 88 of file SegmentatorConfig.hxx.
Referenced by AddDescParams(), and FindDescParams().
| bool CLAM::SegmentatorConfig::LoadDescriptorsParams | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 76 of file SegmentatorConfig.hxx.
| bool CLAM::SegmentatorConfig::LoadMinSegmentLength | ( | CLAM::Storage & | s | ) | [inline] |
Definition at line 75 of file SegmentatorConfig.hxx.
| void CLAM::SegmentatorConfig::SetDescriptorsSearch | ( | const SearchArray< TDescriptorsParams > & | frame | ) | [inline] |
Definition at line 85 of file SegmentatorConfig.hxx.
Referenced by DefaultInit().
friend class Segmentator [friend] |
Definition at line 72 of file SegmentatorConfig.hxx.
1.6.3