11#ifndef ImageManager_hpp
12#define ImageManager_hpp
14#include <opencv2/core.hpp>
15#include <opencv2/imgcodecs.hpp>
16#include <opencv2/imgproc.hpp>
17#include <opencv2/highgui.hpp>
20#include <initializer_list>
36 void saveImage (std::string imageSavePath,
const cv::Mat & imageToSave);
44 void loadImage (std::string imagePath,
int loadType, cv::Mat & inputImage);
50 void saveImages (
const std::initializer_list <cv::Mat> & images,
const std::initializer_list <std::string> & imagePaths);
56 void showImages (
const std::initializer_list <cv::Mat> & images,
const std::initializer_list <std::string> & windowNames);
61 void releaseImages (
const std::initializer_list <cv::Mat> & images);
ImageManager class is a general-purpose class useful for operations on images such as loading,...
void showImages(const std::initializer_list< cv::Mat > &images, const std::initializer_list< std::string > &windowNames)
Shows multiple images.
void releaseImages(const std::initializer_list< cv::Mat > &images)
Releases multiple images.
void saveImage(std::string imageSavePath, const cv::Mat &imageToSave)
Saves a single image.
void saveImages(const std::initializer_list< cv::Mat > &images, const std::initializer_list< std::string > &imagePaths)
Saves multiple images.
void loadImage(std::string imagePath, int loadType, cv::Mat &inputImage)
Loads a single image.