HuginBase Namespace Reference

mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface. More...


Classes

class  HuginBase::AssistantMakefilelibExport
struct  HuginBase::AssistantMakefilelibExport::AssistantPrograms
class  HuginBase::CalculateCPStatistics
 just some common implementation; probably not so useful More...
class  HuginBase::CalculateCPStatisticsError
class  HuginBase::CalculateCPStatisticsRadial
class  HuginBase::CalculateMeanExposure
class  HuginBase::CalculateOptimalROI
struct  HuginBase::CalculateOptimalROI::nonrec
class  HuginBase::CalculateOptimalScale
class  HuginBase::SetWidthOptimal
class  HuginBase::CalculateImageOverlap
 class for calculating overlap of images More...
class  HuginBase::RotatePanorama
class  HuginBase::StraightenPanorama
class  HuginBase::TranslatePanorama
class  HuginBase::CalculateFOV
class  HuginBase::CenterHorizontally
class  HuginBase::ComputeImageROI
class  HuginBase::CalculateFitPanorama
class  HuginBase::FitPanorama
class  HuginBase::NonaFileOutputStitcher
 This class will use the stitchPanorama function of nona. More...
struct  HuginBase::OverlapSizeCounter
 count pixels that are > 0 in both images More...
class  HuginBase::PhotometricOptimizer
struct  HuginBase::PhotometricOptimizer::VarMapping
struct  HuginBase::PhotometricOptimizer::OptimData
class  HuginBase::SmartPhotometricOptimizer
class  HuginBase::OptVarSpec
class  HuginBase::PTOptEstimator
 Estimator for RANSAC based adjustment of pairwise parameters. More...
class  HuginBase::PTOptimizer
class  HuginBase::RANSACOptimizer
 Pairwise ransac optimisation. More...
class  HuginBase::AutoOptimise
class  HuginBase::AutoOptimise::OptimiseVisitor
 a traverse functor to optimise the image links More...
class  HuginBase::SmartOptimizerStub
class  HuginBase::SmartOptimise
class  HuginBase::PanoramaMakefilelibExport
struct  HuginBase::PanoramaMakefilelibExport::PTPrograms
class  HuginBase::PanoramaAlgorithm
class  HuginBase::TimeConsumingPanoramaAlgorithm
class  HuginBase::PointSampler
class  HuginBase::AllPointSampler
class  HuginBase::RandomPointSampler
class  HuginBase::StitcherAlgorithm
 Just a conceptual base class... More...
class  HuginBase::ImageStitcherAlgorithm
 stitch to file output More...
class  HuginBase::FileOutputStitcherAlgorithm
 stitch to file output More...
class  HuginBase::SmallRemappedImageCache
 class to cache remapped images, loaded from the hugin small image cache. More...
class  HuginBase::GetRange< T1 >
class  HuginBase::ImageCache
 This is a cache for all the images we use. More...
struct  HuginBase::ImageCache::Entry
 information about an image inside the cache More...
class  HuginBase::ImageCache::Request
 Request for an image to load Connect to the ready signal so when the image loads you can respond. More...
struct  HuginBase::ImageCache::PyramidKey
 get a pyramid image. More...
class  HuginBase::PanoCommand< StringType >
 Default panorama cmd, provides undo with mementos. More...
class  HuginBase::ControlPoint
 represents a control point More...
class  HuginBase::ImageVariable< Type >
 An ImageVariable stores a value that can be linked to other ImageVariables of the same type. More...
class  HuginBase::ConstImageVariableGroup
 An ImageVariableGroup is a collection of image variables that can have some shared variable values. More...
class  HuginBase::ImageVariableGroup
 Same as above, but use a non const panorama. More...
class  HuginBase::PTOVariableConverterNoOp
 Parent class to anything that aids conversion between PTO file variables and the image variables of SrcPanoImg. More...
class  HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >
 Object to group conversion functions for PTO format variables of up to three characters representing a single variable in SrcPanoImg. More...
class  HuginBase::PTOVariableConverterVectorChar< base_code, T, size >
 Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using an identifying first character. More...
class  HuginBase::PTOVariableConverterVector< T, size >
 Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using characters stating from 'a'. More...
class  HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >
 Object to group conversion functions for PTO format variables representing a hugin_utils::FDiff2D variable in SrcPanoImg. More...
class  HuginBase::Lens
class  HuginBase::MaskPolygon
 base class, which stores one mask polygon More...
class  HuginBase::PanoramaMemento
 Memento class for a Panorama object. More...
class  HuginBase::Panorama
 Model for a panorama. More...
class  HuginBase::PanoramaData
 Model for a panorama. More...
class  HuginBase::PanoramaObserver
 this handler class will receive change events from the Panorama. More...
class  HuginBase::PanoramaDataMemento
 Memento class for a PanoramaData object. More...
class  HuginBase::ManagedPanoramaData
class  HuginBase::PanoramaOptions
 Panorama image options. More...
class  HuginBase::Variable
 a variable has a value and a name. More...
class  HuginBase::LinkedVariable
class  HuginBase::LensVariable
 A lens variable can be linked. More...
struct  HuginBase::PrintVar
 functor to print a variable. More...
class  HuginBase::BaseSrcPanoImage
 Base class containing all the variables, but missing some of the other important functions and with some daft accessors. More...
class  HuginBase::SrcPanoImage
 All variables of a source image. More...
class  HuginBase::ConstStandardImageVariableGroups
 Make an ImageVariableGroup for lenses and other common concepts. More...
class  HuginBase::StandardImageVariableGroups

Typedefs

typedef boost::adjacency_list<
boost::vecS, boost::vecS,
boost::undirectedS, boost::property<
boost::vertex_color_t, boost::default_color_type > > 
CPGraph
 graph of images, connected with control points.
typedef std::vector< std::set<
unsigned > > 
CPComponents
 components in a control point graph
