Basic Image AlgorithmS Library
2.8.0
|
this class does something, but WHAT? Is it the M-Estimator SAmple Consensus ?? More...
#include <MathAlgo/MSAC.hh>
Public Member Functions | |
void | AddDebugLevel (const long int lv) |
void | AddDebugLevel (const std::string &name) |
bool | DebugLevelIsSet (const long int lv) const |
bool | DebugLevelIsSet (const std::string &name) const |
virtual bool | EvaluateSolution (const SolutionType &solution, std::vector< bool > &inlier, int &num_inliers, double &evaluate_score) |
virtual bool | GenerateSamples (int sample_index, std::vector< unsigned int > &which_samples) |
int | GetDebugLevel () const |
std::ostream & | GetDebugStream () const |
void | GetDebugStream (std::ostream &os) const |
virtual int | GetSampleSolution (std::vector< unsigned int > &which_samples, SolutionType &solutions) |
int | Init (int data_size) |
int | Init (int data_size, double terminate_score, int solution_count) |
MSAC () | |
long int | Name2DebugLevel (const std::string &name) const |
looks up a debuglevel in the internal map, returns 0 if not found More... | |
long int | NewDebugLevel (const std::string &name) |
creates a new debuglevel More... | |
void | PrintDebugLevel (std::ostream &os=std::cout) const |
virtual bool | RefineSolution (std::vector< unsigned int > &which_samples, SolutionType &solution, std::vector< bool > &new_inliers) |
void | RemoveDebugLevel (const long int lv) |
void | RemoveDebugLevel (const std::string &name) |
void | SetDebugLevel (const long int lv) |
void | SetDebugLevel (const std::string &name) |
void | SetDebugStream (const std::ostream &os) |
void | ShowDebugLevel (std::ostream &os=std::cout) const |
prints all internally known debuglevels More... | |
int | SolveMaster (SolutionType &solution, std::vector< bool > &inliers) |
virtual | ~MSAC () |
Static Public Member Functions | |
static long int | GetGlobalDebugLevel () |
static void | SetGlobalDebugLevel (long int lev) |
Protected Member Functions | |
int | _CalculateSampleCount (double expected_inlier_fraction) |
double | _CalculateTerminateScore (double sigma, double expected_inlier_fraction) |
bool | _GenerateSamplesRandom (int sample_index, std::vector< unsigned int > &which_samples) |
long | ConsumeNextFreeDebuglevel_ () |
returns the next available debuglevel More... | |
Protected Attributes | |
double | _dExpectedInlierFraction |
double | _dExpectedSigma |
double | _dTerminateScore |
int | _iDataSize |
int | _iSampleSize |
int | _iSolutionCount |
long int | _liDebugLevel |
long int | _liNextDebugLevel |
new concept, debuglevel are managed here in the debug class More... | |
double | _MSACConfidenceThresh |
bool | _MSACRefineSolution |
double | _MSACSigmaFac |
std::map< std::string, long int > | _String2Debuglevel |
Static Protected Attributes | |
static std::ostream | _zDebugStream |
static long int | GlobalDebugLevel = 0 |
this class does something, but WHAT? Is it the M-Estimator SAmple Consensus ??
BIAS::MSAC< SolutionType >::MSAC | ( | ) |
Definition at line 113 of file MSAC.hh.
References BIAS::MSAC< SolutionType >::_dExpectedInlierFraction, BIAS::MSAC< SolutionType >::_dExpectedSigma, BIAS::MSAC< SolutionType >::_dTerminateScore, BIAS::MSAC< SolutionType >::_iDataSize, BIAS::MSAC< SolutionType >::_iSampleSize, BIAS::MSAC< SolutionType >::_iSolutionCount, BIAS::MSAC< SolutionType >::_MSACConfidenceThresh, BIAS::MSAC< SolutionType >::_MSACRefineSolution, and BIAS::MSAC< SolutionType >::_MSACSigmaFac.
|
virtual |
|
protected |
|
protected |
|
protected |
Definition at line 316 of file MSAC.hh.
References BIAS::Random::GetUniformDistributedInt().
|
inlineinherited |
Definition at line 355 of file Debug.hh.
Referenced by BIAS::GLProjectionParametersBase::AddDebugLevel(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::FilterBase< InputStorageType, OutputStorageType >::FilterBase(), BIAS::ShowCamWxVideoSourceFactory::OpenDevice(), and BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph().
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineinherited |
Definition at line 341 of file Debug.hh.
Referenced by BIAS::GenSynthMatches::_AddUniformDistributedOutliers(), BIAS::GenSynthMatches::_CreateCamMovement(), BIAS::GenSynthMatches::_CreateStatic2DPoints(), BIAS::UnscentedTransform::ComputeSigmaPoints_(), BIAS::Triangulation::CorrectCorrespondences(), BIAS::GenSynthMatches::GetGTNormalizedF(), BIAS::MonteCarloTransform::GetSamples_(), and BIAS::MonteCarloTransform::Transform().
|
inlineinherited |
|
virtual |
|
virtual |
|
inlineinherited |
Definition at line 332 of file Debug.hh.
Referenced by BIAS::listenthread(), BIAS::Image< StorageType >::operator=(), and BIAS::ImageBase::operator=().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
virtual |
int BIAS::MSAC< SolutionType >::Init | ( | int | data_size | ) |
int BIAS::MSAC< SolutionType >::Init | ( | int | data_size, |
double | terminate_score, | ||
int | solution_count | ||
) |
|
inlineinherited |
|
inlineinherited |
creates a new debuglevel
Definition at line 474 of file Debug.hh.
Referenced by BIAS::COSAC< SolutionType >::COSAC(), BIAS::ProjectionParametersPerspectiveDepth::Init(), BIAS::MonteCarloTransform::MonteCarloTransform(), BIAS::PMatrixEstimation::PMatrixEstimation(), BIAS::PreemptiveRANSAC< SolutionType >::PreemptiveRANSAC(), BIAS::RANSACPreKnowledge< SolutionType >::RANSACPreKnowledge(), BIAS::ROI::ROI(), BIAS::RotationAveraging::RotationAveraging(), BIAS::SceneOpenSceneGraph::SceneOpenSceneGraph(), BIAS::ThreeDOutOpenSceneGraph::ThreeDOutOpenSceneGraph(), BIAS::Triangulation::Triangulation(), and BIAS::UnscentedTransform::UnscentedTransform().
|
inlineinherited |
|
virtual |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 318 of file Debug.hh.
Referenced by BIAS::ShowCamWxVideoSourceFactory::CreateBumbleBee(), BIAS::ShowCamWxVideoSourceFactory::CreateDCAM(), BIAS::VideoSource_MDcam::ScanBus(), BIAS::GLProjectionParametersBase::SetDebugLevel(), BIAS::VideoSource_Disk::VideoSource_Disk(), BIAS::VideoSource_DV2::VideoSource_DV2(), BIAS::VideoSource_DV::VideoSource_DV_Internal_Init_(), and BIAS::VideoSource_V4L::VideoSource_V4L().
|
inlineinherited |
|
inlineinherited |
|
inlinestaticinherited |
|
inlineinherited |
int BIAS::MSAC< SolutionType >::SolveMaster | ( | SolutionType & | solution, |
std::vector< bool > & | inliers | ||
) |
|
protected |
Definition at line 88 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 87 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 92 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 89 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 91 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 90 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protectedinherited |
Definition at line 510 of file Debug.hh.
Referenced by BIAS::Debug::operator=(), and BIAS::ImageBase::operator=().
|
protectedinherited |
new concept, debuglevel are managed here in the debug class
Definition at line 516 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
protected |
Definition at line 85 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 84 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protected |
Definition at line 86 of file MSAC.hh.
Referenced by BIAS::MSAC< SolutionType >::MSAC().
|
protectedinherited |
Definition at line 517 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |
Definition at line 511 of file Debug.hh.
Referenced by BIAS::Debug::operator=().
|
staticprotectedinherited |