dicom_parser 0.0.1
dicom_parser: ^0.0.1 copied to clipboard
dicom_parser flutter package
🩻 DICOM Parser in Flutter (Dart) #
This project is a fully Dart-based DICOM parser, developed entirely using the Flutter framework. It enables cross-platform parsing and rendering of DICOM medical images across mobile, web, and desktop applications — without relying on native C/C++ libraries.
The parser supports reading, decoding, and interpreting core medical imaging data, making it a powerful tool for developers building health-tech applications.
✅ Features #
- 📂 Parse DICOM files
- 🔄 Support for various Transfer Syntaxes
- 🎨 Support for multiple Photometric Interpretations
- 💻 Works on Android, iOS, Web, macOS, Linux, and Windows
- ❌ No native dependencies — 100% Dart
📦 Supported Transfer Syntaxes #
Supports a wide range of DICOM Transfer Syntax UIDs for uncompressed and compressed image data:
1.2.840.10008.1.2
— Implicit VR Little Endian1.2.840.10008.1.2.1
— Explicit VR Little Endian1.2.840.10008.1.2.2
— Explicit VR Big Endian1.2.840.10008.1.2.5
— RLE Lossless1.2.840.10008.1.2.4.50
— JPEG Baseline (8-bit)1.2.840.10008.1.2.4.51
— JPEG Extended (12-bit)1.2.840.10008.1.2.4.57
— JPEG Lossless (Non-Hierarchical)1.2.840.10008.1.2.4.70
— JPEG Lossless (First-Order Prediction)1.2.840.10008.1.2.1.98
— Deflated Explicit VR Little Endian
🎨 Supported Photometric Interpretations #
MONOCHROME1
— Inverted grayscale (0 = white)MONOCHROME2
— Standard grayscale (0 = black)RGB
— Color imagesPALETTE COLOR
— Indexed color with LUTsYBR_FULL
— YUV color encoding (JPEG-related)
Usage #
import 'package:dicom_parser/dicom_parser.dart';
import 'dart:typed_data';
Uint8List? fileBytes;
// Read DICOM file bytes into fileBytes
DICOMModel dicomModel = await parseDICOM(fileBytes);