OpenCV
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
cv::ccm Namespace Reference

Classes

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

Enumerations

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

Functions

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