C# Class EvilDICOM.Core.IO.Reading.DICOMElementReader

Reads in DICOM elements from a DICOM object
Mostrar archivo Open project: rexcardan/Evil-DICOM Class Usage Examples

Public Methods

Method Description
ReadAllElements ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr, TransferSyntax syntax ) : List
ReadAllElementsExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List

Reads and returns all elements in explicit big endian format

ReadAllElementsExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List

Reads and returns all elements in explilcit little endian format

ReadAllElementsImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List

Reads and returns all elements in implicit little endian format

ReadElementExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader

ReadElementExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader

ReadElementImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader

SkipElementExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void
SkipElementExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void
SkipElementImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void

Private Methods

Method Description
CheckForExplicitness ( EvilDICOM.Core.Element.Tag tag, EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr, VR &vr ) : bool

This method helps read non-compliant files. Sometimes, an supposed implicit is encoded explicitly. We'll check here Returns true if element is actually encoded explicitly (VR is written as starting characters).

ReadElementExplicitLittleEndian ( EvilDICOM.Core.Element.Tag tag, VR vr, EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader after the tag and VR have been read

Method Details

ReadAllElements() public static method

public static ReadAllElements ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr, TransferSyntax syntax ) : List
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader
syntax TransferSyntax
return List

ReadAllElementsExplicitBigEndian() public static method

Reads and returns all elements in explicit big endian format
public static ReadAllElementsExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return List

ReadAllElementsExplicitLittleEndian() public static method

Reads and returns all elements in explilcit little endian format
public static ReadAllElementsExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return List

ReadAllElementsImplicitLittleEndian() public static method

Reads and returns all elements in implicit little endian format
public static ReadAllElementsImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : List
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return List

ReadElementExplicitBigEndian() public static method

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
public static ReadElementExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return IDICOMElement

ReadElementExplicitLittleEndian() public static method

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
public static ReadElementExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return IDICOMElement

ReadElementImplicitLittleEndian() public static method

Reads and returns the next DICOM element starting at the current location in the DICOM binary reader
public static ReadElementImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : IDICOMElement
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader the binary reader which is reading the DICOM object
return IDICOMElement

SkipElementExplicitBigEndian() public static method

public static SkipElementExplicitBigEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader
return void

SkipElementExplicitLittleEndian() public static method

public static SkipElementExplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader
return void

SkipElementImplicitLittleEndian() public static method

public static SkipElementImplicitLittleEndian ( EvilDICOM.Core.IO.Reading.DICOMBinaryReader dr ) : void
dr EvilDICOM.Core.IO.Reading.DICOMBinaryReader
return void