ConvertConfig.Discretize Method

Definition

Namespace: P1.ImageSdk

Returns a list of ‘Y’ values of the Curve defined by the input Points. This is applicable for the RGB/LumaCurve)

public static Double[] Discretize(Point2D[] points, UInt16 bits);

Parameters:

points

the list of points defining the Curve

bits

The resolution of the return value. Valid range: [0,12]

Returns:

A vector of the Y values of the evenly distributed between the two end points of the range [0, 1)