typedef boost::property< boost::edge_weight_t,
float > 
OverlapEdgeProperty
typedef boost::adjacency_list<
boost::vecS, boost::vecS,
boost::undirectedS, boost::property<
boost::vertex_color_t, boost::default_color_type >,
OverlapEdgeProperty
OverlapGraph
 A graph that contains all image as nodes (vertexes), overlaps are given by edges.
typedef std::vector< ControlPointCPVector
typedef std::pair< unsigned
int, ControlPoint
CPoint
typedef std::vector< CPointCPointVector
typedef PTOVariableConverterNoOp PTOVariableConverterForFilename
 image_variables.h
typedef PTOVariableConverterNoOp PTOVariableConverterForSize
typedef PTOVariableConverterNoOp PTOVariableConverterForProjection
typedef PTOVariableConverterSingle<
'v'> 
PTOVariableConverterForHFOV
typedef PTOVariableConverterNoOp PTOVariableConverterForResponseType
typedef PTOVariableConverterVectorChar<
'R', float, 5 > 
PTOVariableConverterForEMoRParams
typedef PTOVariableConverterSingle<
'E', 'e', 'v'> 
PTOVariableConverterForExposureValue
typedef PTOVariableConverterNoOp PTOVariableConverterForGamma
typedef PTOVariableConverterSingle<
'E', 'r'> 
PTOVariableConverterForWhiteBalanceRed
typedef PTOVariableConverterSingle<
'E', 'b'> 
PTOVariableConverterForWhiteBalanceBlue
typedef PTOVariableConverterSingle<
'r'> 
PTOVariableConverterForRoll
typedef PTOVariableConverterSingle<
'p'> 
PTOVariableConverterForPitch
typedef PTOVariableConverterSingle<
'y'> 
PTOVariableConverterForYaw
typedef PTOVariableConverterSingle<
'T','r','X'> 
PTOVariableConverterForX
typedef PTOVariableConverterSingle<
'T','r','Y'> 
PTOVariableConverterForY
typedef PTOVariableConverterSingle<
'T','r','Z'> 
PTOVariableConverterForZ
typedef PTOVariableConverterSingle<
'T','p','y'> 
PTOVariableConverterForTranslationPlaneYaw
typedef PTOVariableConverterSingle<
'T','p','p'> 
PTOVariableConverterForTranslationPlanePitch
typedef PTOVariableConverterSingle<
'j'> 
PTOVariableConverterForStack
typedef PTOVariableConverterVector<
double, 3 > 
PTOVariableConverterForRadialDistortion
typedef PTOVariableConverterNoOp PTOVariableConverterForRadialDistortionRed
typedef PTOVariableConverterNoOp PTOVariableConverterForRadialDistortionBlue
typedef PTOVariableConverterFDiff2D<
'd', 'e'> 
PTOVariableConverterForRadialDistortionCenterShift
typedef PTOVariableConverterFDiff2D<
'g', 't'> 
PTOVariableConverterForShear
typedef PTOVariableConverterNoOp PTOVariableConverterForCropMode
typedef PTOVariableConverterNoOp PTOVariableConverterForCropRect
typedef PTOVariableConverterNoOp PTOVariableConverterForAutoCenterCrop
typedef PTOVariableConverterNoOp PTOVariableConverterForFlatfieldFilename
typedef PTOVariableConverterNoOp PTOVariableConverterForVigCorrMode
typedef PTOVariableConverterVectorChar<
'V', double, 4 > 
PTOVariableConverterForRadialVigCorrCoeff
typedef PTOVariableConverterFDiff2D<
'V','V', 'x','y'> 
PTOVariableConverterForRadialVigCorrCenterShift
typedef PTOVariableConverterNoOp PTOVariableConverterForExifModel
typedef PTOVariableConverterNoOp PTOVariableConverterForExifMake
typedef PTOVariableConverterNoOp PTOVariableConverterForExifLens
typedef PTOVariableConverterNoOp PTOVariableConverterForExifCropFactor
typedef PTOVariableConverterNoOp PTOVariableConverterForExifFocalLength
typedef PTOVariableConverterNoOp PTOVariableConverterForExifOrientation
typedef PTOVariableConverterNoOp PTOVariableConverterForExifAperture
typedef PTOVariableConverterNoOp PTOVariableConverterForExifISO
typedef PTOVariableConverterNoOp PTOVariableConverterForExifDistance
typedef PTOVariableConverterNoOp PTOVariableConverterForExifFocalLength35
typedef PTOVariableConverterNoOp PTOVariableConverterForExifExposureTime
typedef PTOVariableConverterNoOp PTOVariableConverterForExifDate
typedef PTOVariableConverterNoOp PTOVariableConverterForExifExposureMode
typedef PTOVariableConverterNoOp PTOVariableConverterForMasks
typedef PTOVariableConverterNoOp PTOVariableConverterForActiveMasks
typedef PTOVariableConverterNoOp PTOVariableConverterForActive
typedef PTOVariableConverterNoOp PTOVariableConverterForLensNr
typedef std::vector< LensLensVector
typedef std::vector< FDiff2DVectorPolygon
 vector, which stores coordinates of one polygon
typedef std::vector< MaskPolygonMaskPolygonVector
typedef std::set< unsigned
int > 
UIntSet
typedef std::vector< unsigned
int > 
UIntVector
typedef std::map< std::string,
Variable
VariableMap
typedef std::vector< VariableMapVariableMapVector
typedef std::map< std::string,
LensVariable
LensVarMap
typedef std::vector< std::set<
std::string > > 
OptimizeVector
typedef std::vector< SrcPanoImageImageVector

Enumerations

