Click or drag to resize

IMcLookupTableFreeForm Property

Get or set the user defined response curve, or one element of the curve.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Property FreeForm ( 
	Optional Index As Integer = -1
) As Object
	Get
	Set

Parameters

Index (Optional)
Type: SystemInt32
long : Optional. A 0-based index indicating which element of the free form curve is being read. Index = -1 indicates that the entire free form curve is returned or supplied. By default Index = -1.

Property Value

Type: Object
Remarks
The final response curve will be calculated by combining brightness, contrast, and gamma values, and the free-form LUT. The response curve will be applied during display when EnableResponse is TRUE. This transform is applied to all pixels between the BlackLevel and the WhiteLevel when EnableBWLevels is TRUE, or to the entire dynamic range (RangeMin to RangeMax) when the B&W levels are disabled. When getting this property, the return will contain either a single double value (0 <= Index < FreeFormLength), or an array containing the entire free-form curve (Index = -1). This array will contain FreeFormLength double values; FreeFormLength is synchronized to the Length property. The default free-form curve is a linear ramp from 0.0 up to but not including 256.0 mapped evenly over the FreeFormLength values. When setting this property, supply a number or array containing the value(s) in the range >=0.0 and <256.0 being set. A single numerical value may be supplied when (0 <= Index < FreeFormLength), or for the default case (Index = -1) an array must be supplied containing the entire new free-form curve, which must contain at least two elements. When setting the entire curve, if more or fewer than FreeFormLength values are supplied the supplied array is interpolated/averaged to an array of FreeFormLength. Assigning Nothing to this property with the Index argument given as -1 will set the FreeForm LUT to a ramp.
See Also