Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
model_server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Randolph Rhodes
model_server
Commits
8ce0262f
Commit
8ce0262f
authored
1 year ago
by
Christopher Randolph Rhodes
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up RGB export work
parent
61130b78
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extensions/chaeo/workflows.py
+3
-17
3 additions, 17 deletions
extensions/chaeo/workflows.py
with
3 additions
and
17 deletions
extensions/chaeo/workflows.py
+
3
−
17
View file @
8ce0262f
...
...
@@ -78,33 +78,19 @@ def export_patches_from_multichannel_zstack(
)
ti
.
click
(
'
export_3d_patches
'
)
# if export_2d_patches:
# files = export_patches_from_zstack(
# Path(where_output) / '2d_patches',
# stack.get_one_channel_data(patches_channel),
# zmask_meta,
# prefix=fstem,
# draw_bounding_box=False,
# rescale_clip=0.0,
# make_3d=False,
# focus_metric='max_sobel',
# )
# ti.click('export_2d_patches')
if
export_2d_patches
:
files
=
export_multichannel_patches_from_zstack
(
Path
(
where_output
)
/
'
2d_patches
_chlorophyl_contour
'
,
Path
(
where_output
)
/
'
2d_patches
'
,
stack
,
zmask_meta
,
prefix
=
fstem
,
draw_bounding_box
=
False
,
rescale_clip
=
0.0
,
make_3d
=
False
,
focus_metric
=
'
max_sobel
'
,
ch_white
=
4
,
ch_rgb_overlay
=
(
3
,
None
,
None
),
draw_
contour
=
True
,
contour
_channel
=
1
,
draw_
bounding_box
=
True
,
bounding_box
_channel
=
1
,
overlay_gain
=
(
0.1
,
1.0
,
1.0
)
)
ti
.
click
(
'
export_2d_patches
'
)
...
...
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