Hugintrunk
0.1
|
Model for a panorama. More...
#include <Panorama.h>
Public Member Functions | |
Panorama () | |
ctor. More... | |
~Panorama () | |
dtor. More... | |
Panorama | getSubset (const UIntSet &imgs) const |
get a subset of the panorama More... | |
Panorama | duplicate () const |
duplicate the panorama More... | |
PanoramaData * | getNewSubset (const UIntSet &imgs) const |
PanoramaData * | getNewCopy () const |
PanoramaData * | getUnlinkedSubset (UIntSetVector &imageGroups) const |
get a panorama, which does not contain images linked with positions, the cps are moved to the first image of each linked stacked More... | |
std::size_t | getNrOfImages () const |
number of images. More... | |
const SrcPanoImage & | getImage (std::size_t nr) const |
get a panorama image, counting starts with 0 More... | |
void | setImage (std::size_t nr, const SrcPanoImage &img) |
set a panorama image, counting starts with 0 More... | |
unsigned int | addImage (const SrcPanoImage &img) |
the the number for a specific image More... | |
void | mergePanorama (const Panorama &newPano) |
merges the panorama with the given pano More... | |
void | removeImage (unsigned int nr) |
creates an image, from filename, and a Lens, if needed More... | |
void | swapImages (unsigned int img1, unsigned int img2) |
swap images. More... | |
void | moveImage (size_t img1, size_t img2) |
moves images. More... | |
SrcPanoImage | getSrcImage (unsigned imgNr) const |
get a description of a source image More... | |
void | setSrcImage (unsigned int nr, const SrcPanoImage &img) |
set input image parameters More... | |
void | setImageFilename (unsigned int img, const std::string &fname) |
set a new image filename More... | |
void | activateImage (unsigned int imgNr, bool active=true) |
mark an image as active or inactive. More... | |
UIntSet | getActiveImages () const |
get active images More... | |
std::size_t | getNrOfCtrlPoints () const |
number of control points More... | |
const ControlPoint & | getCtrlPoint (std::size_t nr) const |
get a control point, counting starts with 0 More... | |
const CPVector & | getCtrlPoints () const |
get all control point of this Panorama More... | |
std::vector< unsigned int > | getCtrlPointsForImage (unsigned int imgNr) const |
return all control points for a given image. More... | |
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 More... | |
void | setCtrlPoints (const CPVector &points) |
set all control points (Ippei: Is this supposed to be 'add' method?) More... | |
unsigned int | addCtrlPoint (const ControlPoint &point) |
add a new control point. More... | |
void | removeCtrlPoint (unsigned int pNr) |
remove a control point. More... | |
void | removeDuplicateCtrlPoints () |
removes duplicates control points More... | |
void | changeControlPoint (unsigned int pNr, const ControlPoint &point) |
change a control Point. More... | |
int | getNextCPTypeLineNumber () const |
get the number of a control point More... | |
void | updateLineCtrlPoints () |
assign new mode line numbers, if required More... | |
void | updateCtrlPointErrors (const CPVector &controlPoints) |
update control points distances. More... | |
void | updateCtrlPointErrors (const UIntSet &imgs, const CPVector &cps) |
update control points for a subset of images. More... | |
const std::string | getICCProfileDesc () const |
return description of icc profile used for pano More... | |
void | setICCProfileDesc (const std::string &newDesc) |
sets the icc profile description for check of same profile More... | |
const int | getNrOfBands () const |
return number of bands of first image (without alpha channel) so it can be 1 for grayscale or 3 for rgb images More... | |
void | setNrOfBands (const int nrBands) |
sets the number of bands More... | |
VariableMapVector | getVariables () const |
get variables of this panorama More... | |
const VariableMap | getImageVariables (unsigned int imgNr) const |
Get the variables of an image. More... | |
virtual void | updateVariables (const VariableMapVector &vars) |
Set the variables. More... | |
virtual void | updateVariables (const UIntSet &imgs, const VariableMapVector &var) |
update variables for some specific images More... | |
virtual void | updateVariables (unsigned int imgNr, const VariableMap &var) |
Set variables for a single picture. More... | |
virtual void | updateVariable (unsigned int imgNr, const Variable &var) |
update a single variable More... | |
virtual void | UpdateFocalLength (UIntSet imgs, double newFocalLength) |
updates the focal length by changing hfov More... | |
virtual void | UpdateCropFactor (UIntSet imgs, double newCropFactor) |
updates the crop factor, try to keep focal length constant More... | |
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 More... | |
const double | getMaxExposureDifference () const |
returns the maximum exposure value difference of all images in the project More... | |
const bool | hasPossibleStacks () const |
return true, if the metadata indicates that the projects is a bracketet project More... | |
void | linkPossibleStacks (bool linkPosition) |
create automatically stacks as indicated by metadata More... | |
const OptimizeVector & | getOptimizeVector () const |
return the optimize settings stored inside panorama More... | |
void | setOptimizeVector (const OptimizeVector &optvec) |
set optimize setting More... | |
const int | getOptimizerSwitch () const |
returns optimizer master switch More... | |
void | setOptimizerSwitch (const int newSwitch) |
set optimizer master switch More... | |
const int | getPhotometricOptimizerSwitch () const |
return the photometric optimizer master switch More... | |
void | setPhotometricOptimizerSwitch (const int newSwitch) |
sets the photometric optimizer master switch More... | |
const PanoramaOptions & | getOptions () const |
returns the options for this panorama More... | |
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(). More... | |
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 More... | |
void | printStitcherScript (std::ostream &o, const PanoramaOptions &target, const UIntSet &imgs) const |
create the stitcher script More... | |
void | addObserver (PanoramaObserver *o) |
add a panorama observer. More... | |
bool | removeObserver (PanoramaObserver *observer) |
remove a panorama observer. More... | |
void | clearObservers () |
remove all panorama observers. More... | |
const bool | hasPendingChanges () const |
return if the panorama class has pending changes normally all controls listen to panoramaChanges notification and react only there, but the fast preview window also reacts to changes in the Redraw procedure to handle the tools like drag or crop, use this as workaround (it does not include all changes) More... | |
void | changeFinished (bool keepDirty) |
notify observers about changes in this class More... | |
void | changeFinished () |
notify observers about changes in this class More... | |
void | imageChanged (unsigned int imgNr) |
mark image for change notification. More... | |
void | updateMasksForImage (unsigned int imgNr, MaskPolygonVector newMasks) |
set complete mask list for image with number More... | |
void | updateMasks (bool convertPosMaskToNeg=false) |
updates all active masks More... | |
void | transferMask (MaskPolygon mask, unsigned int imgNr, const UIntSet &targetImgs) |
transfers given mask from image imgNr to all targetImgs More... | |
void | updateOptimizeVector () |
updates the optimize vector according to master switches More... | |
std::set< size_t > | getRefImages () |
returns set of reference image and images linked with reference images More... | |
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 More... | |
virtual PanoramaDataMemento * | getNewMemento () const |
get the internal state More... | |
virtual bool | setMementoToCopyOf (const PanoramaDataMemento *const memento) |
set the internal state More... | |
PanoramaMemento | getMemento () const |
get the internal state More... | |
void | setMemento (const PanoramaMemento &memento) |
set the internal state More... | |
bool | needsOptimization () |
true if control points or lens variables have been changed after the last optimisation More... | |
void | markAsOptimized (bool optimized=true) |
bool | ReadPTOFile (const std::string &filename, const std::string &prefix="") |
read pto file from the given filename into Panorama object it does some checks on the file and issues warnings to std::cerr More... | |
bool | WritePTOFile (const std::string &filename, const std::string &prefix="") |
write data to given pto file More... | |
bool | isDirty () const |
true if there are unsaved changes More... | |
virtual void | clearDirty () |
clear dirty flag. More... | |
void | setFilePrefix (std::string prefix) |
sets the path prefix of the images reffered with relative paths More... | |
void | reset () |
clear the internal state. More... | |
Public Member Functions inherited from HuginBase::ManagedPanoramaData | |
virtual | ~ManagedPanoramaData () |
Public Member Functions inherited from HuginBase::PanoramaData | |
virtual | ~PanoramaData () |
Public Member Functions inherited from AppBase::DocumentData | |
virtual | ~DocumentData () |
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. More... | |
Private Member Functions | |
void | centerCrop (unsigned int imgNr) |
center the crop for given image and all linked images More... | |
vigra::Rect2D | centerCropImage (unsigned int imgNr) |
return the centered crop for given image More... | |
void | updateCropMode (unsigned int imgNr) |
update the crop mode in dependence of crop rect and lens projection More... | |
Private Attributes | |
std::string | imgFilePrefix |
bool | dirty |
this indicates that there are unsaved changes More... | |
PanoramaMemento | state |
std::list< PanoramaObserver * > | observers |
UIntSet | changedImages |
the images that have been changed since the last changeFinished() More... | |
bool | m_forceImagesUpdate |
std::set< std::string > | m_ptoptimizerVarNames |
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/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.
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 152 of file Panorama.h.
HuginBase::Panorama::Panorama | ( | ) |
HuginBase::Panorama::~Panorama | ( | ) |
|
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
Implements HuginBase::PanoramaData.
Definition at line 1575 of file Panorama.cpp.
References imageChanged(), HuginBase::PanoramaMemento::images, and state.
Referenced by EnableImages(), main2(), and PanoCommand::SetActiveImagesCmd::processPanorama().
|
virtual |
add a new control point.
Implements HuginBase::PanoramaData.
Definition at line 381 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, imageChanged(), HuginBase::PanoramaMemento::needsOptimization, and state.
Referenced by HuginLines::_getVerticalLines(), AutoPanoSiftMultiRow::automatch(), AutoPanoSiftMultiRowStack::automatch(), CheckAndAddPoint(), createCtrlPoints(), FineTuneInterestPoints(), LensCalFrame::GetPanorama(), main(), PanoDetector::match(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), iCPApp::OnRun(), PanoCommand::wxAddCtrlPointGridCmd::processPanorama(), PanoCommand::AddCtrlPointCmd::processPanorama(), and PanoCommand::AddCtrlPointsCmd::processPanorama().
|
virtual |
the the number for a specific image
add an Image to the panorama
Implements HuginBase::PanoramaData.
Definition at line 319 of file Panorama.cpp.
References imageChanged(), HuginBase::PanoramaMemento::images, HuginBase::PanoramaMemento::optvec, and state.
Referenced by HuginLines::_getVerticalLines(), GenerateSequenceDialog::DoGeneratePanorama(), CPEditorPanel::EstimatePoint(), PossiblePano::GeneratePanorama(), PossiblePano::GetNewProjectFilename(), LensCalFrame::GetPanorama(), main(), main2(), processImg(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::AddImagesCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
virtual |
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 1546 of file Panorama.cpp.
References observers.
Referenced by GLPreviewFrame::GLPreviewFrame(), OptimizePhotometricPanel::Init(), ImagesPanel::Init(), OptimizePanel::Init(), PanoPanel::Init(), PreviewPanel::Init(), MaskEditorPanel::Init(), CPListCtrl::Init(), ImagesTreeCtrl::Init(), ImagesList::Init(), CPEditorPanel::Init(), MainFrame::MainFrame(), OverviewOutlinesTool::OverviewOutlinesTool(), PreviewFrame::PreviewFrame(), PreviewLayoutLinesTool::PreviewLayoutLinesTool(), and ViewState::ViewState().
|
protected |
adjust the links of the linked variables, must be called when a lens has been changed.
|
private |
center the crop for given image and all linked images
Definition at line 1184 of file Panorama.cpp.
References centerCropImage(), getNrOfImages(), imageChanged(), HuginBase::PanoramaMemento::images, HuginBase::BaseSrcPanoImage::NO_CROP, and state.
Referenced by changeFinished().
|
private |
return the centered crop for given image
Definition at line 1167 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, HuginBase::BaseSrcPanoImage::NO_CROP, hugin_utils::roundi(), and state.
Referenced by centerCrop().
|
virtual |
change a control Point.
Implements HuginBase::PanoramaData.
Definition at line 434 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, imageChanged(), HuginBase::PanoramaMemento::needsOptimization, state, and updateLineCtrlPoints().
Referenced by PanoCommand::UpdateCPsCmd::processPanorama(), and PanoCommand::ChangeCtrlPointCmd::processPanorama().
void HuginBase::Panorama::changeFinished | ( | bool | keepDirty | ) |
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.
keepDirty | do not set dirty flag. useful for changing the dirty flag itself |
Definition at line 831 of file Panorama.cpp.
References centerCrop(), changedImages, DEBUG_DEBUG, DEBUG_TRACE, dirty, HuginBase::PanoramaMemento::images, m_forceImagesUpdate, observers, AppBase::DocumentData::setDirty(), state, updateCropMode(), updateMasks(), and updateOptimizeVector().
Referenced by PanoCommand::PanoCommand::execute(), MainFrame::OnIgnoreLineCp(), PanoCommand::PanoCommand::redo(), SetCropToImages(), MainFrame::SetOptimizeIgnoreLineCp(), MainFrame::SetOptimizeOnlyActiveImages(), and PanoCommand::PanoCommand::undo().
|
inlinevirtual |
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 564 of file Panorama.h.
|
virtual |
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 1255 of file Panorama.cpp.
References HuginBase::PanoramaOptions::CYLINDRICAL, HuginBase::PanoramaOptions::EQUIRECTANGULAR, getCtrlPoints(), getOptions(), HuginBase::PanoramaOptions::getProjection(), HuginBase::PanoramaOptions::RECTILINEAR, HuginBase::ControlPoint::X, and HuginBase::ControlPoint::Y.
Referenced by main(), and updateOptimizeVector().
|
inlinevirtual |
clear dirty flag.
call after save
Reimplemented from AppBase::DocumentData.
Definition at line 645 of file Panorama.h.
References AppBase::DocumentData::clearDirty().
Referenced by PanoCommand::PanoCommand::execute(), and MainFrame::OnSaveProject().
|
virtual |
remove all panorama observers.
Implements HuginBase::ManagedPanoramaData.
Definition at line 1558 of file Panorama.cpp.
References observers.
Panorama HuginBase::Panorama::duplicate | ( | ) | const |
duplicate the panorama
returns a copy of the pano state, except for the listeners.
Definition at line 1653 of file Panorama.cpp.
References observers.
Referenced by GenerateSequenceDialog::DoGeneratePanorama(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), PanoDetector::loadProject(), main(), PanoDetector::matchPrealigned(), GLPreviewFrame::OnCreateCP(), ImageVariablesExpressionDialog::OnTest(), PanoCommand::AddCtrlPointsCmd::processPanorama(), GLPreviewFrame::ResetTranslationPlaneParameters(), SetCanvas(), SetCrop(), SetFOV(), and PanoCommand::UpdateSingleCtrlPointError().
|
virtual |
get active images
Implements HuginBase::PanoramaData.
Definition at line 1585 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, and state.
Referenced by PreviewColorPickerTool::CalcCorrection(), PanoPanel::CheckHasImages(), PanoPanel::DoCalcFOV(), PanoPanel::DoCalcOptimalROI(), PanoPanel::DoCalcOptimalWidth(), PreviewEditCPTool::FindCPInRect(), HuginQueue::detail::GenerateFinalArgfile(), GenerateThumbnail(), ToolHelper::GetImagesUnderPos(), HuginQueue::GetStitchingCommandQueue(), HuginQueue::GetStitchingCommandQueueUserOutput(), main(), main2(), ImagesTreeCtrl::OnActivateImage(), GLPreviewFrame::OnAutocrop(), GLPreviewFrame::OnAutocropOutside(), PreviewFrame::OnCenterHorizontally(), GLPreviewFrame::OnCenterHorizontally(), ImageToogleButtonEventHandler::OnChange(), PreviewFrame::OnChangeDisplayedImgs(), GLPreviewFrame::OnCreateCP(), ImagesTreeCtrl::OnDeactivateImage(), PreviewFrame::OnDefaultExposure(), GLPreviewFrame::OnDefaultExposure(), ImageToogleButtonEventHandler::OnEnter(), ImageGroupButtonEventHandler::OnEnter(), PreviewFrame::OnFitPano(), GLPreviewFrame::OnFitPano(), ImageToogleButtonEventHandler::OnLeave(), ImageGroupButtonEventHandler::OnLeave(), OptimizePhotometricPanel::OnOptimizeButton(), OptimizePanel::OnOptimizeButton(), GLPreviewFrame::OnShowAll(), GLPreviewFrame::OnStackAutocrop(), PreviewFrame::panoramaChanged(), GLPreviewFrame::panoramaChanged(), PreviewFrame::panoramaImagesChanged(), ImagesTreeCtrl::panoramaImagesChanged(), GLPreviewFrame::panoramaImagesChanged(), BrowsePTOFilesDialog::ParsePTOFile(), SetCrop(), PanoPanel::StackCheck(), RunStitchPanel::StitchProject(), PanoPanel::UpdateDisplay(), CPListCtrl::UpdateInternalCPList(), PreviewLayoutLinesTool::updateLineInformation(), and PreviewPanel::updatePreview().
|
inlinevirtual |
get a control point, counting starts with 0
Implements HuginBase::PanoramaData.
Definition at line 312 of file Panorama.h.
Referenced by CPImagesComboBox::CalcCPDistance(), CPListCtrl::OnGetItemText(), PanoCommand::AddCtrlPointsCmd::processPanorama(), CPEditorPanel::ShowControlPoint(), PreviewLayoutLinesTool::updateLineInformation(), and PanoCommand::UpdateSingleCtrlPointError().
|
inlinevirtual |
get all control point of this Panorama
Implements HuginBase::PanoramaData.
Definition at line 319 of file Panorama.h.
Referenced by HuginLines::_getVerticalLines(), PreviewControlPointTool::AfterDrawImagesEvent(), alignStereoWindow(), AutoPanoSift::automatch(), AutoPanoSiftPreAlign::automatch(), checkRefOptStatus(), PreviewEditCPTool::FindCPInRect(), HuginQueue::GetAssistantCommandQueue(), HuginQueue::GetAssistantCommandQueueUserDefined(), HuginBase::getCPinMasks(), HuginBase::getCPoutsideLimit(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), getUnlinkedSubset(), PanoDetector::loadProject(), main(), main2(), PanoDetector::matchMultiRow(), MainFrame::OnFineTuneAll(), MainFrame::OnRemoveCPinMasks(), GLPreviewFrame::panoramaChanged(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), AutoCtrlPointCreator::readUpdatedControlPoints(), PanoDetector::run(), OptimizePanel::runOptimizer(), CPListCtrl::SelectDistanceThreshold(), SetGeometricControlPointsOverlap(), SetGeometricControlPointsUnconnected(), CPListCtrl::SortInternalList(), CPEditorPanel::UpdateDisplay(), and CPListCtrl::UpdateInternalCPList().
|
virtual |
return all control points for a given image.
Implements HuginBase::PanoramaData.
Definition at line 83 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, and state.
Referenced by main2(), and ImagesTreeCtrl::UpdateImageText().
CPointVector HuginBase::Panorama::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
Definition at line 96 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, HuginBase::ControlPoint::mirror(), and state.
Referenced by PanoOperation::CelesteOperation::GetInternalCommand(), and main().
|
inlineprotected |
Definition at line 668 of file Panorama.h.
const std::string HuginBase::Panorama::getICCProfileDesc | ( | ) | const |
return description of icc profile used for pano
Definition at line 1598 of file Panorama.cpp.
References HuginBase::PanoramaMemento::iccProfileDesc, and state.
Referenced by PanoCommand::wxAddImagesCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
inlinevirtual |
get a panorama image, counting starts with 0
Implements HuginBase::PanoramaData.
Definition at line 211 of file Panorama.h.
Referenced by HuginLines::_getVerticalLines(), AddGeometricControlPoint(), PreviewEditCPTool::AddLineCP(), PreviewControlPointTool::AfterDrawImagesEvent(), alignStereoWindow(), PanoDetector::AnalyzeImage(), PanoCommand::applyColorBalanceValue(), ApplyLensDBParameters(), ImageVariableDialog::ApplyNewVariables(), ApplyTemplate(), AutoPanoSift::automatch(), AutoPanoKolor::automatch(), AutoPanoSiftStack::automatch(), AutoPanoSiftMultiRowStack::automatch(), PanoDetector::buildMultiRowImageSets(), PreviewColorPickerTool::CalcCorrection(), PreviewColorPickerTool::CalcCorrectionForImage(), Parser::CalculateConstant(), CheckAndAddPoint(), CheckCondition(), CheckLensStacks(), CreateMissingImages(), MaskEditorPanel::DisplayCrop(), PanoOutputDialog::EnableOutputOptions(), CPEditorPanel::estimateAndAddOtherPoint(), CPEditorPanel::EstimatePoint(), FillPlaceholders(), PreviewEditCPTool::FindCPInRect(), ViewState::FinishedDraw(), PossiblePano::GeneratePanorama(), GenerateThumbnail(), HuginQueue::GetAssistantCommandQueueUserDefined(), HuginBase::getCPinMasks(), HuginBase::getCPoutsideLimit_pair(), getDefaultOutputName(), getDefaultProjectName(), PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), PanoOperation::RemoveImageOperation::GetInternalCommand(), PanoOperation::ChangeLensOperation::GetInternalCommand(), PanoOperation::LoadLensOperation::GetInternalCommand(), PanoOperation::SaveLensOperation::GetInternalCommand(), PanoOperation::ResetOperation::GetInternalCommand(), PanoOperation::CelesteOperation::GetInternalCommand(), PanoOperation::ChangeStackOperation::GetInternalCommand(), GetNewProjectFilename(), getRefImages(), MaskEditorPanel::GetRot(), HuginQueue::GetStitchingCommandQueue(), HuginQueue::GetStitchingCommandQueueUserOutput(), getUnlinkedSubset(), ImageVariableDialog::InitValues(), GLPreviewFrame::LoadImages(), loadImgsAndExtractPoints(), main(), main2(), PanoDetector::matchPrealigned(), CPEditorPanel::NewPointChange(), ImagesTreeCtrl::OnBeginEdit(), CPEditorPanel::OnCelesteButton(), ImagesTreeCtrl::OnChar(), ImagesTreeCtrl::OnContextMenu(), GLPreviewFrame::OnCreateCP(), ImagesTreeCtrl::OnEndEdit(), MainFrame::OnFineTuneAll(), ImagesPanel::OnFocalLengthChanged(), ImagesPanel::OnLensTypeChanged(), MainFrame::OnLoadingFailed(), MaskEditorPanel::OnMaskCopy(), MaskEditorPanel::OnMaskLoad(), MaskEditorPanel::OnMaskPaste(), MaskEditorPanel::OnMaskSave(), LensCalFrame::OnSaveLens(), ImagesPanel::OnSelectionChanged(), ImageVariableDialog::OnShowDistortionGraph(), HuginBase::SortVectorByExposure::operator()(), SortVectorByExposure::operator()(), SortImageVectorEV::operator()(), LensCalFrame::Optimize(), ViewState::panoramaChanged(), GLPreviewFrame::panoramaChanged(), PreviewFrame::panoramaImagesChanged(), MaskEditorPanel::panoramaImagesChanged(), CPEditorPanel::panoramaImagesChanged(), GLPreviewFrame::panoramaImagesChanged(), CPEditorPanel::PointFineTune(), HuginQueue::detail::PrintDetailInfo(), PanoDetector::printFilenames(), PrintImageInfo(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::wxAddCtrlPointGridCmd::processPanorama(), PanoCommand::DistributeImagesCmd::processPanorama(), PTOCopyMove(), PanoDetector::RansacMatchesInPair(), ReadPanoramaOptionsFromIni(), GenerateSequenceDialog::ReadPTOFile(), AutoCtrlPointCreator::readUpdatedControlPoints(), GLPreviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), GLPlaneOverviewRenderer::Redraw(), OptimizePhotometricPanel::runOptimizer(), HuginBase::LensDB::SaveLensDataFromPano(), SaveLensParameters(), ImagesTreeCtrl::SelectAllParameters(), SetCropToImages(), SetGeometricControlPointsOverlap(), SetGeometricControlPointsUnconnected(), MaskEditorPanel::setImage(), CPEditorPanel::setLeftImage(), CPEditorPanel::setRightImage(), transferMask(), ImagesTreeCtrl::UpdateGroupText(), ImagesTreeCtrl::UpdateImageText(), ImagesListMask::UpdateItem(), ImagesTreeCtrl::UpdateItemFont(), PreviewLayoutLinesTool::updateLineInformation(), ImagesPanel::UpdatePreviewImage(), Parser::UpdateSingleVar(), CPEditorPanel::UpdateTransforms(), and PanoDetector::writeKeyfile().
|
virtual |
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 128 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, and state.
Referenced by PanoOperation::ResetOperation::GetInternalCommand(), CPEditorPanel::panoramaImagesChanged(), SaveLensParameters(), CPEditorPanel::setLeftImage(), and CPEditorPanel::setRightImage().
const double HuginBase::Panorama::getMaxExposureDifference | ( | ) | const |
returns the maximum exposure value difference of all images in the project
Definition at line 2120 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, celeste::max(), celeste::min(), and state.
Referenced by hasPossibleStacks(), and PanoCommand::wxAddImagesCmd::processPanorama().
|
inline |
get the internal state
Definition at line 602 of file Panorama.h.
Referenced by getNewMemento(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
inlinevirtual |
Implements HuginBase::PanoramaData.
Definition at line 189 of file Panorama.h.
|
virtual |
get the internal state
Implements HuginBase::ManagedPanoramaData.
Definition at line 1526 of file Panorama.cpp.
References getMemento().
Referenced by PanoCommand::PanoCommand::saveMemento(), and PanoCommand::PanoCommand::saveRedoMemento().
|
inlinevirtual |
Implements HuginBase::PanoramaData.
Definition at line 183 of file Panorama.h.
Referenced by HuginQueue::detail::GetQuotedFilenamesStringForVerdandi(), getUnlinkedSubset(), and PanoDetector::RansacMatchesInPairCam().
|
virtual |
get the number of a control point
get the next unused line number for t3, ... control point creation
Implements HuginBase::PanoramaData.
Definition at line 2010 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, celeste::max(), and state.
Referenced by CPEditorPanel::panoramaChanged().
const int HuginBase::Panorama::getNrOfBands | ( | ) | const |
return number of bands of first image (without alpha channel) so it can be 1 for grayscale or 3 for rgb images
Definition at line 1608 of file Panorama.cpp.
References HuginBase::PanoramaMemento::bands, and state.
Referenced by PanoCommand::wxAddImagesCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
inlinevirtual |
number of control points
Implements HuginBase::PanoramaData.
Definition at line 306 of file Panorama.h.
Referenced by AutoPanoSift::automatch(), CPImagesComboBox::CalcCPDistance(), CPEditorPanel::CreateNewPoint(), HuginQueue::GetAssistantCommandQueue(), HuginQueue::GetAssistantCommandQueueUserDefined(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::RemoveControlPointsOperation::GetInternalCommand(), PanoOperation::RemoveControlPointsOperation::IsEnabled(), PanoOperation::CleanControlPointsOperation::IsEnabled(), GLPreviewFrame::LoadImages(), main(), main2(), CPEditorPanel::OnCPEvent(), CPEditorPanel::panoramaChanged(), GLPreviewFrame::panoramaChanged(), CPEditorPanel::panoramaImagesChanged(), Project::ReadOptions(), OptimizePanel::runOptimizer(), HuginBase::LensDB::SaveLensDataFromPano(), and PreviewLayoutLinesTool::updateLineInformation().
|
inlinevirtual |
number of images.
Implements HuginBase::PanoramaData.
Definition at line 205 of file Panorama.h.
Referenced by alignStereoWindow(), PanoCommand::applyColorBalanceValue(), ApplyTemplate(), AutoPanoSift::automatch(), AutoPanoSiftMultiRow::automatch(), AutoPanoSiftMultiRowStack::automatch(), AutoPanoSiftPreAlign::automatch(), centerCrop(), CheckCondition(), CheckLensStacks(), CheckProjectFile(), MeshManager::CheckUpdate(), TextureManager::CheckUpdate(), GLPreviewFrame::CleanButtonColours(), TextureManager::CleanTextures(), ImagesPanel::CPGenerate(), CreateMissingImages(), GenerateSequenceDialog::DoGeneratePanorama(), PanoPanel::DoSendToBatch(), PanoPanel::DoStitch(), PanoPanel::DoUserDefinedStitch(), EnableImages(), PanoOutputDialog::EnableOutputOptions(), FillPlaceholders(), ViewState::FinishedDraw(), GenerateSequenceDialog::GenerateFileList(), HuginQueue::detail::GenerateFinalArgfile(), PossiblePano::GeneratePanorama(), GenerateThumbnail(), HuginQueue::GetAssistantCommandQueue(), HuginQueue::GetAssistantCommandQueueUserDefined(), HuginBase::getCPoutsideLimit_pair(), getDefaultOutputName(), getDefaultProjectName(), ToolHelper::GetImagesUnderPos(), PanoOperation::AddImagesSeriesOperation::GetInternalCommand(), PanoOperation::ResetOperation::GetInternalCommand(), PanoOperation::AssignStacksOperation::GetInternalCommand(), GetNewProjectFilename(), LensCalFrame::GetPanorama(), getRefImages(), HuginBase::getSortedStacks(), getUnlinkedSubset(), GLPreviewFrame::HasNonZeroTranslationPlaneParameters(), PanoOperation::ImageVariablesExpressionOperation::IsEnabled(), PanoOperation::NewLensOperation::IsEnabled(), PanoOperation::ChangeLensOperation::IsEnabled(), PanoOperation::RemoveControlPointsOperation::IsEnabled(), PanoOperation::ResetOperation::IsEnabled(), PanoOperation::NewStackOperation::IsEnabled(), PanoOperation::ChangeStackOperation::IsEnabled(), PanoOperation::AssignStacksOperation::IsEnabled(), GenerateSequenceDialog::IsValidPanorama(), loadImgsAndExtractPoints(), PanoDetector::loadProject(), MainFrame::LoadProjectFile(), main(), main2(), PreviewControlPointTool::MakeTransforms(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), DragTool::MouseButtonEvent(), moveImage(), ImagesTreeCtrl::OnBeginDrag(), PreviewFrame::OnChangeDisplayedImgs(), ImagesPanel::OnCropFactorChanged(), MainFrame::OnFineTuneAll(), ImagesPanel::OnFocalLengthChanged(), GenerateSequenceDialog::OnGeneratePreview(), ImagesTreeCtrl::OnLeftUp(), MainFrame::OnLoadingFailed(), CPEditorPanel::OnNextImg(), PreviewFrame::OnNumTransform(), GLPreviewFrame::OnNumTransform(), RawImportDialog::OnOk(), OptimizePhotometricPanel::OnOptimizeButton(), OptimizePanel::OnOptimizeButton(), CPEditorPanel::OnPrevImg(), iCPApp::OnRun(), MainFrame::OnSavePTStitcherAs(), PreviewFrame::OnShowAll(), GLPreviewFrame::OnShowAll(), PreviewFrame::OnShowNone(), GLPreviewFrame::OnShowNone(), PreviewFrame::OnStraighten(), GLPreviewFrame::OnStraighten(), GLPreviewFrame::OnToolModeChanging(), PreviewFrame::panoramaChanged(), ImagesTreeCtrl::panoramaChanged(), ViewState::panoramaChanged(), GLPreviewFrame::panoramaChanged(), PreviewFrame::panoramaImagesChanged(), OptimizePhotometricPanel::panoramaImagesChanged(), OptimizePanel::panoramaImagesChanged(), ImagesPanel::panoramaImagesChanged(), ImagesList::panoramaImagesChanged(), ImagesTreeCtrl::panoramaImagesChanged(), MaskEditorPanel::panoramaImagesChanged(), CPEditorPanel::panoramaImagesChanged(), MainFrame::panoramaImagesChanged(), GLPreviewFrame::panoramaImagesChanged(), BrowsePTOFilesDialog::ParsePTOFile(), PanoDetector::printFilenames(), PrintImageInfo(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::SetActiveImagesCmd::processPanorama(), PanoCommand::UpdateCropFactorCmd::processPanorama(), PanoCommand::DistributeImagesCmd::processPanorama(), PTOCopyMove(), Project::ReadOptions(), ReadPanoramaOptionsFromIni(), GenerateSequenceDialog::ReadPTOFile(), AutoCtrlPointCreator::readUpdatedControlPoints(), GLPreviewRenderer::Redraw(), GLPanosphereOverviewRenderer::Redraw(), GLPlaneOverviewRenderer::Redraw(), VisualizationState::RequireRecalculateMesh(), GLPreviewFrame::ResetTranslationPlaneParameters(), PanoDetector::run(), MainFrame::RunAssistant(), OptimizePhotometricPanel::runOptimizer(), HuginBase::LensDB::SaveLensDataFromPano(), ImagesTreeCtrl::SelectAllParameters(), SetCrop(), SetGeometricControlPointsOverlap(), SetGeometricControlPointsUnconnected(), ImagesTreeCtrl::SetGroupMode(), ViewState::SetOptions(), VisualizationState::SetScale(), MeshManager::MeshInfo::Update(), GenerateSequenceDialog::UpdateCounters(), UpdateCropFactor(), UpdateFocalLength(), PreviewLayoutLinesTool::updateImageCentres(), PreviewLayoutLinesTool::updateLineInformation(), updateMasks(), updateOptimizeVector(), ImagesPanel::UpdatePreviewImage(), updateWhiteBalance(), ViewState::ViewState(), VisualizationState::VisualizationState(), work_on_triplets(), and WritePTOFile().
|
inlinevirtual |
returns optimizer master switch
Implements HuginBase::PanoramaData.
Definition at line 461 of file Panorama.h.
Referenced by OptimizePanel::OnOptimizeButton(), ImagesPanel::OnOptimizerSwitchChanged(), OptimizePanel::panoramaChanged(), ImagesPanel::panoramaChanged(), MainFrame::panoramaChanged(), OptimizePanel::runOptimizer(), and MainFrame::SetGuiLevel().
|
inlinevirtual |
return the optimize settings stored inside panorama
Implements HuginBase::PanoramaData.
Definition at line 454 of file Panorama.h.
Referenced by AutoCtrlPointCreator::Cleanup(), hasphotometricParams(), main(), main2(), ImagesTreeCtrl::OnLeftUp(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), ImagesTreeCtrl::SelectAllParameters(), MainFrame::SetGuiLevel(), ImagesTreeCtrl::UpdateOptimizerVariables(), and WritePTOFile().
|
inlinevirtual |
returns the options for this panorama
Implements HuginBase::PanoramaData.
Definition at line 481 of file Panorama.h.
Referenced by AddGeometricControlPoint(), PreviewEditCPTool::AddLineCP(), PreviewDifferenceTool::AfterDrawImagesEvent(), alignStereoWindow(), PanoCommand::applyColorBalanceValue(), autoCrop(), AutoPanoSiftMultiRow::automatch(), TextureManager::Begin(), PanoPanel::BlenderChanged(), PreviewColorPickerTool::CalcCorrection(), PreviewColorPickerTool::CalcCorrectionForImage(), PanoPanel::CheckFreeSpace(), PanoPanel::CheckGoodSize(), checkRefOptStatus(), AutoCtrlPointCreator::Cleanup(), PanoPanel::DoCalcFOV(), PanoPanel::DoCalcOptimalROI(), PanoPanel::DoCalcOptimalWidth(), PreviewPanel::DrawPreview(), CPEditorPanel::EstimatePoint(), PanoPanel::FileFormatChanged(), FillPlaceholders(), PreviewEditCPTool::FindCPInRect(), ViewState::FinishedDraw(), HuginQueue::detail::GenerateFinalArgfile(), PossiblePano::GeneratePanorama(), GenerateThumbnail(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::ChangeAnchorImageOperation::GetInternalCommand(), PanoOperation::ChangeColorAnchorImageOperation::GetInternalCommand(), PanoOperation::ResetOperation::GetInternalCommand(), LensCalFrame::GetPanorama(), getRefImages(), PreviewEditCPTool::GetSelectedROI(), HuginQueue::GetStitchingCommandQueue(), HuginQueue::GetStitchingCommandQueueUserOutput(), getUnlinkedSubset(), CPEditorPanel::getVerticalCPBias(), PanoPanel::HDRFileFormatChanged(), PanoPanel::HeightChanged(), PanoPanel::HFOVChanged(), main(), main2(), PanoDetector::matchMultiRow(), GLPreviewFrame::OnAutocrop(), GLPreviewFrame::OnAutocropOutside(), PanoPanel::OnBlenderOptions(), PreviewFrame::OnChangeFOV(), GLPreviewFrame::OnChangeFOV(), GLPreviewFrame::OnCreateCP(), PreviewFrame::OnDecreaseExposure(), GLPreviewFrame::OnDecreaseExposure(), PreviewFrame::OnDefaultExposure(), GLPreviewFrame::OnDefaultExposure(), PanoPanel::OnEdgeFillChanged(), PanoPanel::OnEdgeFillOptions(), GLPreviewFrame::OnExposureChanged(), PreviewFrame::OnFitPano(), GLPreviewFrame::OnFitPano(), PanoPanel::OnFusionOptions(), PanoPanel::OnHDRMergeOptions(), PanoPanel::OnHDRTIFFCompression(), GLPreviewFrame::OnHFOVChanged(), PreviewFrame::OnIncreaseExposure(), GLPreviewFrame::OnIncreaseExposure(), PanoPanel::OnJPEGQualityText(), ImagesPanel::OnMaxEvDiffChanged(), ImagesPanel::OnMinimumOverlapChanged(), PanoPanel::OnNormalTIFFCompression(), PreviewFrame::OnOutputChoice(), PanoPanel::OnOutputFilesChanged(), PreviewFrame::OnProjectionChoice(), GLPreviewFrame::OnProjectionChoice(), GLPreviewFrame::OnProjParameterChanged(), PreviewFrame::OnProjParameterReset(), GLPreviewFrame::OnProjParameterReset(), GLPreviewFrame::OnRangeCompressionChanged(), PreviewFrame::OnRangeCompressionDecrease(), GLPreviewFrame::OnRangeCompressionDecrease(), PreviewFrame::OnRangeCompressionIncrease(), GLPreviewFrame::OnRangeCompressionIncrease(), PanoPanel::OnRemapperOptions(), GLPreviewFrame::OnResetCrop(), GLPreviewFrame::OnROIChanged(), MainFrame::OnSavePTStitcherAs(), GLPreviewFrame::OnSetCropAspect(), GLPreviewFrame::OnStackAutocrop(), PreviewFrame::OnTextCtrlChanged(), GLPreviewFrame::OnTrackChangeFOV(), GLPreviewFrame::OnVFOVChanged(), PreviewFrame::panoramaChanged(), PreviewPanel::panoramaChanged(), ImagesPanel::panoramaChanged(), PanoPanel::panoramaChanged(), ViewState::panoramaChanged(), GLPreviewFrame::panoramaChanged(), ImagesTreeCtrl::panoramaImagesChanged(), BrowsePTOFilesDialog::ParsePTOFile(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxNewProjectCmd::processPanorama(), PanoCommand::CenterPanoCmd::processPanorama(), PanoCommand::StraightenPanoCmd::processPanorama(), PanoCommand::ResetToMeanExposure::processPanorama(), PanoPanel::ProjectionChanged(), Project::ReadOptions(), ReadPanoramaOptionsFromIni(), PanoPanel::RemapperChanged(), PanoPanel::ROIChanged(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), ImagesTreeCtrl::SelectAllParameters(), GLPreviewFrame::ShowProjectionWarnings(), PanoPanel::StackCheck(), RunStitchPanel::StitchProject(), transferMask(), ImagesTreeCtrl::UpdateImageText(), PreviewPanel::updatePreview(), CPEditorPanel::UpdateTransforms(), PanoPanel::VFOVChanged(), ViewState::ViewState(), PanoPanel::WidthChanged(), work_on_triplets(), and WritePTOFile().
|
inlinevirtual |
return the photometric optimizer master switch
Implements HuginBase::PanoramaData.
Definition at line 467 of file Panorama.h.
Referenced by OptimizePhotometricPanel::OnOptimizeButton(), ImagesPanel::OnPhotometricOptimizerSwitchChanged(), OptimizePhotometricPanel::panoramaChanged(), ImagesPanel::panoramaChanged(), MainFrame::panoramaChanged(), OptimizePhotometricPanel::runOptimizer(), and MainFrame::SetGuiLevel().
|
virtual |
returns set of reference image and images linked with reference images
Implements HuginBase::PanoramaData.
Definition at line 1235 of file Panorama.cpp.
References getImage(), getNrOfImages(), getOptions(), and HuginBase::PanoramaOptions::optimizeReferenceImage.
Referenced by main(), and updateOptimizeVector().
|
virtual |
get a description of a source image
Notice the SrcPanoImage is a copy. This removes all references to the other images, which means you should use getImage instead if you would like to find out about the variable links.
Implements HuginBase::PanoramaData.
Definition at line 1620 of file Panorama.cpp.
References DEBUG_ASSERT, HuginBase::PanoramaMemento::images, and state.
Referenced by HuginLines::_getVerticalLines(), ImageVariableDialog::ApplyNewVariables(), ApplyTemplate(), AutoPanoSift::automatch(), AutoPanoKolor::automatch(), CheckProjectFile(), CPEditorPanel::EstimatePoint(), ViewState::FinishedDraw(), GenerateThumbnail(), PanoOperation::ResetOperation::GetInternalCommand(), LensCalFrame::GetPanorama(), GLPreviewFrame::HasNonZeroTranslationPlaneParameters(), PanoDetector::loadProject(), main(), main2(), DragTool::MouseButtonEvent(), GLPreviewFrame::OnCreateCP(), CPEditorPanel::OnTextPointChange(), ViewState::panoramaChanged(), BrowsePTOFilesDialog::ParsePTOFile(), print_result(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoDetector::RemapBackKeypoints(), GLPreviewFrame::ResetTranslationPlaneParameters(), resetValues(), SetCropToImages(), MaskEditorPanel::UpdateCrop(), PreviewPanel::updatePreview(), CPEditorPanel::UpdateTransforms(), ViewState::ViewState(), and work_on_triplets().
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
Referenced by AutoPanoSift::automatch(), AutoPanoSiftMultiRow::automatch(), AutoPanoSiftMultiRowStack::automatch(), HuginBase::getCPoutsideLimit_pair(), main(), PanoDetector::matchMultiRow(), GLPreviewFrame::OnCreateCP(), PanoCommand::AddCtrlPointsCmd::processPanorama(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), and PanoCommand::UpdateSingleCtrlPointError().
|
virtual |
get a panorama, which does not contain images linked with positions, the cps are moved to the first image of each linked stacked
imageGroups | contains a mapping of the initial images to the new images |
Implements HuginBase::PanoramaData.
Definition at line 1790 of file Panorama.cpp.
References HuginBase::FindStackNumberForImage(), getCtrlPoints(), getImage(), getNewSubset(), getNrOfImages(), HuginBase::PanoramaData::getOptions(), getOptions(), HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, HuginBase::PanoramaOptions::optimizeReferenceImage, HuginBase::PanoramaData::setCtrlPoints(), HuginBase::PanoramaData::setOptions(), and HuginBase::ControlPoint::X_Y.
|
virtual |
get variables of this panorama
Implements HuginBase::PanoramaData.
Definition at line 118 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, and state.
Referenced by OptimizePanel::AskApplyResult(), ImageVariableDialog::InitValues(), main(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), PanoCommand::DistributeImagesCmd::processPanorama(), GLPreviewFrame::ResetTranslationPlaneParameters(), OptimizePhotometricPanel::runOptimizer(), and OptimizePanel::runOptimizer().
const bool HuginBase::Panorama::hasPendingChanges | ( | ) | const |
return if the panorama class has pending changes normally all controls listen to panoramaChanges notification and react only there, but the fast preview window also reacts to changes in the Redraw procedure to handle the tools like drag or crop, use this as workaround (it does not include all changes)
Definition at line 1563 of file Panorama.cpp.
References changedImages.
Referenced by GLViewer::Redraw().
const bool HuginBase::Panorama::hasPossibleStacks | ( | ) | const |
return true, if the metadata indicates that the projects is a bracketet project
Definition at line 2137 of file Panorama.cpp.
References fill_set(), HuginBase::getExposureLayers(), getMaxExposureDifference(), HuginBase::PanoramaMemento::images, and state.
Referenced by PossiblePano::GeneratePanorama(), main(), and PanoCommand::wxAddImagesCmd::processPanorama().
|
virtual |
mark image for change notification.
Does not send the notification, this is left to changedFinished()
Implements HuginBase::ManagedPanoramaData.
Definition at line 1568 of file Panorama.cpp.
References changedImages.
Referenced by activateImage(), addCtrlPoint(), addImage(), centerCrop(), changeControlPoint(), moveImage(), removeCtrlPoint(), removeDuplicateCtrlPoints(), removeImage(), setCtrlPoints(), setImageFilename(), setMemento(), setOptions(), swapImages(), UpdateCropFactor(), updateCtrlPointErrors(), UpdateFocalLength(), updateLineCtrlPoints(), updateMasksForImage(), and updateWhiteBalance().
|
inlinevirtual |
true if there are unsaved changes
Reimplemented from AppBase::DocumentData.
Definition at line 636 of file Panorama.h.
References DEBUG_WARN, and AppBase::DocumentData::isDirty().
Referenced by MainFrame::CloseProject(), and PanoPanel::DoSendToBatch().
void HuginBase::Panorama::linkPossibleStacks | ( | bool | linkPosition | ) |
create automatically stacks as indicated by metadata
Definition at line 2181 of file Panorama.cpp.
References fill_set(), HuginBase::getExposureLayers(), HuginBase::PanoramaMemento::images, set_contains(), and state.
Referenced by PossiblePano::GeneratePanorama(), main(), and PanoCommand::wxAddImagesCmd::processPanorama().
|
inlinevirtual |
Implements HuginBase::ManagedPanoramaData.
Definition at line 618 of file Panorama.h.
Referenced by PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PanoCommand::UpdateVariablesCPSetCmd::processPanorama().
void HuginBase::Panorama::mergePanorama | ( | const Panorama & | newPano | ) |
merges the panorama with the given pano
Referenced by main(), and PanoCommand::MergePanoCmd::processPanorama().
|
virtual |
moves images.
moves the image from pos1 to pos2
Implements HuginBase::PanoramaData.
Definition at line 1424 of file Panorama.cpp.
References HuginBase::PanoramaOptions::colorReferenceImage, HuginBase::PanoramaMemento::ctrlPoints, getNrOfImages(), imageChanged(), HuginBase::PanoramaMemento::images, HuginBase::PanoramaOptions::optimizeReferenceImage, HuginBase::PanoramaMemento::options, HuginBase::PanoramaMemento::optvec, and state.
Referenced by PanoCommand::MoveImageCmd::processPanorama().
|
inlinevirtual |
true if control points or lens variables have been changed after the last optimisation
Implements HuginBase::ManagedPanoramaData.
Definition at line 614 of file Panorama.h.
Referenced by GLPreviewFrame::panoramaChanged().
|
virtual |
create an optimizer script
Implements HuginBase::PanoramaData.
Referenced by AutoCtrlPointCreator::Cleanup(), main2(), OptimizePanel::runOptimizer(), and WritePTOFile().
|
virtual |
create the stitcher script
Implements HuginBase::PanoramaData.
Definition at line 778 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, m_ptoptimizerVarNames, HuginBase::BaseSrcPanoImage::NO_CROP, HuginBase::PanoramaOptions::printScriptLine(), set_contains(), and state.
Referenced by MainFrame::OnSavePTStitcherAs().
bool HuginBase::Panorama::ReadPTOFile | ( | const std::string & | filename, |
const std::string & | prefix = "" |
||
) |
read pto file from the given filename into Panorama object it does some checks on the file and issues warnings to std::cerr
filename | the filename from which is pto file is read |
prefix | path prefix to use for filepath mangling |
Definition at line 2023 of file Panorama.cpp.
References HuginBase::PanoramaMemento::loadPTScript(), setFilePrefix(), and setMemento().
Referenced by CheckProjectFile(), GenerateThumbnail(), PanoDetector::loadProject(), main(), HuginExecutor::OnRun(), BrowsePTOFilesDialog::ParsePTOFile(), PanoCommand::LoadPTProjectCmd::processPanorama(), processPTO(), and PTOCopyMove().
|
virtual |
remove a control point.
Implements HuginBase::PanoramaData.
Definition at line 391 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, DEBUG_ASSERT, imageChanged(), HuginBase::PanoramaMemento::needsOptimization, state, and updateLineCtrlPoints().
Referenced by main(), PanoCommand::RemoveCtrlPointCmd::processPanorama(), PanoCommand::RemoveCtrlPointsCmd::processPanorama(), and removeDuplicateCtrlPoints().
|
virtual |
removes duplicates control points
Implements HuginBase::PanoramaData.
Definition at line 406 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, HuginBase::ControlPoint::image1Nr, HuginBase::ControlPoint::image2Nr, imageChanged(), removeCtrlPoint(), state, and updateLineCtrlPoints().
|
virtual |
creates an image, from filename, and a Lens, if needed
add an Image to the panorama
also deletes/updates all associated control points and the Lens, if it was only used by this image.
Implements HuginBase::PanoramaData.
Definition at line 329 of file Panorama.cpp.
References HuginBase::PanoramaOptions::colorReferenceImage, HuginBase::PanoramaMemento::ctrlPoints, DEBUG_DEBUG, DEBUG_TRACE, imageChanged(), HuginBase::PanoramaMemento::images, m_forceImagesUpdate, HuginBase::PanoramaOptions::optimizeReferenceImage, HuginBase::PanoramaMemento::options, HuginBase::PanoramaMemento::optvec, and state.
Referenced by PanoCommand::RemoveImageCmd::processPanorama(), and PanoCommand::RemoveImagesCmd::processPanorama().
|
virtual |
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 1551 of file Panorama.cpp.
References observers.
Referenced by CPEditorPanel::~CPEditorPanel(), CPListCtrl::~CPListCtrl(), GLPreviewFrame::~GLPreviewFrame(), ImagesList::~ImagesList(), ImagesPanel::~ImagesPanel(), ImagesTreeCtrl::~ImagesTreeCtrl(), MainFrame::~MainFrame(), MaskEditorPanel::~MaskEditorPanel(), OptimizePanel::~OptimizePanel(), OptimizePhotometricPanel::~OptimizePhotometricPanel(), PanoPanel::~PanoPanel(), PreviewFrame::~PreviewFrame(), PreviewLayoutLinesTool::~PreviewLayoutLinesTool(), PreviewPanel::~PreviewPanel(), and ViewState::~ViewState().
void HuginBase::Panorama::reset | ( | ) |
clear the internal state.
(public use deprecated)
Definition at line 69 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 PanoCommand::NewPanoCmd::processPanorama(), PanoCommand::wxNewProjectCmd::processPanorama(), setMemento(), and ~Panorama().
|
virtual |
set all control points (Ippei: Is this supposed to be 'add' method?)
Implements HuginBase::PanoramaData.
Definition at line 449 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), HuginBase::PanoramaMemento::needsOptimization, state, and updateLineCtrlPoints().
Referenced by alignStereoWindow(), ApplyTemplate(), CPEditorPanel::EstimatePoint(), HuginBase::getCPoutsideLimit(), HuginBase::getCPoutsideLimit_pair(), PanoOperation::CleanControlPointsOperation::GetInternalCommand(), main(), main2(), PanoDetector::matchMultiRow(), GLPreviewFrame::OnCreateCP(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::AddCtrlPointsCmd::processPanorama(), OptimizePanel::runOptimizer(), and PanoCommand::UpdateSingleCtrlPointError().
|
inlineprotectedvirtual |
Reimplemented from AppBase::DocumentData.
Definition at line 652 of file Panorama.h.
References AppBase::DocumentData::setDirty().
|
inline |
sets the path prefix of the images reffered with relative paths
Definition at line 664 of file Panorama.h.
Referenced by ReadPTOFile().
void HuginBase::Panorama::setICCProfileDesc | ( | const std::string & | newDesc | ) |
sets the icc profile description for check of same profile
Definition at line 1603 of file Panorama.cpp.
References HuginBase::PanoramaMemento::iccProfileDesc, and state.
Referenced by PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
inlinevirtual |
set a panorama image, counting starts with 0
Implements HuginBase::PanoramaData.
Definition at line 218 of file Panorama.h.
Referenced by PanoDetector::loadProject().
|
virtual |
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 373 of file Panorama.cpp.
References DEBUG_ASSERT, imageChanged(), HuginBase::PanoramaMemento::images, m_forceImagesUpdate, and state.
Referenced by CreateMissingImages(), main(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PTOCopyMove().
void HuginBase::Panorama::setMemento | ( | const PanoramaMemento & | memento | ) |
set the internal state
Definition at line 1507 of file Panorama.cpp.
References DEBUG_DEBUG, DEBUG_TRACE, imageChanged(), HuginBase::PanoramaMemento::images, reset(), state, and updateMasks().
Referenced by RunStitchPanel::DetectProject(), MainFrame::OnMergeProject(), iCPApp::OnRun(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), Project::ReadOptions(), GenerateSequenceDialog::ReadPTOFile(), ReadPTOFile(), AutoCtrlPointCreator::readUpdatedControlPoints(), setMementoToCopyOf(), and RunStitchPanel::StitchProject().
|
virtual |
set the internal state
Implements HuginBase::ManagedPanoramaData.
Definition at line 1484 of file Panorama.cpp.
References DEBUG_DEBUG, and setMemento().
Referenced by PanoCommand::PanoCommand::execute(), PanoCommand::PanoCommand::redo(), and PanoCommand::PanoCommand::undo().
void HuginBase::Panorama::setNrOfBands | ( | const int | nrBands | ) |
sets the number of bands
Definition at line 1613 of file Panorama.cpp.
References HuginBase::PanoramaMemento::bands, and state.
Referenced by PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), and PanoCommand::wxApplyTemplateCmd::processPanorama().
|
virtual |
set optimizer master switch
Implements HuginBase::PanoramaData.
Definition at line 303 of file Panorama.cpp.
References HuginBase::PanoramaMemento::optSwitch, and state.
Referenced by PossiblePano::GeneratePanorama(), main(), PanoCommand::wxNewProjectCmd::processPanorama(), and PanoCommand::UpdateOptimizerSwitchCmd::processPanorama().
|
virtual |
set optimize setting
Implements HuginBase::PanoramaData.
Definition at line 297 of file Panorama.cpp.
References DEBUG_ASSERT, HuginBase::PanoramaMemento::images, HuginBase::PanoramaMemento::optvec, and state.
Referenced by HuginLines::_getVerticalLines(), CPEditorPanel::EstimatePoint(), HuginBase::getCPoutsideLimit_pair(), LensCalFrame::GetPanorama(), main(), main2(), PanoDetector::matchMultiRow(), optimize_old(), and PanoCommand::UpdateOptimizeVectorCmd::processPanorama().
|
virtual |
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 1531 of file Panorama.cpp.
References HuginBase::PanoramaOptions::colorReferenceImage, imageChanged(), HuginBase::PanoramaOptions::optimizeReferenceImage, HuginBase::PanoramaMemento::options, and state.
Referenced by HuginLines::_getVerticalLines(), autoCrop(), PossiblePano::GeneratePanorama(), HuginBase::getCPoutsideLimit_pair(), LensCalFrame::GetPanorama(), main(), main2(), PanoDetector::matchMultiRow(), processImg(), PanoCommand::wxAddImagesCmd::processPanorama(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxNewProjectCmd::processPanorama(), PanoCommand::CenterPanoCmd::processPanorama(), PanoCommand::StraightenPanoCmd::processPanorama(), PanoCommand::SetPanoOptionsCmd::processPanorama(), PanoCommand::ResetToMeanExposure::processPanorama(), Project::ReadOptions(), OptimizePhotometricPanel::runOptimizer(), OptimizePanel::runOptimizer(), SetCanvas(), SetCrop(), SetFOV(), PanoPanel::StackCheck(), and RunStitchPanel::StitchProject().
|
virtual |
sets the photometric optimizer master switch
Implements HuginBase::PanoramaData.
Definition at line 311 of file Panorama.cpp.
References HuginBase::PanoramaMemento::optPhotoSwitch, and state.
Referenced by PossiblePano::GeneratePanorama(), main(), PanoCommand::wxNewProjectCmd::processPanorama(), and PanoCommand::UpdatePhotometricOptimizerSwitchCmd::processPanorama().
|
virtual |
set input image parameters
This sets the values of the image variables, but does not change the links.
Implements HuginBase::PanoramaData.
Referenced by ApplyTemplate(), CheckProjectFile(), LensCalFrame::GetPanorama(), main(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::UpdateSrcImageCmd::processPanorama(), PanoCommand::UpdateSrcImagesCmd::processPanorama(), ReadPanoramaOptionsFromIni(), GLPreviewFrame::ResetTranslationPlaneParameters(), resetValues(), and SetCropToImages().
|
virtual |
swap images.
swaps the images, image img1
becomes img2
and the other way round
Implements HuginBase::PanoramaData.
Definition at line 1380 of file Panorama.cpp.
References HuginBase::PanoramaOptions::colorReferenceImage, HuginBase::PanoramaMemento::ctrlPoints, DEBUG_ASSERT, DEBUG_TRACE, imageChanged(), HuginBase::PanoramaMemento::images, HuginBase::PanoramaOptions::optimizeReferenceImage, HuginBase::PanoramaMemento::options, and state.
Referenced by PanoCommand::SwapImagesCmd::processPanorama().
|
virtual |
transfers given mask from image imgNr to all targetImgs
Implements HuginBase::PanoramaData.
Definition at line 890 of file Panorama.cpp.
References HuginBase::MaskPolygon::clipPolygon(), HuginBase::PTools::Transform::createInvTransform(), HuginBase::PTools::Transform::createTransform(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, getImage(), HuginBase::MaskPolygon::getMaskPolygon(), getOptions(), HuginBase::MaskPolygon::getTotalWindingNumber(), HuginBase::PanoramaMemento::images, HuginBase::MaskPolygon::isPositive(), HuginBase::MaskPolygon::Mask_negative, HuginBase::maskOffset, HuginBase::MaskPolygon::setImgNr(), HuginBase::MaskPolygon::setInverted(), HuginBase::MaskPolygon::setMaskType(), state, HuginBase::MaskPolygon::subSample(), and HuginBase::MaskPolygon::transformPolygon().
Referenced by updateMasks().
|
virtual |
updates the crop factor, try to keep focal length constant
Definition at line 254 of file Panorama.cpp.
References getNrOfImages(), imageChanged(), HuginBase::PanoramaMemento::images, and state.
Referenced by PanoCommand::UpdateCropFactorCmd::processPanorama().
|
private |
update the crop mode in dependence of crop rect and lens projection
Definition at line 1147 of file Panorama.cpp.
References HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, HuginBase::PanoramaMemento::images, HuginBase::BaseSrcPanoImage::NO_CROP, and state.
Referenced by changeFinished().
|
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
Implements HuginBase::PanoramaData.
Definition at line 160 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), and state.
Referenced by PanoCommand::UpdateVariablesCPCmd::processPanorama(), and PanoCommand::UpdateVariablesCPSetCmd::processPanorama().
|
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.
Implements HuginBase::PanoramaData.
Definition at line 135 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), set_contains(), and state.
|
virtual |
updates the focal length by changing hfov
Definition at line 227 of file Panorama.cpp.
References getNrOfImages(), imageChanged(), HuginBase::PanoramaMemento::images, and state.
Referenced by PanoCommand::UpdateFocalLengthCmd::processPanorama().
|
virtual |
assign new mode line numbers, if required
Implements HuginBase::PanoramaData.
Definition at line 471 of file Panorama.cpp.
References HuginBase::PanoramaMemento::ctrlPoints, imageChanged(), and state.
Referenced by changeControlPoint(), removeCtrlPoint(), removeDuplicateCtrlPoints(), and setCtrlPoints().
|
virtual |
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 988 of file Panorama.cpp.
References HuginBase::CalculateImageOverlap::calculate(), fill_set(), HuginBase::ConstStandardImageVariableGroups::getLenses(), getNrOfImages(), HuginBase::CalculateImageOverlap::getOverlapForImage(), HuginBase::ConstImageVariableGroup::getPartNumber(), HuginBase::PanoramaMemento::images, HuginBase::CalculateImageOverlap::limitToImages(), HuginBase::MaskPolygon::Mask_negative, HuginBase::MaskPolygon::Mask_negative_lens, HuginBase::MaskPolygon::Mask_positive, HuginBase::MaskPolygon::Mask_Stack_negative, HuginBase::MaskPolygon::Mask_Stack_positive, state, and transferMask().
Referenced by changeFinished(), PanoDetector::loadProject(), and setMemento().
|
virtual |
set complete mask list for image with number
Implements HuginBase::PanoramaData.
Definition at line 882 of file Panorama.cpp.
References DEBUG_ASSERT, imageChanged(), HuginBase::PanoramaMemento::images, m_forceImagesUpdate, and state.
Referenced by main(), and PanoCommand::UpdateMaskForImgCmd::processPanorama().
|
virtual |
updates the optimize vector according to master switches
Implements HuginBase::PanoramaData.
Definition at line 1299 of file Panorama.cpp.
References checkRefOptStatus(), HuginBase::PanoramaOptions::colorReferenceImage, getNrOfImages(), getRefImages(), HuginBase::PanoramaMemento::images, HuginBase::OPT_ALL, HuginBase::OPT_BARREL, HuginBase::OPT_EXPOSURE, HuginBase::OPT_PAIR, HuginBase::OPT_POSITION, HuginBase::OPT_RESPONSE, HuginBase::OPT_TRANSLATION, HuginBase::OPT_VIEW, HuginBase::OPT_VIGNETTING, HuginBase::OPT_VIGNETTING_CENTER, HuginBase::OPT_WHITEBALANCE, HuginBase::PanoramaMemento::options, HuginBase::PanoramaMemento::optPhotoSwitch, HuginBase::PanoramaMemento::optSwitch, HuginBase::PanoramaMemento::optvec, HuginBase::BaseSrcPanoImage::RESPONSE_EMOR, set_contains(), state, and HuginBase::UpdateOptVectorSet().
Referenced by changeFinished(), and main().
|
virtual |
update a single variable
It knows lenses etc and updates other images when the variable is linked
Implements HuginBase::PanoramaData.
Referenced by PanoCommand::SetVariableCmd::processPanorama(), Parser::UpdateSingleVar(), and updateVariables().
|
virtual |
Set the variables.
Usually used when the optimizer results should be applied.
Implements HuginBase::PanoramaData.
Definition at line 171 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, and state.
Referenced by ApplyTemplate(), main(), PanoDetector::matchMultiRow(), PanoDetector::matchPrealigned(), PanoCommand::wxLoadPTProjectCmd::processPanorama(), PanoCommand::wxApplyTemplateCmd::processPanorama(), PanoCommand::UpdateVariablesCmd::processPanorama(), PanoCommand::UpdateVariablesCPCmd::processPanorama(), PanoCommand::UpdateVariablesCPSetCmd::processPanorama(), PanoCommand::UpdateImageVariablesCmd::processPanorama(), PanoCommand::UpdateImagesVariablesCmd::processPanorama(), PanoCommand::DistributeImagesCmd::processPanorama(), and updateVariables().
|
virtual |
update variables for some specific images
Implements HuginBase::PanoramaData.
Definition at line 181 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, state, and updateVariables().
|
virtual |
Set variables for a single picture.
Implements HuginBase::PanoramaData.
Definition at line 191 of file Panorama.cpp.
References HuginBase::PanoramaMemento::images, state, and updateVariable().
|
virtual |
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 2090 of file Panorama.cpp.
References getNrOfImages(), imageChanged(), HuginBase::PanoramaMemento::images, set_contains(), and state.
Referenced by PanoCommand::UpdateWhiteBalance::processPanorama().
bool HuginBase::Panorama::WritePTOFile | ( | const std::string & | filename, |
const std::string & | prefix = "" |
||
) |
write data to given pto file
Definition at line 2059 of file Panorama.cpp.
References fill_set(), getNrOfImages(), getOptimizeVector(), getOptions(), and printPanoramaScript().
Referenced by CreateMissingImages(), GenerateSequenceDialog::DoGeneratePanorama(), PanoPanel::DoStitch(), PossiblePano::GeneratePanorama(), main(), main2(), iCPApp::OnRun(), LensCalFrame::OnSaveProject(), MainFrame::OnSaveProject(), PTOCopyMove(), MainFrame::RunAssistant(), RunStitchPanel::StitchProject(), and PanoDetector::writeOutput().
|
private |
the images that have been changed since the last changeFinished()
Definition at line 697 of file Panorama.h.
Referenced by changeFinished(), hasPendingChanges(), and imageChanged().
|
private |
this indicates that there are unsaved changes
Definition at line 692 of file Panorama.h.
Referenced by changeFinished(), and reset().
|
private |
Definition at line 689 of file Panorama.h.
|
private |
Definition at line 699 of file Panorama.h.
Referenced by changeFinished(), removeImage(), setImageFilename(), and updateMasksForImage().
|
private |
Definition at line 701 of file Panorama.h.
Referenced by Panorama(), and printStitcherScript().
|
private |
Definition at line 695 of file Panorama.h.
Referenced by addObserver(), changeFinished(), clearObservers(), duplicate(), and removeObserver().
|
private |
Definition at line 694 of file Panorama.h.
Referenced by activateImage(), addCtrlPoint(), addImage(), centerCrop(), centerCropImage(), changeControlPoint(), changeFinished(), getActiveImages(), getCtrlPointsForImage(), getCtrlPointsVectorForImage(), getICCProfileDesc(), getImageVariables(), getMaxExposureDifference(), getNextCPTypeLineNumber(), getNrOfBands(), getSrcImage(), getVariables(), hasPossibleStacks(), linkPossibleStacks(), moveImage(), printStitcherScript(), removeCtrlPoint(), removeDuplicateCtrlPoints(), removeImage(), reset(), setCtrlPoints(), setICCProfileDesc(), setImageFilename(), setMemento(), setNrOfBands(), setOptimizerSwitch(), setOptimizeVector(), setOptions(), setPhotometricOptimizerSwitch(), swapImages(), transferMask(), UpdateCropFactor(), updateCropMode(), updateCtrlPointErrors(), UpdateFocalLength(), updateLineCtrlPoints(), updateMasks(), updateMasksForImage(), updateOptimizeVector(), updateVariables(), and updateWhiteBalance().