'Declaration
Public Function PixelValuesByFrame( _ ByVal Frame As System.Integer, _ ByVal ModalityTransform As System.Boolean _ ) As System.Single()
'Usage
Dim instance As DicomImage Dim Frame As System.Integer Dim ModalityTransform As System.Boolean Dim value() As System.Single value = instance.PixelValuesByFrame(Frame, ModalityTransform)
public System.float[] PixelValuesByFrame( System.int Frame, System.bool ModalityTransform )
public function PixelValuesByFrame( Frame: System.Integer; ModalityTransform: System.Boolean ): System.array of Single;
public function PixelValuesByFrame( Frame : System.int, ModalityTransform : System.boolean ) : System.float[];
public: System.float[]* PixelValuesByFrame( System.int Frame, System.bool ModalityTransform )
public: System.array<float>^ PixelValuesByFrame( System.int Frame, System.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