opencv2/photo/ccm.hpp#
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
Include dependency graph for ccm.hpp:
This graph shows which files directly or indirectly include ccm.hpp:
Classes#
class cv::ccm::ColorCorrectionModel
Core class of ccm model. More…
Namespaces#
namespace cv
namespace cv::ccm
Enumerations#
enum cv::ccm::CcmType { CCM_LINEAR, CCM_AFFINE }
Enum of the possible types of ccm. More…
enum cv::ccm::ColorCheckerType { COLORCHECKER_MACBETH, COLORCHECKER_VINYL, COLORCHECKER_DIGITAL_SG }
Macbeth and Vinyl ColorChecker with 2deg D50. More…
enum cv::ccm::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 cv::ccm::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 cv::ccm::InitialMethodType { INITIAL_METHOD_WHITE_BALANCE, INITIAL_METHOD_LEAST_SQUARE }
Enum of the possible types of initial method. More…
enum cv::ccm::LinearizationType { LINEARIZATION_IDENTITY, LINEARIZATION_GAMMA, LINEARIZATION_COLORPOLYFIT, LINEARIZATION_COLORLOGPOLYFIT, LINEARIZATION_GRAYPOLYFIT, 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)