-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
69 lines (63 loc) · 1.72 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# yamllint disable-line rule:line-length
# SPDX-FileCopyrightText: 2023 Friedrich Miescher Institute for Biomedical Research (FMI), Basel (Switzerland)
#
# SPDX-License-Identifier: MIT
---
# Required
# criteria for file selection in case of multiple channels/slices per position
file_selection:
channel: C01
# choose method how to segment, filter, and sample the objects
process:
# segment methods: threshold, cellpose
segment: threshold
# filter methods: bounding_box, area, solidity, feature, border, intensity, dilate
filter: [bounding_box, area, solidity, feature, border, intensity, dilate]
# sample methods: centers, grid_overlap, dense_grid,
# object_centered_grid, region_centered_grid
sample: centers
# Each section below provides arguments to one of the methods set in 'process'.
# Config sections for methods not selected above will be ignored.
# segment
threshold:
threshold: 128
include_holes: true
gaussian_sigma: 0.0 # default: 0.0
# filter
bounding_box:
min_x: 64
min_y: 0
max_x: 256
max_y: 190
area:
min_area: 100
max_area: 10000
solidity:
min_solidity: 0.9
max_solidity: 1.0
feature:
feature: eccentricity
min_value: 0.0
max_value: 0.99
border:
margin: 5 # default: 0
intensity:
target_channel: C03
min_intensity: 128
dilate:
pixel_distance: 1.0
# sample
dense_grid:
binning_factor: 50 # default: 50
grid_overlap:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0
object_centered_grid:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0
region_centered_grid:
mag_first_pass: 4
mag_second_pass: 60
overlap_ratio: 0.05 # default: 0