Determines whether the image has a non-linear lookup table (LUT).
public bool NonLinearLookupTable {get; set;}
Public Property NonLinearLookupTable() As Boolean
Get
Set
public:
property bool NonLinearLookupTable
{
bool get()
void set(bool value)
}
true if the image has non-linear lookup table (LUT); otherwise, false.
NonLinearLookupTable indicates whether an image lookup table (LUT) is non-linear. The LEADTOOLS rendering engine uses this flag internally to avoid problems with bicubic/resample resizing.
When the flag is not set, the resample algorithm uses the LUT index (which is the preferred mechanism when rendering DICOM files). However, if some LUT portions contain colors while others have grayscale values, painting artifacts might be produced. To fix this, the rendering engine checks the value of NonLinearLookupTable and if it is set, it converts the image data to 24-bit color using the LUT and performs the resample/bicubic resizing on the 24-bit data to produce better quality results.
The DICOM engine automatically sets this flag when loading DICOM files containing 16-bit palettes. Users should set this flag if they change the LUT manually or if they change the LUT to be non-linear. Otherwise, rendering the zoomed-in image will have paint problems if resample/bicubic resizing is used.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document