Cours2 Segm
Cours2 Segm
¡ Segmentation
¡ Semantic segmentation
¡ Instance segmentation
retinal vessels from retinal fundus images
partition of an
image into several
"coherent" parts
Cf binary segmentation
https://www.groundai.com/project/retinal-vessel-segmentation-
based-on-fully-convolutional-networks/1
C. Petitjean LITIS - Medical Image Acquisition and Processing 3
¡ semantic segmentation: partition the image into semantically
meaningful parts and to classify each part into one of the pre-
determined classes (add a label)
http://xphilipp.developpez.com/contribuez/
C. Petitjean LITIS - Medical ImageXu and Prince,
Acquisition Gradient Vector Flow, John Hopkins
and Processing 6 U
Initialisation : Iterative optimisation: the active
The curve must be close to contour is deformed until it
the object to be reaches a position of MINIMUM
segmented ENERGY
http://personal.ee.surrey.ac.uk/Personal/R.Bowden/publications/bmvc97/image4.gif
P11 P6
P3
P1 P5
P2 P4
Regularization term
smoothness +
geometric properties
Esnake = Einterne + Eexterne Data-driven term
based on image content:
of the contour gradient….
12
¡ Internal energy : measures the curve smoothness
1
Eint = ò (a v' ( s ) + b v' ' ( s ) 2 )ds
2
0
Elasticity Curvature
n n -1
å P -P åP
2 2
Eelastic = i i -1
Erigidité = i -1 - 2 Pi + Pi +1
i =1 i =1
E = ò f ( s, v( s ), v' ( s ))ds
¡ How to find C that minimizes E = Eint + Eext ?
E = ò f ( s, v( s ), v' ( s ))ds
¶v( s, t )
- av' ' ( s) - bv ( s) + lÑg ( I (v( s))) =
( 4) 2
¶t
Iterations
¡ Cons:
¡ S = arg min D(S) + l R(S) Parameter value?
¡ Initialisation : contour must be close enough to the borders
¡ Cannot segment multiple instance object
C. Petitjean LITIS - Medical Image Acquisition and Processing 24
C. Petitjean LITIS - Medical Image Acquisition and Processing 25
http://web.cs.hacettepe.edu.tr/~erkut/bil717.s12/w08-snakes.pdf
C. Petitjean LITIS - Medical Image Acquisition and Processing 26
¡ A way to solve the topology problem!
¡ evolution of a curve:
C. Petitjean 27
¡ Another way to represent to curve:
C. Petitjean 28
¡ 3d Function Ψ such that C = (Ψ = 0)
(Osher et Sethian, 1988)
¡ Ψ is a level set
¡Distance to the
Contour C
http://zoi.utia.cas.cz/files/segmentace.pdf
C. Petitjean LITIS - Medical Image Acquisition and Processing 29
y
• 3D Function 3D : distance map to C
Définition du contour Calcul de y
* * * * Ö8 Ö5 2 2
* * * * Ö5 Ö2 1 1
* * 0 0 2 1 0 0
* * 0 * 2 1 0 -1
Représentation 3D de y
y
¡ Fonction 3D : carte de distance à C
C. Petitjean 32
¡ Consider the evolution of a curve:
C. Petitjean 33
¡ Consider the evolution of a curve:
C. Petitjean 34
¡ Discretization of the evoluation equation of Ψ
y ijn +1 - y ijn
= Fij Ñ ijy ijn + Ñ ij g ij ( I ).Ñ ijy ijn
Dt
¡ Handles topology changes
C. Petitjean 39
¡ Idea: use a model
of the shape
Vu, CVPR’08
C. Petitjean LITIS - Medical Image Acquisition and Processing 40
¡ Medical images contain:
§ Noise
§ Occlusion
§ Fuzziness (PVE)
Occlusion
High level
of noise
Xavier Bresson, Active contours, EPFL in French
C. Petitjean LITIS - Medical Image Acquisition and Processing 42