Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qim3d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QIM
Tools
qim3d
Commits
d97287ed
Commit
d97287ed
authored
6 months ago
by
s214735
Browse files
Options
Downloads
Patches
Plain Diff
fix
parent
3c7cee7d
No related branches found
No related tags found
1 merge request
!143
Type hints
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
qim3d/processing/_layers.py
+1
-1
1 addition, 1 deletion
qim3d/processing/_layers.py
with
1 addition
and
1 deletion
qim3d/processing/_layers.py
+
1
−
1
View file @
d97287ed
...
@@ -89,7 +89,7 @@ def segment_layers(data: np.ndarray,
...
@@ -89,7 +89,7 @@ def segment_layers(data: np.ndarray,
return
segmentations
return
segmentations
def
get_lines
(
segmentations
:
list
|
np
.
ndarray
)
->
list
:
def
get_lines
(
segmentations
:
list
[
np
.
ndarray
]
)
->
list
:
"""
"""
Expects list of arrays where each array is 2D segmentation with only 2 classes. This function gets the border between those two
Expects list of arrays where each array is 2D segmentation with only 2 classes. This function gets the border between those two
so it could be plotted. Used with qim3d.processing.segment_layers
so it could be plotted. Used with qim3d.processing.segment_layers
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment