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
Merge requests
!103
Pre workshop refactoring
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Pre workshop refactoring
pre_workshop_refactoring
into
main
Overview
0
Commits
3
Pipelines
0
Changes
5
Merged
Pre workshop refactoring
fima
requested to merge
pre_workshop_refactoring
into
main
Jun 20, 2024
Overview
0
Commits
3
Pipelines
0
Changes
5
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
3d38c878
3 commits,
Jun 20, 2024
5 files
+
25
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
qim3d/viz/detection.py
+
2
−
2
View file @ 3d38c878
Edit in single-file editor
Open in Web IDE
Show full file
@@ -5,6 +5,7 @@ import ipywidgets as widgets
from
IPython.display
import
clear_output
,
display
import
qim3d
def
circles
(
blobs
,
vol
,
alpha
=
0.5
,
color
=
"
#ff9900
"
,
**
kwargs
):
"""
Plots the blobs found on a slice of the volume.
@@ -32,10 +33,9 @@ def circles(blobs, vol, alpha=0.5, color="#ff9900", **kwargs):
vol
,
n_slices
=
1
,
position
=
z_slice
,
img_height
=
3
,
img_width
=
3
,
cmap
=
"
gray
"
,
show_position
=
False
,
**
kwargs
)
# Add circles from deteced blobs
for
detected
in
blobs
:
Loading