27#ifndef _BASICALGORITHMS_CALCULATEOPTIMALSCALE_H
28#define _BASICALGORITHMS_CALCULATEOPTIMALSCALE_H
62 o_optimalScale = calcOptimalScale(o_panorama);
80 return o_optimalScale;
virtual bool runAlgorithm()
implementation of the algorithm.
virtual ~CalculateOptimalScale()
virtual unsigned getResultOptimalWidth()
virtual double getResultOptimalScale()
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
CalculateOptimalScale(PanoramaData &panorama)
PanoramaData & o_panorama
virtual void setOptions(const PanoramaOptions &opt)=0
set new output settings This is not used directly for optimizing/stiching, but it can be feed into ru...
virtual const PanoramaOptions & getOptions() const =0
returns the options for this panorama
void setWidth(unsigned int w, bool keepView=true)
set panorama width keep the HFOV, if keepView=true
SetWidthOptimal(PanoramaData &panorama)
virtual ~SetWidthOptimal()
virtual bool runAlgorithm()
implementation of the algorithm.
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
All variables of a source image.
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.