'Declaration
Public Function PixelValuesByFrameGeneric( _ ByVal frame As Integer, _ ByVal modalityTransform 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)
public Array PixelValuesByFrameGeneric( int frame, bool modalityTransform )
public: Array^ PixelValuesByFrameGeneric( int frame, bool 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[]