26 #ifndef _COMPUTE_IMAGE_ROI_H
27 #define _COMPUTE_IMAGE_ROI_H
30 #include <vigra/diff2d.hxx>
39 IMPEX vigra::Rect2D
estimateOutputROI(
const PanoramaData & pano,
const PanoramaOptions & opts,
unsigned i,
const double maxLength = 180.0);
60 m_rois = computeROIS(o_panorama, o_panorama.getOptions(), m_images);
64 virtual std::vector<vigra::Rect2D>
getROIS()
71 static std::vector<vigra::Rect2D> computeROIS(
const PanoramaData& panorama,
82 #endif // _COMPUTE_IMAGE_ROI_H
virtual bool runAlgorithm()
implementation of the algorithm.
virtual ~ComputeImageROI()
vigra::Rect2D estimateOutputROI(const PanoramaData &pano, const PanoramaOptions &opts, unsigned i, const double maxLength)
std::set< unsigned int > UIntSet
ComputeImageROI(PanoramaData &panorama, const UIntSet &images)
virtual bool modifiesPanoramaData() const
returns true if the algorithm changes the PanoramaData.
virtual std::vector< vigra::Rect2D > getROIS()
std::vector< vigra::Rect2D > m_rois