Open DICOMweb SDK
Version: 0.5.1
Note: This is a work in progress and not complete.
An Open DICOMweb package providing encoders/decoders for converting between different DICOM representations (media types) to the Open DICOMweb in-memory Study model.
- application/dicom (DicomCodec)
- application/dicom+json (DicomJsonCodec)
- application/dicom+xml (DicomXmlCodec - future?)
- Dicom.encode and Dicom.decode
- DicomJson.encode and DicomJson.decode (TBD)
- DicomXml.encode and Dicom.xml.decode (TBD)
- HTML.encode (TBD)
This package contains the following libraries:
- bytebuf - Reading/writing data from/to a byte stream.
- dicom - A DICOM media type (binary) encoder/decoder.
- dicom+json - A DICOM+JSON media type encoder/decoder
In Progress
- mint - A MINT media type encoder/decoder
- mint+json - A MINT+JSON media type encoder/decoder
- mint+html - A MINT+HTML media type encoder
A simple usage example:
import 'package:converter/converter.dart';
// Read binary DICOM file and decode into Study Model
List<int> bytes = new File('foo.dcm').readAsBytes();
Study study = Dicom.decode(bytes);
// Encode Study model into JSON and write to file
List<int> json = DicomJson.encode(study);
new File('foo.json').writeAsBytes(json);
- DICOM+JSON Encoder/Decoder
- MINT Encoder/Decoder
- MINT+json Encoder/Decoder
- MINT+HTML
Please file feature requests and bugs at the issue tracker.