Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- scheme
- Predefined pseudocoloring scheme.
- lookupTable
- Lookup table to fill. It should contain three single-channel LUTs with input and output depths set to 8.
This method fills a lookup table (LUT) according to one of the predefined 24-bit RGB to 24-bit RGB pseudocoloring schemes. Use this method to initialize ImageGear.Display.ImGearPageDisplay.LUT property.
ImageGear.Display.ImGearPageDisplay.LUT property is used on the last stage of display processing, when all geometric, color space and depth conversions have been done. This allows you to use a 24-bit RGB to 24-bit RGB lookup table for displaying images of any color space and depth.
C# | Copy Code |
---|---|
ImGearPageDisplay pageDisplay = igPageView.Display;
ImGearContrastSettings contrastSettings = ImGearContrastSettings.CreateDefault();
ImGearRGBLUT LUT = new ImGearRGBLUT(8, 8);
ImGearDICOM.BuildPseudocolorLUT(ImGearPseudocolorSchemes.OilFilm, LUT);
pageDisplay.UpdateLUT(LUT, contrastSettings); |
Visual Basic | Copy Code |
---|---|
Dim pageDisplay As ImGearPageDisplay = igPageView.Display Dim contrastSettings As ImGearContrastSettings = ImGearContrastSettings.CreateDefault() Dim LUT As ImGearRGBLUT = New ImGearRGBLUT(8, 8) ImGearDICOM.BuildPseudocolorLUT(ImGearPseudocolorSchemes.OilFilm, LUT) pageDisplay.UpdateLUT(LUT, contrastSettings) |