-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.vsh.yaml
More file actions
177 lines (170 loc) · 3.85 KB
/
config.vsh.yaml
File metadata and controls
177 lines (170 loc) · 3.85 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
name: watershed
label: "watershed Segmentation"
summary: "Output of the segmentation method watershed"
description: "Output of the segmentation method watershed"
links:
documentation: "https://github.com/openproblems-bio/task_ist_preprocessing"
repository: "https://github.com/theislab/txsim"
references:
doi: "10.1109/34.87344"
__merge__: /src/api/comp_method_segmentation.yaml
arguments:
- name: --normalize_func
type: string
default: "gamma"
- name: --normalize_gamma
type: integer
default: 1
- name: --normalize_gain
type: integer
default: 1
- name: --normalize_inv
type: boolean
default: False
- name: --normalize_cutoff
type: double
default: 0.5
- name: --contrast_adjustment_func
type: string
default: "equalize_adapthist"
- name: --contrast_adjustment_kernel_size
type: string
default: "None"
- name: --contrast_adjustment_clip_limit
type: double
default: 0.01
- name: --contrast_adjustment_nbins
type: integer
default: 256
- name: --contrast_adjustment_mask
type: string
default: "None"
- name: --contrast_adjustment_in_range
type: string
default: "image"
- name: --contrast_adjustment_out_range
type: string
default: "dtype"
- name: --blur_func
type: string
default: "gaussian"
- name: --blur_sigma
type: integer
default: 1
- name: --blur_output
type: string
default: "None"
- name: --blur_mode
type: string
default: "nearest"
- name: --blur_cval
type: double
default: 0.0
- name: --blur_preserve_range
type: boolean
default: False
- name: --blur_truncate #keep as double
type: double
default: 4.0
- name: --threshold_func
type: string
default: "local_otsu"
- name: --threshold_nbins
type: integer
default: 256
- name: --threshold_hist
type: string
default: "None"
- name: --threshold_out
type: string
default: "None"
- name: --threshold_mask
type: string
default: "None"
- name: --threshold_shift_x
type: boolean
default: False
- name: --threshold_shift_y
type: boolean
default: False
- name: --threshold_shift_z
type: boolean
default: False
- name: --threshold_footprint
type: string
default: "square"
- name: --threshold_footprint_size
type: integer
default: 50
- name: --distance_transform_func
type: string
default: "distance_transform_edt"
- name: --distance_transform_sampling
type: string
default: "None"
- name: --distance_transform_return_distances
type: boolean
default: True
- name: --distance_transform_return_indices
type: boolean
default: False
- name: --distance_transform_distances
type: string
default: "None"
- name: --distance_transform_indices
type: string
default: "None"
- name: --local_maxima_func
type: string
default: "find_local_maxima"
- name: --local_maxima_min_distance
type: integer
default: 5
- name: --post_processing_func_1
type: string
default: "remove_small_objects"
- name: --post_processing_min_size_1
type: integer
default: 64
- name: --post_processing_connectivity_1
type: integer
default: 1
- name: --post_processing_out_1
type: string
default: "None"
- name: --post_processing_func_2
type: string
default: "remove_small_holes"
- name: --post_processing_area_threshold_2
type: integer
default: 64
- name: --post_processing_connectivity_2
type: integer
default: 1
- name: --post_processing_out_2
type: string
default: "None"
- name: --bg_intensity_filter_bg_factor
type: double
default: 0.3
- name: --bg_intensity_filter_window_size
type: integer
default: 1000
- name: --bg_intensity_filter_bg_size
type: integer
default: 2000
resources:
- type: python_script
path: script.py
engines:
- type: docker
image: openproblems/base_python:1
__merge__:
- /src/base/setup_txsim_partial.yaml
- /src/base/setup_spatialdata_partial.yaml
- type: native
runners:
- type: executable
- type: nextflow
directives:
label: [ hightime, midcpu, veryhighmem ]