![]() |
OpenCV
Open Source Computer Vision
|
Classes | |
class | cv::ccm::ColorCorrectionModel |
Core class of ccm model. 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) |
enum cv::ccm::CcmType |
#include <opencv2/photo/ccm.hpp>
Enum of the possible types of ccm.
#include <opencv2/photo/ccm.hpp>
Macbeth and Vinyl ColorChecker with 2deg D50.
enum cv::ccm::ColorSpace |
#include <opencv2/photo/ccm.hpp>
Enumerator | |
---|---|
COLOR_SPACE_SRGB Python: cv.ccm.COLOR_SPACE_SRGB | https://en.wikipedia.org/wiki/SRGB , RGB color space |
COLOR_SPACE_SRGBL Python: cv.ccm.COLOR_SPACE_SRGBL | https://en.wikipedia.org/wiki/SRGB , linear RGB color space |
COLOR_SPACE_ADOBE_RGB Python: cv.ccm.COLOR_SPACE_ADOBE_RGB | https://en.wikipedia.org/wiki/Adobe_RGB_color_space , RGB color space |
COLOR_SPACE_ADOBE_RGBL Python: cv.ccm.COLOR_SPACE_ADOBE_RGBL | https://en.wikipedia.org/wiki/Adobe_RGB_color_space , linear RGB color space |
COLOR_SPACE_WIDE_GAMUT_RGB Python: cv.ccm.COLOR_SPACE_WIDE_GAMUT_RGB | https://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , RGB color space |
COLOR_SPACE_WIDE_GAMUT_RGBL Python: cv.ccm.COLOR_SPACE_WIDE_GAMUT_RGBL | https://en.wikipedia.org/wiki/Wide-gamut_RGB_color_space , linear RGB color space |
COLOR_SPACE_PRO_PHOTO_RGB Python: cv.ccm.COLOR_SPACE_PRO_PHOTO_RGB | https://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , RGB color space |
COLOR_SPACE_PRO_PHOTO_RGBL Python: cv.ccm.COLOR_SPACE_PRO_PHOTO_RGBL | https://en.wikipedia.org/wiki/ProPhoto_RGB_color_space , linear RGB color space |
COLOR_SPACE_DCI_P3_RGB Python: cv.ccm.COLOR_SPACE_DCI_P3_RGB | https://en.wikipedia.org/wiki/DCI-P3 , RGB color space |
COLOR_SPACE_DCI_P3_RGBL Python: cv.ccm.COLOR_SPACE_DCI_P3_RGBL | https://en.wikipedia.org/wiki/DCI-P3 , linear RGB color space |
COLOR_SPACE_APPLE_RGB Python: cv.ccm.COLOR_SPACE_APPLE_RGB | http://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html , RGB color space |
COLOR_SPACE_APPLE_RGBL Python: cv.ccm.COLOR_SPACE_APPLE_RGBL | http://www.brucelindbloom.com/index.html?WorkingSpaceInfo.html , linear RGB color space |
COLOR_SPACE_REC_709_RGB Python: cv.ccm.COLOR_SPACE_REC_709_RGB | https://en.wikipedia.org/wiki/Rec._709 , RGB color space |
COLOR_SPACE_REC_709_RGBL Python: cv.ccm.COLOR_SPACE_REC_709_RGBL | https://en.wikipedia.org/wiki/Rec._709 , linear RGB color space |
COLOR_SPACE_REC_2020_RGB Python: cv.ccm.COLOR_SPACE_REC_2020_RGB | https://en.wikipedia.org/wiki/Rec._2020 , RGB color space |
COLOR_SPACE_REC_2020_RGBL Python: cv.ccm.COLOR_SPACE_REC_2020_RGBL | https://en.wikipedia.org/wiki/Rec._2020 , linear RGB color space |
COLOR_SPACE_XYZ_D65_2 Python: cv.ccm.COLOR_SPACE_XYZ_D65_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D65 illuminant, 2 degree |
COLOR_SPACE_XYZ_D50_2 Python: cv.ccm.COLOR_SPACE_XYZ_D50_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D50 illuminant, 2 degree |
COLOR_SPACE_XYZ_D65_10 Python: cv.ccm.COLOR_SPACE_XYZ_D65_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D65 illuminant, 10 degree |
COLOR_SPACE_XYZ_D50_10 Python: cv.ccm.COLOR_SPACE_XYZ_D50_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D50 illuminant, 10 degree |
COLOR_SPACE_XYZ_A_2 Python: cv.ccm.COLOR_SPACE_XYZ_A_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, A illuminant, 2 degree |
COLOR_SPACE_XYZ_A_10 Python: cv.ccm.COLOR_SPACE_XYZ_A_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, A illuminant, 10 degree |
COLOR_SPACE_XYZ_D55_2 Python: cv.ccm.COLOR_SPACE_XYZ_D55_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D55 illuminant, 2 degree |
COLOR_SPACE_XYZ_D55_10 Python: cv.ccm.COLOR_SPACE_XYZ_D55_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D55 illuminant, 10 degree |
COLOR_SPACE_XYZ_D75_2 Python: cv.ccm.COLOR_SPACE_XYZ_D75_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D75 illuminant, 2 degree |
COLOR_SPACE_XYZ_D75_10 Python: cv.ccm.COLOR_SPACE_XYZ_D75_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, D75 illuminant, 10 degree |
COLOR_SPACE_XYZ_E_2 Python: cv.ccm.COLOR_SPACE_XYZ_E_2 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, E illuminant, 2 degree |
COLOR_SPACE_XYZ_E_10 Python: cv.ccm.COLOR_SPACE_XYZ_E_10 | https://en.wikipedia.org/wiki/CIE_1931_color_space , XYZ color space, E illuminant, 10 degree |
COLOR_SPACE_LAB_D65_2 Python: cv.ccm.COLOR_SPACE_LAB_D65_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D65 illuminant, 2 degree |
COLOR_SPACE_LAB_D50_2 Python: cv.ccm.COLOR_SPACE_LAB_D50_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D50 illuminant, 2 degree |
COLOR_SPACE_LAB_D65_10 Python: cv.ccm.COLOR_SPACE_LAB_D65_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D65 illuminant, 10 degree |
COLOR_SPACE_LAB_D50_10 Python: cv.ccm.COLOR_SPACE_LAB_D50_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D50 illuminant, 10 degree |
COLOR_SPACE_LAB_A_2 Python: cv.ccm.COLOR_SPACE_LAB_A_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, A illuminant, 2 degree |
COLOR_SPACE_LAB_A_10 Python: cv.ccm.COLOR_SPACE_LAB_A_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, A illuminant, 10 degree |
COLOR_SPACE_LAB_D55_2 Python: cv.ccm.COLOR_SPACE_LAB_D55_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D55 illuminant, 2 degree |
COLOR_SPACE_LAB_D55_10 Python: cv.ccm.COLOR_SPACE_LAB_D55_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D55 illuminant, 10 degree |
COLOR_SPACE_LAB_D75_2 Python: cv.ccm.COLOR_SPACE_LAB_D75_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D75 illuminant, 2 degree |
COLOR_SPACE_LAB_D75_10 Python: cv.ccm.COLOR_SPACE_LAB_D75_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, D75 illuminant, 10 degree |
COLOR_SPACE_LAB_E_2 Python: cv.ccm.COLOR_SPACE_LAB_E_2 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, E illuminant, 2 degree |
COLOR_SPACE_LAB_E_10 Python: cv.ccm.COLOR_SPACE_LAB_E_10 | https://en.wikipedia.org/wiki/CIELAB_color_space , Lab color space, E illuminant, 10 degree |
#include <opencv2/photo/ccm.hpp>
Enum of possible functions to calculate the distance between colors.
See https://en.wikipedia.org/wiki/Color_difference for details
#include <opencv2/photo/ccm.hpp>
Enum of the possible types of initial method.
#include <opencv2/photo/ccm.hpp>
Linearization transformation type.
void cv::ccm::gammaCorrection | ( | InputArray | src, |
OutputArray | dst, | ||
double | gamma ) |
Python: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cv.ccm.gammaCorrection( | src, gamma[, dst] | ) -> | dst |
#include <opencv2/photo/ccm.hpp>
Applies gamma correction to the input image.
src | Input image. |
dst | Output image. |
gamma | Gamma correction greater than zero. |
void cv::ccm::read | ( | const cv::FileNode & | node, |
ColorCorrectionModel & | ccm, | ||
const ColorCorrectionModel & | defaultValue = ColorCorrectionModel() ) |
#include <opencv2/photo/ccm.hpp>
void cv::ccm::write | ( | cv::FileStorage & | fs, |
const std::string & | , | ||
const ColorCorrectionModel & | ccm ) |
#include <opencv2/photo/ccm.hpp>