-
Notifications
You must be signed in to change notification settings - Fork 0
/
quickstart-template.yaml
38 lines (37 loc) · 1.25 KB
/
quickstart-template.yaml
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
# phenopype quickstart template
# -----------------------------
# This template is intended to go with the phenopype quickstart materials
# - for details see https://www.phenopype.org/docs/quickstart/ and refer to
# Figure 2 in Luerig 2021 (https://doi.org/10.1111/2041-210X.13771) or
# phenopype tutorial 3 (https://www.phenopype.org/docs/tutorials/tutorial_3).
# Also check https://www.phenopype.org/gallery/projects/stickleback-landmarks/
processing_steps:
- preprocessing:
- create_mask:
ANNOTATION: {type: mask, id: a, edit: false}
tool: polygon
label: plates
- blur:
kernel_size: 9
- segmentation:
- threshold:
method: adaptive
blocksize: 99
constant: 5
- detect_contour:
ANNOTATION: {type: contour, id: a, edit: overwrite}
retrieval: ext
min_area: 150
- measurement:
- compute_shape_features:
ANNOTATION: {type: shape_features, id: a, edit: overwrite}
- visualization:
- select_canvas:
canvas: raw
- draw_contour
- draw_mask:
label: true
- export:
- save_canvas
- save_annotation:
overwrite: true