enum  clipSide { clipLeft = 0, clipRight, clipTop, clipBottom }
enum  OptimizerSwitches {
  OPT_PAIR = 0x0001, OPT_POSITION = 0x0002, OPT_VIEW = 0x0004, OPT_BARREL = 0x0008,
  OPT_ALL = 0x0010, OPT_TRANSLATION = 0x0020, OPT_EXPOSURE = 0x0001, OPT_WHITEBALANCE = 0x0002,
  OPT_VIGNETTING = 0x0004, OPT_VIGNETTING_CENTER = 0x0008, OPT_RESPONSE = 0x0010
}
 defines all optimizer switches, they can be combined with OR More...

Functions

vector< UIntSetgetHDRStacks (const PanoramaData &pano, UIntSet allImgs, PanoramaOptions opts)
 returns vector of set of output stacks
vector< UIntSetgetExposureLayers (const PanoramaData &pano, UIntSet allImgs, PanoramaOptions opts)
 returns vector of set of output exposure layers
UIntSet getImagesinROI (const PanoramaData &pano, const UIntSet activeImages)
 returns set of images which are visible in output ROI
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, bool includeLineCp)
 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
template<class TRANSFORM>
void estimateImageRect (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect)
 calculate the outline of the image
template<class TRANSFORM>
void estimateImageAlpha (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect, vigra::BImage &alpha, double &scale)
vigra::Rect2D estimateOutputROI (const PanoramaData &pano, const PanoramaOptions &opts, unsigned i)
void createCPGraph (const PanoramaData &pano, CPGraph &graph)
 create a control point graph structure, with links representing one or more control points
int findCPComponents (const CPGraph &graph, CPComponents &comp)
void createOverlapGraph (const PanoramaData &pano, OverlapGraph &graph)
 create a graph with all overlaps, and a suitable blend order.
double weightHuber (double x, double sigma)
 expects the abs(error) values
const makefile::string hdrgrayRemappedExt ("_gray.pgm")
 constants
const makefile::string hdrRemappedExt (".exr")
const makefile::string ldrRemappedExt (".tif")
const makefile::string ldrRemappedMode ("TIFF_m")
const makefile::string hdrRemappedMode ("EXR_m")
void printstacks (const std::vector< UIntSet > &stackdata)
 Simple helper to output stacks for debugging.
template<typename T>
void append (std::vector< T > &dst, const std::vector< T > &src)
 Copys all of src to the end of test.
template<typename T>
void append (std::vector< T > &vec, const T &element)
 Simply calls push_back, convinience function.
 VIGRA_EXT_GETRANGE (vigra::UInt8, 0, 255)
 VIGRA_EXT_GETRANGE (vigra::Int16, 0, 32767)
 VIGRA_EXT_GETRANGE (vigra::UInt16, 0, 65535)
 VIGRA_EXT_GETRANGE (vigra::Int32, 0, 2147483647)
 VIGRA_EXT_GETRANGE (vigra::UInt32, 0, 4294967295u)
 VIGRA_EXT_GETRANGE (float, 0, 1.0f)
 VIGRA_EXT_GETRANGE (double, 0, 1.0)
template<class SrcIMG>
void convertTo8Bit (SrcIMG &src, const std::string &origType, vigra::BRGBImage &dest)
bool clip_isSide (const FDiff2D p, const vigra::Rect2D r, const clipSide side)
FDiff2D clip_getIntersection (const FDiff2D p, const FDiff2D q, const vigra::Rect2D r, const clipSide side)
VectorPolygon clip_onPlane (const VectorPolygon polygon, const vigra::Rect2D r, const clipSide side)
bool clip_insideCircle (const FDiff2D p, const FDiff2D center, const double radius)
 check if point is inside circle
std::vector< FDiff2Dclip_getIntersectionCircle (const FDiff2D p, const FDiff2D s, const FDiff2D center, const double radius)
 returns intersection of line and circle
double angle_between (const FDiff2D a, const FDiff2D b)
 calculates angle between vector a and b in radians
void generateArc (VectorPolygon &poly, const FDiff2D s, const FDiff2D center, const double radius, const bool clockwise)
 adds an arc with given radius at the end of the polygon, the point is not added to the arc
void LoadMaskFromStream (std::istream &stream, vigra::Size2D &imageSize, MaskPolygonVector &newMasks, size_t imgNr)
 load the mask from stream
void SaveMaskToStream (std::ostream &stream, vigra::Size2D imageSize, MaskPolygon &maskToWrite, size_t imgNr)
 save the mask into stream
void UpdateOptVectorSet (std::set< std::string > &imgVar, const std::string var, const bool opt)
void fillVariableMap (VariableMap &vars)
 fill map with all image & lens variables
void fillLensVarMap (LensVarMap &variables)
 just lens variables
void printVariableMap (std::ostream &o, const VariableMap &vars)
 print a variable map to o

Variables

const int maskOffset = 100
 polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading
const ConstImageVariableGroup::ImageVariableEnum lens_variables_array []
 The image variables that are specific to lenses.
const std::set< ConstImageVariableGroup::ImageVariableEnumlens_variables_set
 A set containing the lens image variables.
const ConstImageVariableGroup::ImageVariableEnum stack_variables_array []
 The image variables that are specific to stack.
const std::set< ConstImageVariableGroup::ImageVariableEnumstack_variables_set
 A set containing the stack image variables.


Detailed Description

mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface.

It can be used to feed data from our model directly into the panotools library


Typedef Documentation

typedef std::vector< std::set<unsigned> > HuginBase::CPComponents
 

components in a control point graph

Definition at line 55 of file ImageGraph.h.

Referenced by HuginBase::AssistantMakefilelibExport::createItems(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), and PanoDetector::matchMultiRow().

typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::property<boost::vertex_color_t, boost::default_color_type> > HuginBase::CPGraph
 

graph of images, connected with control points.

verticies: images, links: controlpoints

Definition at line 52 of file ImageGraph.h.

Referenced by HuginBase::AutoOptimise::autoOptimise(), HuginBase::AssistantMakefilelibExport::createItems(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), and PanoDetector::matchMultiRow().

typedef std::pair<unsigned int, ControlPoint> HuginBase::CPoint
 

Definition at line 121 of file ControlPoint.h.

typedef std::vector<CPoint> HuginBase::CPointVector
 

Definition at line 122 of file ControlPoint.h.

Referenced by HuginBase::Panorama::getCtrlPointsVectorForImage(), and main().

typedef std::vector<ControlPoint> HuginBase::CPVector
 

Definition at line 119 of file ControlPoint.h.

Referenced by alignStereoWindow(), HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::CalculateCPStatisticsRadial::calcCtrlPntsRadiStats(), createCPGraph(), HuginBase::AssistantMakefilelibExport::createItems(), HuginBase::PTools::GetAlignInfoCtrlPoints(), getCPoutsideLimit(), getCPoutsideLimit_pair(), HuginBase::Panorama::getCtrlPoints(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), HuginBase::PTOptEstimator::leastSquaresEstimate(), main(), main2(), PanoDetector::matchMultiRow(), optGetError(), PanoDetector::RansacMatchesInPairCam(), AutoCtrlPointCreator::readUpdatedControlPoints(), SetGeometricControlPointsOverlap(), SetGeometricControlPointsUnconnected(), and HuginBase::SmartOptimise::smartOptimize().

typedef std::vector<SrcPanoImage> HuginBase::ImageVector
 

Definition at line 1695 of file SrcPanoImage.h.

typedef std::map<std::string,LensVariable> HuginBase::LensVarMap
 

Definition at line 187 of file PanoramaVariable.h.

typedef std::vector<Lens> HuginBase::LensVector
 

Definition at line 144 of file Lens.h.

typedef std::vector<MaskPolygon> HuginBase::MaskPolygonVector
 

Definition at line 149 of file Mask.h.

Referenced by main(), HuginBase::SrcPanoImage::readEXIF(), and HuginBase::SrcPanoImage::resize().

typedef std::vector<std::set<std::string> > HuginBase::OptimizeVector
 

Definition at line 194 of file PanoramaVariable.h.

Referenced by HuginBase::PTools::calcCtrlPointErrors(), HuginBase::Panorama::changeFinished(), HuginBase::SmartOptimizerStub::createOptVars(), HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), get_optvars(), getCPoutsideLimit_pair(), LensCalFrame::GetPanorama(), hasphotometricParams(), main(), main2(), PanoDetector::matchMultiRow(), optimize_new(), optimize_old(), HuginBase::PhotometricOptimizer::photometricError(), and HuginBase::SmartOptimise::smartOptimize().

typedef boost::property<boost::edge_weight_t, float> HuginBase::OverlapEdgeProperty
 

Definition at line 71 of file ImageGraph.h.

typedef boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, boost::property<boost::vertex_color_t, boost::default_color_type>, OverlapEdgeProperty> HuginBase::OverlapGraph
 

A graph that contains all image as nodes (vertexes), overlaps are given by edges.

vertex property (color): indicates if the image has been stitched into the panorama

edge property (float): amount of overlap

Definition at line 84 of file ImageGraph.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForActive
 

Definition at line 343 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForActiveMasks
 

Definition at line 342 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForAutoCenterCrop
 

Definition at line 313 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForCropMode
 

Definition at line 310 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForCropRect
 

Todo:
This could be S, but it is 4 integers in the form a,b,c,d -hence not a double.

Definition at line 312 of file ImageVariableTranslate.h.

typedef PTOVariableConverterVectorChar<'R', float, 5> HuginBase::PTOVariableConverterForEMoRParams
 

Definition at line 286 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifAperture
 

Definition at line 328 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifCropFactor
 

Definition at line 325 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifDate
 

Definition at line 333 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifDistance
 

Definition at line 330 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifExposureMode
 

Definition at line 334 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifExposureTime
 

Definition at line 332 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifFocalLength
 

Definition at line 326 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifFocalLength35
 

Definition at line 331 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifISO
 

Definition at line 329 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifLens
 

Definition at line 324 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifMake
 

Definition at line 323 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifModel
 

Definition at line 322 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForExifOrientation
 

Definition at line 327 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'E', 'e', 'v'> HuginBase::PTOVariableConverterForExposureValue
 

Definition at line 287 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForFilename
 

image_variables.h

Todo:
This could be n, but it is a string, not a double.

Definition at line 279 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForFlatfieldFilename
 

Todo:
This could be Vf, but it is a string, not a double.

Definition at line 316 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForGamma
 

Definition at line 288 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'v'> HuginBase::PTOVariableConverterForHFOV
 

Definition at line 283 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForLensNr
 

Definition at line 344 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForMasks
 

Definition at line 341 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'p'> HuginBase::PTOVariableConverterForPitch
 

Definition at line 293 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForProjection
 

Definition at line 282 of file ImageVariableTranslate.h.

typedef PTOVariableConverterVector<double, 3> HuginBase::PTOVariableConverterForRadialDistortion
 

Definition at line 304 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForRadialDistortionBlue
 

Definition at line 306 of file ImageVariableTranslate.h.

typedef PTOVariableConverterFDiff2D<'d', 'e'> HuginBase::PTOVariableConverterForRadialDistortionCenterShift
 

Definition at line 307 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForRadialDistortionRed
 

Definition at line 305 of file ImageVariableTranslate.h.

typedef PTOVariableConverterFDiff2D<'V','V', 'x','y'> HuginBase::PTOVariableConverterForRadialVigCorrCenterShift
 

Definition at line 320 of file ImageVariableTranslate.h.

typedef PTOVariableConverterVectorChar<'V', double, 4> HuginBase::PTOVariableConverterForRadialVigCorrCoeff
 

