Commit 3ecdf43
committed
Add checks for 1-bit (unimplemented) or non-mod-8 (invalid) BitsAllocated.
8.1.1 Pixel Data Encoding of Related Data Elements
Bits Allocated (0028,0100) shall either be 1, or a multiple of 8.
https://dicom.nema.org/medical/dicom/current/output/html/part05.html#PS3.51 parent 8bec49d commit 3ecdf43
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
746 | 758 | | |
747 | 759 | | |
748 | 760 | | |
| |||
0 commit comments