-
Notifications
You must be signed in to change notification settings - Fork 0
/
Parameters.txt
15 lines (15 loc) · 1.67 KB
/
Parameters.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
slide_path: images/ # path to the folder of slide images
xml_path: xml/ # path to the folder of xml files
output_dir: output/ # path to the output folder where image_chips, image_masks, and text_files will be saved
format: tif # output format of the image_chips and image_masks
quality: 95 # output quality: JPEG compression if output format is 'jpg' (100 recommended, jpg compression artifacts will distort image segmentation)
size: 256 # size of image_chips and image_masks
overlap: 0 # pixel overlap between image chips
key: Annotation_Key.txt # the text file containing annotation keys and color codes
save_all: True # True saves every image_chip, False only saves chips containing an annotated pixel
save_ratio: inf # Ratio of image_chips containing annotations to image_chips not containing annotations (use 'inf' if only annotated chips are desired; only applicable if save_all == False)
print: 1 # Suppress print output for chips/textfiles (1 = print, 0 = suppress output)
tags: 1 # Label images with key tags for sorting (1 = tags, 0 = no tags)
level: all # Choose from highest (highest magnification), all, lowest (lowest magnification), 40.0, 20.0, 10.0, 5.0, 2.5, 1.25
# if no specific magnification created by manufactory will use lower magnification. e.g 40x->20x
cpus: 4 # Number of CPUs