#ifndef H_Slicer360ToPerspective #define H_Slicer360ToPerspective #include #include /// @brief This class encapsulates the algorithms to convert a 360-degree image to a perspective image. class Slicer360ToPerspective { public: Slicer360ToPerspective(); /// @brief Computes the coverage of the 360-degree image by the cameras added to the slicer. /// @param width Width of the generated 360-degree image containing the results of the analysis. /// @param raw If true, the output is the number of cameras that see the pixel of the 360 image (8-bit monochrome image). If false, the output is a colored RGB image. /// @return The coverage of the 360-degree image. Image ComputeCoverage(int width, bool raw = false); std::vector cameras;//!< A vector of cameras that are used to convert the 360-degree image to perspective images. private: }; #endif