Interface IDicomReader
Interface representing a DICOM reader.
Namespace: Dicom.IO.Reader
Assembly: cs.temp.dll.dll
Syntax
public interface IDicomReader
Properties
Dictionary
Gets or sets the DICOM dictionary to be used by the reader.
Declaration
DicomDictionary Dictionary { get; set; }
Property Value
Type | Description |
---|---|
DicomDictionary |
IsDeflated
Declaration
bool IsDeflated { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsExplicitVR
Gets or sets whether value representation is explicit or not.
Declaration
bool IsExplicitVR { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Read(IByteSource, IDicomReaderObserver, Func<ParseState, Boolean>)
Perform DICOM reading of a byte source.
Declaration
DicomReaderResult Read(IByteSource source, IDicomReaderObserver observer, Func<ParseState, bool> stop = null)
Parameters
Type | Name | Description |
---|---|---|
IByteSource | source | Byte source to read. |
IDicomReaderObserver | observer | Reader observer. |
Func<ParseState, Boolean> | stop | Criterion at which to stop. |
Returns
Type | Description |
---|---|
DicomReaderResult | Reader resulting status. |
ReadAsync(IByteSource, IDicomReaderObserver, Func<ParseState, Boolean>)
Asynchronously perform DICOM reading of a byte source.
Declaration
Task<DicomReaderResult> ReadAsync(IByteSource source, IDicomReaderObserver observer, Func<ParseState, bool> stop = null)
Parameters
Type | Name | Description |
---|---|---|
IByteSource | source | Byte source to read. |
IDicomReaderObserver | observer | Reader observer. |
Func<ParseState, Boolean> | stop | Criterion at which to stop. |
Returns
Type | Description |
---|---|
Task<DicomReaderResult> | Awaitable reader resulting status. |