Definition at line 319 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForResponseType
 

Definition at line 285 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'r'> HuginBase::PTOVariableConverterForRoll
 

Definition at line 292 of file ImageVariableTranslate.h.

typedef PTOVariableConverterFDiff2D<'g', 't'> HuginBase::PTOVariableConverterForShear
 

Definition at line 308 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForSize
 

Definition at line 280 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'j'> HuginBase::PTOVariableConverterForStack
 

Definition at line 302 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'T','p','p'> HuginBase::PTOVariableConverterForTranslationPlanePitch
 

Definition at line 300 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'T','p','y'> HuginBase::PTOVariableConverterForTranslationPlaneYaw
 

Definition at line 299 of file ImageVariableTranslate.h.

typedef PTOVariableConverterNoOp HuginBase::PTOVariableConverterForVigCorrMode
 

Definition at line 318 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'E', 'b'> HuginBase::PTOVariableConverterForWhiteBalanceBlue
 

Definition at line 290 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'E', 'r'> HuginBase::PTOVariableConverterForWhiteBalanceRed
 

Definition at line 289 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'T','r','X'> HuginBase::PTOVariableConverterForX
 

Definition at line 296 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'T','r','Y'> HuginBase::PTOVariableConverterForY
 

Definition at line 297 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'y'> HuginBase::PTOVariableConverterForYaw
 

Definition at line 294 of file ImageVariableTranslate.h.

typedef PTOVariableConverterSingle<'T','r','Z'> HuginBase::PTOVariableConverterForZ
 

Definition at line 298 of file ImageVariableTranslate.h.

typedef std::set<unsigned int> HuginBase::UIntSet
 

Definition at line 51 of file PanoramaData.h.

Referenced by PreviewColorPickerTool::CalcCorrection(), HuginBase::PTools::calcCtrlPointErrors(), HuginBase::CalculateFOV::calcFOV(), HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), getCPinMasks(), getCPoutsideLimit(), getCPoutsideLimit_pair(), getExposureLayers(), getHDRStacks(), getImagesinROI(), PanoOperation::AssignStacksOperation::GetInternalCommand(), PanoOperation::CelesteOperation::GetInternalCommand(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), HuginBase::CalculateImageOverlap::getOverlapForImage(), HuginBase::Nona::Stitcher< ImageType, AlphaImageType >::getUsedImages(), HuginBase::PTOptEstimator::leastSquaresEstimate(), main(), main2(), PanoDetector::matchMultiRow(), HuginBase::PTools::optimize(), HuginBase::PhotometricOptimizer::photometricError(), HuginBase::PTOptEstimator::PTOptEstimator(), PanoDetector::RansacMatchesInPairCam(), SetGeometricControlPointsOverlap(), and SetGeometricControlPointsUnconnected().

typedef std::vector<unsigned int> HuginBase::UIntVector
 

Definition at line 54 of file PanoramaData.h.

typedef std::map<std::string,Variable> HuginBase::VariableMap
 

Definition at line 174 of file PanoramaVariable.h.

Referenced by ImageVariableDialog::ApplyNewVariables(), HuginBase::PTools::Transform::createInvTransform(), HuginBase::PTools::Transform::createTransform(), HuginBase::PTools::GetAlignInfoVariables(), HuginBase::Panorama::getImageVariables(), PanoOperation::ResetOperation::GetInternalCommand(), HuginBase::Panorama::linkImageVariableAutoCenterCrop(), and HuginBase::Panorama::removeImage().

typedef std::vector<VariableMap> HuginBase::VariableMapVector
 

Definition at line 183 of file PanoramaVariable.h.

Referenced by HuginBase::PTools::GetAlignInfoVariables(), PanoOperation::ResetOperation::GetInternalCommand(), HuginBase::Panorama::getVariables(), HuginBase::AutoOptimise::OptimiseVisitor::getVariables(), ImageVariableDialog::InitValues(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), and HuginBase::SmartOptimise::smartOptimize().

typedef std::vector<FDiff2D> HuginBase::VectorPolygon
 

vector, which stores coordinates of one polygon

Definition at line 41 of file Mask.h.

Referenced by clip_onPlane(), HuginBase::MaskPolygon::clipPolygon(), HuginBase::MaskPolygon::getMaskPolygon(), HuginBase::MaskPolygon::subSample(), and HuginBase::MaskPolygon::transformPolygon().


Enumeration Type Documentation

enum clipSide
 

Enumeration values:
clipLeft 
clipRight 
clipTop 
clipBottom 

Definition at line 228 of file Mask.cpp.

enum OptimizerSwitches
 

defines all optimizer switches, they can be combined with OR

Enumeration values:
OPT_PAIR 
OPT_POSITION 
OPT_VIEW 
OPT_BARREL 
OPT_ALL 
OPT_TRANSLATION 
OPT_EXPOSURE 
OPT_WHITEBALANCE 
OPT_VIGNETTING 
OPT_VIGNETTING_CENTER 
OPT_RESPONSE 

Definition at line 31 of file OptimizerSwitches.h.


Function Documentation

double angle_between const FDiff2D  a,
const FDiff2D  b
 

calculates angle between vector a and b in radians

Definition at line 392 of file Mask.cpp.

References hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::squareLength(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by HuginBase::MaskPolygon::clipPolygon().

template<typename T>
void HuginBase::append std::vector< T > &  vec,
const T &  element
 

Simply calls push_back, convinience function.

Parameters:
vec 
element 

Definition at line 1314 of file PanoramaMakefilelibExport.cpp.

Referenced by GetImageVariableControl().

template<typename T>
void HuginBase::append std::vector< T > &  dst,
const std::vector< T > &  src
 

Copys all of src to the end of test.

Just calls insert. Convinience function.

Parameters:
dst 
src 

Definition at line 1309 of file PanoramaMakefilelibExport.cpp.

Referenced by HuginBase::PanoramaMakefilelibExport::createItems().

FDiff2D clip_getIntersection const FDiff2D  p,
const FDiff2D  q,
const vigra::Rect2D  r,
const clipSide  side
 

Definition at line 252 of file Mask.cpp.

References clipBottom, clipLeft, clipRight, clipTop, hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by clip_onPlane().

std::vector<FDiff2D> clip_getIntersectionCircle const FDiff2D  p,
const FDiff2D  s,
const FDiff2D  center,
const double  radius
 

returns intersection of line and circle

Parameters:
p fist point of line segment
s seconst point of line segment
center center of circle
radius radius of circle
Returns:
vector with all intersection of line between p and s and given circle

Definition at line 356 of file Mask.cpp.

References hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::squareLength(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by HuginBase::MaskPolygon::clipPolygon().

bool clip_insideCircle const FDiff2D  p,
const FDiff2D  center,
const double  radius
 

check if point is inside circle

Returns:
true, if point p is inside circle given by center and radius
Parameters:
p point to test
center center point of circle test
radius radius of circle to test

Definition at line 344 of file Mask.cpp.

References hugin_utils::FDiff2D, and hugin_utils::TDiff2D< T >::squareDistance().

Referenced by HuginBase::MaskPolygon::clipPolygon().

bool clip_isSide const FDiff2D  p,
const vigra::Rect2D  r,
const clipSide  side
 

Definition at line 236 of file Mask.cpp.

References clipBottom, clipLeft, clipRight, clipTop, hugin_utils::FDiff2D, hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by clip_onPlane().

VectorPolygon clip_onPlane const VectorPolygon  polygon,
const vigra::Rect2D  r,
const clipSide  side
 

Definition at line 295 of file Mask.cpp.

References clip_getIntersection(), clip_isSide(), hugin_utils::FDiff2D, and VectorPolygon.

Referenced by HuginBase::MaskPolygon::clipPolygon().

template<class SrcIMG>
void convertTo8Bit SrcIMG &  src,
const std::string origType,
vigra::BRGBImage &  dest
 

Definition at line 81 of file ImageCache.cpp.

References vigra_ext::applyMapping(), vigra_ext::destImage(), vigra_ext::getMaxValForPixelType(), and vigra_ext::srcImageRange().

Referenced by HuginBase::ImageCache::Entry::get8BitImage().

IMPEX void HuginBase::createCPGraph const PanoramaData &  pano,
CPGraph graph
 

create a control point graph structure, with links representing one or more control points

Definition at line 36 of file ImageGraph.cpp.

References CPVector, HuginBase::PanoramaData::getCtrlPoints(), HuginBase::PanoramaData::getImage(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::BaseSrcPanoImage::PitchisLinkedWith(), HuginBase::BaseSrcPanoImage::RollisLinkedWith(), and HuginBase::BaseSrcPanoImage::YawisLinkedWith().

Referenced by AutoPanoSiftMultiRow::automatch(), HuginBase::AutoOptimise::autoOptimise(), HuginBase::AssistantMakefilelibExport::createItems(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), PanoDetector::matchMultiRow(), DragTool::MouseButtonEvent(), GLPreviewFrame::panoramaChanged(), and MainFrame::RunAssistant().

void createOverlapGraph const PanoramaData &  pano,
OverlapGraph graph
 

create a graph with all overlaps, and a suitable blend order.

template<class TRANSFORM>
void HuginBase::estimateImageAlpha const SrcPanoImage &  src,
const PanoramaOptions &  dest,
TRANSFORM &  transf,
vigra::Rect2D &  imgRect,
vigra::BImage &  alpha,
double &  scale
 

Definition at line 63 of file ComputeImageROI.cpp.

References hugin_utils::ceili(), DEBUG_DEBUG, hugin_utils::FDiff2D, hugin_utils::floori(), HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getSize(), HuginBase::SrcPanoImage::hasActiveMasks(), HuginBase::SrcPanoImage::isInsideMasks(), celeste::min(), HuginBase::SrcPanoImage::resize(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

template<class TRANSFORM>
void HuginBase::estimateImageRect const SrcPanoImage &  src,
const PanoramaOptions &  dest,
TRANSFORM &  transf,
vigra::Rect2D &  imgRect
 

calculate the outline of the image

Parameters:
src description of source picture
dest description of output picture (panorama)
imgRect output: position of image in panorama.

Definition at line 238 of file ComputeImageROI.cpp.

References HuginBase::Nona::estimateImageAlpha().

IMPEX vigra::Rect2D HuginBase::estimateOutputROI const PanoramaData &  pano,
const PanoramaOptions &  opts,
unsigned  i
 

Definition at line 246 of file ComputeImageROI.cpp.

References HuginBase::PTools::Transform::createTransform(), HuginBase::Nona::estimateImageRect(), and HuginBase::PanoramaData::getSrcImage().

Referenced by AddGeometricControlPoint(), HuginBase::ComputeImageROI::computeROIS(), getImagesinROI(), HuginBase::SmallRemappedImageCache::getRemapped(), and PanoDetector::loadProject().

IMPEX void HuginBase::fillLensVarMap LensVarMap vars  ) 
 

just lens variables

Definition at line 93 of file PanoramaVariable.cpp.

Referenced by HuginBase::Lens::Lens().

IMPEX void HuginBase::fillVariableMap VariableMap vars  ) 
 

fill map with all image & lens variables

Definition at line 48 of file PanoramaVariable.cpp.

IMPEX int HuginBase::findCPComponents const CPGraph graph,
CPComponents comp
 

Definition at line 99 of file ImageGraph.cpp.

Referenced by AutoPanoSiftMultiRow::automatch(), HuginBase::AssistantMakefilelibExport::createItems(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), PanoDetector::matchMultiRow(), DragTool::MouseButtonEvent(), GLPreviewFrame::panoramaChanged(), and MainFrame::RunAssistant().

void generateArc VectorPolygon poly,
const FDiff2D  s,
const FDiff2D  center,
const double  radius,
const bool  clockwise
 

adds an arc with given radius at the end of the polygon, the point is not added to the arc

Parameters:
poly polygon to which the arc should added
s point to which the arc should go
center center of arc
radius radius of arc
clockwise true, if arc should go clockwise; else it goes anti-clockwise

Definition at line 404 of file Mask.cpp.

References hugin_utils::FDiff2D, PI, hugin_utils::TDiff2D< T >::squareDistance(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.

Referenced by HuginBase::MaskPolygon::clipPolygon().

IMPEX UIntSet HuginBase::getCPinMasks Panorama  pano  ) 
 

returns these control points, which are in masks

Definition at line 179 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, UIntSet, HuginBase::ControlPoint::x1, HuginBase::ControlPoint::x2, HuginBase::ControlPoint::y1, and HuginBase::ControlPoint::y2.

Referenced by MainFrame::OnRemoveCPinMasks().

IMPEX UIntSet HuginBase::getCPoutsideLimit Panorama  pano,
double  n = 2.0,
bool  skipOptimisation = false,
bool  includeLineCp = false
 

optimises the whole panorama and removes all control points with error > mean+n*sigma

Parameters:
pano panorama which should be used
n determines, how big the deviation from mean should be to determine wrong control points, default 2.0
skipOptimisation skips the optimisation step, the current position of the images is used
includeLineCp include also line control points when calculating mean and check them also for limit
Returns:
set which contains control points with error > mean+n*sigma

Definition at line 118 of file CleanCP.cpp.

References HuginBase::PTools::calcCtrlPointErrors(), CPVector, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::setCtrlPoints(), PTools::smartOptimize(), and UIntSet.

Referenced by PanoOperation::CleanControlPointsOperation::GetInternalCommand(), and main().

IMPEX UIntSet HuginBase::getCPoutsideLimit_pair Panorama  pano,
double  n = 2.0
 

optimises images pairwise and removes for every image pair control points with error > mean+n*sigma

Parameters:
pano panorama which should be used
n determines, how big the deviation from mean should be to determine wrong control points, default 2.0
Returns:
set which contains control points with error > mean+n*sigma

Definition at line 38 of file CleanCP.cpp.

References CPVector, HuginBase::Panorama::getCtrlPoints(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::Panorama::getSubset(), HuginBase::PTools::optimize(), OptimizeVector, HuginBase::Panorama::setCtrlPoints(), HuginBase::Panorama::setOptimizeVector(), HuginBase::Panorama::setOptions(), HuginBase::PanoramaOptions::setProjection(), UIntSet, and HuginBase::BaseSrcPanoImage::YawisLinkedWith().

Referenced by PanoOperation::CleanControlPointsOperation::GetInternalCommand(), and main().

IMPEX std::vector< UIntSet > HuginBase::getExposureLayers const PanoramaData &  pano,
UIntSet  allImgs,
PanoramaOptions  opts
 

returns vector of set of output exposure layers

Definition at line 70 of file LayerStacks.cpp.

References HuginBase::PanoramaData::getSrcImage(), HuginBase::PanoramaOptions::outputLayersExposureDiff, and UIntSet.

Referenced by HuginBase::PanoramaMakefilelibExport::createItems(), PanoOutputDialog::PanoOutputDialog(), and ImagesTreeCtrl::panoramaImagesChanged().

IMPEX std::vector< UIntSet > HuginBase::getHDRStacks const PanoramaData &  pano,
UIntSet  allImgs,
PanoramaOptions  opts
 

returns vector of set of output stacks

Definition at line 34 of file LayerStacks.cpp.

References HuginBase::CalculateImageOverlap::calculate(), HuginBase::CalculateImageOverlap::getOverlap(), HuginBase::PanoramaOptions::outputStacksMinOverlap, and UIntSet.

Referenced by PT::Panorama::calcOptimalStackROI(), HuginBase::PanoramaMakefilelibExport::createItems(), main(), PanoOutputDialog::PanoOutputDialog(), ImagesTreeCtrl::panoramaImagesChanged(), and PanoPanel::StackCheck().

IMPEX UIntSet HuginBase::getImagesinROI const PanoramaData &  pano,
const UIntSet  activeImages
 

returns set of images which are visible in output ROI

Definition at line 107 of file LayerStacks.cpp.

References estimateOutputROI(), HuginBase::PanoramaData::getOptions(), and UIntSet.

Referenced by HuginBase::PanoramaMakefilelibExport::PanoramaMakefilelibExport(), and PanoPanel::StackCheck().

const makefile::string hdrgrayRemappedExt "_gray.pgm"   )  [static]
 

constants

const makefile::string hdrRemappedExt ".exr"   )  [static]
 

Referenced by HuginBase::PanoramaMakefilelibExport::createItems().

const makefile::string hdrRemappedMode "EXR_m"   )  [static]
 

