cardio 2026.2.0__py3-none-any.whl → 2026.2.1__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.
- cardio/__init__.py +1 -1
- cardio/segmentation.py +2 -0
- {cardio-2026.2.0.dist-info → cardio-2026.2.1.dist-info}/METADATA +2 -2
- {cardio-2026.2.0.dist-info → cardio-2026.2.1.dist-info}/RECORD +6 -6
- {cardio-2026.2.0.dist-info → cardio-2026.2.1.dist-info}/WHEEL +0 -0
- {cardio-2026.2.0.dist-info → cardio-2026.2.1.dist-info}/entry_points.txt +0 -0
cardio/__init__.py
CHANGED
cardio/segmentation.py
CHANGED
|
@@ -40,6 +40,8 @@ class Segmentation(Object):
|
|
|
40
40
|
# Create SurfaceNets3D filter
|
|
41
41
|
surface_nets = vtk.vtkSurfaceNets3D()
|
|
42
42
|
surface_nets.SetInputData(vtk_image)
|
|
43
|
+
max_label = int(vtk_image.GetPointData().GetScalars().GetRange()[1])
|
|
44
|
+
surface_nets.GenerateLabels(max_label, 1, max_label)
|
|
43
45
|
|
|
44
46
|
# Configure label selection if specified
|
|
45
47
|
if self.include_labels is not None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cardio
|
|
3
|
-
Version: 2026.2.
|
|
3
|
+
Version: 2026.2.1
|
|
4
4
|
Summary: A simple web-based viewer for 3D and 4D ('cine') medical imaging data.
|
|
5
5
|
Keywords: Medical,Imaging,3D,4D,Visualization
|
|
6
6
|
Author: Davis Marc Vigneault
|
|
@@ -75,7 +75,7 @@ $ uv init
|
|
|
75
75
|
$ uv add cardio
|
|
76
76
|
$ . ./.venv/bin/activate
|
|
77
77
|
(project) cardio --version
|
|
78
|
-
cardio 2026.2.
|
|
78
|
+
cardio 2026.2.1
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
### Developing
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
cardio/__init__.py,sha256=
|
|
1
|
+
cardio/__init__.py,sha256=ocfP5OFEyg1RaKveythH5VspWNzh2WQs26dnhyTT0NQ,601
|
|
2
2
|
cardio/app.py,sha256=h-Xh57Txw3Hom-fDv08YxjXzovuIxY8_5qPy6MJThZs,1354
|
|
3
3
|
cardio/assets/bone.toml,sha256=vv8uVYSHIoKuHkNCoBOkGe2_qoEbXMvQO6ypm3mMOtA,675
|
|
4
4
|
cardio/assets/vascular_closed.toml,sha256=XtaZS_Zd6NSAtY3ZlUfiog3T86u9Ii0oSutU2wBQy78,1267
|
|
@@ -15,7 +15,7 @@ cardio/property_config.py,sha256=YrWIyCoSAfJPigkhriIQybQpJantGnXjT4nJfrtIJco,168
|
|
|
15
15
|
cardio/rotation.py,sha256=aaqgrc69BhUoAirK0x59ACWjXoQnaujYJ5Kjm_UXm8E,3161
|
|
16
16
|
cardio/scene.py,sha256=FrUQIJrBR_jPrW7utOI3uDbaUxjmZEapzVTEVIgEWaA,15365
|
|
17
17
|
cardio/screenshot.py,sha256=l8bLgxnU5O0FlnmsyVAzKwM9Y0401IzcdnDP0WqFSTY,640
|
|
18
|
-
cardio/segmentation.py,sha256=
|
|
18
|
+
cardio/segmentation.py,sha256=xIOCxBmLR3U_9F2BfO9XkzLDw5MIxQR7kGv4qRw75Xc,6788
|
|
19
19
|
cardio/transfer_function_pair.py,sha256=_J0qXA0InUPpvfWPcW492KGSYAqeb12htCzKBSpWHwo,780
|
|
20
20
|
cardio/types.py,sha256=jxSZjvxEJ03OThfupT2CG9UHsFklwbWeFrUozNXro2I,333
|
|
21
21
|
cardio/ui.py,sha256=Ik_Ank5OOiW00QdS9ndlKexR_dH7qCkvenfgx-l8wSQ,53487
|
|
@@ -24,7 +24,7 @@ cardio/volume.py,sha256=sdQ7gtX4jQDD9U8U95xD9LIV_1hpykj8NTCo1_aIKVM,15035
|
|
|
24
24
|
cardio/volume_property.py,sha256=-EUMV9sWCaetgGjnqIWxPp39qrxEZKTNDJ5GHUgLMlk,1619
|
|
25
25
|
cardio/volume_property_presets.py,sha256=4-hjo-dukm5sMMmWidbWnVXq0IN4sWpBnDITY9MqUFg,1625
|
|
26
26
|
cardio/window_level.py,sha256=XMkwLAHcmsEYcI0SoHySQZvptq4VwX2gj--ps3hV8AQ,784
|
|
27
|
-
cardio-2026.2.
|
|
28
|
-
cardio-2026.2.
|
|
29
|
-
cardio-2026.2.
|
|
30
|
-
cardio-2026.2.
|
|
27
|
+
cardio-2026.2.1.dist-info/WHEEL,sha256=4n27za1eEkOnA7dNjN6C5-O2rUiw6iapszm14Uj-Qmk,79
|
|
28
|
+
cardio-2026.2.1.dist-info/entry_points.txt,sha256=xRd1otqKtW9xmidJ4CFRX1V9KWmsBbtxrgMtDColq3w,40
|
|
29
|
+
cardio-2026.2.1.dist-info/METADATA,sha256=BaiXOM_5E4xdhCNkY2_7TJ9nZxoTQtJBsXCDWU-6l4Q,3518
|
|
30
|
+
cardio-2026.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|