#include <Panorama.h>
Inheritance diagram for HuginBase::Panorama:

Public Member Functions | |
| Panorama () | |
| ctor. | |
| ~Panorama () | |
| dtor. | |
| Panorama | getSubset (const UIntSet &imgs) const |
| get a subset of the panorama | |
| Panorama | duplicate () const |
| duplicate the panorama | |
| PanoramaData * | getNewSubset (const UIntSet &imgs) const |
| PanoramaData * | getNewCopy () const |
| std::size_t | getNrOfImages () const |
| number of images. | |
| const SrcPanoImage & | getImage (std::size_t nr) const |
| get a panorama image, counting starts with 0 | |
| void | setImage (std::size_t nr, const SrcPanoImage &img) |
| set a panorama image, counting starts with 0 | |
| unsigned int | addImage (const SrcPanoImage &img) |
| add an Image to the panorama | |
| void | mergePanorama (const Panorama &newPano) |
| merges the panorama with the given pano | |
| void | removeImage (unsigned int nr) |
| remove an Image. | |
| void | swapImages (unsigned int img1, unsigned int img2) |
| swap images. | |
| void | moveImage (size_t img1, size_t img2) |
| moves images. | |
| SrcPanoImage | getSrcImage (unsigned imgNr) const |
| get a description of a source image | |
| void | setSrcImage (unsigned int nr, const SrcPanoImage &img) |
| set input image parameters | |
| void | setImageFilename (unsigned int img, const std::string &fname) |
| set a new image filename | |
| void | activateImage (unsigned int imgNr, bool active=true) |
| mark an image as active or inactive. | |
| UIntSet | getActiveImages () const |
| get active images | |
| std::size_t | getNrOfCtrlPoints () const |
| number of control points | |
| const ControlPoint & | getCtrlPoint (std::size_t nr) const |
| get a control point, counting starts with 0 | |
| const CPVector & | getCtrlPoints () const |
| get all control point of this Panorama | |
| std::vector< unsigned int > | getCtrlPointsForImage (unsigned int imgNr) const |
| return all control points for a given image. | |
| CPointVector | getCtrlPointsVectorForImage (unsigned int imgNr) const |
| return a vector of std::pairs with global ctrl point nr and ControlPoint In the class ControlPoint the image with imgNr is always image1 | |
| void | setCtrlPoints (const CPVector &points) |
| set all control points (Ippei: Is this supposed to be 'add' method?) | |
| unsigned int | addCtrlPoint (const ControlPoint &point) |
| add a new control point. | |
| void | removeCtrlPoint (unsigned int pNr) |
| remove a control point. | |
| void | removeDuplicateCtrlPoints () |
| removes duplicates control points | |
| void | changeControlPoint (unsigned int pNr, const ControlPoint &point) |
| change a control Point. | |
| int | getNextCPTypeLineNumber () const |
| get the next unused line number for t3, ... | |
| void | updateLineCtrlPoints () |
| assign new mode line numbers, if required | |
| void | updateCtrlPointErrors (const CPVector &controlPoints) |
| update control points distances. | |
| void | updateCtrlPointErrors (const UIntSet &imgs, const CPVector &cps) |
| update control points for a subset of images. | |
| VariableMapVector | getVariables () const |
| get variables of this panorama | |
| const VariableMap | getImageVariables (unsigned int imgNr) const |
| Get the variables of an image. | |
| virtual void | updateVariables (const VariableMapVector &vars) |
| Set the variables. | |
| virtual void | updateVariables (const UIntSet &imgs, const VariableMapVector &var) |
| update variables for some specific images | |
| virtual void | updateVariables (unsigned int imgNr, const VariableMap &var) |
| Set variables for a single picture. | |
| virtual void | updateVariable (unsigned int imgNr, const Variable &var) |
| update a single variable | |
| virtual void | UpdateFocalLength (UIntSet imgs, double newFocalLength) |
| updates the focal length by changing hfov | |
| virtual void | UpdateCropFactor (UIntSet imgs, double newCropFactor) |
| updates the crop factor, try to keep focal length constant | |
| virtual void | linkImageVariableFilename (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableSize (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableProjection (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableHFOV (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableResponseType (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableEMoRParams (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExposureValue (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableGamma (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableWhiteBalanceRed (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableWhiteBalanceBlue (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRoll (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariablePitch (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableYaw (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableX (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableY (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableZ (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableTranslationPlaneYaw (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableTranslationPlanePitch (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableStack (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialDistortion (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialDistortionRed (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialDistortionBlue (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialDistortionCenterShift (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableShear (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableCropMode (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableCropRect (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableAutoCenterCrop (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableVigCorrMode (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableFlatfieldFilename (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialVigCorrCoeff (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableRadialVigCorrCenterShift (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifModel (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifMake (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifLens (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifCropFactor (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifFocalLength (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifOrientation (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifAperture (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifISO (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifDistance (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifFocalLength35 (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifExposureTime (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifDate (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableExifExposureMode (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableMasks (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableActiveMasks (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | linkImageVariableActive (unsigned int sourceImgNr, unsigned int destImgNr) |
| virtual void | unlinkImageVariableFilename (unsigned int imgNr) |
| virtual void | unlinkImageVariableSize (unsigned int imgNr) |
| virtual void | unlinkImageVariableProjection (unsigned int imgNr) |
| virtual void | unlinkImageVariableHFOV (unsigned int imgNr) |
| virtual void | unlinkImageVariableResponseType (unsigned int imgNr) |
| virtual void | unlinkImageVariableEMoRParams (unsigned int imgNr) |
| virtual void | unlinkImageVariableExposureValue (unsigned int imgNr) |
| virtual void | unlinkImageVariableGamma (unsigned int imgNr) |
| virtual void | unlinkImageVariableWhiteBalanceRed (unsigned int imgNr) |
| virtual void | unlinkImageVariableWhiteBalanceBlue (unsigned int imgNr) |
| virtual void | unlinkImageVariableRoll (unsigned int imgNr) |
| virtual void | unlinkImageVariablePitch (unsigned int imgNr) |
| virtual void | unlinkImageVariableYaw (unsigned int imgNr) |
| virtual void | unlinkImageVariableX (unsigned int imgNr) |
| virtual void | unlinkImageVariableY (unsigned int imgNr) |
| virtual void | unlinkImageVariableZ (unsigned int imgNr) |
| virtual void | unlinkImageVariableTranslationPlaneYaw (unsigned int imgNr) |
| virtual void | unlinkImageVariableTranslationPlanePitch (unsigned int imgNr) |
| virtual void | unlinkImageVariableStack (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialDistortion (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialDistortionRed (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialDistortionBlue (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialDistortionCenterShift (unsigned int imgNr) |
| virtual void | unlinkImageVariableShear (unsigned int imgNr) |
| virtual void | unlinkImageVariableCropMode (unsigned int imgNr) |
| virtual void | unlinkImageVariableCropRect (unsigned int imgNr) |
| virtual void | unlinkImageVariableAutoCenterCrop (unsigned int imgNr) |
| virtual void | unlinkImageVariableVigCorrMode (unsigned int imgNr) |
| virtual void | unlinkImageVariableFlatfieldFilename (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialVigCorrCoeff (unsigned int imgNr) |
| virtual void | unlinkImageVariableRadialVigCorrCenterShift (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifModel (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifMake (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifLens (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifCropFactor (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifFocalLength (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifOrientation (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifAperture (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifISO (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifDistance (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifFocalLength35 (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifExposureTime (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifDate (unsigned int imgNr) |
| virtual void | unlinkImageVariableExifExposureMode (unsigned int imgNr) |
| virtual void | unlinkImageVariableMasks (unsigned int imgNr) |
| virtual void | unlinkImageVariableActiveMasks (unsigned int imgNr) |
| virtual void | unlinkImageVariableActive (unsigned int imgNr) |
| virtual void | updateWhiteBalance (double redFactor, double blueFactor) |
| update the global white balace of the panorama by multiplying the red and blue factor of each image with given factors | |
| const OptimizeVector & | getOptimizeVector () const |
| return the optimize settings stored inside panorama | |
| void | setOptimizeVector (const OptimizeVector &optvec) |
| set optimize setting | |
| const int | getOptimizerSwitch () const |
| returns optimizer master switch | |
| void | setOptimizerSwitch (const int newSwitch) |
| set optimizer master switch | |
| const int | getPhotometricOptimizerSwitch () const |
| return the photometric optimizer master switch | |
| void | setPhotometricOptimizerSwitch (const int newSwitch) |
| sets the photometric optimizer master switch | |
| const PanoramaOptions & | getOptions () const |
| returns the options for this panorama | |
| void | setOptions (const PanoramaOptions &opt) |
| set new output settings This is not used directly for optimizing/stiching, but it can be feed into runOptimizer() and runStitcher(). | |
| void | parseOptimizerScript (std::istream &i, const UIntSet &imgs, VariableMapVector &imgVars, CPVector &ctrlPoints) const |
| read after optimization, fills in control point errors. | |
| void | printPanoramaScript (std::ostream &o, const OptimizeVector &optvars, const PanoramaOptions &options, const UIntSet &imgs, bool forPTOptimizer, const std::string &stripPrefix="") const |
| create an optimizer script | |
| void | printStitcherScript (std::ostream &o, const PanoramaOptions &target, const UIntSet &imgs) const |
| create the stitcher script | |
| void | addObserver (PanoramaObserver *o) |
| add a panorama observer. | |
| bool | removeObserver (PanoramaObserver *observer) |
| remove a panorama observer. | |
| void | clearObservers () |
| remove all panorama observers. | |
| void | changeFinished (bool keepDirty) |
| notify observers about changes in this class | |
| void | changeFinished () |
| notify observers about changes in this class | |
| void | imageChanged (unsigned int imgNr) |
| mark image for change notification. | |
| void | updateMasksForImage (unsigned int imgNr, MaskPolygonVector newMasks) |
| set complete mask list for image with number | |
| void | updateMasks (bool convertPosMaskToNeg=false) |
| updates all active masks | |
| void | transferMask (MaskPolygon mask, unsigned int imgNr, const UIntSet targetImgs) |
| transfers given mask from image imgNr to all targetImgs | |
| void | updateOptimizeVector () |
| updates the optimize vector according to master switches | |
| std::set< size_t > | getRefImages () |
| returns set of reference image and images linked with reference images | |
| void | checkRefOptStatus (bool &linkRefImgsYaw, bool &linkRefImgsPitch, bool &linkRefImgsRoll) |
| checks if yaw/pitch/roll of reference image can be check, it depends on number and type of control points | |
| virtual PanoramaDataMemento * | getNewMemento () const |
| get the internal state | |
| virtual bool | setMementoToCopyOf (const PanoramaDataMemento *const memento) |
| set the internal state | |
| PanoramaMemento | getMemento () const |
| get the internal state | |
| void | setMemento (const PanoramaMemento &memento) |
| set the internal state | |
| bool | needsOptimization () |
| true if control points or lens variables have been changed after the last optimisation | |
| void | markAsOptimized (bool optimized=true) |
| ReadWriteError | readData (std::istream &dataInput, std::string documentType="") |
| Reads data. | |
| ReadWriteError | writeData (std::ostream &dataOutput, std::string documentType="") |
| bool | isDirty () const |
| true if there are unsaved changes | |
| virtual void | clearDirty () |
| clear dirty flag. | |
| void | setFilePrefix (std::string prefix) |
| sets the path prefix of the images reffered with relative paths | |
| void | reset () |
| clear the internal state. | |
Protected Member Functions | |
| void | setDirty (const bool &dirty=true) |
| std::string | getFilePrefix () const |
| void | adjustVarLinks () |
| adjust the links of the linked variables, must be called when a lens has been changed. | |
Private Member Functions | |
| void | centerCrop (unsigned int imgNr) |
| center the crop for given image and all linked images | |
| vigra::Rect2D | centerCropImage (unsigned int imgNr) |
| return the centered crop for given image | |
| void | updateCropMode (unsigned int imgNr) |
| update the crop mode in dependence of crop rect and lens projection | |
Private Attributes | |
| std::string | imgFilePrefix |
| bool | dirty |
| this indicates that there are unsaved changes | |
| PanoramaMemento | state |
| std::list< PanoramaObserver * > | observers |
| UIntSet | changedImages |
| the images that have been changed since the last changeFinished() | |
| bool | m_forceImagesUpdate |
| std::set< std::string > | m_ptoptimizerVarNames |
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/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.
Changes should be made through command objects, not with direct calls.
should we add constraints for the simple / advanced functionality to the model? I have to think a bit more about that issue. maybe the contraints can be factored out into another class that corrects then when updating. or we could have different models.. SimplePanorama and AdvancedPanorama.
also, it is useful to use the memento pattern for the internal state, so that redo/undo for complex interactions can be implemented without too much pain.
Definition at line 156 of file Panorama.h.
|
|
ctor.
Reimplemented in PT::Panorama. Definition at line 44 of file Panorama.cpp. References m_ptoptimizerVarNames. |
|
|
dtor.
Reimplemented in PT::Panorama. Definition at line 82 of file Panorama.cpp. References DEBUG_TRACE, and reset(). |
|
||||||||||||
|
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 Implements HuginBase::PanoramaData. Definition at line 2447 of file Panorama.cpp. References DEBUG_DEBUG. Referenced by PT::SetActiveImagesCmd::processPanorama(). |
|
|
add a new control point.
Implements HuginBase::PanoramaData. Definition at line 945 of file Panorama.cpp. Referenced by HuginLines::_getVerticalLines(), AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), CheckAndAddPoint(), createCtrlPoints(), createCtrlPointsOld(), LensCalFrame::GetPanorama(), main(), PanoDetector::match(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), iCPApp::OnRun(), PT::AddCtrlPointsCmd::processPanorama(), PT::AddCtrlPointCmd::processPanorama(), and PT::wxAddCtrlPointGridCmd::processPanorama(). |
|
|
add an Image to the panorama
Implements HuginBase::PanoramaData. Definition at line 883 of file Panorama.cpp. Referenced by HuginLines::_getVerticalLines(), PossiblePano::GeneratePanorama(), PossiblePano::GetNewProjectFilename(), LensCalFrame::GetPanorama(), main(), main2(), processImg(), PT::AddImagesCmd::processPanorama(), PT::wxApplyTemplateCmd::processPanorama(), and PT::wxAddImagesCmd::processPanorama(). |
|
|
add a panorama observer. It will recieve all change messages. An observer can only be added once. if its added twice, the second addObserver() will have no effect. Implements HuginBase::ManagedPanoramaData. Definition at line 2423 of file Panorama.cpp. Referenced by GLPreviewFrame::GLPreviewFrame(), PreviewPanel::Init(), PanoPanel::Init(), OptimizePhotometricPanel::Init(), OptimizePanel::Init(), MaskEditorPanel::Init(), ImagesTreeCtrl::Init(), ImagesPanel::Init(), ImagesList::Init(), CPEditorPanel::Init(), OverviewOutlinesTool::OverviewOutlinesTool(), PreviewLayoutLinesTool::PreviewLayoutLinesTool(), and ViewState::ViewState(). |
|
|
adjust the links of the linked variables, must be called when a lens has been changed.
|
|
|
center the crop for given image and all linked images
Definition at line 2066 of file Panorama.cpp. |
|
|
return the centered crop for given image
Definition at line 2049 of file Panorama.cpp. References celeste::max(). |
|
||||||||||||
|
change a control Point.
Implements HuginBase::PanoramaData. Definition at line 998 of file Panorama.cpp. Referenced by PT::ChangeCtrlPointCmd::processPanorama(), and PT::UpdateCPsCmd::processPanorama(). |
|
|
notify observers about changes in this class This needs to be called explicitly by somebody after changes have been made. Allows to compress multiple changes into one notification. Implements HuginBase::ManagedPanoramaData. Definition at line 869 of file Panorama.h. |
|
|
notify observers about changes in this class This needs to be called explicitly by somebody after changes have been made. Allows to compress multiple changes into one notification.
Definition at line 1711 of file Panorama.cpp. References HuginBase::OptimizeVector. |
|
||||||||||||||||
|
checks if yaw/pitch/roll of reference image can be check, it depends on number and type of control points
Implements HuginBase::PanoramaData. Definition at line 2137 of file Panorama.cpp. Referenced by main(), and parseOptimizerScript(). |
|
|
clear dirty flag. call after save Reimplemented from AppBase::DocumentData. Definition at line 950 of file Panorama.h. Referenced by MainFrame::OnSaveProject(). |
|
|
remove all panorama observers.
Implements HuginBase::ManagedPanoramaData. Definition at line 2435 of file Panorama.cpp. |
|
|
duplicate the panorama returns a copy of the pano state, except for the listeners. Definition at line 2819 of file Panorama.cpp. Referenced by AutoPanoSift::automatch(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), PanoDetector::loadProject(), PanoDetector::matchPrealigned(), and GLPreviewFrame::ResetTranslationPlaneParameters(). |
|
|
|
get a control point, counting starts with 0
Implements HuginBase::PanoramaData. Definition at line 311 of file Panorama.h. Referenced by CPImagesComboBox::CalcCPDistance(), compareError(), compareErrorGreater(), compareImg1Nr(), compareImg1NrGreater(), compareImg2Nr(), compareImg2NrGreater(), compareMode(), compareModeGreater(), CPEditorPanel::ShowControlPoint(), and PreviewLayoutLinesTool::updateLineInformation(). |
|
|
|
return all control points for a given image.
Implements HuginBase::PanoramaData. Definition at line 176 of file Panorama.cpp. References HuginBase::PanoramaMemento::ctrlPoints, and state. Referenced by ImagesTreeCtrl::UpdateImageText(). |
|
|
return a vector of std::pairs with global ctrl point nr and ControlPoint In the class ControlPoint the image with imgNr is always image1
Definition at line 189 of file Panorama.cpp. References HuginBase::CPointVector, HuginBase::PanoramaMemento::ctrlPoints, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, HuginBase::ControlPoint::mirror(), and state. Referenced by PanoOperation::CelesteOperation::GetInternalCommand(), and main(). |
|
|
Definition at line 973 of file Panorama.h. |
|
|
|
Get the variables of an image. Should not be used for most GUI stuff, use the getImage(imgNr).get* methods instead for each variable you want.
Implements HuginBase::PanoramaData. Definition at line 221 of file Panorama.cpp. References HuginBase::PanoramaMemento::images, state, and HuginBase::VariableMap. Referenced by ApplyLensParameters(), PanoOperation::ResetOperation::GetInternalCommand(), GLPreviewFrame::panoramaChanged(), CPEditorPanel::panoramaImagesChanged(), SaveLensParameters(), CPEditorPanel::setLeftImage(), and CPEditorPanel::setRightImage(). |
|
|
get the internal state
Definition at line 907 of file Panorama.h. Referenced by PT::wxApplyTemplateCmd::processPanorama(). |
|
|
Implements HuginBase::PanoramaData. Definition at line 193 of file Panorama.h. |
|
|
get the internal state
Implements HuginBase::ManagedPanoramaData. Definition at line 2403 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 187 of file Panorama.h. Referenced by PanoDetector::RansacMatchesInPairCam(). |
|
|
get the next unused line number for t3, ... control point creation Implements HuginBase::PanoramaData. Definition at line 3301 of file Panorama.cpp. Referenced by CPEditorPanel::panoramaChanged(). |
|
|
number of control points
Implements HuginBase::PanoramaData. Definition at line 305 of file Panorama.h. Referenced by CPImagesComboBox::CalcCPDistance(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), PanoOperation::CleanControlPointsOperation::IsEnabled(), PanoOperation::RemoveControlPointsOperation::IsEnabled(), main(), GLPreviewFrame::OnLoadImages(), GLPreviewFrame::panoramaChanged(), Project::ReadOptions(), and PreviewLayoutLinesTool::updateLineInformation(). |
|
|
|
returns optimizer master switch
Implements HuginBase::PanoramaData. Definition at line 758 of file Panorama.h. Referenced by OptimizePanel::OnOptimizeButton(), ImagesPanel::OnOptimizerSwitchChanged(), OptimizePanel::panoramaChanged(), MainFrame::panoramaChanged(), ImagesPanel::panoramaChanged(), OptimizePanel::runOptimizer(), and MainFrame::SetGuiLevel(). |
|
|
return the optimize settings stored inside panorama
Implements HuginBase::PanoramaData. Definition at line 751 of file Panorama.h. Referenced by AutoPanoSift::automatch(), AutoCtrlPointCreator::Cleanup(), PanoPanel::DoStitch(), PossiblePano::GeneratePanorama(), hasphotometricParams(), main(), ImagesTreeCtrl::OnLeftDown(), iCPApp::OnRun(), MainFrame::OnSaveProject(), LensCalFrame::OnSaveProject(), MainFrame::RunAssistant(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), ImagesTreeCtrl::SelectAllParameters(), MainFrame::SetGuiLevel(), RunStitchPanel::StitchProject(), and ImagesTreeCtrl::UpdateOptimizerVariables(). |
|
|
|
return the photometric optimizer master switch
Implements HuginBase::PanoramaData. Definition at line 764 of file Panorama.h. Referenced by OptimizePhotometricPanel::OnOptimizeButton(), ImagesPanel::OnPhotometricOptimizerSwitchChanged(), OptimizePhotometricPanel::panoramaChanged(), MainFrame::panoramaChanged(), ImagesPanel::panoramaChanged(), OptimizePhotometricPanel::runOptimizer(), and MainFrame::SetGuiLevel(). |
|
|
returns set of reference image and images linked with reference images
Implements HuginBase::PanoramaData. Definition at line 2117 of file Panorama.cpp. Referenced by main(), and parseOptimizerScript(). |
|
|
|
get a subset of the panorama This returns a panorama that contains only the images specified by Useful for operations on a subset of the panorama Definition at line 2826 of file Panorama.cpp. Referenced by AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftMultiRow::automatch(), HuginBase::getCPoutsideLimit_pair(), PanoDetector::matchMultiRow(), OptimizePhotometricPanel::runOptimizer(), and OptimizePanel::runOptimizer(). |
|
|
get variables of this panorama
Implements HuginBase::PanoramaData. Definition at line 211 of file Panorama.cpp. References HuginBase::PanoramaMemento::images, state, and HuginBase::VariableMapVector. Referenced by OptimizePanel::AskApplyResult(), ImageVariableDialog::InitValues(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), GLPreviewFrame::ResetTranslationPlaneParameters(), OptimizePhotometricPanel::runOptimizer(), and OptimizePanel::runOptimizer(). |
|
|
mark image for change notification. Does not send the notification, this is left to changedFinished() Implements HuginBase::ManagedPanoramaData. Definition at line 2440 of file Panorama.cpp. Referenced by transferMask(), and updateCtrlPointErrors(). |
|
|
true if there are unsaved changes
Reimplemented from AppBase::DocumentData. Definition at line 941 of file Panorama.h. Referenced by MainFrame::CloseProject(), and PanoPanel::DoSendToBatch(). |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 689 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 686 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 639 of file Panorama.cpp. References state, and HuginBase::VariableMap. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 637 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 638 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 602 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 663 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 660 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 668 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 665 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 669 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 667 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 661 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 666 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 664 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 659 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 658 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 657 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 662 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 603 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 594 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 645 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 604 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 598 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 683 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 610 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), and main(). |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 597 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 624 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 628 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 631 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 627 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 647 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 646 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 601 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 609 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), and main(). |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 634 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 595 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 621 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), main(), and main2(). |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 618 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 617 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 642 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 606 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 605 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 613 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 614 of file Panorama.cpp. |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 611 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), and main(). |
|
||||||||||||
|
Implements HuginBase::PanoramaData. Definition at line 615 of file Panorama.cpp. |
|
|
Implements HuginBase::ManagedPanoramaData. Definition at line 923 of file Panorama.h. Referenced by PT::UpdateVariablesCPSetCmd::processPanorama(), and PT::wxLoadPTProjectCmd::processPanorama(). |
|
|
merges the panorama with the given pano
Definition at line 3066 of file Panorama.cpp. Referenced by main(), and PT::MergePanoCmd::processPanorama(). |
|
||||||||||||
|
moves images. moves the image from pos1 to pos2 Implements HuginBase::PanoramaData. Definition at line 2306 of file Panorama.cpp. Referenced by PT::MoveImageCmd::processPanorama(). |
|
|
true if control points or lens variables have been changed after the last optimisation
Implements HuginBase::ManagedPanoramaData. Definition at line 919 of file Panorama.h. Referenced by GLPreviewFrame::panoramaChanged(), and updateOptimizeVector(). |
|
||||||||||||||||||||
|
read after optimization, fills in control point errors.
Implements HuginBase::PanoramaData. Definition at line 1560 of file Panorama.cpp. References checkRefOptStatus(), getNrOfImages(), getRefImages(), HuginBase::OPT_ALL, HuginBase::OPT_BARREL, HuginBase::OPT_PAIR, HuginBase::OPT_POSITION, HuginBase::OPT_TRANSLATION, HuginBase::OPT_VIEW, set_contains(), and HuginBase::UpdateOptVectorSet(). |
|
||||||||||||||||||||||||||||
|
create an optimizer script
Implements HuginBase::PanoramaData. Definition at line 1067 of file Panorama.cpp. Referenced by AutoPanoSift::automatch(), AutoCtrlPointCreator::Cleanup(), PanoPanel::DoStitch(), PossiblePano::GeneratePanorama(), main(), main2(), iCPApp::OnRun(), MainFrame::OnSaveProject(), LensCalFrame::OnSaveProject(), MainFrame::RunAssistant(), OptimizePanel::runOptimizer(), and RunStitchPanel::StitchProject(). |
|
||||||||||||||||
|
create the stitcher script
Implements HuginBase::PanoramaData. Definition at line 1502 of file Panorama.cpp. Referenced by MainFrame::OnSavePTStitcherAs(). |
|
||||||||||||
|
Reads data. You have to check with refered images after data is loaded as the file path is likely to be relative, and the image property might have been changed since the project is saved. Implements AppBase::DocumentData. Definition at line 3315 of file Panorama.cpp. Referenced by PanoDetector::loadProject(), main(), PT::LoadPTProjectCmd::processPanorama(), and processPTO(). |
|
|
remove a control point.
Implements HuginBase::PanoramaData. Definition at line 955 of file Panorama.cpp. Referenced by main(), PT::RemoveCtrlPointsCmd::processPanorama(), and PT::RemoveCtrlPointCmd::processPanorama(). |
|
|
removes duplicates control points
Implements HuginBase::PanoramaData. Definition at line 970 of file Panorama.cpp. References DEBUG_DEBUG, DEBUG_ERROR, state, and makefile::string. Referenced by PanoDetector::writeOutput(). |
|
|
remove an Image. also deletes/updates all associated control points and the Lens, if it was only used by this image. Implements HuginBase::PanoramaData. Definition at line 893 of file Panorama.cpp. References state, and HuginBase::VariableMap. Referenced by PT::RemoveImagesCmd::processPanorama(), and PT::RemoveImageCmd::processPanorama(). |
|
|
remove a panorama observer. Observers must be removed before they are destroyed, else Panorama will try to notify them after they have been destroyed
Implements HuginBase::ManagedPanoramaData. Definition at line 2428 of file Panorama.cpp. References makefile::string. Referenced by CPEditorPanel::~CPEditorPanel(), CPListFrame::~CPListFrame(), GLPreviewFrame::~GLPreviewFrame(), ImagesList::~ImagesList(), ImagesPanel::~ImagesPanel(), ImagesTreeCtrl::~ImagesTreeCtrl(), MainFrame::~MainFrame(), MaskEditorPanel::~MaskEditorPanel(), NonaOptionsDialog::~NonaOptionsDialog(), OptimizePanel::~OptimizePanel(), OptimizePhotometricPanel::~OptimizePhotometricPanel(), PanoPanel::~PanoPanel(), PreviewFrame::~PreviewFrame(), PreviewLayoutLinesTool::~PreviewLayoutLinesTool(), PreviewPanel::~PreviewPanel(), and ViewState::~ViewState(). |
|
|
clear the internal state. (public use deprecated) Definition at line 90 of file Panorama.cpp. References HuginBase::PanoramaMemento::ctrlPoints, HuginBase::PanoramaMemento::deleteAllImages(), dirty, HuginBase::PanoramaMemento::needsOptimization, HuginBase::PanoramaMemento::options, HuginBase::PanoramaMemento::optPhotoSwitch, HuginBase::PanoramaMemento::optSwitch, HuginBase::PanoramaMemento::optvec, HuginBase::PanoramaOptions::reset(), AppBase::DocumentData::setDirty(), and state. Referenced by PT::NewPanoCmd::processPanorama(), PT::wxNewProjectCmd::processPanorama(), and ~Panorama(). |
|
|
set all control points (Ippei: Is this supposed to be 'add' method?)
Implements HuginBase::PanoramaData. Definition at line 1013 of file Panorama.cpp. Referenced by alignStereoWindow(), AutoPanoSiftMultiRow::automatch(), AutoPanoSift::automatch(), HuginBase::getCPoutsideLimit(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), main2(), PanoDetector::matchMultiRow(), PT::wxApplyTemplateCmd::processPanorama(), PT::wxLoadPTProjectCmd::processPanorama(), and OptimizePanel::runOptimizer(). |
|
|
Reimplemented from AppBase::DocumentData. Definition at line 957 of file Panorama.h. |
|
|
sets the path prefix of the images reffered with relative paths
Definition at line 969 of file Panorama.h. Referenced by PanoDetector::loadProject(), main(), and processPTO(). |
|
||||||||||||
|
set a panorama image, counting starts with 0
Implements HuginBase::PanoramaData. Definition at line 217 of file Panorama.h. References HuginBase::PanoramaData::setSrcImage(). Referenced by PanoDetector::loadProject(). |
|
||||||||||||
|
set a new image filename It is assumed that it is of the same size as the old image. Implements HuginBase::PanoramaData. Definition at line 937 of file Panorama.cpp. Referenced by main(), nonaApp::OnInit(), and PT::wxLoadPTProjectCmd::processPanorama(). |
|
|
set the internal state
Definition at line 2384 of file Panorama.cpp. Referenced by RunStitchPanel::DetectProject(), nonaApp::OnInit(), MainFrame::OnMergeProject(), iCPApp::OnRun(), PT::LoadPTProjectCmd::processPanorama(), PT::wxApplyTemplateCmd::processPanorama(), PT::wxLoadPTProjectCmd::processPanorama(), Project::ReadOptions(), AutoCtrlPointCreator::readUpdatedControlPoints(), and RunStitchPanel::StitchProject(). |
|
|
set the internal state
Implements HuginBase::ManagedPanoramaData. Definition at line 2361 of file Panorama.cpp. |
|
|
set optimizer master switch
Implements HuginBase::PanoramaData. Definition at line 867 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), main(), PT::UpdateOptimizerSwitchCmd::processPanorama(), and PT::wxNewProjectCmd::processPanorama(). |
|
|
set optimize setting
Implements HuginBase::PanoramaData. Definition at line 861 of file Panorama.cpp. Referenced by HuginLines::_getVerticalLines(), AutoPanoSiftMultiRow::automatch(), HuginBase::getCPoutsideLimit_pair(), LensCalFrame::GetPanorama(), main(), main2(), PanoDetector::matchMultiRow(), optimize_old(), and PT::UpdateOptimizeVectorCmd::processPanorama(). |
|
|
set new output settings This is not used directly for optimizing/stiching, but it can be feed into runOptimizer() and runStitcher().
Implements HuginBase::PanoramaData. Definition at line 2408 of file Panorama.cpp. Referenced by HuginLines::_getVerticalLines(), autoCrop(), AutoPanoSiftMultiRow::automatch(), PossiblePano::GeneratePanorama(), HuginBase::getCPoutsideLimit_pair(), LensCalFrame::GetPanorama(), main(), main2(), PanoDetector::matchMultiRow(), processImg(), PT::SetPanoOptionsCmd::processPanorama(), PT::StraightenPanoCmd::processPanorama(), PT::CenterPanoCmd::processPanorama(), PT::wxNewProjectCmd::processPanorama(), PT::wxLoadPTProjectCmd::processPanorama(), PT::wxAddImagesCmd::processPanorama(), Project::ReadOptions(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), PanoPanel::StackCheck(), and RunStitchPanel::StitchProject(). |
|
|
sets the photometric optimizer master switch
Implements HuginBase::PanoramaData. Definition at line 875 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), main(), PT::UpdatePhotometricOptimizerSwitchCmd::processPanorama(), and PT::wxNewProjectCmd::processPanorama(). |
|
||||||||||||
|
set input image parameters This sets the values of the image variables, but does not change the links.
Implements HuginBase::PanoramaData. Definition at line 2478 of file Panorama.cpp. Referenced by PossiblePano::GeneratePanorama(), LensCalFrame::GetPanorama(), main(), main2(), PT::UpdateSrcImagesCmd::processPanorama(), PT::UpdateSrcImageCmd::processPanorama(), PT::wxApplyTemplateCmd::processPanorama(), PT::wxLoadPTProjectCmd::processPanorama(), PT::wxAddImagesCmd::processPanorama(), GLPreviewFrame::ResetTranslationPlaneParameters(), and resetValues(). |
|
||||||||||||
|
swap images.
swaps the images, image Implements HuginBase::PanoramaData. Definition at line 2262 of file Panorama.cpp. References DEBUG_DEBUG, DEBUG_WARN, HuginBase::PTScriptParsing::getDoubleParam(), HuginBase::PTScriptParsing::getIntParam(), HuginBase::PTScriptParsing::getPTParam(), and makefile::string. Referenced by PT::SwapImagesCmd::processPanorama(). |
|
||||||||||||||||
|
transfers given mask from image imgNr to all targetImgs
Implements HuginBase::PanoramaData. Definition at line 1770 of file Panorama.cpp. References imageChanged(). |
|
|
Implements HuginBase::PanoramaData. Definition at line 857 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 854 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 807 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 805 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 806 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 770 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 831 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 828 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 836 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 833 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 837 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 835 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 829 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 834 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 832 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 827 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 826 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 825 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 830 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 771 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 762 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 813 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 772 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 766 of file Panorama.cpp. Referenced by main2(). |
|
|
Implements HuginBase::PanoramaData. Definition at line 851 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 778 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 765 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 792 of file Panorama.cpp. Referenced by main2(). |
|
|
Implements HuginBase::PanoramaData. Definition at line 796 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 799 of file Panorama.cpp. Referenced by main2(). |
|
|
Implements HuginBase::PanoramaData. Definition at line 795 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 815 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 814 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 769 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 777 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 802 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 763 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 789 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 786 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 785 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 810 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 774 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 773 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 781 of file Panorama.cpp. References state. |
|
|
Implements HuginBase::PanoramaData. Definition at line 782 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 779 of file Panorama.cpp. |
|
|
Implements HuginBase::PanoramaData. Definition at line 783 of file Panorama.cpp. |
|
||||||||||||
|
updates the crop factor, try to keep focal length constant
Definition at line 504 of file Panorama.cpp. References HuginBase::PanoramaMemento::ctrlPoints, and state. Referenced by PT::UpdateCropFactorCmd::processPanorama(). |
|
|
update the crop mode in dependence of crop rect and lens projection
Definition at line 2029 of file Panorama.cpp. |
|
||||||||||||
|
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. Implements HuginBase::PanoramaData. Definition at line 228 of file Panorama.cpp. References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), set_contains(), and state. |
|
|
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 Implements HuginBase::PanoramaData. Definition at line 253 of file Panorama.cpp. References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), and state. Referenced by PT::UpdateVariablesCPSetCmd::processPanorama(), and PT::UpdateVariablesCPCmd::processPanorama(). |
|
||||||||||||
|
updates the focal length by changing hfov
Definition at line 477 of file Panorama.cpp. References state. Referenced by PT::UpdateFocalLengthCmd::processPanorama(). |
|
|
assign new mode line numbers, if required
Implements HuginBase::PanoramaData. Definition at line 1035 of file Panorama.cpp. References DEBUG_ASSERT, DEBUG_ERROR, map_get(), and HuginBase::PTScriptParsing::readVar(). |
|
|
updates all active masks this is necessary after variables of *one* image has changed, because positive masks have to be updated Implements HuginBase::PanoramaData. Definition at line 1868 of file Panorama.cpp. Referenced by PanoDetector::loadProject(). |
|
||||||||||||
|
set complete mask list for image with number
Implements HuginBase::PanoramaData. Definition at line 1762 of file Panorama.cpp. Referenced by main(). |
|
|
updates the optimize vector according to master switches
Implements HuginBase::PanoramaData. Definition at line 2181 of file Panorama.cpp. References needsOptimization(). |
|
||||||||||||
|
update a single variable It knows lenses etc and updates other images when the variable is linked Implements HuginBase::PanoramaData. Definition at line 293 of file Panorama.cpp. References DEBUG_ERROR, makefile::Variable::getName(), makefile::Variable::getValue(), HuginBase::PanoramaMemento::images, HuginBase::PanoramaMemento::needsOptimization, and state. Referenced by PT::SetVariableCmd::processPanorama(), UpdateSingleVar(), and updateVariables(). |
|
||||||||||||
|
Set variables for a single picture.
Implements HuginBase::PanoramaData. Definition at line 284 of file Panorama.cpp. References HuginBase::PanoramaMemento::images, state, and updateVariable(). |
|
||||||||||||
|
update variables for some specific images
Implements HuginBase::PanoramaData. Definition at line 274 of file Panorama.cpp. References HuginBase::PanoramaMemento::images, state, and updateVariables(). |
|
|
Set the variables. Usually used when the optimizer results should be applied. Implements HuginBase::PanoramaData. Definition at line 264 of file Panorama.cpp. References HuginBase::PanoramaMemento::images, and state. Referenced by PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), PT::UpdateImagesVariablesCmd::processPanorama(), PT::UpdateImageVariablesCmd::processPanorama(), PT::UpdateVariablesCPSetCmd::processPanorama(), PT::UpdateVariablesCPCmd::processPanorama(), PT::UpdateVariablesCmd::processPanorama(), and updateVariables(). |
|
||||||||||||
|
update the global white balace of the panorama by multiplying the red and blue factor of each image with given factors
Implements HuginBase::PanoramaData. Definition at line 3351 of file Panorama.cpp. |
|
||||||||||||
|
Implements AppBase::DocumentData. Definition at line 3339 of file Panorama.cpp. Referenced by PanoDetector::writeOutput(). |
|
|
the images that have been changed since the last changeFinished()
Definition at line 1026 of file Panorama.h. |
|
|
this indicates that there are unsaved changes
Definition at line 1021 of file Panorama.h. Referenced by reset(). |
|
|
Definition at line 1018 of file Panorama.h. |
|
|
Definition at line 1028 of file Panorama.h. |
|
|
Definition at line 1030 of file Panorama.h. Referenced by Panorama(). |
|
|
Definition at line 1024 of file Panorama.h. |
|
|
Definition at line 1023 of file Panorama.h. Referenced by getCtrlPointsForImage(), getCtrlPointsVectorForImage(), getImageVariables(), getVariables(), linkImageVariableAutoCenterCrop(), removeDuplicateCtrlPoints(), removeImage(), reset(), unlinkImageVariableX(), UpdateCropFactor(), updateCtrlPointErrors(), UpdateFocalLength(), updateVariable(), and updateVariables(). |
1.3.9.1