GetCurvePoints method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short GetCurvePoints (long lFlags);

Overview

Refer to Changing Brightness and Contrast

Remarks

Updates the Amplitudes property based on a curve or lines that pass through the points specified in the UserLUTCurveX and UserLUTCurveY properties.

This method will update the Amplitudes property using either the best curve or lines that pass through the points specified in the UserLUTCurveX and UserLUTCurveY properties. The points in the array may be sorted or not. In most cases, this method is used with the FreeHandShear method, or FreeHandWave method.

The values stored in the Amplitudes property represent the y coordinates of the calculated curve based on the points in the UserLUTCurveX and UserLUTCurveY properties. In the Amplitudes property there can be only one y value for each x coordinate. Therefore, circles, ellipses, and spirals cannot be represented by the Amplitudes property.

The x coordinates for the user points are sorted internally automatically.

This method will also update the AmplitudesCount property with the number of values written to the Amplitudes property.

See Also

Elements:

GetFunctionalLookupTable method, GetUserLookUpTable method, FreeHandShear method, FreeHandWave method

Topics:

Raster Images: Modifying Intensity Values