ImageGear .NET - Updated
Item Property (ImGearLinearLUT)




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearLinearLUT Class : Item Property
Index of the LUT to get.
Gets or sets LUT output value corresponding to Int32 input value.
Syntax
'Declaration
 
Public Overrides Default Property Item( _
   ByVal index As Integer _
) As Integer
'Usage
 
Dim instance As ImGearLinearLUT
Dim index As Integer
Dim value As Integer
 
instance.Item(index) = value
 
value = instance.Item(index)
public override int this[ 
   int index
]; {get; set;}
public: __property int get_Item   int index
 override;
public: __property void set_Item   int index,
   int value
 override;
public:
property int default [int] override {
   int get(int index) override;
   void set (int indexint value) override;
}

Parameters

index
Index of the LUT to get.

Property Value

Integer value.
Remarks
LUT output value the formula is: result = input_value * Slope + Intercept + 0.5.

Set accessor throws exception, because such operation is invalid for this type of LUT.

See Also

Reference

ImGearLinearLUT Class
ImGearLinearLUT Members