|
a |
|
b/talk/Untitled0.py |
|
|
1 |
# -*- coding: utf-8 -*- |
|
|
2 |
# <nbformat>3.0</nbformat> |
|
|
3 |
|
|
|
4 |
# <headingcell level=1> |
|
|
5 |
|
|
|
6 |
# Robust Extraction of Quantitative Information from Histology Images |
|
|
7 |
|
|
|
8 |
# <markdowncell> |
|
|
9 |
|
|
|
10 |
# **Quentin Caudron** |
|
|
11 |
|
|
|
12 |
# <markdowncell> |
|
|
13 |
|
|
|
14 |
# <img src="figures/graphics/soay.jpg" /> |
|
|
15 |
|
|
|
16 |
# <markdowncell> |
|
|
17 |
|
|
|
18 |
# <img src="figures/population3.png" width=1200px/> |
|
|
19 |
|
|
|
20 |
# <markdowncell> |
|
|
21 |
|
|
|
22 |
# <img src="figures/graphics/lit1.jpg" /> |
|
|
23 |
|
|
|
24 |
# <markdowncell> |
|
|
25 |
|
|
|
26 |
# <img src="figures/graphics/lit2.jpg" /> |
|
|
27 |
|
|
|
28 |
# <markdowncell> |
|
|
29 |
|
|
|
30 |
# <img src="figures/graphics/lit4.jpg" /> |
|
|
31 |
|
|
|
32 |
# <headingcell level=2> |
|
|
33 |
|
|
|
34 |
# Outline |
|
|
35 |
|
|
|
36 |
# <markdowncell> |
|
|
37 |
|
|
|
38 |
# - Methods and data collection |
|
|
39 |
# - Image processing |
|
|
40 |
# - Extracted measures |
|
|
41 |
# - Preliminary analysis |
|
|
42 |
# - Future directions |
|
|
43 |
|
|
|
44 |
# <headingcell level=2> |
|
|
45 |
|
|
|
46 |
# Data |
|
|
47 |
|
|
|
48 |
# <markdowncell> |
|
|
49 |
|
|
|
50 |
# **In the field, winter of 2011 - 2012 :** |
|
|
51 |
# |
|
|
52 |
# - Daily study area monitoring for deaths |
|
|
53 |
# - 143 liver samples collected within a day of death |
|
|
54 |
|
|
|
55 |
# <markdowncell> |
|
|
56 |
|
|
|
57 |
# <br />**In the lab :** |
|
|
58 |
# |
|
|
59 |
# - Sectioning after paraffin treatment |
|
|
60 |
# - H&E staining of about 1000 slides |
|
|
61 |
|
|
|
62 |
# <markdowncell> |
|
|
63 |
|
|
|
64 |
# <br />**Analysis :** |
|
|
65 |
# |
|
|
66 |
# - Pathology standard : semi-quantitative scoring |
|
|
67 |
# - Image processing |
|
|
68 |
|
|
|
69 |
# <headingcell level=3> |
|
|
70 |
|
|
|
71 |
# The Field |
|
|
72 |
|
|
|
73 |
# <markdowncell> |
|
|
74 |
|
|
|
75 |
# Sweat-and-blood-collected in cold, cold Scotland. |
|
|
76 |
|
|
|
77 |
# <markdowncell> |
|
|
78 |
|
|
|
79 |
# Eight physical measurements : |
|
|
80 |
# - Age at death |
|
|
81 |
# - Weight |
|
|
82 |
# - Sex |
|
|
83 |
# - Limb length |
|
|
84 |
# - Environmental "stress" |
|
|
85 |
|
|
|
86 |
# <headingcell level=3> |
|
|
87 |
|
|
|
88 |
# Clinical Pathology |
|
|
89 |
|
|
|
90 |
# <markdowncell> |
|
|
91 |
|
|
|
92 |
# Operator-driven visual analysis of 98 slides under microscopy. |
|
|
93 |
|
|
|
94 |
# <markdowncell> |
|
|
95 |
|
|
|
96 |
# Eleven discrete and continuous measures : |
|
|
97 |
# |
|
|
98 |
# - Inflammation |
|
|
99 |
# - Necrosis |
|
|
100 |
# - Apoptosis |
|
|
101 |
# - Hyperplasia |
|
|
102 |
# - Fibrosis |
|
|
103 |
# - Hepatitis |
|
|
104 |
|
|
|
105 |
# <headingcell level=3> |
|
|
106 |
|
|
|
107 |
# Image Processing |
|
|
108 |
|
|
|
109 |
# <markdowncell> |
|
|
110 |
|
|
|
111 |
# Automated analysis of 4430 images of slides representing 143 sheep. |
|
|
112 |
|
|
|
113 |
# <markdowncell> |
|
|
114 |
|
|
|
115 |
# Seven structural and textural measures with varying levels of biological interpretation : |
|
|
116 |
# |
|
|
117 |
# - Inflammation |
|
|
118 |
# - Hyperplasia / tissue density |
|
|
119 |
# - Best-guess proxies for "generic degeneration" |
|
|
120 |
|
|
|
121 |
# <headingcell level=2> |
|
|
122 |
|
|
|
123 |
# Image Processing |
|
|
124 |
|
|
|
125 |
# <markdowncell> |
|
|
126 |
|
|
|
127 |
# <img src="figures/graphics/sheep.jpg"></img> |
|
|
128 |
|
|
|
129 |
# <markdowncell> |
|
|
130 |
|
|
|
131 |
# <img src="figures/graphics/processed.jpg"></img> |
|
|
132 |
|
|
|
133 |
# <headingcell level=3> |
|
|
134 |
|
|
|
135 |
# The Challenge |
|
|
136 |
|
|
|
137 |
# <markdowncell> |
|
|
138 |
|
|
|
139 |
# **Information extraction must be** |
|
|
140 |
# - automagical - no operator input |
|
|
141 |
# - reasonably quick - restricted computing time |
|
|
142 |
# - robust - invariant to slicing, staining, field-related variation |
|
|
143 |
# - unbiased - same algorithms for everyone |
|
|
144 |
|
|
|
145 |
# <markdowncell> |
|
|
146 |
|
|
|
147 |
#  |
|
|
148 |
|
|
|
149 |
# <markdowncell> |
|
|
150 |
|
|
|
151 |
#  |
|
|
152 |
|
|
|
153 |
# <markdowncell> |
|
|
154 |
|
|
|
155 |
#  |
|
|
156 |
|
|
|
157 |
# <markdowncell> |
|
|
158 |
|
|
|
159 |
#  |
|
|
160 |
|
|
|
161 |
# <headingcell level=2> |
|
|
162 |
|
|
|
163 |
# Structural and Textural Measures |
|
|
164 |
|
|
|
165 |
# <markdowncell> |
|
|
166 |
|
|
|
167 |
# - characteristic **scale** of sinusoid widths |
|
|
168 |
# - **directional** amplitude of preferred sinusoid alignment |
|
|
169 |
# - **tissue to sinusoid** ratio |
|
|
170 |
# - **count** of inflammatory foci per image |
|
|
171 |
# - **mean size** of inflammatory foci per image |
|
|
172 |
# - information **entropy** of sinusoid distribution |
|
|
173 |
# - **lacunarity** ( clustering ) of sinusoids |
|
|
174 |
|
|
|
175 |
# <markdowncell> |
|
|
176 |
|
|
|
177 |
# <img src="figures/graphics/gif.gif"></img> |
|
|
178 |
|
|
|
179 |
# <markdowncell> |
|
|
180 |
|
|
|
181 |
# <img src="figures/graphics/intra3.png" width=100%/> |
|
|
182 |
|
|
|
183 |
# <markdowncell> |
|
|
184 |
|
|
|
185 |
# <img src="figures/graphics/inter3.png"/> |
|
|
186 |
|
|
|
187 |
# <headingcell level=2> |
|
|
188 |
|
|
|
189 |
# Exploratory Analysis |
|
|
190 |
|
|
|
191 |
# <markdowncell> |
|
|
192 |
|
|
|
193 |
# by individual |
|
|
194 |
|
|
|
195 |
# <markdowncell> |
|
|
196 |
|
|
|
197 |
# <img src="figures/regressions/BDHyperplasia/lm-0.png" /> |
|
|
198 |
|
|
|
199 |
# <markdowncell> |
|
|
200 |
|
|
|
201 |
# <img src="figures/regressions/PortalInflammation/lm-0.png" /> |
|
|
202 |
|
|
|
203 |
# <markdowncell> |
|
|
204 |
|
|
|
205 |
# <img src="figures/regressions/PortalInflammation/lm-1.png" /> |
|
|
206 |
|
|
|
207 |
# <headingcell level=2> |
|
|
208 |
|
|
|
209 |
# Exploratory Analysis |
|
|
210 |
|
|
|
211 |
# <markdowncell> |
|
|
212 |
|
|
|
213 |
# controlled for age / cohort |
|
|
214 |
|
|
|
215 |
# <markdowncell> |
|
|
216 |
|
|
|
217 |
# <img src="figures/regressions/PortalInflammation/mm_0.png" /> |
|
|
218 |
|
|
|
219 |
# <markdowncell> |
|
|
220 |
|
|
|
221 |
# <img src="figures/regressions/BDHyperplasia/mm_0.png" /> |
|
|
222 |
|
|
|
223 |
# <markdowncell> |
|
|
224 |
|
|
|
225 |
# <img src="figures/regressions/BDHyperplasia/mm_1.png" /> |
|
|
226 |
|
|
|
227 |
# <markdowncell> |
|
|
228 |
|
|
|
229 |
# <img src="figures/regressions/TawfikTotal/mm_0.png" /> |
|
|
230 |
|
|
|
231 |
# <markdowncell> |
|
|
232 |
|
|
|
233 |
# <img src="figures/regressions/Fibrosis/mm_0.png" /> |
|
|
234 |
|
|
|
235 |
# <markdowncell> |
|
|
236 |
|
|
|
237 |
# <img src="figures/regressions/Hindleg/mm_0.png" /> |
|
|
238 |
|
|
|
239 |
# <markdowncell> |
|
|
240 |
|
|
|
241 |
# <img src="figures/regressions/Weight/mm_0.png" /> |
|
|
242 |
|
|
|
243 |
# <headingcell level=2> |
|
|
244 |
|
|
|
245 |
# Further analysis |
|
|
246 |
|
|
|
247 |
# <markdowncell> |
|
|
248 |
|
|
|
249 |
# Age or cohort effect ? |
|
|
250 |
|
|
|
251 |
# <markdowncell> |
|
|
252 |
|
|
|
253 |
# <img src="figures/regressions/BDHyperplasia/new/mm_coefs_color_E.png" width=85%/> |
|
|
254 |
|
|
|
255 |
# <markdowncell> |
|
|
256 |
|
|
|
257 |
# <img src="figures/regressions/BDHyperplasia/new/mm_coefs_color_CES.png" width=85%/> |
|
|
258 |
|
|
|
259 |
# <markdowncell> |
|
|
260 |
|
|
|
261 |
# <img src="figures/regressions/BDHyperplasia/new/mm_coefs_color_RES.png" width=85%/> |
|
|
262 |
|
|
|
263 |
# <headingcell level=2> |
|
|
264 |
|
|
|
265 |
# Conclusions |
|
|
266 |
|
|
|
267 |
# <markdowncell> |
|
|
268 |
|
|
|
269 |
# - our image measures capture **relevant** and **useful** information |
|
|
270 |
# - a number of correlations can be **explained** biologically |
|
|
271 |
# - underlying **structure** in the data needs thought |
|
|
272 |
# - still no **map** from image or histological measures to condition of individual |
|
|
273 |
|
|
|
274 |
# <headingcell level=2> |
|
|
275 |
|
|
|
276 |
# Future directions |
|
|
277 |
|
|
|
278 |
# <headingcell level=3> |
|
|
279 |
|
|
|
280 |
# Further exploration of the dataset |
|
|
281 |
|
|
|
282 |
# <markdowncell> |
|
|
283 |
|
|
|
284 |
# - 145 sheep ( 89 females ) |
|
|
285 |
# - 12 age classes |
|
|
286 |
# - potential redundancy in various measures |
|
|
287 |
|
|
|
288 |
# <markdowncell> |
|
|
289 |
|
|
|
290 |
# - 4460 entries across 31 variables |
|
|
291 |
# - 3596 with full image and histological information |
|
|
292 |
# - 1196 for which **complete** information is available |
|
|
293 |
|
|
|
294 |
# <headingcell level=3> |
|
|
295 |
|
|
|
296 |
# More data |
|
|
297 |
|
|
|
298 |
# <markdowncell> |
|
|
299 |
|
|
|
300 |
# - nutritional information |
|
|
301 |
# - immunity data |
|
|
302 |
|
|
|
303 |
# <headingcell level=3> |
|
|
304 |
|
|
|
305 |
# Narrow-field images |
|
|
306 |
|
|
|
307 |
# <markdowncell> |
|
|
308 |
|
|
|
309 |
# - 12536 images |
|
|
310 |
# - spatial distribution of nuclei |
|
|
311 |
|
|
|
312 |
# <markdowncell> |
|
|
313 |
|
|
|
314 |
#  |
|
|
315 |
|
|
|
316 |
# <markdowncell> |
|
|
317 |
|
|
|
318 |
#  |
|
|
319 |
|
|
|
320 |
# <markdowncell> |
|
|
321 |
|
|
|
322 |
#  |
|
|
323 |
|
|
|
324 |
# <markdowncell> |
|
|
325 |
|
|
|
326 |
# <img src="figures/graphics/10x.png" width=100%></src> |
|
|
327 |
|
|
|
328 |
# <headingcell level=2> |
|
|
329 |
|
|
|
330 |
# With thanks to |
|
|
331 |
|
|
|
332 |
# <markdowncell> |
|
|
333 |
|
|
|
334 |
# Romain Garnier |
|
|
335 |
# |
|
|
336 |
# Andrea Graham |
|
|
337 |
# |
|
|
338 |
# Tawfik Aboellail (CSU) |
|
|
339 |
# |
|
|
340 |
# Bryan Grenfell |
|
|
341 |
|