.
This commit is contained in:
@@ -298,8 +298,10 @@
|
|||||||
// We need to setup a try/catch block because parseDicom will throw an exception
|
// We need to setup a try/catch block because parseDicom will throw an exception
|
||||||
// if you attempt to parse a non dicom part 10 file (or one that is corrupted)
|
// if you attempt to parse a non dicom part 10 file (or one that is corrupted)
|
||||||
try {
|
try {
|
||||||
|
cosole.log("bytearray", byteArray)
|
||||||
// parse byteArray into a DataSet object using the parseDicom library
|
// parse byteArray into a DataSet object using the parseDicom library
|
||||||
var dataSet = dicomParser.parseDicom(byteArray);
|
var dataSet = dicomParser.parseDicom(byteArray);
|
||||||
|
cosole.log("ds", dataSet)
|
||||||
|
|
||||||
// dataSet contains the parsed elements. Each element is available via a property
|
// dataSet contains the parsed elements. Each element is available via a property
|
||||||
// in the dataSet.elements object. The property name is based on the elements group
|
// in the dataSet.elements object. The property name is based on the elements group
|
||||||
|
|||||||
Reference in New Issue
Block a user