mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 09:47:46 +08:00
Added Freenect camera source
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1310 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -49,19 +49,9 @@ EpipolarGeometry::~EpipolarGeometry() {
|
||||
|
||||
void EpipolarGeometry::parseParameters(const ParametersMap & parameters)
|
||||
{
|
||||
ParametersMap::const_iterator iter;
|
||||
if((iter=parameters.find(Parameters::kVhEpMatchCountMin())) != parameters.end())
|
||||
{
|
||||
_matchCountMinAccepted = std::atoi((*iter).second.c_str());
|
||||
}
|
||||
if((iter=parameters.find(Parameters::kVhEpRansacParam1())) != parameters.end())
|
||||
{
|
||||
_ransacParam1 = std::atof((*iter).second.c_str());
|
||||
}
|
||||
if((iter=parameters.find(Parameters::kVhEpRansacParam2())) != parameters.end())
|
||||
{
|
||||
_ransacParam2 = std::atof((*iter).second.c_str());
|
||||
}
|
||||
Parameters::parse(parameters, Parameters::kVhEpMatchCountMin(), _matchCountMinAccepted);
|
||||
Parameters::parse(parameters, Parameters::kVhEpRansacParam1(), _ransacParam1);
|
||||
Parameters::parse(parameters, Parameters::kVhEpRansacParam2(), _ransacParam2);
|
||||
}
|
||||
|
||||
bool EpipolarGeometry::check(const Signature * ssA, const Signature * ssB)
|
||||
|
||||
Reference in New Issue
Block a user