56 fov.
x = std::min(fov.
x,
panorama.getOptions().getMaxHFOV());
57 fov.
y = std::min(fov.
y,
panorama.getOptions().getMaxVFOV());
72 for (
const auto&
i :
panorama.getActiveImages())
76 height = 2.0 * std::max(
tempOpts.getHeight() / 2.0 -
roi.top(),
roi.bottom() -
tempOpts.getHeight() / 2.0);
82 if (
panorama.getOptions().getMaxVFOV() > 180 && fov.
x > 180)
static hugin_utils::FDiff2D calcFOV(const PanoramaData &panorama)
static void fitPano(PanoramaData &panorama, double &HFOV, double &height)
virtual bool runAlgorithm()
implementation of the algorithm.
virtual double getResultHorizontalFOV()
virtual double getResultHeight()
virtual bool runAlgorithm()
implementation of the algorithm.
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 setHFOV(double h, bool keepView=true)
set the horizontal field of view.
void setHeight(unsigned int h)
set panorama height
All variables of a source image.
void setSize(vigra::Size2D val)
Set the image size in pixels.
mainly consists of wrapper around the pano tools library, to assist in ressource management and to pr...
vigra::Rect2D estimateOutputROI(const PanoramaData &pano, const PanoramaOptions &opts, unsigned i, const double maxLength)
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.