openDICOM.NET API Reference (openDICOM# Class Library)

PixelData.ToArray Method 

Returns the entire DICOM pixel data as array of binary arrays.

public object[] ToArray();

Remarks

If a DICOM pixel data element is not a DICOM sequence of items, an array with a single binary array entry will be returned. Binary arrays are supposed to be of the type byte[], ushort[] or short[].

See Also

PixelData Class | openDicom.Image Namespace