GetCustomHistogramSize

GetCustomHistogramSize 1:

Gets the size of a custom histogram array.

Syntax

Definition:

METHOD GetCustomHistogramSize : HRESULT
VAR_INPUT
    nHistogramSize : Reference To ULINT;
    nBins          : Reference To UDINT;
END_VAR

GetCustomHistogramSize 2: Inputs

Name

Type

Description

nHistogramSize

Reference To ULINT

Output parameter containing the required buffer size.

nBins

Reference To UDINT

Desired number of bins or 0 to keep the default for the corresponding image format (in) and default number of bins (out).

GetCustomHistogramSize 3: Return value

HRESULT