24#ifndef _PANOTOOLS_PANOTOOLSINTERFACE_H
25#define _PANOTOOLS_PANOTOOLSINTERFACE_H
28#include <hugin_config.h>
48#define _STLP_VERBOSE_AUTO_LINK
67#include <pano13/panorama.h>
68#include <pano13/filter.h>
75#include <pano13/filter.h>
89namespace vigra {
class Diff2D; }
90namespace HuginBase {
class PanoramaData; }
116 : m_initialized(
false), m_srcTX(0), m_srcTY(0),
117 m_destTX(0), m_destTY(0)
120 m_srcImage.data =
NULL;
121 m_dstImage.data =
NULL;
151 void createTransform(
const vigra::Diff2D &
srcSize,
161 void createTransform(
const PanoramaData& pano,
unsigned int imgNr,
163 vigra::Diff2D
srcSize=vigra::Diff2D(0,0));
185 void createInvTransform(
const vigra::Diff2D &
srcSize,
195 void createInvTransform(
const PanoramaData& pano,
unsigned int imgNr,
197 vigra::Diff2D
srcSize=vigra::Diff2D(0,0));
213 bool transformImgCoord(
double &
x_dest,
double &
y_dest,
223 bool emitGLSL(std::ostringstream&
oss)
const;
227 void updatePTData(
const vigra::Diff2D &
srcSize,
ProjectionFormat
Projection of final panorama.
All variables of a source image.
misc math function & classes used by other parts of the program
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
std::vector< VariableMap > VariableMapVector
std::vector< ControlPoint > CPVector
std::map< std::string, Variable > VariableMap
Implementation of fast vector type with support of linear algebra operations Copyright (C) 2009 Lukáš...
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.