Module: parsers/dicom

Dicom parser is a combination of utilities to get a VJS image from dicom files. scripts Relies on dcmjs, jquery, HTML5 fetch API, HTML5 promise API. image-JPEG2000 (jpx) is still in use, because Cornerstone does it and may have identified some edge corners. Ref: https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/master/docs/Codecs.md https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/a9b408f5562bde5543fc6986bd23fbac9d676562/src/shared/decoders/decodeJPEG2000.js#L127-L134
Parameters:
Name Type Description
arrayBuffer arraybuffer List of files to be parsed. It is urls from which VJS.parsers.dicom can pull the data from.
Source:

Methods

_recommendedDisplayCIELab(segment) → {*}

Recommended display CIELab
Parameters:
Name Type Description
segment *
Source:
Returns:
Type
*

_segmentationCode(segment) → {*}

Segmentation code -> Code designator (0008,0102) -> Code value (0008,0200) -> Code Meaning Type (0008,0104)
Parameters:
Name Type Description
segment *
Source:
Returns:
Type
*

_swapFrame()

Swap bytes in frame.
Source:

modality() → {String}

Get modality (0008,0060)
Source:
Returns:
Type
String

patientAge() → {*}

Patient age
Source:
Returns:
Type
*

patientBirthdate() → {*}

Patient birthdate
Source:
Returns:
Type
*

patientID() → {*}

Patient ID
Source:
Returns:
Type
*

patientName() → {*}

Patient name
Source:
Returns:
Type
*

patientSex() → {*}

Patient sex
Source:
Returns:
Type
*

photometricInterpretation() → {*}

Photometric interpretation
Source:
Returns:
Type
*

rawHeader() → {*}

Raw dataset
Source:
Returns:
Type
*

segmentationSegments() → {*}

Segmentation segments -> Sequence of segments (0062,0002) -> Recommended Display CIELab -> Segmentation Code -> Segment Number (0062,0004) -> Segment Label (0062,0005) -> Algorithm Type (0062,0008)
Source:
Returns:
Type
*

segmentationType() → {String}

Segmentation type (0062,0001)
Source:
Returns:
Type
String

seriesDate() → {*}

Series date
Source:
Returns:
Type
*

seriesDescription() → {*}

Series description
Source:
Returns:
Type
*

seriesInstanceUID() → {String}

Series instance UID (0020,000e)
Source:
Returns:
Type
String

sopInstanceUID(frameIndex) → {*}

SOP Instance UID
Parameters:
Name Type Default Description
frameIndex * 0
Source:
Returns:
Type
*

studyDate() → {*}

Study date
Source:
Returns:
Type
*

studyDescription() → {*}

Study description
Source:
Returns:
Type
*

studyInstanceUID() → {String}

Study instance UID (0020,000d)
Source:
Returns:
Type
String

transferSyntaxUID() → {*}

Transfer syntax UID
Source:
Returns:
Type
*