forked from choosehappy/HistoQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
179 lines (135 loc) · 4.17 KB
/
config.ini
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
177
178
[pipeline]
steps= BasicModule.getBasicStats
BasicModule.getMag
ClassificationModule.byExampleWithFeatures:pen_markings
ClassificationModule.byExampleWithFeatures:coverslip_edge
LightDarkModule.getIntensityThresholdPercent:tissue
BubbleRegionByRegion.pixelWise
LightDarkModule.getIntensityThresholdPercent:darktissue
MorphologyModule.removeSmallObjects
MorphologyModule.fillSmallHoles
BlurDetectionModule.identifyBlurryRegions
BasicModule.finalProcessingSpur
BasicModule.finalProcessingArea
HistogramModule.compareToTemplates
HistogramModule.getHistogram
BrightContrastModule.getContrast
BrightContrastModule.getBrightnessGray
BrightContrastModule.getBrightnessByChannelinColorSpace:RGB
BrightContrastModule.getBrightnessByChannelinColorSpace:YUV
DeconvolutionModule.seperateStains
SaveModule.saveFinalMask
SaveModule.saveThumbnails
BasicModule.finalComputations
[BaseImage.BaseImage]
image_work_size = 1.25x
[BasicModule.getBasicStats]
image_work_size = 1.25x
[BasicModule.getMag]
confirm: False
#[ClassificationModule.byExample]
[ClassificationModule.byExampleWithFeatures:pen_markings]
name: pen_markings
tresh: .9
examples: ./pen/1k_version/pen_green.png:./pen/1k_version/pen_green_mask.png
area_thresh: 100
features: frangi
laplace
rgb
#lbp
#gabor
#median
#gaussian
laplace_ksize: 3
frangi_scale_range: (1,10)
frangi_scale_step: 2
frangi_beta1: .5
frangi_beta2: 15
frangi_black_ridges: True
gabor_theta: 4
gabor_sigma: (1,3)
gabor_frequency: (0.05, 0.25)
lbp_radius: 3
lbp_points: 24
lbp_method: default
median_disk_size: 3
#gaussian_sigma: 1
#gaussian_multichan: False
[ClassificationModule.byExampleWithFeatures:coverslip_edge]
name: coverslip_edge
tresh: .9
examples: ./models/coverslip_edge_he/coverslip_edge.png:./models/coverslip_edge_he/coverslip_edge_mask.png
area_thresh: 16000
features: frangi
laplace
rgb
[LightDarkModule.getIntensityThresholdPercent:bubble]
name: bubble
upper_threshold: .94
lower_threshold: .82
upper_variance: 11
invert: true
[LightDarkModule.getIntensityThresholdPercent:tissue]
name: nonwhite
upper_threshold: .9
lower_var: 10
[LightDarkModule.getIntensityThresholdPercent:darktissue]
name: dark
upper_threshold: .15
invert: true
[LightDarkModule.getTissuePercent]
thresh: .8
[LightDarkModule.getDarkTissuePercent]
thresh: .15
[MorphologyModule.removeSmallObjects]
min_size: 64
[MorphologyModule.fillSmallHoles]
min_size: 1000
[HistogramModule.compareToTemplates]
limit_to_mask: True
bins: 20
templates= ./templates/template1.png
./templates/template2.png
./templates/template3.png
./templates/template4.png
[HistogramModule.getHistogram]
limit_to_mask: True
bins: 20
[BrightContrastModule.getContrast]
limit_to_mask: True
[BrightContrastModule.getBrightnessGray]
limit_to_mask: True
[BrightContrastModule.getBrightnessByChannelinColorSpace:RGB]
limit_to_mask: True
[BrightContrastModule.getBrightnessByChannelinColorSpace:YUV]
limit_to_mask: True
#pick a color space in the list from ‘RGB’, ‘HSV’, ‘RGB CIE’, ‘XYZ’, ‘YUV’, ‘YIQ’, ‘YPbPr’, ‘YCbCr’ : http://scikit-image.org/docs/dev/api/skimage.color.html#skimage.color.convert_colorspace
to_color_space: YUV
[SaveModule.saveFinalMask]
overlay: True
[SaveModule.saveThumbnails]
image_work_size: 1.25x
small_dim: 500
[BlurDetectionModule.identifyBlurryRegions]
image_work_size = 2.5x
blur_radius: 7
blur_threshold: .15
[BasicModule.finalComputations]
[BasicModule.finalProcessingSpur]
disk_radius: 25
[BasicModule.finalProcessingArea]
area_thresh: 90000
[DeconvolutionModule.seperateStains]
;hed_from_rgb: Hematoxylin + Eosin + DAB
;hdx_from_rgb: Hematoxylin + DAB
;fgx_from_rgb: Feulgen + Light Green
;bex_from_rgb: Giemsa stain : Methyl Blue + Eosin
;rbd_from_rgb: FastRed + FastBlue + DAB
;gdx_from_rgb: Methyl Green + DAB
;hax_from_rgb: Hematoxylin + AEC
;bro_from_rgb: Blue matrix Anilline Blue + Red matrix Azocarmine + Orange matrix Orange-G
;bpx_from_rgb: Methyl Blue + Ponceau Fuchsin
;ahx_from_rgb: Alcian Blue + Hematoxylin
;hpx_from_rgb: Hematoxylin + PAS
stain: hed_from_rgb
use_mask: True