dbdicom 0.2.4__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.

@@ -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.2
1
+ Metadata-Version: 2.4
2
2
  Name: dbdicom
3
- Version: 0.2.4
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/
@@ -19,7 +19,7 @@ Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
20
  Requires-Dist: matplotlib
21
21
  Requires-Dist: nibabel
22
- Requires-Dist: numpy<=1.26.4
22
+ Requires-Dist: numpy
23
23
  Requires-Dist: pandas
24
24
  Requires-Dist: pydicom
25
25
  Requires-Dist: python-gdcm
@@ -28,29 +28,12 @@ Requires-Dist: importlib-resources
28
28
  Requires-Dist: scipy
29
29
  Requires-Dist: imageio
30
30
  Requires-Dist: vreg
31
- Provides-Extra: docs
32
- Requires-Dist: sphinx; extra == "docs"
33
- Requires-Dist: pydata-sphinx-theme; extra == "docs"
34
- Requires-Dist: myst-parser; extra == "docs"
35
- Requires-Dist: sphinx-copybutton; extra == "docs"
36
- Requires-Dist: sphinx-design; extra == "docs"
37
- Requires-Dist: sphinx-remove-toctrees; extra == "docs"
38
- Requires-Dist: autodocsumm; extra == "docs"
39
- Requires-Dist: docutils; extra == "docs"
40
- Requires-Dist: sphinxcontrib-applehelp; extra == "docs"
41
- Requires-Dist: sphinxcontrib-devhelp; extra == "docs"
42
- Requires-Dist: sphinxcontrib-htmlhelp; extra == "docs"
43
- Requires-Dist: sphinxcontrib-jsmath; extra == "docs"
44
- Requires-Dist: sphinxcontrib-qthelp; extra == "docs"
45
- Requires-Dist: sphinxcontrib-serializinghtml; extra == "docs"
46
- Requires-Dist: sphinx-gallery; extra == "docs"
47
31
  Provides-Extra: extensions
48
- Requires-Dist: scipy; extra == "extensions"
49
- Requires-Dist: scikit-image<=0.19.0; extra == "extensions"
50
- Requires-Dist: SimpleITK-SimpleElastix; extra == "extensions"
32
+ Requires-Dist: scikit-image; extra == "extensions"
51
33
  Requires-Dist: itk-elastix; extra == "extensions"
52
34
  Requires-Dist: dipy; extra == "extensions"
53
35
  Requires-Dist: scikit-learn; extra == "extensions"
36
+ Dynamic: license-file
54
37
 
55
38
  `dbdicom` is a Pythonic interface for reading and writing DICOM databases.
56
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=hP2get4UTpu0ZSlbAvQmwaKRvGupHLn39L0BctgzZ-0,38563
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.4.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
63
- dbdicom-0.2.4.dist-info/METADATA,sha256=8Gv7ufrnEsiJbQIPs5XN8PbOAO8YgP5URDUvJCLp6ks,3421
64
- dbdicom-0.2.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
65
- dbdicom-0.2.4.dist-info/top_level.txt,sha256=nJWxXg4YjD6QblfmhrzTMXcr8FSKNc0Yk-CAIDUsYkQ,8
66
- dbdicom-0.2.4.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5