![]()  | 
  
    AI Watch A1
    
   Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support. 
   | 
 
ImageManager class is a general-purpose class useful for operations on images such as loading, saving, showing and releasing attached memory. More...
#include <ImageManager.hpp>
Public Member Functions | |
| void | loadImage (std::string imagePath, int loadType, cv::Mat &inputImage) | 
| Loads a single image.  More... | |
| void | saveImages (const std::initializer_list< cv::Mat > &images, const std::initializer_list< std::string > &imagePaths) | 
| Saves multiple images.  More... | |
| void | showImages (const std::initializer_list< cv::Mat > &images, const std::initializer_list< std::string > &windowNames) | 
| Shows multiple images.  More... | |
| void | releaseImages (const std::initializer_list< cv::Mat > &images) | 
| Releases multiple images.  More... | |
Private Member Functions | |
| void | saveImage (std::string imageSavePath, const cv::Mat &imageToSave) | 
| Saves a single image.  More... | |
ImageManager class is a general-purpose class useful for operations on images such as loading, saving, showing and releasing attached memory.
Definition at line 29 of file ImageManager.hpp.
| void ImageManager::loadImage | ( | std::string | imagePath, | 
| int | loadType, | ||
| cv::Mat & | inputImage | ||
| ) | 
Loads a single image.
| imagePath | The path where the image has been saved on disk. | 
| loadType | How to load the image. | 
| inputImage | A reference to a cv::Mat object. | 
Definition at line 21 of file ImageManager.cpp.
References LOAD_IMAGE_ERROR, and LOAD_IMAGE_SCOPE.
Referenced by OpenCV_Manager::showSkeletonsCV().
| void ImageManager::releaseImages | ( | const std::initializer_list< cv::Mat > & | images | ) | 
Releases multiple images.
| images | The images to release. | 
Definition at line 50 of file ImageManager.cpp.
Referenced by OpenCV_Manager::getVideoFramesCV(), and OpenCV_Manager::showSkeletonsCV().
      
  | 
  private | 
Saves a single image.
| imageSavePath | The path where to save the image. | 
| imageToSave | The image to save. | 
Definition at line 15 of file ImageManager.cpp.
References SAVE_IMAGE_ERROR, and SAVE_IMAGE_SCOPE.
Referenced by saveImages().
| void ImageManager::saveImages | ( | const std::initializer_list< cv::Mat > & | images, | 
| const std::initializer_list< std::string > & | imagePaths | ||
| ) | 
Saves multiple images.
| images | The images to save. | 
| imagePaths | The paths where to save the images. | 
Definition at line 29 of file ImageManager.cpp.
References saveImage().
Referenced by OpenCV_Manager::getVideoFramesCV(), and OpenCV_Manager::showSkeletonsCV().
| void ImageManager::showImages | ( | const std::initializer_list< cv::Mat > & | images, | 
| const std::initializer_list< std::string > & | windowNames | ||
| ) | 
Shows multiple images.
| images | The images to show. | 
| windowNames | The window names in which images will be shown. | 
Definition at line 39 of file ImageManager.cpp.
Referenced by OpenCV_Manager::showSkeletonsCV().