Hoyt's FORK of DemoIccMAX 2.1.17.hoyt
Documentation for Hoyt's FORK of DemoIccMAX
|
#include <IccTagLut.h>
Protected Member Functions | |
void | Iterate (std::string &sDescription, icUInt8Number nIndex, icUInt32Number nPos, bool bUseLegacy=false) |
Name: CIccCLUT::Iterate. | |
void | SubIterate (IIccCLUTExec *pExec, icUInt8Number nIndex, icUInt32Number nPos) |
Name: CIccCLUT::SubIterate. | |
Class: CIccCLUT.
Purpose: The base multidimensional color look-up table (CLUT) class
Definition at line 325 of file IccTagLut.h.
CIccCLUT::CIccCLUT | ( | icUInt8Number | nInputChannels, |
icUInt16Number | nOutputChannels, | ||
icUInt8Number | nPrecision = 2 ) |
Name: CIccCLUT::CIccCLUT.
Purpose: Constructor
Args: nInputChannels = number of input channels, nOutputChannels = number of output channels
Definition at line 1685 of file IccTagLut.cpp.
References ClutUnitClip(), and UnitClip().
CIccCLUT::CIccCLUT | ( | const CIccCLUT & | ICLUT | ) |
Name: CIccCLUT::CIccCLUT.
Purpose: Copy Constructor
Args: ICLUT = The CIccCLUT object to be copied
Definition at line 1708 of file IccTagLut.cpp.
References m_csInput, m_csOutput, m_DimSize, m_GridAdr, m_GridPoints, m_nInput, m_nNumPoints, m_nOutput, m_nPrecision, m_nReserved2, m_pData, UnitClip, and UnitClip().
|
virtual |
void CIccCLUT::Begin | ( | ) |
Name: CIccCLUT::Begin.
Purpose: Initializes the CLUT. Must be called before Apply().
Definition at line 2218 of file IccTagLut.cpp.
Referenced by CIccMpeEmissionCLUT::Begin(), and CIccMpeReflectanceCLUT::Begin().
void CIccCLUT::DumpLut | ( | std::string & | sDescription, |
const icChar * | szName, | ||
icColorSpaceSignature | csInput, | ||
icColorSpaceSignature | csOutput, | ||
int | nVerboseness, | ||
bool | bUseLegacy = false ) |
Name: CIccCLUT::DumpLut.
Purpose: Dump data associated with the tag to a string.
Args: sDescription = string to concatenate tag dump to, szName = name of the LUT to be printed, csInput = color space signature of the input data, csOutput = color space signature of the output data nVerboseness = how verbose the output is (bigger = more verbose)
Definition at line 2154 of file IccTagLut.cpp.
References icColorIndexName(), icColorValue(), and szName.
Referenced by CIccMpeExtCLUT::Describe().
|
inline |
Definition at line 347 of file IccTagLut.h.
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeReflectanceCLUT::Begin(), CDevLinkWriter::begin(), icCLutFromXml(), main(), CIccMpeExtCLUT::Read(), and CIccMpeExtCLUT::Write().
|
inline |
Definition at line 354 of file IccTagLut.h.
|
inline |
Definition at line 356 of file IccTagLut.h.
Referenced by icCLUTDataToXml(), CIccMBB::SetCLUT(), CIccMpeCLUT::SetCLUT(), and CIccMpeSpectralCLUT::SetData().
CIccApplyCLUT * CIccCLUT::GetNewApply | ( | ) |
Definition at line 2400 of file IccTagLut.cpp.
References CIccApplyCLUT::Init().
|
inline |
Definition at line 359 of file IccTagLut.h.
|
inline |
Definition at line 360 of file IccTagLut.h.
|
inline |
Definition at line 357 of file IccTagLut.h.
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeReflectanceCLUT::Begin(), icCLUTDataToXml(), icCLutFromXml(), CIccMBB::SetCLUT(), and CIccMpeCLUT::SetCLUT().
|
inline |
Definition at line 381 of file IccTagLut.h.
Referenced by icCLUTDataToXml().
|
inline |
Definition at line 350 of file IccTagLut.h.
Referenced by icCLUTDataToXml(), icCLUTToXml(), and CIccMpeExtCLUT::Write().
|
inline |
Definition at line 351 of file IccTagLut.h.
Referenced by CIccMpeEmissionCLUT::Begin(), and CIccMpeReflectanceCLUT::Begin().
|
inline |
Definition at line 349 of file IccTagLut.h.
Referenced by CIccEvalCompare::EvaluateProfile(), CIccTagLut16::Write(), and CIccTagLut8::Write().
bool CIccCLUT::Init | ( | const icUInt8Number * | pGridPoints, |
icUInt32Number | nMaxSize = 0, | ||
icUInt8Number | nBytesPerPoint = 4 ) |
Name: CIccCLUT::Init.
Purpose: Initializes and sets the size of the CLUT
Args: pGridPoints = number of grid points in the CLUT
Definition at line 1823 of file IccTagLut.cpp.
bool CIccCLUT::Init | ( | icUInt8Number | nGridPoints, |
icUInt32Number | nMaxSize = 0, | ||
icUInt8Number | nBytesPerPoint = 4 ) |
Name: CIccCLUT::Init.
Purpose: Initializes and sets the size of the CLUT
Args: nGridPoints = number of grid points in the CLUT
Definition at line 1803 of file IccTagLut.cpp.
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeReflectanceCLUT::Begin(), CDevLinkWriter::begin(), icCLutFromXml(), main(), CIccMpeExtCLUT::Read(), CIccTagLut16::Read(), and CIccTagLut8::Read().
void CIccCLUT::Interp1d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp1d.
Purpose: One dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2425 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp2d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp2d.
Purpose: Two dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2469 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp3d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp3d.
Purpose: Three dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2610 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp3dTetra | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp3dTetra.
Purpose: Tetrahedral interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2524 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp4d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp4d.
Purpose: Four dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2680 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp5d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp5d.
Purpose: Five dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2766 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Interp6d | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel ) const |
Name: CIccCLUT::Interp6d.
Purpose: Six dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 2878 of file IccTagLut.cpp.
References UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::InterpND | ( | icFloatNumber * | destPixel, |
const icFloatNumber * | srcPixel, | ||
CIccApplyCLUT * | pApply ) const |
Name: CIccCLUT::InterpND.
Purpose: Generic N-dimensional interpolation function
Args: Pixel = Pixel value to be found in the CLUT. Also used to store the result.
Definition at line 3030 of file IccTagLut.cpp.
References CIccApplyCLUT::m_df, CIccApplyCLUT::m_g, CIccApplyCLUT::m_ig, CIccApplyCLUT::m_s, and UnitClip().
Referenced by CIccMpeCLUT::Apply(), and CIccMpeSpectralCLUT::Apply().
void CIccCLUT::Iterate | ( | IIccCLUTExec * | pExec | ) |
Name: CIccCLUT::Iterate.
Purpose: Iterate through the CLUT to get the data and execute PixelOp
Args: pExec = pointer to the IIccCLUTExec object that implements the IIccCLUTExec::Apply() function
Definition at line 2066 of file IccTagLut.cpp.
References IIccCLUTExec::PixelOp().
Referenced by icCLUTDataToXml().
|
protected |
Name: CIccCLUT::Iterate.
Purpose: Iterate through the CLUT to dump the data
Args: sDescription = string to concatenate data dump to, nIndex = the channel number, nPos = the current position in the CLUT
Definition at line 2019 of file IccTagLut.cpp.
References icColorValue().
|
inline |
Definition at line 352 of file IccTagLut.h.
|
inline |
Definition at line 348 of file IccTagLut.h.
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeReflectanceCLUT::Begin(), CDevLinkWriter::begin(), icCLutFromXml(), main(), CIccMpeExtCLUT::Read(), and CIccMpeExtCLUT::Write().
Name: CIccCLUT::operator=.
Purpose: Copy Operator
Args: CLUTTag = The CIccCLUT object to be copied
Definition at line 1743 of file IccTagLut.cpp.
References m_csInput, m_csOutput, m_DimSize, m_GridAdr, m_GridPoints, m_nInput, m_nNumPoints, m_nOutput, m_nPrecision, m_nReserved2, m_pData, UnitClip, and UnitClip().
|
inline |
Definition at line 346 of file IccTagLut.h.
bool CIccCLUT::Read | ( | icUInt32Number | size, |
CIccIO * | pIO ) |
Name: CIccCLUT::Read.
Purpose: Read in the tag contents into a data block
Args: size - # of bytes in tag, pIO - IO object to read tag from
Return: true = successful, false = failure
Definition at line 1966 of file IccTagLut.cpp.
References CIccIO::Read8().
Referenced by CIccTagLutAtoB::Read().
bool CIccCLUT::ReadData | ( | icUInt32Number | size, |
CIccIO * | pIO, | ||
icUInt8Number | nPrecision ) |
Name: CIccCLUT::ReadData.
Purpose: Reads the CLUT data points into the data buffer
Args: size = # of bytes in the tag, pIO = IO object to read data from, nPrecision = data precision (8bit encoded as 1 or 16bit encoded as 2)
Return: true = data read succesfully, false = read data failed
Definition at line 1893 of file IccTagLut.cpp.
References CIccIO::ReadUInt16Float(), and CIccIO::ReadUInt8Float().
Referenced by CIccTagLut16::Read(), and CIccTagLut8::Read().
|
inline |
Definition at line 379 of file IccTagLut.h.
References UnitClip().
Referenced by CIccMpeEmissionCLUT::Begin(), CIccMpeReflectanceCLUT::Begin(), CIccMpeExtCLUT::Read(), CIccMpeCLUT::SetCLUT(), and CIccMpeSpectralCLUT::SetData().
|
inline |
Definition at line 382 of file IccTagLut.h.
Referenced by icCLutFromXml().
|
protected |
Name: CIccCLUT::SubIterate.
Purpose: Iterate through the CLUT to get the data
Args: pExec = pointer to the IIccCLUTExec object that implements the IIccCLUTExec::Apply() function, nIndex = the channel number, nPos = the current position in the CLUT
Definition at line 2126 of file IccTagLut.cpp.
References IIccCLUTExec::PixelOp().
icValidateStatus CIccCLUT::Validate | ( | std::string | sigPath, |
std::string & | sReport, | ||
const CIccProfile * | pProfile = NULL ) const |
Name: CIccCLUT::Validate.
Purpose: Check tag data validity.
Args: sig = signature of tag being validated, sReport = String to add report information to
Return: icValidateStatusOK if valid, or other error status.
Definition at line 3095 of file IccTagLut.cpp.
References CIccInfo::GetSigPathName(), icGetFirstSigPathSig(), icMaxStatus(), icMsgValidateCriticalError, icMsgValidateNonCompliant, icSigLutAtoBType, icSigLutBtoAType, icValidateCriticalError, icValidateNonCompliant, icValidateOK, and sig.
bool CIccCLUT::Write | ( | CIccIO * | pIO | ) |
Name: CIccCLUT::Write.
Purpose: Write the tag to a file
Args: pIO - The IO object to write tag to.
Return: true = succesful, false = failure
Definition at line 1996 of file IccTagLut.cpp.
References CIccIO::Write8().
Referenced by CIccTagLutAtoB::Write().
bool CIccCLUT::WriteData | ( | CIccIO * | pIO, |
icUInt8Number | nPrecision ) |
Name: CIccCLUT::WriteData.
Purpose: Writes the CLUT data points from the data buffer
Args: pIO = IO object to write data to, nPrecision = data precision (8bit encoded as 1 or 16bit encoded as 2)
Return: true = data written succesfully, false = write operation failed
Definition at line 1933 of file IccTagLut.cpp.
References CIccIO::WriteUInt16Float(), and CIccIO::WriteUInt8Float().
Referenced by CIccTagLut16::Write(), and CIccTagLut8::Write().
|
protected |
Definition at line 406 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 406 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 399 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 404 of file IccTagLut.h.
|
protected |
Definition at line 403 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 396 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 409 of file IccTagLut.h.
|
protected |
Definition at line 392 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 414 of file IccTagLut.h.
|
protected |
Definition at line 397 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 413 of file IccTagLut.h.
|
protected |
Definition at line 393 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 414 of file IccTagLut.h.
|
protected |
Definition at line 394 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 390 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 400 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().
|
protected |
Definition at line 405 of file IccTagLut.h.
|
protected |
Definition at line 405 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 410 of file IccTagLut.h.
|
protected |
Definition at line 388 of file IccTagLut.h.
Referenced by CIccCLUT(), and operator=().