CImage:Filter CImage:ImageType

CImage:Gain


The Gain method returns the inverse gain of the camera used to acquire the image. The units of the result are not specified but are usually [electrons per ADU].

Syntax

nGain = CImage:Gain()

Example

Suppose a CImage object I is attached to an image and was acquired with a camera having an inverse gain of 2.1 electrons per ADU. Then

     Printf( "Gain = %.2lf e/ADU", I:Gain() )

prints the following:

     Gain = 2.10 e/ADU

Related Topics

CImage