HuginBase::PanoramaData Class Reference

Model for a panorama. More...

#include <PanoramaData.h>

Inheritance diagram for HuginBase::PanoramaData:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~PanoramaData ()
virtual PanoramaDatagetNewSubset (const UIntSet &imgs) const =0
virtual PanoramaDatagetNewCopy () const =0
virtual std::size_t getNrOfImages () const =0
 number of images.
virtual const SrcPanoImagegetImage (std::size_t nr) const =0
 get a panorama image, counting starts with 0
virtual void setImage (std::size_t nr, const SrcPanoImage &img)=0
 set a panorama image, counting starts with 0
virtual unsigned int addImage (const SrcPanoImage &img)=0
 add an Image to the panorama
virtual void removeImage (unsigned int nr)=0
 remove an Image.
virtual void swapImages (unsigned int img1, unsigned int img2)=0
 swap images.
virtual void moveImage (size_t img1, size_t img2)=0
 moves images.
virtual SrcPanoImage getSrcImage (unsigned imgNr) const =0
 get a complete description of a source image
virtual void setSrcImage (unsigned int nr, const SrcPanoImage &img)=0
 set input image parameters TODO: Propagate changes to linked images.
virtual void setImageFilename (unsigned int img, const std::string &fname)=0
 set a new image filename
virtual void activateImage (unsigned int imgNr, bool active=true)=0
 mark an image as active or inactive.
virtual UIntSet getActiveImages () const =0
 get active images
virtual void linkImageVariableFilename (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableSize (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableProjection (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableHFOV (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableResponseType (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableEMoRParams (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExposureValue (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableGamma (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableWhiteBalanceRed (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableWhiteBalanceBlue (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRoll (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariablePitch (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableYaw (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableX (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableY (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableZ (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableTranslationPlaneYaw (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableTranslationPlanePitch (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableStack (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialDistortion (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialDistortionRed (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialDistortionBlue (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialDistortionCenterShift (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableShear (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableCropMode (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableCropRect (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableAutoCenterCrop (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableVigCorrMode (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableFlatfieldFilename (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialVigCorrCoeff (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableRadialVigCorrCenterShift (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifModel (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifMake (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifLens (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifCropFactor (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifFocalLength (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifOrientation (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifAperture (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifISO (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifDistance (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifFocalLength35 (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifExposureTime (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifDate (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableExifExposureMode (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableMasks (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableActiveMasks (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void linkImageVariableActive (unsigned int sourceImgNr, unsigned int destImgNr)=0
virtual void unlinkImageVariableFilename (unsigned int imgNr)=0
virtual void unlinkImageVariableSize (unsigned int imgNr)=0
virtual void unlinkImageVariableProjection (unsigned int imgNr)=0
virtual void unlinkImageVariableHFOV (unsigned int imgNr)=0
virtual void unlinkImageVariableResponseType (unsigned int imgNr)=0
virtual void unlinkImageVariableEMoRParams (unsigned int imgNr)=0
virtual void unlinkImageVariableExposureValue (unsigned int imgNr)=0
virtual void unlinkImageVariableGamma (unsigned int imgNr)=0
virtual void unlinkImageVariableWhiteBalanceRed (unsigned int imgNr)=0
virtual void unlinkImageVariableWhiteBalanceBlue (unsigned int imgNr)=0
virtual void unlinkImageVariableRoll (unsigned int imgNr)=0
virtual void unlinkImageVariablePitch (unsigned int imgNr)=0
virtual void unlinkImageVariableYaw (unsigned int imgNr)=0
virtual void unlinkImageVariableX (unsigned int imgNr)=0
virtual void unlinkImageVariableY (unsigned int imgNr)=0
virtual void unlinkImageVariableZ (unsigned int imgNr)=0
virtual void unlinkImageVariableTranslationPlaneYaw (unsigned int imgNr)=0
virtual void unlinkImageVariableTranslationPlanePitch (unsigned int imgNr)=0
virtual void unlinkImageVariableStack (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialDistortion (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialDistortionRed (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialDistortionBlue (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialDistortionCenterShift (unsigned int imgNr)=0
virtual void unlinkImageVariableShear (unsigned int imgNr)=0
virtual void unlinkImageVariableCropMode (unsigned int imgNr)=0
virtual void unlinkImageVariableCropRect (unsigned int imgNr)=0
virtual void unlinkImageVariableAutoCenterCrop (unsigned int imgNr)=0
virtual void unlinkImageVariableVigCorrMode (unsigned int imgNr)=0
virtual void unlinkImageVariableFlatfieldFilename (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialVigCorrCoeff (unsigned int imgNr)=0
virtual void unlinkImageVariableRadialVigCorrCenterShift (unsigned int imgNr)=0
virtual void unlinkImageVariableExifModel (unsigned int imgNr)=0
virtual void unlinkImageVariableExifMake (unsigned int imgNr)=0
virtual void unlinkImageVariableExifLens (unsigned int imgNr)=0
virtual void unlinkImageVariableExifCropFactor (unsigned int imgNr)=0
virtual void unlinkImageVariableExifFocalLength (unsigned int imgNr)=0
virtual void unlinkImageVariableExifOrientation (unsigned int imgNr)=0
virtual void unlinkImageVariableExifAperture (unsigned int imgNr)=0
virtual void unlinkImageVariableExifISO (unsigned int imgNr)=0
virtual void unlinkImageVariableExifDistance (unsigned int imgNr)=0
virtual void unlinkImageVariableExifFocalLength35 (unsigned int imgNr)=0
virtual void unlinkImageVariableExifExposureTime (unsigned int imgNr)=0
virtual void unlinkImageVariableExifDate (unsigned int imgNr)=0
virtual void unlinkImageVariableExifExposureMode (unsigned int imgNr)=0
virtual void unlinkImageVariableMasks (unsigned int imgNr)=0
virtual void unlinkImageVariableActiveMasks (unsigned int imgNr)=0
virtual void unlinkImageVariableActive (unsigned int imgNr)=0
virtual std::size_t getNrOfCtrlPoints () const =0
 number of control points
virtual const ControlPointgetCtrlPoint (std::size_t nr) const =0
 get a control point, counting starts with 0
virtual const CPVectorgetCtrlPoints () const =0
 get all control point of this Panorama
virtual std::vector< unsigned
int > 
getCtrlPointsForImage (unsigned int imgNr) const =0
 return all control points for a given image.
virtual void setCtrlPoints (const CPVector &points)=0
 set all control points (Ippei: Is this supposed to be 'add' method?)
virtual unsigned int addCtrlPoint (const ControlPoint &point)=0
 add a new control point.
virtual void removeCtrlPoint (unsigned int pNr)=0
 remove a control point.
virtual void removeDuplicateCtrlPoints ()=0
 removes duplicates control points
virtual void changeControlPoint (unsigned int pNr, const ControlPoint &point)=0
 change a control Point.
virtual int getNextCPTypeLineNumber () const =0
 get the next unused line number for t3, .
virtual void updateLineCtrlPoints ()=0
 assign new mode line numbers, if required
virtual void updateCtrlPointErrors (const CPVector &controlPoints)=0
 update control points distances.
virtual void updateCtrlPointErrors (const UIntSet &imgs, const CPVector &cps)=0
 update control points for a subset of images.
virtual VariableMapVector getVariables () const =0
 get variables of this panorama
virtual const VariableMap getImageVariables (unsigned int imgNr) const =0
 get variables of an image
virtual void updateVariables (const VariableMapVector &vars)=0
 Set the variables.
virtual void updateVariables (const UIntSet &imgs, const VariableMapVector &var)=0
 update variables for some specific images
virtual void updateVariables (unsigned int imgNr, const VariableMap &var)=0
 Set variables for a single picture.
virtual void updateVariable (unsigned int imgNr, const Variable &var)=0
 update a single variable
virtual void updateWhiteBalance (double redFactor, double blueFactor)=0
 update the global white balace of the panorama by multiplying the red and blue factor of each image with given factors
virtual const OptimizeVectorgetOptimizeVector () const =0
 return the optimize settings stored inside panorama
virtual void setOptimizeVector (const OptimizeVector &optvec)=0
 set optimize setting
virtual const int getOptimizerSwitch () const =0
 returns optimizer master switch
virtual void setOptimizerSwitch (const int newSwitch)=0
 set optimizer master switch
virtual const int getPhotometricOptimizerSwitch () const =0
 return the photometric optimizer master switch
virtual void setPhotometricOptimizerSwitch (const int newSwitch)=0
 sets the photometric optimizer master switch
virtual const PanoramaOptionsgetOptions () const =0
 returns the options for this panorama
virtual void setOptions (const PanoramaOptions &opt)=0
 set new output settings This is not used directly for optimizing/stiching, but it can be feed into runOptimizer() and runStitcher().
virtual void parseOptimizerScript (std::istream &i, const UIntSet &imgs, VariableMapVector &imgVars, CPVector &ctrlPoints) const =0
 read after optimization, fills in control point errors.
virtual void printPanoramaScript (std::ostream &o, const OptimizeVector &optvars, const PanoramaOptions &options, const UIntSet &imgs, bool forPTOptimizer, const std::string &stripPrefix="") const =0
 create an optimizer script
virtual void printStitcherScript (std::ostream &o, const PanoramaOptions &target, const UIntSet &imgs) const =0
 create the stitcher script
virtual void changeFinished ()=0
 tells the data container to perform some maintainance if neccesary
virtual void imageChanged (unsigned int imgNr)=0
 mark image change for maintainance
virtual void updateMasksForImage (unsigned int imgNr, MaskPolygonVector newMasks)=0
 set complete mask list for image with number
virtual void updateMasks (bool convertPosMaskToNeg=false)=0
 updates all active masks
virtual void transferMask (MaskPolygon mask, unsigned int imgNr, const UIntSet targetImgs)=0
 transfers given mask from image imgNr to all targetImgs
virtual void updateOptimizeVector ()=0
 updates the optimize vector according to master switches
virtual std::set< size_t > getRefImages ()=0
 returns set of reference image and images linked with reference images
virtual void checkRefOptStatus (bool &linkRefImgsYaw, bool &linkRefImgsPitch, bool &linkRefImgsRoll)=0
 checks if yaw/pitch/roll of reference image can be check, it depends on number and type of control points

Detailed Description

Model for a panorama.

This class contains the properties of a panorama That is:

view and controller classes can get information about these with the getXXX Functions.

Images and Control points are numbered, and const references are handed out. this means that all interaction will be based on image or control point numbers. The references are not stable, they might disappear when other functions of this class are called, so its best to get a new reference whenever you need the object.

This also means that the whole object is not threadsafe and concurrent access has to be synchronized from the outside.

Definition at line 80 of file PanoramaData.h.


Constructor & Destructor Documentation

virtual HuginBase::PanoramaData::~PanoramaData (  )  [inline, virtual]

Definition at line 86 of file PanoramaData.h.


Member Function Documentation

virtual void HuginBase::PanoramaData::activateImage ( unsigned int  imgNr,
bool  active = true 
) [pure virtual]

mark an image as active or inactive.

This is only a flag, that can be turned on or off. If an image is marked active, then it should be used for optimizing and stitching.

However, this is not done automatically. One has to use getActiveImages() to get the numbers of the active images, and pass these to the respective functions that do the stitching or optimisation

Implemented in HuginBase::Panorama.

virtual unsigned int HuginBase::PanoramaData::addCtrlPoint ( const ControlPoint point  )  [pure virtual]

add a new control point.

Implemented in HuginBase::Panorama.

virtual unsigned int HuginBase::PanoramaData::addImage ( const SrcPanoImage img  )  [pure virtual]

add an Image to the panorama

The Image must be initialized, the Lens must exist.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::changeControlPoint ( unsigned int  pNr,
const ControlPoint point 
) [pure virtual]

change a control Point.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::changeFinished (  )  [pure virtual]

tells the data container to perform some maintainance if neccesary

Implemented in HuginBase::Panorama, and HuginBase::ManagedPanoramaData.

virtual void HuginBase::PanoramaData::checkRefOptStatus ( bool &  linkRefImgsYaw,
bool &  linkRefImgsPitch,
bool &  linkRefImgsRoll 
) [pure virtual]

checks if yaw/pitch/roll of reference image can be check, it depends on number and type of control points

Implemented in HuginBase::Panorama.

virtual UIntSet HuginBase::PanoramaData::getActiveImages (  )  const [pure virtual]

get active images

Implemented in HuginBase::Panorama.

Referenced by HuginBase::CalculateFOV::calcFOV(), HuginBase::CalculateOptimalROI::calcOptimalROI(), HuginBase::CenterHorizontally::centerHorizontically(), and HuginBase::PhotometricOptimizer::photometricError().

virtual const ControlPoint& HuginBase::PanoramaData::getCtrlPoint ( std::size_t  nr  )  const [pure virtual]

get a control point, counting starts with 0

Implemented in HuginBase::Panorama.

Referenced by optGetError().

virtual const CPVector& HuginBase::PanoramaData::getCtrlPoints (  )  const [pure virtual]

get all control point of this Panorama

Implemented in HuginBase::Panorama.

Referenced by HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::CalculateCPStatisticsRadial::calcCtrlPntsRadiStats(), HuginBase::createCPGraph(), HuginBase::AssistantMakefilelibExport::createItems(), HuginBase::PTOptEstimator::PTOptEstimator(), and HuginBase::SmartOptimise::smartOptimize().

virtual std::vector<unsigned int> HuginBase::PanoramaData::getCtrlPointsForImage ( unsigned int  imgNr  )  const [pure virtual]

return all control points for a given image.

Implemented in HuginBase::Panorama.

virtual const SrcPanoImage& HuginBase::PanoramaData::getImage ( std::size_t  nr  )  const [pure virtual]

get a panorama image, counting starts with 0

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTOptEstimator::agree(), HuginBase::CalculateCPStatisticsRadial::calcCtrlPntsRadiStats(), HuginBase::CalculateOptimalROI::calcOptimalROI(), HuginBase::StraightenPanorama::calcStraighteningRotation(), HuginBase::CalculateImageOverlap::calculate(), HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::createCPGraph(), HuginBase::PTools::Transform::createInvTransform(), HuginBase::Nona::SpaceTransform::createInvTransform(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::SmartOptimizerStub::createOptVars(), HuginBase::PTools::Transform::createTransform(), HuginBase::Nona::SpaceTransform::createTransform(), HuginBase::OptVarSpec::get(), GetMinimumGuiLevel(), HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::SmallRemappedImageCache::getRemapped(), HuginBase::PTOptEstimator::leastSquaresEstimate(), HuginBase::PhotometricOptimizer::OptimData::OptimData(), HuginBase::RotatePanorama::rotatePano(), HuginBase::CalculateOptimalROI::stackPixel(), HuginBase::Nona::stitchPanorama(), and HuginBase::TranslatePanorama::translatePano().

virtual const VariableMap HuginBase::PanoramaData::getImageVariables ( unsigned int  imgNr  )  const [pure virtual]

get variables of an image

Depreciated: Please use SrcPanoImage objects for variable access.

Todo:
remove when not used.
Note: no longer returns a reference as the no variable map with the correct values exists, now we use individual member variables in SrcPanoImage.

Implemented in HuginBase::Panorama.

Referenced by HuginBase::CalculateMeanExposure::calcMeanExposure(), HuginBase::StraightenPanorama::calcStraighteningRotation(), HuginBase::PTools::Transform::createInvTransform(), HuginBase::PTools::Transform::createTransform(), HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), and HuginBase::SmartOptimise::smartOptimize().

virtual PanoramaData* HuginBase::PanoramaData::getNewCopy (  )  const [pure virtual]

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PointSampler::sampleAndExtractPoints().

virtual PanoramaData* HuginBase::PanoramaData::getNewSubset ( const UIntSet imgs  )  const [pure virtual]

Implemented in HuginBase::Panorama.

Referenced by HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), and HuginBase::PTOptEstimator::PTOptEstimator().

virtual int HuginBase::PanoramaData::getNextCPTypeLineNumber (  )  const [pure virtual]

get the next unused line number for t3, .

.. control point creation

Implemented in HuginBase::Panorama.

virtual std::size_t HuginBase::PanoramaData::getNrOfCtrlPoints (  )  const [pure virtual]

number of control points

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTools::calcCtrlPointErrors(), HuginBase::AssistantMakefilelibExport::createItems(), optGetError(), and optimize_new().

virtual std::size_t HuginBase::PanoramaData::getNrOfImages (  )  const [pure virtual]

number of images.

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTools::calcCtrlPointErrors(), HuginBase::CalculateFOV::calcFOV(), HuginBase::CalculateMeanExposure::calcMeanExposure(), HuginBase::CalculateOptimalScale::calcOptimalScale(), HuginBase::StraightenPanorama::calcStraighteningRotation(), HuginBase::CalculateImageOverlap::CalculateImageOverlap(), HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::createCPGraph(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::SmartOptimizerStub::createOptVars(), HuginBase::ConstStandardImageVariableGroups::getLens(), GetMinimumGuiLevel(), HuginBase::ConstImageVariableGroup::getPartNumber(), OptimData::OptimData(), HuginBase::PhotometricOptimizer::OptimData::OptimData(), HuginBase::PTools::optimize(), HuginBase::PhotometricOptimizer::photometricError(), HuginBase::RotatePanorama::rotatePano(), HuginBase::PointSampler::sampleAndExtractPoints(), HuginBase::Nona::stitchPanorama(), and HuginBase::TranslatePanorama::translatePano().

virtual const int HuginBase::PanoramaData::getOptimizerSwitch (  )  const [pure virtual]

returns optimizer master switch

Implemented in HuginBase::Panorama.

virtual const OptimizeVector& HuginBase::PanoramaData::getOptimizeVector (  )  const [pure virtual]

return the optimize settings stored inside panorama

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTools::optimize().

virtual const PanoramaOptions& HuginBase::PanoramaData::getOptions (  )  const [pure virtual]

returns the options for this panorama

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTOptEstimator::agree(), HuginBase::AutoOptimise::autoOptimise(), HuginBase::PTools::calcCtrlPointErrors(), HuginBase::CalculateFOV::calcFOV(), HuginBase::CalculateOptimalROI::calcOptimalROI(), HuginBase::CalculateOptimalScale::calcOptimalScale(), HuginBase::CalculateImageOverlap::CalculateImageOverlap(), HuginBase::ComputeImageROI::computeROIS(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::Nona::estimateBlendingOrder(), HuginBase::CalculateFitPanorama::fitPano(), HuginBase::getImagesinROI(), HuginBase::PTools::optimize(), HuginBase::PhotometricOptimizer::photometricError(), HuginBase::FitPanorama::runAlgorithm(), HuginBase::SetWidthOptimal::runAlgorithm(), HuginBase::PointSampler::sampleAndExtractPoints(), HuginBase::SmartOptimise::smartOptimize(), and HuginBase::SmartPhotometricOptimizer::smartOptimizePhotometric().

virtual const int HuginBase::PanoramaData::getPhotometricOptimizerSwitch (  )  const [pure virtual]

return the photometric optimizer master switch

Implemented in HuginBase::Panorama.

virtual std::set<size_t> HuginBase::PanoramaData::getRefImages (  )  [pure virtual]

returns set of reference image and images linked with reference images

Implemented in HuginBase::Panorama.

virtual SrcPanoImage HuginBase::PanoramaData::getSrcImage ( unsigned  imgNr  )  const [pure virtual]

get a complete description of a source image

Implemented in HuginBase::Panorama.

Referenced by HuginBase::CalculateFOV::calcFOV(), HuginBase::CalculateOptimalScale::calcOptimalScale(), HuginBase::StraightenPanorama::calcStraighteningRotation(), HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::PanoramaMakefilelibExport::createexposure(), HuginBase::PanoramaMakefilelibExport::createItems(), HuginBase::Nona::estimateBlendingOrder(), HuginBase::estimateOutputROI(), HuginBase::getExposureLayers(), HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::SmallRemappedImageCache::getRemapped(), OptimData::LoadFromImgs(), HuginBase::PhotometricOptimizer::OptimData::OptimData(), HuginBase::PointSampler::sampleAndExtractPoints(), OptimData::SaveToImgs(), and HuginBase::Nona::stitchPanorama().

virtual VariableMapVector HuginBase::PanoramaData::getVariables (  )  const [pure virtual]

get variables of this panorama

Implemented in HuginBase::Panorama.

Referenced by HuginBase::SmartOptimise::smartOptimize().

virtual void HuginBase::PanoramaData::imageChanged ( unsigned int  imgNr  )  [pure virtual]

mark image change for maintainance

Implemented in HuginBase::Panorama, and HuginBase::ManagedPanoramaData.

Referenced by HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::RotatePanorama::rotatePano(), and HuginBase::TranslatePanorama::translatePano().

virtual void HuginBase::PanoramaData::linkImageVariableActive ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableActiveMasks ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableAutoCenterCrop ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableCropMode ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableCropRect ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableEMoRParams ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifAperture ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifCropFactor ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifDate ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifDistance ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifExposureMode ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifExposureTime ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifFocalLength ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifFocalLength35 ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifISO ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifLens ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifMake ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifModel ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExifOrientation ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableExposureValue ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableFilename ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableFlatfieldFilename ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableGamma ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableHFOV ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableMasks ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariablePitch ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableProjection ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialDistortion ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialDistortionBlue ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialDistortionCenterShift ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialDistortionRed ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialVigCorrCenterShift ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRadialVigCorrCoeff ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableResponseType ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableRoll ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableShear ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableSize ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableStack ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableTranslationPlanePitch ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableTranslationPlaneYaw ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableVigCorrMode ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableWhiteBalanceBlue ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableWhiteBalanceRed ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableX ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableY ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableYaw ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::linkImageVariableZ ( unsigned int  sourceImgNr,
unsigned int  destImgNr 
) [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::moveImage ( size_t  img1,
size_t  img2 
) [pure virtual]

moves images.

moves the image from pos1 to pos2

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::parseOptimizerScript ( std::istream i,
const UIntSet imgs,
VariableMapVector imgVars,
CPVector ctrlPoints 
) const [pure virtual]

read after optimization, fills in control point errors.

Parameters:
set of image numbers that where used during by printPanoramaScript().
vars will be set the the optimzied variables
ctrlPoints will contain the controlpoints, with distance information
Returns:
false on error (could not read optimizer output, parse error)

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::printPanoramaScript ( std::ostream o,
const OptimizeVector optvars,
const PanoramaOptions options,
const UIntSet imgs,
bool  forPTOptimizer,
const std::string stripPrefix = "" 
) const [pure virtual]

create an optimizer script

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTools::calcCtrlPointErrors(), HuginBase::PTools::optimize(), and HuginBase::PhotometricOptimizer::photometricError().

virtual void HuginBase::PanoramaData::printStitcherScript ( std::ostream o,
const PanoramaOptions target,
const UIntSet imgs 
) const [pure virtual]

create the stitcher script

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::removeCtrlPoint ( unsigned int  pNr  )  [pure virtual]

remove a control point.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::removeDuplicateCtrlPoints (  )  [pure virtual]

removes duplicates control points

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::removeImage ( unsigned int  nr  )  [pure virtual]

remove an Image.

also deletes/updates all associated control points.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::setCtrlPoints ( const CPVector points  )  [pure virtual]

set all control points (Ippei: Is this supposed to be 'add' method?)

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTOptEstimator::leastSquaresEstimate(), PanoDetector::RansacMatchesInPairCam(), and HuginBase::SmartOptimise::smartOptimize().

virtual void HuginBase::PanoramaData::setImage ( std::size_t  nr,
const SrcPanoImage img 
) [pure virtual]

set a panorama image, counting starts with 0

Implemented in HuginBase::Panorama.

Referenced by HuginBase::CenterHorizontally::centerHorizontically(), HuginBase::RotatePanorama::rotatePano(), and HuginBase::TranslatePanorama::translatePano().

virtual void HuginBase::PanoramaData::setImageFilename ( unsigned int  img,
const std::string fname 
) [pure virtual]

set a new image filename

It is assumed that it is of the same size as the old image.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::setOptimizerSwitch ( const int  newSwitch  )  [pure virtual]

set optimizer master switch

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::setOptimizeVector ( const OptimizeVector optvec  )  [pure virtual]

set optimize setting

Implemented in HuginBase::Panorama.

Referenced by HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), HuginBase::PTOptEstimator::leastSquaresEstimate(), and HuginBase::SmartOptimise::smartOptimize().

virtual void HuginBase::PanoramaData::setOptions ( const PanoramaOptions opt  )  [pure virtual]

set new output settings This is not used directly for optimizing/stiching, but it can be feed into runOptimizer() and runStitcher().

Implemented in HuginBase::Panorama.

Referenced by HuginBase::FitPanorama::runAlgorithm(), HuginBase::SetWidthOptimal::runAlgorithm(), HuginBase::PointSampler::sampleAndExtractPoints(), and HuginBase::SmartOptimise::smartOptimize().

virtual void HuginBase::PanoramaData::setPhotometricOptimizerSwitch ( const int  newSwitch  )  [pure virtual]

sets the photometric optimizer master switch

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::setSrcImage ( unsigned int  nr,
const SrcPanoImage img 
) [pure virtual]

set input image parameters TODO: Propagate changes to linked images.

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PointSampler::sampleAndExtractPoints(), and OptimData::SaveToImgs().

virtual void HuginBase::PanoramaData::swapImages ( unsigned int  img1,
unsigned int  img2 
) [pure virtual]

swap images.

swaps the images, image img1 becomes img2 and the other way round

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::transferMask ( MaskPolygon  mask,
unsigned int  imgNr,
const UIntSet  targetImgs 
) [pure virtual]

transfers given mask from image imgNr to all targetImgs

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableActive ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableActiveMasks ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableAutoCenterCrop ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableCropMode ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableCropRect ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableEMoRParams ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifAperture ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifCropFactor ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifDate ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifDistance ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifExposureMode ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifExposureTime ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifFocalLength ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifFocalLength35 ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifISO ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifLens ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifMake ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifModel ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExifOrientation ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableExposureValue ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableFilename ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableFlatfieldFilename ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableGamma ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableHFOV ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableMasks ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariablePitch ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableProjection ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialDistortion ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialDistortionBlue ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialDistortionCenterShift ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialDistortionRed ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialVigCorrCenterShift ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRadialVigCorrCoeff ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableResponseType ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableRoll ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableShear ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableSize ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableStack ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableTranslationPlanePitch ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableTranslationPlaneYaw ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableVigCorrMode ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableWhiteBalanceBlue ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableWhiteBalanceRed ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableX ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableY ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableYaw ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::unlinkImageVariableZ ( unsigned int  imgNr  )  [pure virtual]

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateCtrlPointErrors ( const UIntSet imgs,
const CPVector cps 
) [pure virtual]

update control points for a subset of images.

Usually, the control point subset is created using subset() The number and ordering and control points must not be changed between the call to subset() and this function.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateCtrlPointErrors ( const CPVector controlPoints  )  [pure virtual]

update control points distances.

updates control distances and position in final panorama usually used to set the changes from the optimization. The control points must be the same as in

Implemented in HuginBase::Panorama.

Referenced by HuginBase::PTools::calcCtrlPointErrors(), optGetError(), and HuginBase::PTools::optimize().

virtual void HuginBase::PanoramaData::updateLineCtrlPoints (  )  [pure virtual]

assign new mode line numbers, if required

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateMasks ( bool  convertPosMaskToNeg = false  )  [pure virtual]

updates all active masks

this is necessary after variables of *one* image has changed, because positive masks have to be updated

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateMasksForImage ( unsigned int  imgNr,
MaskPolygonVector  newMasks 
) [pure virtual]

set complete mask list for image with number

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateOptimizeVector (  )  [pure virtual]

updates the optimize vector according to master switches

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateVariable ( unsigned int  imgNr,
const Variable var 
) [pure virtual]

update a single variable

It updates other images when the variable is linked

Implemented in HuginBase::Panorama.

Referenced by HuginBase::RANSACOptimizer::findInliers(), and HuginBase::OptVarSpec::set().

virtual void HuginBase::PanoramaData::updateVariables ( unsigned int  imgNr,
const VariableMap var 
) [pure virtual]

Set variables for a single picture.

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateVariables ( const UIntSet imgs,
const VariableMapVector var 
) [pure virtual]

update variables for some specific images

Implemented in HuginBase::Panorama.

virtual void HuginBase::PanoramaData::updateVariables ( const VariableMapVector vars  )  [pure virtual]

Set the variables.

Usually used when the optimizer results should be applied.

Implemented in HuginBase::Panorama.

Referenced by HuginBase::AutoOptimise::OptimiseVisitor::discover_vertex(), HuginBase::PTools::optimize(), and HuginBase::SmartOptimise::smartOptimize().

virtual void HuginBase::PanoramaData::updateWhiteBalance ( double  redFactor,
double  blueFactor 
) [pure virtual]

update the global white balace of the panorama by multiplying the red and blue factor of each image with given factors

Implemented in HuginBase::Panorama.


The documentation for this class was generated from the following file:
Generated on 23 Oct 2014 for Hugintrunk by  doxygen 1.4.7