'Declaration
Public Function PixelValuesByFrameGeneric( _ ByVal frame As System.Integer, _ ByVal modalityTransform As System.Boolean _ ) As System.Array
'Usage
Dim instance As DicomDataSet Dim frame As System.Integer Dim modalityTransform As System.Boolean Dim value As System.Array value = instance.PixelValuesByFrameGeneric(frame, modalityTransform)
public System.Array PixelValuesByFrameGeneric( System.int frame, System.bool modalityTransform )
public function PixelValuesByFrameGeneric( frame: System.Integer; modalityTransform: System.Boolean ): System.Array;
public function PixelValuesByFrameGeneric( frame : System.int, modalityTransform : System.boolean ) : System.Array;
public: System.Array* PixelValuesByFrameGeneric( System.int frame, System.bool modalityTransform )
public: System.Array^ PixelValuesByFrameGeneric( 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 values representing the (possibly transformed) pixel values. Return type is a generic array as opposed to DicomImage.PixelValuesByFrame which returns a float[]