itkwasm-elastix-emscripten 1.0.2__tar.gz → 2.0.0__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.
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/PKG-INFO +2 -2
- itkwasm_elastix_emscripten-2.0.0/itkwasm_elastix_emscripten/_version.py +1 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/default_parameter_map_async.py +2 -2
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/elastix_async.py +2 -2
- itkwasm_elastix_emscripten-2.0.0/itkwasm_elastix_emscripten/js_package.py +8 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/transformix_async.py +13 -4
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/pixi.lock +904 -900
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/pyproject.toml +1 -1
- itkwasm_elastix_emscripten-1.0.2/itkwasm_elastix_emscripten/_version.py +0 -1
- itkwasm_elastix_emscripten-1.0.2/itkwasm_elastix_emscripten/js_package.py +0 -8
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/.gitattributes +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/.gitignore +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/README.md +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/__init__.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/read_parameter_files_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/itkwasm_elastix_emscripten/write_parameter_files_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/test/__init__.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/test/fixtures.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/test/test_itkwasm_elastix.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/test/test_write_parameter_files_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/__init__.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/fixtures.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/test_default_parameter_map_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/test_elastix_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/test_read_parameter_files_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/test_transformix_async.py +0 -0
- {itkwasm_elastix_emscripten-1.0.2 → itkwasm_elastix_emscripten-2.0.0}/tests/test_write_parameter_files_async.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: itkwasm-elastix-emscripten
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Dynamic: Summary
|
|
5
5
|
Project-URL: Home, https://github.com/InsightSoftwareConsortium/ITKElastix
|
|
6
6
|
Project-URL: Source, https://github.com/InsightSoftwareConsortium/ITKElastix
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0"
|
|
@@ -38,9 +38,9 @@ async def default_parameter_map_async(
|
|
|
38
38
|
web_worker = js_resources.web_worker
|
|
39
39
|
|
|
40
40
|
kwargs = {}
|
|
41
|
-
if number_of_resolutions:
|
|
41
|
+
if number_of_resolutions is not None:
|
|
42
42
|
kwargs["numberOfResolutions"] = to_js(number_of_resolutions)
|
|
43
|
-
if final_grid_spacing:
|
|
43
|
+
if final_grid_spacing is not None:
|
|
44
44
|
kwargs["finalGridSpacing"] = to_js(final_grid_spacing)
|
|
45
45
|
|
|
46
46
|
outputs = await js_module.defaultParameterMap(to_js(transform_name), webWorker=web_worker, noCopy=True, **kwargs)
|
|
@@ -35,7 +35,7 @@ async def elastix_async(
|
|
|
35
35
|
:param moving: Moving image
|
|
36
36
|
:type moving: Image
|
|
37
37
|
|
|
38
|
-
:param initial_transform: Initial transform to apply before registration
|
|
38
|
+
:param initial_transform: Initial ITK transform to apply before registration. Only provide this or an initial transform parameter object.
|
|
39
39
|
:type initial_transform: TransformList
|
|
40
40
|
|
|
41
41
|
:param initial_transform_parameter_object: Initial elastix transform parameter object to apply before registration. Only provide this or an initial transform.
|
|
@@ -44,7 +44,7 @@ async def elastix_async(
|
|
|
44
44
|
:return: Resampled moving image
|
|
45
45
|
:rtype: Image
|
|
46
46
|
|
|
47
|
-
:return: Fixed-to-moving transform
|
|
47
|
+
:return: Fixed-to-moving ITK transform
|
|
48
48
|
:rtype: TransformList
|
|
49
49
|
|
|
50
50
|
:return: Elastix optimized transform parameter object representation
|