DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / GetPixelStream Method
Requested pixel data for the frame



In This Topic
    GetPixelStream Method
    In This Topic
    Returns the raw pixel data as a Stream object for a specific frame
    Syntax
    'Declaration
     
    Public Function GetPixelStream( _
       ByVal Frame As Integer _
    ) As Stream
    'Usage
     
    Dim instance As DicomDataSet
    Dim Frame As Integer
    Dim value As Stream
     
    value = instance.GetPixelStream(Frame)
    public Stream GetPixelStream( 
       int Frame
    )
    public:
    Stream^ GetPixelStream( 
       int Frame
    ) 

    Parameters

    Frame
    Requested pixel data for the frame

    Return Value

    PixelData of the specified frame or null if it is uncompressed data or it encounters any failure during conversion
    Remarks
    Specify requested frame as 1 for MPEG data (mpeg 1,2,4) as they are defined/handled as 1 frame in DICOM
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also