Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
Type: Class. More...
#include <IccApplyBPC.h>
Public Member Functions | |
virtual bool | CalcFactors (const CIccProfile *pProfile, const CIccXform *pXfm, icFloatNumber *Scale, icFloatNumber *Offset) const |
Name: CIccApplyBPC::CalculateFactors. | |
Private Member Functions | |
bool | calcBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
Name: CIccApplyBPC::calcBlackPoint. | |
bool | calcDstBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
Name: CIccApplyBPC::calcDstBlackPoint. | |
icFloatNumber | calcQuadraticVertex (icFloatNumber *x, icFloatNumber *y, int n) const |
bool | calcSrcBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
Name: CIccApplyBPC::calcSrcBlackPoint. | |
icFloatNumber | calcsum (icFloatNumber *x, icFloatNumber *y, int n, int j, int k) const |
CIccCmm * | getBlackXfm (icRenderingIntent nIntent, const CIccProfile *pProfile) const |
Name: CIccApplyBPC::blackXfm. | |
void | lab2pcs (icFloatNumber *pixel, const CIccProfile *pProfile) const |
void | pcs2lab (icFloatNumber *pixel, const CIccProfile *pProfile) const |
bool | pixelXfm (icFloatNumber *DstPixel, icFloatNumber *SrcPixel, icColorSpaceSignature SrcSpace, icRenderingIntent nIntent, const CIccProfile *pProfile) const |
Name: CIccApplyBPC::pixelXfm. | |
Type: Class.
Purpose: This is the hint for applying black point compensation. Also does the calculations to setup actual application of BPC.
Definition at line 104 of file IccApplyBPC.h.
|
private |
Name: CIccApplyBPC::calcBlackPoint.
Purpose: Calculates the black point of a profile
Definition at line 269 of file IccApplyBPC.cpp.
References calcDstBlackPoint(), and calcSrcBlackPoint().
Referenced by CalcFactors().
|
private |
Name: CIccApplyBPC::calcDstBlackPoint.
Purpose: Calculates the black point of a destination profile
Definition at line 379 of file IccApplyBPC.cpp.
References calcQuadraticVertex(), calcSrcBlackPoint(), getBlackXfm(), icCmmStatOk, icLabtoXYZ(), icRelativeColorimetric, icSigBToA0Tag, icSigCmykData, icSigGrayData, icSigRgbData, icXYZtoLab(), lab2pcs(), and pcs2lab().
Referenced by calcBlackPoint().
|
virtual |
Name: CIccApplyBPC::CalculateFactors.
Purpose: This function does the suitable calculations to setup black point compensation.
Args: pXform = pointer to the Xform object that calls this function
Return: true = all calculations done false = an error occurred
Definition at line 213 of file IccApplyBPC.cpp.
References calcBlackPoint(), icAbsoluteColorimetric, icPerceptualRefBlackY, icPerceptualRefWhiteX, icPerceptualRefWhiteY, icPerceptualRefWhiteZ, icSigAbstractClass, icSigLinkClass, icSigNamedColorClass, and icXyzToPcs().
|
private |
Definition at line 162 of file IccApplyBPC.cpp.
References calcsum().
Referenced by calcDstBlackPoint().
|
private |
Name: CIccApplyBPC::calcSrcBlackPoint.
Purpose: Calculates the black point of a source profile
Definition at line 290 of file IccApplyBPC.cpp.
References icGetSpaceSamples(), icLabtoXYZ(), icPerceptual, icSig10colorData, icSig11colorData, icSig12colorData, icSig13colorData, icSig14colorData, icSig15colorData, icSig2colorData, icSig3colorData, icSig4colorData, icSig5colorData, icSig6colorData, icSig7colorData, icSig8colorData, icSig9colorData, icSigCmyData, icSigCmykData, icSigGrayData, icSigOutputClass, icSigRgbData, lab2pcs(), pcs2lab(), and pixelXfm().
Referenced by calcBlackPoint(), and calcDstBlackPoint().
|
private |
Definition at line 134 of file IccApplyBPC.cpp.
Referenced by calcQuadraticVertex().
|
private |
Name: CIccApplyBPC::blackXfm.
Purpose: PCS -> PCS round trip transform, always uses relative intent on the device -> pcs transform
Definition at line 580 of file IccApplyBPC.cpp.
References icCmmStatOk, icInterpTetrahedral, icRelativeColorimetric, icSigUnknownData, icVersionNumberV5, and icXformLutColor.
Referenced by calcDstBlackPoint().
|
private |
Definition at line 96 of file IccApplyBPC.cpp.
References icLabToPcs(), icLabtoXYZ(), icSigLabData, icSigXYZData, and icXyzToPcs().
Referenced by calcDstBlackPoint(), and calcSrcBlackPoint().
|
private |
Definition at line 115 of file IccApplyBPC.cpp.
References icLabFromPcs(), icSigLabData, icSigXYZData, icXyzFromPcs(), and icXYZtoLab().
Referenced by calcDstBlackPoint(), and calcSrcBlackPoint().
|
private |
Name: CIccApplyBPC::pixelXfm.
Purpose: Applies the specified transform to the source pixel
Definition at line 542 of file IccApplyBPC.cpp.
References icCmmStatOk, icInterpTetrahedral, icSigUnknownData, icVersionNumberV5, icXformLutColorimetric, and IsSpacePCS.
Referenced by calcSrcBlackPoint().