26#ifndef _COMPUTE_IMAGE_ROI_H
27#define _COMPUTE_IMAGE_ROI_H
30#include <vigra/diff2d.hxx>
60 m_rois = computeROIS(o_panorama, o_panorama.getOptions(), m_images);
64 virtual std::vector<vigra::Rect2D>
getROIS()
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
virtual ~ComputeImageROI()
virtual bool runAlgorithm()
implementation of the algorithm.
virtual std::vector< vigra::Rect2D > getROIS()
ComputeImageROI(PanoramaData &panorama, const UIntSet &images)
std::vector< vigra::Rect2D > m_rois
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::set< unsigned int > UIntSet
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.