←Select platform

GetLookupTable Method

Summary

Gets the 8-bit lookup table (LUT) of this RasterImage.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterColor[] GetLookupTable() 
Public Function GetLookupTable() As Leadtools.RasterColor() 
public [Leadtools.RasterColor[]](rastercolor.md) GetLookupTable() 
@property (nonatomic, strong, readonly, nullable) NSArray<LTRasterColor *> *lookupTable 
public RasterColor[] getLookupTable() 
 function Leadtools.RasterImage.GetLookupTable() 
public: 
Leadtools.array<RasterColor>^ GetLookupTable();  

Return Value

An array of RasterColor structures which represent the lookup table (LUT) of this RasterImage.

Remarks

The lookup table (LUT) is used when the value of UseLookupTable is set to true.

The 8-bit and 16-bit lookup tables are synchronized, so when you change one, the other is changed as well The 16-bit lookup table (GetLookupTable16) has more precision so it is recommended you use the 16-bit LUT instead of the 8-bit LUT.

LUT is also used for displaying extended Palette color image such as bit stored is 16-bit and LUT contains color value. This is typical of Ultra Sound image.

For more information, refer to Grayscale Images.

Example

For an example, refer to SetLookupTable.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly