48 src.
setSize(vigra::Size2D(360,180));
91 height = fabs(2 * pmiddle.
y);
PanoramaOptions::ProjectionFormat getProjection() const
void setHeight(unsigned int h)
set panorama height
vigra::Rect2D estimateOutputROI(const PanoramaData &pano, const PanoramaOptions &opts, unsigned i, const double maxLength)
static hugin_utils::FDiff2D calcFOV(const PanoramaData &panorama)
unsigned int getHeight() const
get panorama height
double getMaxHFOV() const
get maximum possible hfov with current projection
virtual bool runAlgorithm()
implementation of the algorithm.
static void fitPano(PanoramaData &panorama, double &HFOV, double &height)
virtual UIntSet getActiveImages() const =0
get active images
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...
double getMaxVFOV() const
get maximum possible vfov with current projection
virtual double getResultHeight()
virtual const PanoramaOptions & getOptions() const =0
returns the options for this panorama
void setROI(const vigra::Rect2D &val)
void setHFOV(double h, bool keepView=true)
set the horizontal field of view.
unsigned int getWidth() const
virtual double getResultHorizontalFOV()
virtual bool runAlgorithm()
implementation of the algorithm.
PanoramaData & o_panorama
void setSize(vigra::Size2D val)
Set the image size in pixels.
All variables of a source image.