27 #ifndef _BASICALGORITHMS_CALCULATEOPTIMALSCALE_H
28 #define _BASICALGORITHMS_CALCULATEOPTIMALSCALE_H
62 o_optimalScale = calcOptimalScale(o_panorama);
73 static double calcOptimalPanoScale(
const SrcPanoImage & src,
80 return o_optimalScale;
virtual double getResultOptimalScale()
virtual bool runAlgorithm()
implementation of the algorithm.
virtual unsigned getResultOptimalWidth()
CalculateOptimalScale(PanoramaData &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 bool runAlgorithm()
implementation of the algorithm.
virtual const PanoramaOptions & getOptions() const =0
returns the options for this panorama
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
virtual ~CalculateOptimalScale()
PanoramaData & o_panorama
virtual ~SetWidthOptimal()
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
All variables of a source image.
SetWidthOptimal(PanoramaData &panorama)
void setWidth(unsigned int w, bool keepView=true)
set panorama width keep the HFOV, if keepView=true