ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOM Class : BuildPseudocolorLUT Method |
'Declaration Public Shared Sub BuildPseudocolorLUT( _ ByVal scheme As ImGearPseudocolorSchemes, _ ByVal lookupTable As ImGearRGBLUT _ )
'Usage Dim scheme As ImGearPseudocolorSchemes Dim lookupTable As ImGearRGBLUT ImGearDICOM.BuildPseudocolorLUT(scheme, lookupTable)
public static void BuildPseudocolorLUT( ImGearPseudocolorSchemes scheme, ImGearRGBLUT lookupTable )
public: static void BuildPseudocolorLUT( ImGearPseudocolorSchemes scheme, ImGearRGBLUT* lookupTable )
public: static void BuildPseudocolorLUT( ImGearPseudocolorSchemes scheme, ImGearRGBLUT^ lookupTable )
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.
ImGearPageDisplay pageDisplay = igPageView.Display;
ImGearContrastSettings contrastSettings = ImGearContrastSettings.CreateDefault();
ImGearRGBLUT LUT = new ImGearRGBLUT(8, 8);
ImGearDICOM.BuildPseudocolorLUT(ImGearPseudocolorSchemes.OilFilm, LUT);
pageDisplay.UpdateLUT(LUT, contrastSettings);
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)