dbdicom 0.2.5__py3-none-any.whl → 0.2.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dbdicom might be problematic. Click here for more details.
- dbdicom/extensions/skimage.py +1 -1
- {dbdicom-0.2.5.dist-info → dbdicom-0.2.6.dist-info}/METADATA +3 -2
- {dbdicom-0.2.5.dist-info → dbdicom-0.2.6.dist-info}/RECORD +6 -6
- {dbdicom-0.2.5.dist-info → dbdicom-0.2.6.dist-info}/WHEEL +1 -1
- {dbdicom-0.2.5.dist-info → dbdicom-0.2.6.dist-info/licenses}/LICENSE +0 -0
- {dbdicom-0.2.5.dist-info → dbdicom-0.2.6.dist-info}/top_level.txt +0 -0
dbdicom/extensions/skimage.py
CHANGED
|
@@ -97,7 +97,7 @@ def _volume_features(arr, spacing=[1,1,1], affine=None, show_progress=print):
|
|
|
97
97
|
slice_spacing = np.linalg.norm(affine[:3, 2])
|
|
98
98
|
spacing = (column_spacing, row_spacing, slice_spacing)
|
|
99
99
|
voxel_volume = spacing[0]*spacing[1]*spacing[2]
|
|
100
|
-
nr_of_voxels = np.count_nonzero(array)
|
|
100
|
+
nr_of_voxels = np.count_nonzero(array > 0.5)
|
|
101
101
|
volume = nr_of_voxels * voxel_volume
|
|
102
102
|
# Surface properties - for now only extracting surface area
|
|
103
103
|
# Note: this is smoothing the surface first - not tested in depth whether this is necessary or helpful.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dbdicom
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: A pythonic interface for reading and writing DICOM databases
|
|
5
5
|
Author-email: Steven Sourbron <s.sourbron@sheffield.ac.uk>, Ebony Gunwhy <e.gunwhy@sheffield.ac.uk>
|
|
6
6
|
Project-URL: Homepage, https://qib-sheffield.github.io/dbdicom/
|
|
@@ -33,6 +33,7 @@ Requires-Dist: scikit-image; extra == "extensions"
|
|
|
33
33
|
Requires-Dist: itk-elastix; extra == "extensions"
|
|
34
34
|
Requires-Dist: dipy; extra == "extensions"
|
|
35
35
|
Requires-Dist: scikit-learn; extra == "extensions"
|
|
36
|
+
Dynamic: license-file
|
|
36
37
|
|
|
37
38
|
`dbdicom` is a Pythonic interface for reading and writing DICOM databases.
|
|
38
39
|
|
|
@@ -21,7 +21,7 @@ dbdicom/extensions/elastix.py,sha256=0gNgiC0RAEjLBhovgRtaLy31xxUy6rJWoapm_3tMCQ8
|
|
|
21
21
|
dbdicom/extensions/matplotlib.py,sha256=k9KK-mZW8TpW37PgoFre3yb4ffRCRrPVeQKEGZnQoXw,4218
|
|
22
22
|
dbdicom/extensions/numpy.py,sha256=13PPKj-GCAstSb7uQ8_XAZ2borYkDVKhqcAs7KVA6pc,10542
|
|
23
23
|
dbdicom/extensions/scipy.py,sha256=xQ3H3puoE9kF1qG5Pvl6gaQD4TdL6-f3V8Cz7z1_L0A,52884
|
|
24
|
-
dbdicom/extensions/skimage.py,sha256=
|
|
24
|
+
dbdicom/extensions/skimage.py,sha256=b2UhSn96KXonq9cwgDg7hMm_ySA1NsnWxYHSY9oQI6o,38569
|
|
25
25
|
dbdicom/extensions/sklearn.py,sha256=KxxAlzh8ZI7YBkLS529k9VaAObCCVZT8exvEQThcYCY,9351
|
|
26
26
|
dbdicom/extensions/vreg.py,sha256=PbCqTRsLKmbksRYsM_piBrcJL2XV89_jenw85Ozjzwk,67522
|
|
27
27
|
dbdicom/external/__init__.py,sha256=XNQqfspyf6vFGedXlRKZsUB8k8E-0W19Uamwn8Aioxo,316
|
|
@@ -59,8 +59,8 @@ dbdicom/utils/dcm4che.py,sha256=Vxq8NYWWK3BuqJkzhBQ89oMqzJlnxqTxgsgTo_Frznc,2317
|
|
|
59
59
|
dbdicom/utils/files.py,sha256=HkAr03EmpcLkfcr6cS13_g-vqbE1acRYmTJP3e5zNas,2844
|
|
60
60
|
dbdicom/utils/image.py,sha256=IPTD-4adMy5rf5rgSwfR6ImuBZojMfnp4-zKeuG9zik,26385
|
|
61
61
|
dbdicom/utils/variables.py,sha256=vUh5cDnmCft5hoXDYXUvfkg5Cy5WlgMAogU38Y_BKRo,5753
|
|
62
|
-
dbdicom-0.2.
|
|
63
|
-
dbdicom-0.2.
|
|
64
|
-
dbdicom-0.2.
|
|
65
|
-
dbdicom-0.2.
|
|
66
|
-
dbdicom-0.2.
|
|
62
|
+
dbdicom-0.2.6.dist-info/licenses/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
|
|
63
|
+
dbdicom-0.2.6.dist-info/METADATA,sha256=PwaXplDjZ7num1iqyWF9sS8IALHwW85zEm-LksCP24g,2532
|
|
64
|
+
dbdicom-0.2.6.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
|
65
|
+
dbdicom-0.2.6.dist-info/top_level.txt,sha256=nJWxXg4YjD6QblfmhrzTMXcr8FSKNc0Yk-CAIDUsYkQ,8
|
|
66
|
+
dbdicom-0.2.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|