-
Notifications
You must be signed in to change notification settings - Fork 128
Request: Better Documentation for Writing DICOM Files #440
Copy link
Copy link
Open
Description
Request: Better Documentation for Writing DICOM Files
Hello! Thank you for maintaining dcmjs. It's a really useful library for working with DICOM in JavaScript.
However, the documentation for creating DICOM files (especially from scratch ) is very limited and difficult to follow for new users. It’s unclear what the expected structure of the dataset should be, or how to correctly handle PixelData and metadata like Rows, Columns, BitsAllocated, etc.
Problem Areas:
- No clear example of how to build a valid dataset for writing a new
.dcmfile - Missing explanation of
naturalizeDataset,denaturalizeDataset, and when to use each - Lack of typing or reference for what a valid DICOM dictionary structure looks like
- No guide for writing multi-frame or image-based DICOMs (e.g., Ultrasound, CT)
Request:
Could you please add:
- A section in the README for writing/exporting DICOM
- A full working example of writing a DICOM image (single-frame and optionally multi-frame)
- Explanation of the required tags and structure (
SOPClassUID,PixelRepresentation, etc.)
Thanks again for your work! I’d be happy to help test or contribute examples if needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels