scikit-surgeryvtk 2.3.0__tar.gz → 2.3.1__tar.gz
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.
- {scikit_surgeryvtk-2.3.0/scikit_surgeryvtk.egg-info → scikit_surgeryvtk-2.3.1}/PKG-INFO +2 -2
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1/scikit_surgeryvtk.egg-info}/PKG-INFO +2 -2
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/requires.txt +1 -1
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/setup.py +1 -1
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/_version.py +3 -3
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/utils/projection_utils.py +2 -4
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_base_calibrated_window.py +0 -1
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_interlaced_stereo_window.py +0 -2
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/test_requirements.py +1 -1
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/LICENSE +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/MANIFEST.in +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/README.rst +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/SOURCES.txt +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/dependency_links.txt +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/top_level.txt +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/setup.cfg +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/camera/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/camera/vtk_camera_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/outline_render.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/surface_model_loader.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/voxelise.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_base_actor.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_base_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_cylinder_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_grid_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_image_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_point_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_sphere_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_surface_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_surface_model_directory_loader.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_tube_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/text/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/text/text_overlay.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/utils/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/utils/matrix_utils.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/utils/platform_utils.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/utils/polydata_utils.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_lus_simulator.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_overlay_window.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_rendering_generator.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_reslice_widget.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_zbuffer_window.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/camera/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/camera/test_liver_overlay.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/camera/test_vtk_camera_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_surface_model_loader.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_voxelise.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_cylinder_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_image_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_point_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_sphere_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_surface_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_surface_model_directory_loader.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_tube_model.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_unstructured_grid.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/utils/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/utils/test_matrix_utills.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/utils/test_polydata_utils.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/utils/test_projection_utils.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/__init__.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_interlaced_stereo_window.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_lus_simulator.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_rendering_generator.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtk_overlay_window.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtk_overlay_window_5_layers.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtk_overlay_window_with_outlines.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtk_reslice.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtkzbuffer_window.py +0 -0
- {scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scikit-surgeryvtk
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: scikit-surgeryvtk uses VTK for Image Guided Surgery applications
|
|
5
5
|
Home-page: https://github.com/SciKit-Surgery/scikit-surgeryvtk
|
|
6
6
|
Author: Thomas Dowrick
|
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/x-rst
|
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: numpy>=1.11
|
|
23
23
|
Requires-Dist: vtk>=9.5.0
|
|
24
|
-
Requires-Dist: PySide6
|
|
24
|
+
Requires-Dist: PySide6<6.10.0,>=6.5.1.1
|
|
25
25
|
Requires-Dist: opencv-contrib-python-headless>=4.2.0.32
|
|
26
26
|
Requires-Dist: scikit-surgerycore>=0.1.7
|
|
27
27
|
Requires-Dist: scikit-surgeryimage>=0.10.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scikit-surgeryvtk
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: scikit-surgeryvtk uses VTK for Image Guided Surgery applications
|
|
5
5
|
Home-page: https://github.com/SciKit-Surgery/scikit-surgeryvtk
|
|
6
6
|
Author: Thomas Dowrick
|
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/x-rst
|
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: numpy>=1.11
|
|
23
23
|
Requires-Dist: vtk>=9.5.0
|
|
24
|
-
Requires-Dist: PySide6
|
|
24
|
+
Requires-Dist: PySide6<6.10.0,>=6.5.1.1
|
|
25
25
|
Requires-Dist: opencv-contrib-python-headless>=4.2.0.32
|
|
26
26
|
Requires-Dist: scikit-surgerycore>=0.1.7
|
|
27
27
|
Requires-Dist: scikit-surgeryimage>=0.10.1
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-
|
|
11
|
+
"date": "2025-10-24T08:32:40+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.3.
|
|
14
|
+
"full-revisionid": "1a0b61bcda94c0aaad8cf148516f7260dde2e9fa",
|
|
15
|
+
"version": "2.3.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -36,12 +36,11 @@ def _validate_input_for_projection(points,
|
|
|
36
36
|
|
|
37
37
|
if camera_to_world is None:
|
|
38
38
|
raise ValueError('camera_to_world is NULL')
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
if not isinstance(camera_to_world, np.ndarray):
|
|
40
|
+
raise TypeError('camera_to_world is not an np.ndarray')
|
|
41
41
|
|
|
42
42
|
if camera_matrix is None:
|
|
43
43
|
raise ValueError('camera_matrix is NULL')
|
|
44
|
-
|
|
45
44
|
vm.validate_camera_matrix(camera_matrix)
|
|
46
45
|
|
|
47
46
|
if distortion is not None:
|
|
@@ -63,7 +62,6 @@ def project_points(points,
|
|
|
63
62
|
:raises: ValueError, TypeError:
|
|
64
63
|
:return: nx2 ndarray representing 2D points, typically in pixels
|
|
65
64
|
"""
|
|
66
|
-
|
|
67
65
|
_validate_input_for_projection(points,
|
|
68
66
|
camera_to_world,
|
|
69
67
|
camera_matrix,
|
|
@@ -332,7 +332,6 @@ class VTKBaseCalibratedWindow(QVTKRenderWindowInteractor):
|
|
|
332
332
|
Sets the camera position and orientation, from a numpy 4x4 array.
|
|
333
333
|
:param camera_to_world: camera_to_world transform.
|
|
334
334
|
"""
|
|
335
|
-
vm.validate_rigid_matrix(camera_to_world)
|
|
336
335
|
self.camera_to_world = camera_to_world
|
|
337
336
|
vtk_mat = mu.create_vtk_matrix_from_numpy(camera_to_world)
|
|
338
337
|
self._update_pose_matrices(vtk_mat)
|
|
@@ -12,7 +12,6 @@ import numpy as np
|
|
|
12
12
|
from PySide6 import QtWidgets
|
|
13
13
|
from PySide6.QtWidgets import QSizePolicy
|
|
14
14
|
import sksurgeryimage.processing.interlace as i
|
|
15
|
-
import sksurgerycore.utilities.validate_matrix as vm
|
|
16
15
|
import sksurgeryvtk.widgets.vtk_overlay_window as ow
|
|
17
16
|
import sksurgeryvtk.camera.vtk_camera_model as cm
|
|
18
17
|
|
|
@@ -226,7 +225,6 @@ class VTKStereoInterlacedWindow(QtWidgets.QWidget):
|
|
|
226
225
|
|
|
227
226
|
:param left_to_right: 4x4 numpy ndarray, rigid transform
|
|
228
227
|
"""
|
|
229
|
-
vm.validate_rigid_matrix(left_to_right)
|
|
230
228
|
self.left_to_right = left_to_right
|
|
231
229
|
|
|
232
230
|
def set_camera_poses(self, left_camera_to_world):
|
|
@@ -31,7 +31,7 @@ def test_requirements_vs_setup():
|
|
|
31
31
|
setup_reqs = []
|
|
32
32
|
|
|
33
33
|
for line in searchlines[install_line + 1: end_line]:
|
|
34
|
-
req = line.replace(',
|
|
34
|
+
req = line.replace("',", "'").replace("'", "")
|
|
35
35
|
req = req.replace(' ', '').replace('\n', '')
|
|
36
36
|
setup_reqs.append(req)
|
|
37
37
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/scikit_surgeryvtk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/surface_model_loader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_cylinder_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/models/vtk_surface_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_lus_simulator.py
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_overlay_window.py
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_rendering_generator.py
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_reslice_widget.py
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/sksurgeryvtk/widgets/vtk_zbuffer_window.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_surface_model_loader.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/models/test_vtk_unstructured_grid.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_interlaced_stereo_window.py
RENAMED
|
File without changes
|
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_rendering_generator.py
RENAMED
|
File without changes
|
{scikit_surgeryvtk-2.3.0 → scikit_surgeryvtk-2.3.1}/tests/widgets/test_vtk_overlay_window.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|