Quantification of fibre width in biological images Lake Como School - - PowerPoint PPT Presentation

quantification of fibre width in biological images
SMART_READER_LITE
LIVE PREVIEW

Quantification of fibre width in biological images Lake Como School - - PowerPoint PPT Presentation

Quantification of fibre width in biological images Lake Como School Computational methods for inverse problems in imaging Mathilde Galinier PhD student at the Department of Physics, Informatics and Mathematics Universit` a degli studi di


slide-1
SLIDE 1

1/14

Quantification of fibre width in biological images

Lake Como School ”Computational methods for inverse problems in imaging”

Mathilde Galinier

PhD student at the Department of Physics, Informatics and Mathematics Universit` a degli studi di Modena e Reggio Emilia

Wednesday, May 23rd 2018

Mathilde Galinier Quantification of fibre width in biological images

slide-2
SLIDE 2

2/14

Introduction

Aim : Enabling a better understanding of microbial ecosystems in order to improve waste-water treatment methods. Project based on the analysis of sewage pictures. Algorithm associating Canny edge detector-related methods and statistical analysis.

Figure: Raw image u, taken with a fluorescence microscope.

Mathilde Galinier Quantification of fibre width in biological images

slide-3
SLIDE 3

3/14

Step 1 : Convolution with Gaussian filters

Image convolved by two Gaussian filters : u1 = Kσ ∗ u u2 = Kβσ ∗ u, β < 1 with Kσ(k, l) = 1 2πσ2 exp

  • −k2 + l2

2σ2

  • For example, a N × M Gaussian filter Kσ applied to the image u

provides : u1ij =

N−1

  • k=0

M−1

  • l=0

Kσ(k, l)u(i − k, j − l) which can be computed thanks to the Fourier transform : u1 = F−1 (F(Kσ) . F(u))

Mathilde Galinier Quantification of fibre width in biological images

slide-4
SLIDE 4

4/14

Step 2 : Computation of the gradient

Detection of the edges of an image f (x, y) based on the computation of the gradient. The vector : ∇f (x, y) = ∂f

∂x ∂f ∂y

  • (x, y) =

gx gy

  • (x, y)

points in the direction of the greater rate of change of f at (x, y). Norm of ∇f (x, y) : ∇f (x, y)2

2 = g2 x + g2 y

Direction of ∇f (x, y) : θ(x, y) = arctan(gy gx )

Mathilde Galinier Quantification of fibre width in biological images

slide-5
SLIDE 5

5/14

Step 2 : Computation of the gradient

In our case, the matrix of interest is written, for each pixel : C = 1 2

  • ∇u1∇uT

2 + ∇u2∇uT 1

  • =

Gxx Gxy Gxy Gyy

  • where :

   Gxx = ∂xu1.∂xu2 Gyy = ∂yu1.∂yu2 Gxx = 1

2 (∂xu1.∂yu2 + ∂yu1.∂xu2)

Topological gradient : largest eigenvalue of C, noted λ1.

Mathilde Galinier Quantification of fibre width in biological images

slide-6
SLIDE 6

5/14

Step 2 : Computation of the gradient

In our case, the matrix of interest is written, for each pixel : C = 1 2

  • ∇u1∇uT

2 + ∇u2∇uT 1

  • =

Gxx Gxy Gxy Gyy

  • where :

   Gxx = ∂xu1.∂xu2 Gyy = ∂yu1.∂yu2 Gxx = 1

2 (∂xu1.∂yu2 + ∂yu1.∂xu2)

Topological gradient : largest eigenvalue of C, noted λ1.

Remark : In the case u1 = u2 : C =

  • ∂xu2

1

∂xu1∂yu1 ∂xu1∂yu1 ∂yu2

1

  • and

λ1 = ∂xu2

1 + ∂yu2 1 = ∇u12 2

Mathilde Galinier Quantification of fibre width in biological images

slide-7
SLIDE 7

6/14

Step 2 : Computation of the gradient

Figure: Raw image u.

Mathilde Galinier Quantification of fibre width in biological images

slide-8
SLIDE 8

7/14

Step 2 : Computation of the gradient

Figure: Topological gradient of u.

Mathilde Galinier Quantification of fibre width in biological images

slide-9
SLIDE 9

8/14

Step 3 : Non local maxima suppression

  • 1. Find the 2 closest pixels along the edge normal.
  • 2. Retain the pixel with maximum magnitude value.

Topological gradient of u.

Mathilde Galinier Quantification of fibre width in biological images

slide-10
SLIDE 10

9/14

Step 3 : Non local maxima suppression

  • 1. Find the 2 closest pixels along the edge normal.
  • 2. Retain the pixel with maximum magnitude value.

Non local maxima suppression

Mathilde Galinier Quantification of fibre width in biological images

slide-11
SLIDE 11

10/14

Step 4 : Hysteresis thresholding

Keep pixels with a low intensity only if they are connected to a ’strong’ pixel.

Binary image after hysteresis thresholding

Mathilde Galinier Quantification of fibre width in biological images

slide-12
SLIDE 12

11/14

Step 5 : Computation of fiber width

For each non-zero pixel, the algorithm searches for another edge in the direction of the edge normal.

Binary image after hysteresis thresholding

Mathilde Galinier Quantification of fibre width in biological images

slide-13
SLIDE 13

12/14

Statistical analysis

Gauss-Newton algorithm for the fitting of the cumulative distribution functions :

min

p G(p)2 L2 = Fp1,··· ,pK − Fdata2 L2

Histogram of fiber widths. Abscissa : fiber width (pixels) ; Ordinate : number of fibers by category. In red : Data cumulative distribution

  • function. In blue : Fitting with lognormal

cumulative distribution function.

Mathilde Galinier Quantification of fibre width in biological images

slide-14
SLIDE 14

13/14

Comparison of the cumulative distribution functions over several days

Figure: Lognormal cumulative distribution functions of a sample, for days 1,2 and 14.

Mathilde Galinier Quantification of fibre width in biological images

slide-15
SLIDE 15

References

Samuel Amstutz and J´ erˆ

  • me Fehrenbach.

Edge detection using topological gradients: A scale-space approach. Springer Science+Business Media, Jan 2015. John Canny. A computational approach to edge detection. IEEE Transactions on pattern analysis and machine intelligence, PAMI-8(6), Nov 1986. Nick Efford. Digital Image Processing: A Practical Introduction Using Java. Pearson Education, 2000.

14/14