#include "CleanCP.h"
#include <algorithms/optimizer/PTOptimizer.h>
#include "algorithms/basic/CalculateCPStatistics.h"
Include dependency graph for CleanCP.cpp:

Go to the source code of this file.
Namespaces | |
| namespace | HuginBase |
Functions | |
| UIntSet | getCPoutsideLimit_pair (Panorama pano, double n) |
| optimises images pairwise and removes for every image pair control points with error > mean+n*sigma | |
| UIntSet | getCPoutsideLimit (Panorama pano, double n, bool skipOptimisation) |
| optimises the whole panorama and removes all control points with error > mean+n*sigma | |
| UIntSet | getCPinMasks (HuginBase::Panorama pano) |
| returns these control points, which are in masks | |
the algorithm is based on ptoclean by Bruno Postle
Definition in file CleanCP.cpp.
|
|
returns these control points, which are in masks
Definition at line 151 of file CleanCP.cpp. References hugin_utils::FDiff2D, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, HuginBase::SrcPanoImage::isInside(), HuginBase::ControlPoint::mode, HuginBase::UIntSet, HuginBase::ControlPoint::x1, HuginBase::ControlPoint::x2, HuginBase::ControlPoint::y1, and HuginBase::ControlPoint::y2. Referenced by MainFrame::OnRemoveCPinMasks(). |
|
||||||||||||||||
|
optimises the whole panorama and removes all control points with error > mean+n*sigma
Definition at line 117 of file CleanCP.cpp. References HuginBase::CPVector, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::setCtrlPoints(), PTools::smartOptimize(), and HuginBase::UIntSet. Referenced by PanoOperation::CleanControlPointsOperation::GetInternalCommand(), and main(). |
|
||||||||||||
1.3.9.1