LayerStacks.cpp File Reference

implementation of functions to handle stacks and layers More...

#include "LayerStacks.h"
#include <panodata/PanoramaData.h>
#include <algorithms/basic/CalculateOverlap.h>
#include <algorithms/nona/ComputeImageROI.h>

Include dependency graph for LayerStacks.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase

Functions

vector< UIntSetgetHDRStacks (const PanoramaData &pano, UIntSet allImgs, PanoramaOptions opts)
 returns vector of set of output stacks
vector< UIntSetgetExposureLayers (const PanoramaData &pano, UIntSet allImgs, PanoramaOptions opts)
 returns vector of set of output exposure layers
UIntSet getImagesinROI (const PanoramaData &pano, const UIntSet activeImages)
 returns set of images which are visible in output ROI


Detailed Description

implementation of functions to handle stacks and layers

Definition in file LayerStacks.cpp.


Function Documentation

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

returns vector of set of output exposure layers

Definition at line 70 of file LayerStacks.cpp.

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

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

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

returns vector of set of output stacks

Definition at line 34 of file LayerStacks.cpp.

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

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

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

returns set of images which are visible in output ROI

Definition at line 107 of file LayerStacks.cpp.

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

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


Generated on Thu Oct 2 01:25:46 2014 for Hugintrunk by  doxygen 1.3.9.1