ImageEn, unit ievision

TIEVisionImage.reduce

TIEVisionImage.reduce


Declaration

procedure reduce(dest: TIEVisionImage; dim: int32_t = -1; op: TIEVisionReduceOp = ievREDUCE_SUM); safecall;


Description

Reduces an image (matrix) to a vector.

Parameter Description
dest Container for the resulting image.
dim Dimension index along which the matrix is reduced. 0 means that the matrix is reduced to a single row. 1 means that the matrix is reduced to a single column.
op Reduction operation.