'DeclarationPublic Function PixelValuesByFrameGeneric( _ ByVal frame As Integer, _ ByVal modalityTransform As Boolean, _ Optional ByVal voiLutTransform As Boolean _ ) As Array
'UsageDim instance As DicomDataSet Dim frame As Integer Dim modalityTransform As Boolean Dim voiLutTransform As Boolean Dim value As Array value = instance.PixelValuesByFrameGeneric(frame, modalityTransform, voiLutTransform)
public Array PixelValuesByFrameGeneric( int frame, bool modalityTransform, bool voiLutTransform )
public: Array^ PixelValuesByFrameGeneric( int frame, bool modalityTransform, bool voiLutTransform )
Parameters
- frame
- The 1-based frame number to retrieve
- modalityTransform
- Controls whether to apply the scale/offset or Modality LUT if present
- voiLutTransform
- Controls whether to apply the VOI 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[]