ImageGear .NET v25.1 - Updated
BuildSummaryLUT(ImGearDIB) Method
Example 




ImageGear.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOMDisplaySettings Class : BuildSummaryLUT(ImGearDIB) Method
DIB for which the DisplaySummaryLUT is to be built.
Builds a standalone ImageGear.Core.ImGearLUT class object based on the transforms that are present in the ImGearDICOMDisplaySettings class object.
Syntax
'Declaration
 
Public Function BuildSummaryLUT( _
   ByVal dib As ImGearDIB _
) As ImGearLUT
'Usage
 
Dim instance As ImGearDICOMDisplaySettings
Dim dib As ImGearDIB
Dim value As ImGearLUT
 
value = instance.BuildSummaryLUT(dib)
public ImGearLUT BuildSummaryLUT( 
   ImGearDIB dib
)
public: ImGearLUT* BuildSummaryLUT( 
   ImGearDIB* dib
) 
public:
ImGearLUT^ BuildSummaryLUT( 
   ImGearDIB^ dib
) 

Parameters

dib
DIB for which the DisplaySummaryLUT is to be built.

Return Value

ImGearLUT object.
Remarks
Transforms are applied in the following order:
  1. Modality
  2. VOI
  3. Inverted
  4. Presentation LUT
  5. Standard Display LUT

Resulting ImageGear.Core.ImGearLUT class object has input and output depths equal to bit depth of the first image channel. Use this method to build a LUT that will not change image bit depths after being applied to the image.

Example
ImGearRasterPage rasterPage = (ImGearRasterPage)igPage;
ImGearLUT lut = rasterPage.DICOMDisplaySettings.BuildSummaryLUT(rasterPage.DIB);
Dim rasterPage As ImGearRasterPage = igPage
Dim lut As ImGearLUT = rasterPage.DICOMDisplaySettings.BuildSummaryLUT(rasterPage.DIB)
See Also

Reference

ImGearDICOMDisplaySettings Class
ImGearDICOMDisplaySettings Members
ImGearDIB Class
ImGearLUT Class