DicomObjects.NET Core Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also