OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ccm.hpp File Reference
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
Include dependency graph for ccm.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  cv::ccm::ColorCorrectionModel
 Core class of ccm model. More...
 

Namespaces

namespace  cv
 
namespace  cv::ccm
 

Enumerations

enum  cv::ccm::CcmType {
  cv::ccm::CCM_LINEAR ,
  cv::ccm::CCM_AFFINE
}
 Enum of the possible types of ccm. More...
 
enum  cv::ccm::ColorCheckerType {
  cv::ccm::COLORCHECKER_MACBETH ,
  cv::ccm::COLORCHECKER_VINYL ,
  cv::ccm::COLORCHECKER_DIGITAL_SG
}
 Macbeth and Vinyl ColorChecker with 2deg D50. More...
 
enum  cv::ccm::ColorSpace {
  cv::ccm::COLOR_SPACE_SRGB ,
  cv::ccm::COLOR_SPACE_SRGBL ,
  cv::ccm::COLOR_SPACE_ADOBE_RGB ,
  cv::ccm::COLOR_SPACE_ADOBE_RGBL ,
  cv::ccm::COLOR_SPACE_WIDE_GAMUT_RGB ,
  cv::ccm::COLOR_SPACE_WIDE_GAMUT_RGBL ,
  cv::ccm::COLOR_SPACE_PRO_PHOTO_RGB ,
  cv::ccm::COLOR_SPACE_PRO_PHOTO_RGBL ,
  cv::ccm::COLOR_SPACE_DCI_P3_RGB ,
  cv::ccm::COLOR_SPACE_DCI_P3_RGBL ,
  cv::ccm::COLOR_SPACE_APPLE_RGB ,
  cv::ccm::COLOR_SPACE_APPLE_RGBL ,
  cv::ccm::COLOR_SPACE_REC_709_RGB ,
  cv::ccm::COLOR_SPACE_REC_709_RGBL ,
  cv::ccm::COLOR_SPACE_REC_2020_RGB ,
  cv::ccm::COLOR_SPACE_REC_2020_RGBL ,
  cv::ccm::COLOR_SPACE_XYZ_D65_2 ,
  cv::ccm::COLOR_SPACE_XYZ_D50_2 ,
  cv::ccm::COLOR_SPACE_XYZ_D65_10 ,
  cv::ccm::COLOR_SPACE_XYZ_D50_10 ,
  cv::ccm::COLOR_SPACE_XYZ_A_2 ,
  cv::ccm::COLOR_SPACE_XYZ_A_10 ,
  cv::ccm::COLOR_SPACE_XYZ_D55_2 ,
  cv::ccm::COLOR_SPACE_XYZ_D55_10 ,
  cv::ccm::COLOR_SPACE_XYZ_D75_2 ,
  cv::ccm::COLOR_SPACE_XYZ_D75_10 ,
  cv::ccm::COLOR_SPACE_XYZ_E_2 ,
  cv::ccm::COLOR_SPACE_XYZ_E_10 ,
  cv::ccm::COLOR_SPACE_LAB_D65_2 ,
  cv::ccm::COLOR_SPACE_LAB_D50_2 ,
  cv::ccm::COLOR_SPACE_LAB_D65_10 ,
  cv::ccm::COLOR_SPACE_LAB_D50_10 ,
  cv::ccm::COLOR_SPACE_LAB_A_2 ,
  cv::ccm::COLOR_SPACE_LAB_A_10 ,
  cv::ccm::COLOR_SPACE_LAB_D55_2 ,
  cv::ccm::COLOR_SPACE_LAB_D55_10 ,
  cv::ccm::COLOR_SPACE_LAB_D75_2 ,
  cv::ccm::COLOR_SPACE_LAB_D75_10 ,
  cv::ccm::COLOR_SPACE_LAB_E_2 ,
  cv::ccm::COLOR_SPACE_LAB_E_10
}
 
enum  cv::ccm::DistanceType {
  cv::ccm::DISTANCE_CIE76 ,
  cv::ccm::DISTANCE_CIE94_GRAPHIC_ARTS ,
  cv::ccm::DISTANCE_CIE94_TEXTILES ,
  cv::ccm::DISTANCE_CIE2000 ,
  cv::ccm::DISTANCE_CMC_1TO1 ,
  cv::ccm::DISTANCE_CMC_2TO1 ,
  cv::ccm::DISTANCE_RGB ,
  cv::ccm::DISTANCE_RGBL
}
 Enum of possible functions to calculate the distance between colors. More...
 
enum  cv::ccm::InitialMethodType {
  cv::ccm::INITIAL_METHOD_WHITE_BALANCE ,
  cv::ccm::INITIAL_METHOD_LEAST_SQUARE
}
 Enum of the possible types of initial method. More...
 
enum  cv::ccm::LinearizationType {
  cv::ccm::LINEARIZATION_IDENTITY ,
  cv::ccm::LINEARIZATION_GAMMA ,
  cv::ccm::LINEARIZATION_COLORPOLYFIT ,
  cv::ccm::LINEARIZATION_COLORLOGPOLYFIT ,
  cv::ccm::LINEARIZATION_GRAYPOLYFIT ,
  cv::ccm::LINEARIZATION_GRAYLOGPOLYFIT
}
 Linearization transformation type. More...
 

Functions

void cv::ccm::gammaCorrection (InputArray src, OutputArray dst, double gamma)
 Applies gamma correction to the input image.
 
void cv::ccm::read (const cv::FileNode &node, ColorCorrectionModel &ccm, const ColorCorrectionModel &defaultValue=ColorCorrectionModel())
 
void cv::ccm::write (cv::FileStorage &fs, const std::string &, const ColorCorrectionModel &ccm)