Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePhotonNoiseTable ¶
func CreatePhotonNoiseTable(width, height int, iso float64, transferFunction *TransferFunction) ([]byte, error)
Types ¶
type TransferFunction ¶
type TransferFunction struct { ToLinear func(in float64) (linear float64) FromLinear func(linear float64) (out float64) // MidTone In linear output light. This would typically be 0.18 for SDR (this matches // the definition of Standard Output Sensitivity from ISO 12232:2019), but in // HDR, we certainly do not want to consider 18% of the maximum output a // “mid-tone”, as it would be e.g. 1800 cd/m² for SMPTE ST 2084 (PQ). MidTone float64 }
func GetTransferFunction ¶
func GetTransferFunction(kind string) *TransferFunction
Click to show internal directories.
Click to hide internal directories.