'Declaration
Public Function PixelValuesByFrame( _ ByVal frame As Integer, _ ByVal modalityTransform As Boolean _ ) As Single()
'Usage
Dim instance As DicomImage Dim frame As Integer Dim modalityTransform As Boolean Dim value() As Single value = instance.PixelValuesByFrame(frame, modalityTransform)
public float[] PixelValuesByFrame( int frame, bool modalityTransform )
public: array<float>^ PixelValuesByFrame( 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 float values representing the (possibly transformed) pixel values