IccMAX 2.1.27
Color Profile Tools
Loading...
Searching...
No Matches
CIccSimpleMatrixInverter Class Reference
+ Inheritance diagram for CIccSimpleMatrixInverter:
+ Collaboration diagram for CIccSimpleMatrixInverter:

Public Member Functions

 CIccSimpleMatrixInverter ()
 
virtual bool Invert (icFloatNumber *dMatrix, icUInt16Number nRows, icUInt16Number nCols)
 

Detailed Description

Constructor & Destructor Documentation

◆ CIccSimpleMatrixInverter()

CIccSimpleMatrixInverter::CIccSimpleMatrixInverter ( )
inline
226{}

Member Function Documentation

◆ Invert()

virtual bool CIccSimpleMatrixInverter::Invert ( icFloatNumber dMatrix,
icUInt16Number  nRows,
icUInt16Number  nCols 
)
inlinevirtual

Member Function: Invert

Purpose: Solve for x in the matrix/vector equation y=Mx when M is 3x3 matrix Otherwise return false.

Parameters: -dMatrix is a matrix (M) with nRows x nCols entries in RowOrder -nRows is number of row entries -nCols is number of column entries

Return: true if matrix was inverted or false if not possible/supported.

Implements IIccMatrixInverter.

245 {
246 if (nRows == 3 && nCols == 3) {
247 bool bInvertible = icMatrixInvert3x3(dMatrix);
248
249 return bInvertible;
250 }
251
252 return false;
253 }
ICCPROFLIB_API bool icMatrixInvert3x3(icFloatNumber *matrix)
Definition IccUtil.cpp:391

References icMatrixInvert3x3().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: