PixelValuesByFrameGeneric Method (DicomImage)
Returns an array of pixel values for a frame, optionally transformed via the modality transformation
'Declaration
Public Function PixelValuesByFrameGeneric( _
ByVal As Integer, _
ByVal As Boolean _
) As Array
'Usage
Dim instance As DicomImage
Dim frame As Integer
Dim modalityTransform As Boolean
Dim value As Array
value = instance.PixelValuesByFrameGeneric(frame, modalityTransform)
Parameters
- frame
- The 1-based frame number to retrieve
- modalityTransform
- Controls whether to apply the scale/offset or Modality LUT if present
Return Value
Array of values representing the (possibly transformed) pixel values. Return type is a generic array as opposed to
PixelValuesByFrame which returns a float[]
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2