Accusoft ImagXpress 12
MEDSetModalityLUT Method
See Also  Send comments on this topic.
varLUT
The look up table itself. LUT Data corresponding with DICOM tag (0028, 3006).
nNumEntries
The number of entries in the LUT, which corresponds with first value found in the LUT Descriptor (0028, 3002).
nFirstValueMapped
The stored pixel value mapped to the first entry in the LUT. All values less than this pixel value are also mapped to the first entry. This value corresponds to the second value found in the LUT Descriptor (0028, 3002).
nNumBits
The number of bits allocated for each entry in the LUT. It shall take the value 8 or 16. This value corresponds with the third value in the LUT Descriptor (0028, 3002).
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : MEDSetModalityLUT Method

Glossary Item Box

Description

Defines a DICOM Modality Look Up Table.

Syntax

Visual Basic
Public Sub MEDSetModalityLUT( _
   ByVal varLUT As Variant, _
   ByVal nNumEntries As Long, _
   ByVal nFirstValueMapped As Long, _
   ByVal nNumBits As Long _
) 

Parameters

varLUT
The look up table itself. LUT Data corresponding with DICOM tag (0028, 3006).
nNumEntries
The number of entries in the LUT, which corresponds with first value found in the LUT Descriptor (0028, 3002).
nFirstValueMapped
The stored pixel value mapped to the first entry in the LUT. All values less than this pixel value are also mapped to the first entry. This value corresponds to the second value found in the LUT Descriptor (0028, 3002).
nNumBits
The number of bits allocated for each entry in the LUT. It shall take the value 8 or 16. This value corresponds with the third value in the LUT Descriptor (0028, 3002).

Remarks

Sets the Modality LUT information specified in the DICOM Modality LUT Sequence (0028, 3000) attribute. Specifies the values of the LUT data and descriptor information to use when performing a non-linear conversion of pixel data during the modality step of the DICOM grayscale transformation.

This property should only be used when DICOM specific information is available. Also, ViewGrayMode property must be set to GRAY_Medical.

Note: Available in Professional Edition.

See Also

©2013. Accusoft Corporation. All Rights Reserved.