Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccCAM.h>
Public Member Functions | |
CIccCamConverter () | |
icFloatNumber | GetParameter_C () |
icFloatNumber | GetParameter_F () |
icFloatNumber | GetParameter_La () |
icFloatNumber | GetParameter_Nc () |
void | GetParameter_WhitePoint (icFloatNumber *whitePoint) |
icFloatNumber | GetParameter_Yb () |
void | JabToXYZ (const icFloatNumber *jab, icFloatNumber *xyz, int nbr) |
CIccCamConverter * | NewCopy () const |
CIccCamConverter & | operator= (const CIccCamConverter &camcon) |
void | SetParameter_C (icFloatNumber c) |
void | SetParameter_F (icFloatNumber F) |
void | SetParameter_La (icFloatNumber La) |
void | SetParameter_Nc (icFloatNumber Nc) |
void | SetParameter_WhitePoint (icFloatNumber *whitePoint) |
void | SetParameter_Yb (icFloatNumber YB) |
void | XYZToJab (const icFloatNumber *xyz, icFloatNumber *jab, int nbr) |
~CIccCamConverter () | |
Private Member Functions | |
void | ab2chDeg (icFloatNumber a, icFloatNumber b, icFloatNumber &c, icFloatNumber &h) |
void | CalcCoefficients () |
icFloatNumber | F_Function (icFloatNumber x) |
icFloatNumber | H_Function (icFloatNumber x) |
icFloatNumber | H_FunctionInv (icFloatNumber y) |
icFloatNumber | Hyperbolic (icFloatNumber x) |
icFloatNumber | HyperbolicInv (icFloatNumber x) |
icFloatNumber | IccCam_e (icFloatNumber hue) |
void | Multiply_vect_by_mx (const icFloatNumber *in, icFloatNumber *out, icFloatNumber m[3][3]) |
void | ReferenceConditions (icFloatNumber *rgb, icFloatNumber *rgbC) |
void | ReferenceConditionsInv (icFloatNumber *rgbC, icFloatNumber *rgb) |
CIccCamConverter::CIccCamConverter | ( | ) |
Definition at line 302 of file IccCAM.cpp.
References CalcCoefficients(), icD50XYZ, m_alfa, m_c, m_exp, m_F, m_La, m_mFor, m_mInv, m_Nc, m_WhitePoint, and m_Yb.
Referenced by NewCopy().
CIccCamConverter::~CIccCamConverter | ( | ) |
Definition at line 349 of file IccCAM.cpp.
|
private |
Definition at line 291 of file IccCAM.cpp.
References icPiNum.
Referenced by JabToXYZ(), and XYZToJab().
|
private |
Definition at line 250 of file IccCAM.cpp.
References F_Function(), H_Function(), Hyperbolic(), m_alfa, m_AWhite, m_cc, m_D, m_F, m_factor, m_Fl, m_La, m_mFor, m_n, m_Nbb, m_rgbWhite, m_WhitePoint, m_x0, m_Yb, m_z, Multiply_vect_by_mx(), and ReferenceConditions().
Referenced by CIccCamConverter(), SetParameter_C(), SetParameter_F(), SetParameter_La(), SetParameter_Nc(), SetParameter_WhitePoint(), and SetParameter_Yb().
|
private |
Definition at line 115 of file IccCAM.cpp.
Referenced by CalcCoefficients(), Hyperbolic(), and HyperbolicInv().
icFloatNumber CIccCamConverter::GetParameter_C | ( | ) |
Definition at line 446 of file IccCAM.cpp.
References m_c.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
icFloatNumber CIccCamConverter::GetParameter_F | ( | ) |
Definition at line 462 of file IccCAM.cpp.
References m_F.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
icFloatNumber CIccCamConverter::GetParameter_La | ( | ) |
Definition at line 430 of file IccCAM.cpp.
References m_La.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
icFloatNumber CIccCamConverter::GetParameter_Nc | ( | ) |
Definition at line 454 of file IccCAM.cpp.
References m_Nc.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
void CIccCamConverter::GetParameter_WhitePoint | ( | icFloatNumber * | whitePoint | ) |
Definition at line 420 of file IccCAM.cpp.
References m_WhitePoint.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
icFloatNumber CIccCamConverter::GetParameter_Yb | ( | ) |
Definition at line 438 of file IccCAM.cpp.
References m_Yb.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccMpeCAM::Describe(), icXmlDumpColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Write().
|
private |
Definition at line 125 of file IccCAM.cpp.
References m_exp.
Referenced by CalcCoefficients(), Hyperbolic(), and HyperbolicInv().
|
private |
Definition at line 137 of file IccCAM.cpp.
References m_exp.
Referenced by HyperbolicInv().
|
private |
Definition at line 149 of file IccCAM.cpp.
References F_Function(), H_Function(), m_alfa, m_cc, m_Fl, and m_x0.
Referenced by CalcCoefficients(), and XYZToJab().
|
private |
Definition at line 182 of file IccCAM.cpp.
References F_Function(), H_Function(), H_FunctionInv(), m_alfa, m_cc, m_Fl, and m_x0.
Referenced by JabToXYZ().
|
private |
Definition at line 217 of file IccCAM.cpp.
void CIccCamConverter::JabToXYZ | ( | const icFloatNumber * | jab, |
icFloatNumber * | xyz, | ||
int | nbr ) |
Definition at line 528 of file IccCAM.cpp.
References ab2chDeg(), HyperbolicInv(), icPiNum, m_AWhite, m_c, m_factor, m_Fl, m_mInv, m_Nbb, m_Nc, m_z, Multiply_vect_by_mx(), and ReferenceConditionsInv().
Referenced by CIccMpeJabToXYZ::Apply().
|
private |
Definition at line 81 of file IccCAM.cpp.
Referenced by CalcCoefficients(), JabToXYZ(), and XYZToJab().
CIccCamConverter * CIccCamConverter::NewCopy | ( | ) | const |
Definition at line 354 of file IccCAM.cpp.
References CIccCamConverter().
CIccCamConverter & CIccCamConverter::operator= | ( | const CIccCamConverter & | camcon | ) |
Definition at line 636 of file IccCAM.cpp.
References m_alfa, m_AWhite, m_c, m_cc, m_D, m_exp, m_F, m_factor, m_Fl, m_La, m_mFor, m_mInv, m_n, m_Nbb, m_Nc, m_rgbWhite, m_WhitePoint, m_x0, m_Yb, and m_z.
|
private |
Definition at line 93 of file IccCAM.cpp.
References m_D, m_rgbWhite, and m_WhitePoint.
Referenced by CalcCoefficients(), and XYZToJab().
|
private |
Definition at line 104 of file IccCAM.cpp.
References m_D, m_rgbWhite, and m_WhitePoint.
Referenced by JabToXYZ().
void CIccCamConverter::SetParameter_C | ( | icFloatNumber | c | ) |
Definition at line 393 of file IccCAM.cpp.
References CalcCoefficients(), and m_c.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::SetParameter_F | ( | icFloatNumber | F | ) |
Definition at line 411 of file IccCAM.cpp.
References CalcCoefficients(), F, and m_F.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::SetParameter_La | ( | icFloatNumber | La | ) |
Definition at line 375 of file IccCAM.cpp.
References CalcCoefficients(), and m_La.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::SetParameter_Nc | ( | icFloatNumber | Nc | ) |
Definition at line 402 of file IccCAM.cpp.
References CalcCoefficients(), and m_Nc.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::SetParameter_WhitePoint | ( | icFloatNumber * | whitePoint | ) |
Definition at line 364 of file IccCAM.cpp.
References CalcCoefficients(), and m_WhitePoint.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::SetParameter_Yb | ( | icFloatNumber | YB | ) |
Definition at line 384 of file IccCAM.cpp.
References CalcCoefficients(), and m_Yb.
Referenced by CIccMpeJabToXYZ::CIccMpeJabToXYZ(), CIccMpeXYZToJab::CIccMpeXYZToJab(), CIccDefaultEncProfileConverter::ConvertFromParams(), icXmlParseColorAppearanceParams(), CIccMpeJabToXYZ::operator=(), CIccMpeXYZToJab::operator=(), and CIccMpeCAM::Read().
void CIccCamConverter::XYZToJab | ( | const icFloatNumber * | xyz, |
icFloatNumber * | jab, | ||
int | nbr ) |
Definition at line 470 of file IccCAM.cpp.
References ab2chDeg(), Hyperbolic(), icPiNum, m_AWhite, m_c, m_factor, m_Fl, m_mFor, m_Nbb, m_Nc, m_z, Multiply_vect_by_mx(), and ReferenceConditions().
Referenced by CIccMpeXYZToJab::Apply().
|
private |
Definition at line 114 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), Hyperbolic(), HyperbolicInv(), and operator=().
|
private |
Definition at line 109 of file IccCAM.h.
Referenced by CalcCoefficients(), JabToXYZ(), operator=(), and XYZToJab().
|
private |
Definition at line 91 of file IccCAM.h.
Referenced by CIccCamConverter(), GetParameter_C(), JabToXYZ(), operator=(), SetParameter_C(), and XYZToJab().
|
private |
Definition at line 113 of file IccCAM.h.
Referenced by CalcCoefficients(), Hyperbolic(), HyperbolicInv(), and operator=().
|
private |
Definition at line 104 of file IccCAM.h.
Referenced by CalcCoefficients(), operator=(), ReferenceConditions(), and ReferenceConditionsInv().
|
private |
Definition at line 115 of file IccCAM.h.
Referenced by CIccCamConverter(), H_Function(), H_FunctionInv(), and operator=().
|
private |
Definition at line 93 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), GetParameter_F(), operator=(), and SetParameter_F().
|
private |
Definition at line 96 of file IccCAM.h.
Referenced by CalcCoefficients(), JabToXYZ(), operator=(), and XYZToJab().
|
private |
Definition at line 105 of file IccCAM.h.
Referenced by CalcCoefficients(), Hyperbolic(), HyperbolicInv(), JabToXYZ(), operator=(), and XYZToJab().
|
private |
Definition at line 89 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), GetParameter_La(), operator=(), and SetParameter_La().
|
private |
Definition at line 94 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), operator=(), and XYZToJab().
|
private |
Definition at line 95 of file IccCAM.h.
Referenced by CIccCamConverter(), JabToXYZ(), and operator=().
|
private |
Definition at line 106 of file IccCAM.h.
Referenced by CalcCoefficients(), and operator=().
|
private |
Definition at line 107 of file IccCAM.h.
Referenced by CalcCoefficients(), JabToXYZ(), operator=(), and XYZToJab().
|
private |
Definition at line 92 of file IccCAM.h.
Referenced by CIccCamConverter(), GetParameter_Nc(), JabToXYZ(), operator=(), SetParameter_Nc(), and XYZToJab().
|
private |
Definition at line 103 of file IccCAM.h.
Referenced by CalcCoefficients(), operator=(), ReferenceConditions(), and ReferenceConditionsInv().
|
private |
Definition at line 88 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), GetParameter_WhitePoint(), operator=(), ReferenceConditions(), ReferenceConditionsInv(), and SetParameter_WhitePoint().
|
private |
Definition at line 112 of file IccCAM.h.
Referenced by CalcCoefficients(), Hyperbolic(), HyperbolicInv(), and operator=().
|
private |
Definition at line 90 of file IccCAM.h.
Referenced by CalcCoefficients(), CIccCamConverter(), GetParameter_Yb(), operator=(), and SetParameter_Yb().
|
private |
Definition at line 108 of file IccCAM.h.
Referenced by CalcCoefficients(), JabToXYZ(), operator=(), and XYZToJab().