Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
LookupTable Property
See Also 
Leadtools.ImageProcessing.Core Namespace > WindowLevelCommand Class : LookupTable Property




Gets or sets an optional lookup table that can be used to implement a user defined conversion.

Syntax

Visual Basic (Declaration) 
Public Property LookupTable As RasterColor()
Visual Basic (Usage)Copy Code
Dim instance As WindowLevelCommand
Dim value() As RasterColor
 
instance.LookupTable = value
 
value = instance.LookupTable
C# 
public RasterColor[] LookupTable {get; set;}
Managed Extensions for C++ 
public: __property RasterColor[] get_LookupTable();
public: __property void set_LookupTable( 
   RasterColor[] value
);
C++/CLI 
public:
property array<RasterColor> LookupTable {
   array<RasterColor> get();
   void set (RasterColorarray<value> value);
}

Return Value

Optional lookup table that can be used to implement a user defined conversion. For every intensity value between 0 and 2 raised to the power of (HighBit - LowBit + 1) - 1 there should be a corresponding entry in the lookup table that contains an RGB quad. If LookupTable is null, the conversion is a normal shift (right or left) and the output image is 8-bit grayscale. If LookupTable is not null, the output image is a 24-bit image.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also