TransferParameters


Defines the parameters for the ICC parametric curve type 4, as defined in ICC.1:2004-10, section 10.15.

The EOTF is of the form linked here

The corresponding OETF is simply the inverse function.

The parameters defined by this class form a valid transfer function only if all the following conditions are met:

  • No parameter is a Not-a-Number

  • d is in the range [0..1]

  • The function is not constant

  • The function is positive and increasing

Summary

Public constructors

TransferParameters(
    gamma: Double,
    a: Double,
    b: Double,
    c: Double,
    d: Double,
    e: Double,
    f: Double
)
Cmn

Public properties

Double

Value a in the equation of the EOTF described above.

Cmn
Double

Value b in the equation of the EOTF described above.

Cmn
Double

Value c in the equation of the EOTF described above.

Cmn
Double

Value d in the equation of the EOTF described above.

Cmn
Double

Value e in the equation of the EOTF described above.

Cmn
Double

Value f in the equation of the EOTF described above.

Cmn
Double

Value g in the equation of the EOTF described above.

Cmn

Public constructors

TransferParameters

TransferParameters(
    gamma: Double,
    a: Double,
    b: Double,
    c: Double,
    d: Double,
    e: Double = 0.0,
    f: Double = 0.0
)

Public properties

a

val aDouble

Value a in the equation of the EOTF described above.

b

val bDouble

Value b in the equation of the EOTF described above.

c

val cDouble

Value c in the equation of the EOTF described above.

d

val dDouble

Value d in the equation of the EOTF described above.

e

val eDouble

Value e in the equation of the EOTF described above.

f

val fDouble

Value f in the equation of the EOTF described above.

gamma

val gammaDouble

Value g in the equation of the EOTF described above.