A merger transformation configuration. More...
#include <Merger.hpp>
Public Member Functions | |
| Config (sal3d_merger_config c_config) | |
| Creates a C++ Config object that holds a C sal3d_merger_config. | |
| Config (const Config &mc) | |
| Copy constructor. | |
| Config & | operator= (const Config &mc) |
| Assignment operator. | |
| Config (const std::string &filename) | |
| Creates a new Config from a file. | |
| ~Config () | |
| Destructor. | |
| std::vector< float > | accuracyMean () const |
| Returns the mean accuracy of the calibration in v and g. | |
| std::vector< float > | accuracyStdDev () const |
| Returns the stddev accuracy of the calibration in v and g. | |
| sal3d_merger_config | c_config () const |
| Gets the C pointer to a merger_config. | |
| std::vector< float > | patternMisorientation () const |
| Returns the detected pattern misorientation in the calibration. | |
| void | saveToFile (const std::string &fileName) const |
| Saves the Config to a file. | |
A merger transformation configuration.
This class requires linking with merger.lib (import library for merger.dll).
This configuration describes the transformation needed to apply to a Profile grabbed from the auxiliary camera of an acquisition system, so that it can be merged with the base profile to obtain one with less occlusions.
| sal3d::Merger::Config::Config | ( | sal3d_merger_config | c_config | ) | [inline, explicit] |
Creates a C++ Config object that holds a C sal3d_merger_config.
The new C++ Config object will get the ownership of the C c_config, which means that you should not call sal3d_merger_config_release() to this c_config, otherwise it would be called twice.
| [in] | c_config | The C sal3d_merger_config to use to create this object. |
| sal3d::Merger::Config::Config | ( | const Config & | mc | ) | [inline] |
| sal3d::Merger::Config::Config | ( | const std::string & | filename | ) | [inline, explicit] |
Creates a new Config from a file.
| [in] | filename | The name of the file to use to load the Config. |
| sal3d::Error | On error |
| std::vector<float> sal3d::Merger::Config::accuracyMean | ( | ) | const [inline] |
Returns the mean accuracy of the calibration in v and g.
The mean accuracy of the calibration, together with the standard deviation of the accuracy, give an idea of the errors expected for scanned objects similar in size to the calibration pattern.
Both v and g mean accuracies are given in original v and g units.
| sal3d::Error | On error |
| std::vector<float> sal3d::Merger::Config::accuracyStdDev | ( | ) | const [inline] |
Returns the stddev accuracy of the calibration in v and g.
The accuracy standard deviation of the calibration, together with the mean of the accuracy, give an idea of the errors expected for scanned objects similar in size to the calibration pattern.
Both v and g accuracy standard deviations are given in original v and g units.
| sal3d::Error | On error |
| sal3d_merger_config sal3d::Merger::Config::c_config | ( | ) | const [inline] |
Gets the C pointer to a merger_config.
| sal3d::Error | On error |
Referenced by sal3d::Merger::average().
Assignment operator.
| [in] | mc | The Config to copy to this object. |
| sal3d::Error | On error |
| std::vector<float> sal3d::Merger::Config::patternMisorientation | ( | ) | const [inline] |
Returns the detected pattern misorientation in the calibration.
The good results of a calibration depend on how well the pattern is oriented along the motion vector. This method returns the difference in v and g coordinates between a point of the front of the pattern, and a point of the back of the pattern. The nearer they are to zero, the better results the calibration should report.
Both v and g deviations are given in original v and g units.
| sal3d::Error | On error |
| void sal3d::Merger::Config::saveToFile | ( | const std::string & | fileName | ) | const [inline] |
Saves the Config to a file.
| [in] | fileName | The name of the file to store the Config. |
| sal3d::Error | On error |
by
1.7.6.1