Commit f9dfc67d87ea9b2bf31ffedc36e3d4523ee24e0e
1 parent
381f21fe
Exists in
master
and in
68 other branches
ADD: property to size to dicom.image
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/reader/dicom.py
... | ... | @@ -1819,6 +1819,7 @@ class Image(object): |
1819 | 1819 | self.file = parser.filename |
1820 | 1820 | self.time = parser.GetImageTime() |
1821 | 1821 | self.type = parser.GetImageType() |
1822 | + self.size = (parser.GetDimensionX(), parser.GetDimensionY()) | |
1822 | 1823 | |
1823 | 1824 | if (parser.GetImageThickness()): |
1824 | 1825 | try: | ... | ... |