Referenced by HuginBase::PanoramaMakefilelibExport::createItems().

const makefile::string ldrRemappedExt ".tif"   )  [static]
 

Referenced by HuginBase::PanoramaMakefilelibExport::createItems().

const makefile::string ldrRemappedMode "TIFF_m"   )  [static]
 

Referenced by HuginBase::PanoramaMakefilelibExport::createItems().

IMPEX void HuginBase::LoadMaskFromStream std::istream stream,
vigra::Size2D &  imageSize,
MaskPolygonVector newMasks,
size_t  imgNr
 

load the mask from stream

Definition at line 634 of file Mask.cpp.

References HuginBase::PTScriptParsing::getIntParam(), HuginBase::PTScriptParsing::getPTParam(), HuginBase::MaskPolygon::parsePolygonString(), HuginBase::MaskPolygon::setImgNr(), and HuginBase::MaskPolygon::setMaskType().

Referenced by main(), MaskEditorPanel::OnMaskLoad(), and MaskEditorPanel::OnMaskPaste().

void IMPEX HuginBase::printstacks const std::vector< UIntSet > &  stackdata  ) 
 

Simple helper to output stacks for debugging.

Parameters:
stackdata 

Definition at line 1295 of file PanoramaMakefilelibExport.cpp.

IMPEX void HuginBase::printVariableMap std::ostream o,
const VariableMap vars
 

