curvicost 0.0.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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mohd-Zulhilmi Ismadi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.5
2
+ Name: curvicost
3
+ Version: 0.0.1
4
+ Summary: Score curvilinear segmentations against the functional cost of their errors. Name reserved; full release to follow.
5
+ Author: Mohd-Zulhilmi Ismadi
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Mohd-Zulhilmi Ismadi
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ License-File: LICENSE
28
+ Keywords: curvilinear,evaluation,metrics,segmentation,vasculature
29
+ Classifier: Development Status :: 1 - Planning
30
+ Classifier: Intended Audience :: Science/Research
31
+ Classifier: License :: OSI Approved :: MIT License
32
+ Classifier: Programming Language :: Python :: 3
33
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
34
+ Requires-Python: >=3.10
35
+ Description-Content-Type: text/markdown
36
+
37
+ # curvicost
38
+
39
+ **Name reserved. The full release accompanies a forthcoming publication.**
40
+
41
+ `curvicost` scores curvilinear segmentations — vessels, neurites, airways,
42
+ cracks — against the *functional cost* of their errors rather than overlap
43
+ alone. Overlap metrics answer "how many voxels did you get right"; for these
44
+ structures that is usually not the question being asked.
45
+
46
+ This version is a placeholder that reserves the name. It contains no
47
+ implementation. The working release will provide:
48
+
49
+ - `score()` — overlap and topology metrics alongside measured functional
50
+ costs (traceable length, Poiseuille conductance, self-perfusion)
51
+ - `perturb()` — five leak-tested graded error operators
52
+ - a command line interface
53
+
54
+ Scope: 2D and 3D binary curvilinear masks.
55
+
56
+ MIT licensed.
@@ -0,0 +1,20 @@
1
+ # curvicost
2
+
3
+ **Name reserved. The full release accompanies a forthcoming publication.**
4
+
5
+ `curvicost` scores curvilinear segmentations — vessels, neurites, airways,
6
+ cracks — against the *functional cost* of their errors rather than overlap
7
+ alone. Overlap metrics answer "how many voxels did you get right"; for these
8
+ structures that is usually not the question being asked.
9
+
10
+ This version is a placeholder that reserves the name. It contains no
11
+ implementation. The working release will provide:
12
+
13
+ - `score()` — overlap and topology metrics alongside measured functional
14
+ costs (traceable length, Poiseuille conductance, self-perfusion)
15
+ - `perturb()` — five leak-tested graded error operators
16
+ - a command line interface
17
+
18
+ Scope: 2D and 3D binary curvilinear masks.
19
+
20
+ MIT licensed.
@@ -0,0 +1,23 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "curvicost"
7
+ version = "0.0.1"
8
+ description = "Score curvilinear segmentations against the functional cost of their errors. Name reserved; full release to follow."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { file = "LICENSE" }
12
+ authors = [{ name = "Mohd-Zulhilmi Ismadi" }]
13
+ keywords = ["segmentation", "evaluation", "metrics", "vasculature", "curvilinear"]
14
+ classifiers = [
15
+ "Development Status :: 1 - Planning",
16
+ "Intended Audience :: Science/Research",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Programming Language :: Python :: 3",
19
+ "Topic :: Scientific/Engineering :: Image Processing",
20
+ ]
21
+
22
+ [tool.hatch.build.targets.wheel]
23
+ packages = ["src/curvicost"]
@@ -0,0 +1,16 @@
1
+ """curvicost -- name reserved; the full release accompanies a forthcoming publication.
2
+
3
+ This placeholder contains no implementation. See the project README.
4
+ """
5
+
6
+ __version__ = "0.0.1"
7
+
8
+ _MESSAGE = (
9
+ "curvicost 0.0.1 is a placeholder that reserves the package name. "
10
+ "It contains no implementation. The working release accompanies a "
11
+ "forthcoming publication."
12
+ )
13
+
14
+
15
+ def __getattr__(name):
16
+ raise AttributeError(f"{_MESSAGE} (no attribute {name!r})")