IccMAX 2.1.27
Color Profile Tools
|
#include <IccApplyBPC.h>
Public Member Functions | |
virtual bool | CalcFactors (const CIccProfile *pProfile, const CIccXform *pXfm, icFloatNumber *Scale, icFloatNumber *Offset) const |
Private Member Functions | |
bool | calcBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
bool | calcDstBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
icFloatNumber | calcQuadraticVertex (icFloatNumber *x, icFloatNumber *y, int n) const |
bool | calcSrcBlackPoint (const CIccProfile *pProfile, const CIccXform *pXform, icFloatNumber *XYZb) const |
icFloatNumber | calcsum (icFloatNumber *x, icFloatNumber *y, int n, int j, int k) const |
CIccCmm * | getBlackXfm (icRenderingIntent nIntent, const CIccProfile *pProfile) const |
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 |
Type: Class
Purpose: This is the hint for applying black point compensation. Also does the calculations to setup actual application of BPC.
|
private |
Name: CIccApplyBPC::calcBlackPoint
Purpose: Calculates the black point of a profile
References calcDstBlackPoint(), and calcSrcBlackPoint().
Referenced by CalcFactors().
|
private |
Name: CIccApplyBPC::calcDstBlackPoint
Purpose: Calculates the black point of a destination profile
References calcQuadraticVertex(), calcSrcBlackPoint(), icHeader::colorSpace, 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
References calcBlackPoint(), icHeader::deviceClass, icAbsoluteColorimetric, icSigAbstractClass, icSigLinkClass, icSigNamedColorClass, and icXyzToPcs().
|
private |
References calcsum().
Referenced by calcDstBlackPoint().
|
private |
Name: CIccApplyBPC::calcSrcBlackPoint
Purpose: Calculates the black point of a source profile
References icHeader::colorSpace, icHeader::deviceClass, icGetSpaceSamples(), icLabtoXYZ(), icPerceptual, icSig10colorData, icSig11colorData, icSig12colorData, icSig13colorData, icSig14colorData, icSig15colorData, icSig2colorData, icSig3colorData, icSig4colorData, icSig5colorData, icSig6colorData, icSig7colorData, icSig8colorData, icSig9colorData, icSigCmyData, icSigCmykData, icSigGrayData, icSigOutputClass, icSigRgbData, lab2pcs(), icHeader::pcs, pcs2lab(), and pixelXfm().
Referenced by calcBlackPoint(), and calcDstBlackPoint().
|
private |
Referenced by calcQuadraticVertex().
|
private |
Name: CIccApplyBPC::blackXfm
Purpose: PCS -> PCS round trip transform, always uses relative intent on the device -> pcs transform
References CIccProfile, icCmmStatOk, icInterpTetrahedral, icRelativeColorimetric, icXformLutColor, icHeader::pcs, and icHeader::version.
Referenced by calcDstBlackPoint().
|
private |
References icLabToPcs(), icLabtoXYZ(), icSigLabData, icSigXYZData, icXyzToPcs(), and icHeader::pcs.
Referenced by calcDstBlackPoint(), and calcSrcBlackPoint().
|
private |
References icLabFromPcs(), icSigLabData, icSigXYZData, icXyzFromPcs(), icXYZtoLab(), and icHeader::pcs.
Referenced by calcDstBlackPoint(), and calcSrcBlackPoint().
|
private |
Name: CIccApplyBPC::pixelXfm
Purpose: Applies the specified transform to the source pixel
References CIccProfile, icCmmStatOk, icInterpTetrahedral, icXformLutColorimetric, and icHeader::version.
Referenced by calcSrcBlackPoint().