openDICOM.NET API Reference (openDICOM# Class Library)

PixelData.ToBytesArray Method 

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

public byte[][] ToBytesArray();

Remarks

All non-byte arrays are transcoded into byte arrays. If a DICOM pixel data element is not a DICOM sequence of items, an array with a single byte array entry will be returned.

See Also

PixelData Class | openDicom.Image Namespace