ImageEn, unit ievision

TIEVisionImage.getDiagonal

TIEVisionImage.getDiagonal


Declaration

function getDiagonal(diag: int32_t): TIEVisionImage; safecall;


Description

Create a new TIEVisionImage object that contains the specified diagonal.
No copy is performed, only the actual area is shared among the objects.

Parameter Description
diag Index of the diagonal, with the following values: d=0 is the main diagonal, d>0 is a diagonal from the lower half. For example, d=1 means the diagonal is set imme- diately below the main one. d<0 is a diagonal from the upper half. For example, d=1 means the diagonal is set imme- diately above the main one