[]
        
(Showing Draft Content)

CSJ2K.Icc.Lut.MatrixBasedTransformTosRGB.apply

apply Method

apply(DataBlkInt[], DataBlkInt[])

Performs the transform. Pass the input throught the LookUpTableFP, apply the matrix to the output and finally pass the intermediate buffer through the LookUpTable8. This operation is designated (LFPML8) * Data are already constructed. Although the data for only one component is returned, the transformation must be done for all components, because the matrix application involves a linear combination of component input to produce the output.

Declaration
public virtual void apply(DataBlkInt[] inb, DataBlkInt[] outb)
Parameters
Type Name Description
DataBlkInt[] inb

input data block

DataBlkInt[] outb

output data block

Exceptions
Type Condition
MatrixBasedTransformException

apply(DataBlkFloat[], DataBlkFloat[])

Performs the transform. Pass the input throught the LookUpTableFP, apply the matrix to the output and finally pass the intermediate buffer through the LookUpTable8. This operation is designated (LFPML8) * Data are already constructed. Although the data for only one component is returned, the transformation must be done for all components, because the matrix application involves a linear combination of component input to produce the output.

Declaration
public virtual void apply(DataBlkFloat[] inb, DataBlkFloat[] outb)
Parameters
Type Name Description
DataBlkFloat[] inb

input data block

DataBlkFloat[] outb

output data block

Exceptions
Type Condition
MatrixBasedTransformException