print a variable map to o

Definition at line 126 of file PanoramaVariable.cpp.

Referenced by HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex().

IMPEX void HuginBase::SaveMaskToStream std::ostream stream,
vigra::Size2D  imageSize,
MaskPolygon &  maskToWrite,
size_t  imgNr
 

save the mask into stream

Definition at line 679 of file Mask.cpp.

References HuginBase::MaskPolygon::printPolygonLine().

Referenced by MaskEditorPanel::OnMaskCopy(), and MaskEditorPanel::OnMaskSave().

void UpdateOptVectorSet std::set< std::string > &  imgVar,
const std::string  var,
const bool  opt
 

Definition at line 2105 of file Panorama.cpp.

Referenced by HuginBase::Panorama::parseOptimizerScript().

VIGRA_EXT_GETRANGE double  ,
,
1.  0
 

VIGRA_EXT_GETRANGE float  ,
,
1.  0f
 

VIGRA_EXT_GETRANGE vigra::UInt32  ,
,
4294967295u 
 

VIGRA_EXT_GETRANGE vigra::Int32  ,
,
2147483647 
 

VIGRA_EXT_GETRANGE vigra::UInt16  ,
,
65535 
 

VIGRA_EXT_GETRANGE vigra::Int16  ,
,
32767 
 

VIGRA_EXT_GETRANGE vigra::UInt8  ,
,
255 
 

double weightHuber double  x,
double  sigma
[inline]
 

expects the abs(error) values

Definition at line 41 of file PhotometricOptimizer.cpp.

Referenced by HuginBase::PhotometricOptimizer::photometricError().


Variable Documentation

const ConstImageVariableGroup::ImageVariableEnum HuginBase::lens_variables_array[]
 

Initial value:

 {ImageVariableGroup::IVE_Size,
               ImageVariableGroup::IVE_Projection,
               ImageVariableGroup::IVE_HFOV,
               ImageVariableGroup::IVE_ResponseType,
               ImageVariableGroup::IVE_EMoRParams,
               ImageVariableGroup::IVE_ExposureValue,
               ImageVariableGroup::IVE_Gamma,
               ImageVariableGroup::IVE_WhiteBalanceRed,
               ImageVariableGroup::IVE_WhiteBalanceBlue,
               ImageVariableGroup::IVE_RadialDistortion,
               ImageVariableGroup::IVE_RadialDistortionRed,
               ImageVariableGroup::IVE_RadialDistortionBlue,
               ImageVariableGroup::IVE_RadialDistortionCenterShift,
               ImageVariableGroup::IVE_Shear,
               ImageVariableGroup::IVE_VigCorrMode,
               ImageVariableGroup::IVE_FlatfieldFilename,
               ImageVariableGroup::IVE_RadialVigCorrCoeff,
               ImageVariableGroup::IVE_RadialVigCorrCenterShift
            }
The image variables that are specific to lenses.

These are by default linked across images in the same lens.

If you wish to change this, you'll need to set the ending offset in lens_variables_set below.

Definition at line 39 of file StandardImageVariableGroups.cpp.

const std::set<ConstImageVariableGroup::ImageVariableEnum> HuginBase::lens_variables_set
 

Initial value:

    std::set<ConstImageVariableGroup::ImageVariableEnum>(lens_variables_array,
                                                         lens_variables_array + 18)
A set containing the lens image variables.

the offset on the second construtor argument is the size of the array.

Definition at line 63 of file StandardImageVariableGroups.cpp.

Referenced by HuginBase::ConstStandardImageVariableGroups::ConstStandardImageVariableGroups().

const int HuginBase::maskOffset = 100
 

polygon can exceed the image maximal maskOffset pixels in each direction bigger polygons will be clipped after loading

Definition at line 46 of file Mask.h.

const ConstImageVariableGroup::ImageVariableEnum HuginBase::stack_variables_array[]
 

Initial value:

 {ImageVariableGroup::IVE_Yaw,
               ImageVariableGroup::IVE_Pitch,
               ImageVariableGroup::IVE_Roll,
               ImageVariableGroup::IVE_Stack,
               ImageVariableGroup::IVE_X,
               ImageVariableGroup::IVE_Y,
               ImageVariableGroup::IVE_Z,
               ImageVariableGroup::IVE_TranslationPlaneYaw,
               ImageVariableGroup::IVE_TranslationPlanePitch
            }
The image variables that are specific to stack.

These are by default linked across images in the same stack.

If you wish to change this, you'll need to set the ending offset in stack_variables_set below.

Definition at line 75 of file StandardImageVariableGroups.cpp.

const std::set<ConstImageVariableGroup::ImageVariableEnum> HuginBase::stack_variables_set
 

Initial value:

    std::set<ConstImageVariableGroup::ImageVariableEnum>(stack_variables_array,
                                                         stack_variables_array + 9)
A set containing the stack image variables.

the offset on the second construtor argument is the size of the array.

Definition at line 90 of file StandardImageVariableGroups.cpp.

Referenced by HuginBase::ConstStandardImageVariableGroups::ConstStandardImageVariableGroups().


Generated on Fri Aug 1 01:25:50 2014 for Hugintrunk by  doxygen 1.3.9.1