EasyImage::Offset
Transforms an image, applying a gain and offset to all pixels.
Namespace: Euresys::Open_eVision
[C++]
void Offset(
const EROIC24* sourceImage,
EROIC24* destinationImage,
EColor Offset
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
Offset
Constant offset. By default (argument omitted)
Remarks
The gain should remain close to
The offset can be positive or negative, and allows to adjust the image intensity. The resulting values are always saturated to range
For color images, the separate gain and offset values are specified as triple of values stored in a EColor. The default values leave the image unchanged.
Internally, the computations are achieved through fixed-point arithmetic with 5 bits of precision for the fractional part. This can result in loss of precision with small gains.
EasyImage.Offset
Transforms an image, applying a gain and offset to all pixels.
Namespace: Euresys.Open_eVision
[C#]
void Offset(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.EROIC24 destinationImage,
Euresys.Open_eVision.EColor Offset
)
Parameters
sourceImage
Pointer to the source image/ROI.
destinationImage
Pointer to the destination image/ROI.
Offset
Constant offset. By default (argument omitted)
Remarks
The gain should remain close to
The offset can be positive or negative, and allows to adjust the image intensity. The resulting values are always saturated to range
For color images, the separate gain and offset values are specified as triple of values stored in a EColor. The default values leave the image unchanged.
Internally, the computations are achieved through fixed-point arithmetic with 5 bits of precision for the fractional part. This can result in loss of precision with small gains.