Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CleanCP.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
14  /* This is free software; you can redistribute it and/or
15  * modify it under the terms of the GNU General Public
16  * License as published by the Free Software Foundation; either
17  * version 2 of the License, or (at your option) any later version.
18  *
19  * This software is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22  * Lesser General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public
25  * License along with this software. If not, see
26  * <http://www.gnu.org/licenses/>.
27  *
28  */
29 
30 #ifndef _CLEANCP_H
31 #define _CLEANCP_H
32 
33 #include <hugin_shared.h>
34 #include <panodata/Panorama.h>
36 
37 namespace HuginBase {
38 
43 IMPEX UIntSet getCPoutsideLimit_pair(Panorama pano, AppBase::ProgressDisplay& progress, double n=2.0);
50 IMPEX UIntSet getCPoutsideLimit(Panorama pano, double n = 2.0, bool skipOptimisation = false, bool includeLineCp = false);
51 
53 IMPEX UIntSet getCPinMasks(Panorama pano);
54 
55 } // namespace
56 #endif // _H
std::set< unsigned int > UIntSet
Definition: PanoramaData.h:51
UIntSet getCPoutsideLimit_pair(Panorama pano, AppBase::ProgressDisplay &progress, double n)
optimises images pairwise and removes for every image pair control points with error &gt; mean+n*sigma ...
Definition: CleanCP.cpp:37
#define IMPEX
Definition: hugin_shared.h:39
UIntSet getCPoutsideLimit(Panorama pano, double n, bool skipOptimisation, bool includeLineCp)
optimises the whole panorama and removes all control points with error &gt; mean+n*sigma ...
Definition: CleanCP.cpp:123
UIntSet getCPinMasks(HuginBase::Panorama pano)
returns these control points, which are in masks
Definition: CleanCP.cpp:186