Hugin trunk 0.1
Loading...
Searching...
No Matches
wxLensDB.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
10/*
11 * This is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public
13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version.
15 *
16 * This software is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public
22 * License along with this software. If not, see
23 * <http://www.gnu.org/licenses/>.
24 *
25 */
26
27#ifndef WXLENSDB_H
28#define WXLENSDB_H
29
30#include <hugin_shared.h>
31#include "panoinc_WX.h"
32#include "panoinc.h"
33#include "base_wx/Command.h"
34
43
49WXIMPEX bool SaveLensParameters(wxWindow * parent, const HuginBase::SrcPanoImage& img, bool includeVignetting=true);
50
51#endif // WXLENSDB_H
Model for a panorama.
Definition Panorama.h:153
All variables of a source image.
Base class for all panorama commands.
Definition Command.h:39
#define WXIMPEX
std::set< unsigned int > UIntSet
include file for the hugin project
include file for the hugin project
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
WXIMPEX bool SaveLensParameters(wxWindow *parent, const HuginBase::SrcPanoImage &img, bool includeVignetting=true)
saves the lensparameter of the given HuginBase::SrcPanoImage into the lens database
Definition wxLensDB.cpp:529
WXIMPEX bool ApplyLensDBParameters(wxWindow *parent, HuginBase::Panorama *pano, HuginBase::UIntSet images, PanoCommand::PanoCommand *&cmd)
loads the lens parameters from lens database and create approbiate PanoCommand::PanoCommand to apply ...
Definition wxLensDB.cpp:245