Hugin trunk 0.1
Loading...
Searching...
No Matches
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
37namespace HuginBase {
38
50IMPEX UIntSet getCPoutsideLimit(Panorama pano, double n = 2.0, bool skipOptimisation = false, bool includeLineCp = false);
51
53IMPEX UIntSet getCPinMasks(Panorama pano);
54
55} // namespace
56#endif // _H
#define IMPEX
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
Definition wxcms.cpp:39
UIntSet getCPoutsideLimit(Panorama pano, double n, bool skipOptimisation, bool includeLineCp)
optimises the whole panorama and removes all control points with error > mean+n*sigma
Definition CleanCP.cpp:123
UIntSet getCPoutsideLimit_pair(Panorama pano, AppBase::ProgressDisplay &progress, double n)
optimises images pairwise and removes for every image pair control points with error > mean+n*sigma
Definition CleanCP.cpp:37
UIntSet getCPinMasks(HuginBase::Panorama pano)
returns these control points, which are in masks
Definition CleanCP.cpp:186
std::set< unsigned int > UIntSet
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41