ImageGear for .NET
BuildStandardDisplayLUT Method
See Also  Example Send Feedback
ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOM Class : BuildStandardDisplayLUT Method




inputDepth
Input depth of the LUT. inputDepth = 12 is the typical value, sufficient for most medical images.
outputDepth
Output depth of the LUT. Set to 8 for a monitor that can display 256 shades of gray.
characteristicCurve
Characteristic curve of the display device.

Glossary Item Box

Builds Standard Display LUT.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

inputDepth
Input depth of the LUT. inputDepth = 12 is the typical value, sufficient for most medical images.
outputDepth
Output depth of the LUT. Set to 8 for a monitor that can display 256 shades of gray.
characteristicCurve
Characteristic curve of the display device.

Return Value

New instance of ImageGear.Core.ImGearFullLUT class object, containing the Standard Display LUT, based on the provided characteristic curve.

Remarks

This method builds a lookup table that maps pixel intensities from DICOM Presentation space (P-Values) into pixel intensities of the display device. Use this lookup table to initialize ImGearDICOMDisplaySettings class.

The source data for this method is a characteristic curve - an array that lists luminosities of display device corresponding to each pixel intensity.

Example

C#Copy Code
double[] characteristicCurve = new double[] { };
// Fill characteristic curve, e.g. load from a file
ImGearFullLUT stdLUT = ImGearDICOM.BuildStandardDisplayLUT(12, 8, characteristicCurve);
Visual BasicCopy Code
Dim characteristicCurve As Double() = New Double() {}
' Fill characteristic curve, e.g. load from a file
Dim stdLUT As ImGearFullLUT = ImGearDICOM.BuildStandardDisplayLUT(12, 8, characteristicCurve)

See Also

©2013. Accusoft Corporation. All Rights Reserved.