FragmentSequence

FragmentSequence class

Represents fragment sequences of DICOM pixel data. Intended for handling encapsulated (compressed) pixel data.

public abstract class FragmentSequence : IElement, IEnumerable<byte[]>

Properties

NameDescription
Count { get; }
Fragments { get; }The collection of fragments. Read-only Byte[][].
OffsetTable { get; }The fragment offset table. Read-only UInt32[].
Tag { get; }The DICOM tag associated with the element. Read-only Tag.
abstract ValueRepresentation { get; }The Value Representation of the element. Read-only ValueRepresentation.

Methods

NameDescription
static Create(Tag, ValueRepresentation)Creates a new FragmentSequence with the given tag and vr.
static Create(Tag, ValueRepresentation, byte[][])Creates a new FragmentSequence with the given tag and vr.
AddFragment(Span<byte>)Adds the given fragment to the collection of fragments.
Get<T>(Index)
Get<T>(int)
GetEnumerator()
GetOrDefault<T>(Index)
GetOrDefault<T>(int)
GetValues<T>()
GetValues<T>(Range)
override ToString()
TryGetValue<T>(Index, out T)
TryGetValue<T>(int, out T)

See Also