ImageEn, unit ievision

TIEVisionImage.convertScale

TIEVisionImage.convertScale


Declaration

function convertScale(dest: TIEVisionImage; scale: double = 1.0; shift: double = 0.0): TIEVisionImage; overload; safecall;
function convertScale(channelFormat: TIEVisionChannelFormat; scale: double = 1.0; shift: double = 0.0): TIEVisionImage; overload; safecall;


Description

Converts an image to another datatype with optional scaling.
First overload stores the resulting image into destination object. It returns the destination image.
Second overload updates the current image. It returns itself.

Parameter Description
dest Container used to store results.
scale Scale factor (1.0 = no scale).
shift Delta added to the scaled values.
channelFormat Used to change the channel format.