Cross-section topology Michel Couprie Contributors: G. Bertrand M. Couprie J.C. Everat (PhD) F.N. Bezerra (PhD)

Slides:



Advertisements
Similar presentations
Introduction to digital topology
Advertisements

Segmentation by Morphological Watersheds
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Document Image Processing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
CDS 301 Fall, 2009 Image Visualization Chap. 9 November 5, 2009 Jie Zhang Copyright ©
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
DIGITAL IMAGE PROCESSING
IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 19, NO. 12, DECEMBER /10/4.
Segmentation (2): edge detection
Provides mathematical tools for shape analysis in both binary and grayscale images Chapter 13 – Mathematical Morphology Usages: (i)Image pre-processing.
Chapter 5 Raster –based algorithms in CAC. 5.1 area filling algorithm 5.2 distance transformation graph and skeleton graph generation algorithm 5.3 convolution.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
EE 7730 Image Segmentation.
MRI Image Segmentation for Brain Injury Quantification Lindsay Kulkin 1 and Bir Bhanu 2 1 Department of Biomedical Engineering, Syracuse University, Syracuse,
E.G.M. PetrakisBinary Image Processing1 Binary Image Analysis Segmentation produces homogenous regions –each region has uniform gray-level –each region.
Entropy and some applications in image processing Neucimar J. Leite Institute of Computing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
Lecture 5. Morphological Image Processing. 10/6/20152 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of animals.
Chapter 9.  Mathematical morphology: ◦ A useful tool for extracting image components in the representation of region shape.  Boundaries, skeletons,
CS 6825: Binary Image Processing – binary blob metrics
Binarization of gray-scale hologram Fan Jiang Fall 2006.
September 23, 2014Computer Vision Lecture 5: Binary Image Processing 1 Binary Images Binary images are grayscale images with only two possible levels of.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Segmentation.
Morphological Image Processing
Gianni Ramponi University of Trieste Images © 2002 Gonzalez & Woods Digital Image Processing Chapter 9 Morphological Image.
Digital Image Processing Lecture 18: Segmentation: Thresholding & Region-Based Prof. Charlene Tsai.
Chapter 10, Part II Edge Linking and Boundary Detection The methods discussed in the previous section yield pixels lying only on edges. This section.
G52IVG, School of Computer Science, University of Nottingham 1 Edge Detection and Image Segmentation.
EECS 274 Computer Vision Segmentation by Clustering II.
Digital Image Processing Lecture 19: Segmentation: Morphological Watersheds Prof. Charlene Tsai.
Pixel Connectivity Pixel connectivity is a central concept of both edge- and region- based approaches to segmentation The notation of pixel connectivity.
1 Digital topology and cross-section topology for grayscale image processing M. Couprie A 2 SI lab., ESIEE Marne-la-Vallée, France
Mathematical Morphology Mathematical morphology (matematická morfologie) –A special image analysis discipline based on morphological transformations of.
Digital Image Processing Lecture 10: Image Restoration
CSE554SkeletonsSlide 1 CSE 554 Lecture 2: Shape Analysis (Part I) Fall 2015.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Image Segmentation by Histogram Thresholding Venugopal Rajagopal CIS 581 Instructor: Longin Jan Latecki.
Isolating Objects From Image Stack Presented By: Md. Amjad Hossain and Raja Naresh.
Mathematical Morphology
References Books: Chapter 11, Image Processing, Analysis, and Machine Vision, Sonka et al Chapter 9, Digital Image Processing, Gonzalez & Woods.
Digital Image Processing
Course Syllabus 1.Color 2.Camera models, camera calibration 3.Advanced image pre-processing Line detection Corner detection Maximally stable extremal regions.
CS654: Digital Image Analysis
Machine Vision ENT 273 Regions and Segmentation in Images Hema C.R. Lecture 4.
November 5, 2013Computer Vision Lecture 15: Region Detection 1 Basic Steps for Filtering in the Frequency Domain.
1 Mathematic Morphology used to extract image components that are useful in the representation and description of region shape, such as boundaries extraction.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
TOPIC 12 IMAGE SEGMENTATION & MORPHOLOGY. Image segmentation is approached from three different perspectives :. Region detection: each pixel is assigned.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Photoconsistency constraint C2 q C1 p l = 2 l = 3 Depth labels If this 3D point is visible in both cameras, pixels p and q should have similar intensities.
Course 3 Binary Image Binary Images have only two gray levels: “1” and “0”, i.e., black / white. —— save memory —— fast processing —— many features of.
Lecture(s) 3-4. Morphological Image Processing. 3/13/20162 Introduction ► ► Morphology: a branch of biology that deals with the form and structure of.
Chapter 6 Skeleton & Morphological Operation. Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post.
Digital Image Processing, Spring ECES 682 Digital Image Processing Week 8 Oleh Tretiak ECE Department Drexel University.
Morphological Image Processing
Color Image Segmentation Mentor : Dr. Rajeev Srivastava Students: Achit Kumar Ojha Aseem Kumar Akshay Tyagi.
Some links between min-cuts, optimal spanning forests and watersheds Cédric Allène, Jean-Yves Audibert, Michel Couprie, Jean Cousty & Renaud Keriven ENPC.
Application 2 Detect Filarial Worms SourceBTTRemove NoisesThreshold Skeleton Eliminate short structures ReconstructionFinal result.
Machine Vision ENT 273 Lecture 4 Hema C.R.
CSE 554 Lecture 2: Shape Analysis (Part I)
CSE 554 Lecture 1: Binary Pictures
Computer Vision Lecture 13: Image Segmentation III
Computer Vision Lecture 12: Image Segmentation II
Binary Image processing بهمن 92
Quasi-linear algorithms for the topological watershed
A topological approach to watersheds
A new definition for the dynamics
Presentation transcript:

Cross-section topology Michel Couprie Contributors: G. Bertrand M. Couprie J.C. Everat (PhD) F.N. Bezerra (PhD)

Functions of 2 variables x y

On hills and dales [Cayley 1859, Maxwell 1870…]

BINARY IMAGES (SETS)

Topology preservation - notion of simple point A topology-preserving transformation preserves the connected components of both X and X

Simple point Set X (black points) Definition (2D): A point p is simple (for X) if its modification (addition to X, withdrawal from X) does not change the number of connected components of X and X Simple point of X Non-simple point

Simple point: local characterization ?

Connectivity numbers T(p)=number of Connected Components of (X - {p}) N(p) where N(p)=8-neighborhood of p T(p)=number of Connected Components of (X - {p}) N(p) Characterization of simple points (local): p is simple iff T(p) = 1 and T(p) = 1 T=2,T=2T=1,T=1T=1,T=0T=0,T=1 U U Interior point Isolated point

Homotopy We say that X and Y are homotopic (they have the same topology) if Y may be obtained from X by sequential addition or deletion of simple points

Homotopy: illustration

GRAYSCALE IMAGES (FUNCTIONS)

Homotopy of functions Basic idea: consider the topology of each cross- section (threshold) of a function Given a function F (Z 2 Z) and k in Z, we define the cross-section F k as the set of points p of Z 2 such that F(p)  k We say that two functions F and G are homotopic if, for every k in Z, F k and G k are homotopic (in the binary sense) [Beucher 1990…]

F1F1 G1G1 Homotopy of functions x y F(x,y) x G(x,y) y

x y F(x,y) F2F2 F1F1 x G(x,y) G2G2 G1G1 y Homotopy of functions

x y F(x,y) F3F3 F2F2 F1F1 x G(x,y) G3G3 G2G2 G1G1 y Homotopy of functions

Destructible point [Bertrand 1997] Definition: a point p is destructible (for F) if it is simple for F k, with k = F(p) Property: p is destructible iff its value may be lowered by one without changing the topology of any cross-section Definition: a point p is constructible (for F) if it is destructible for -F (duality)

Destructible point: examples x y F(x,y) F3F3 F2F2 F1F1

Destructible point: examples x y F(x,y) F3F3 F2F2 F1F1

Destructible point: examples x y F(x,y) F3F3 F2F2 F1F1

Destructible point: counter-examples x y F(x,y) F3F3 F2F2 F1F1 Component deleted Component splitted Background component created

Destructible point: counter-examples x y F(x,y) F3F3 F2F2 F1F1 Component deleted Component splitted Background component created

Connectivity numbers N + (p) = {q in N(p), F(q)  F(p)} T + (p) = number of Conn. Comp. of N + (p). N -- (p) = {q in N(p), F(q) < F(p)} T -- (p) = number of Conn. Comp. of N -- (p). N ++, T ++, N -, T - : similar If an adjacency relation (eg. 4) is chosen for T +, T ++, then the other adjacency (8) must be used for T -, T --

Destructible point: local characterization The point p is destructible if and only if : T + (p) = 1 and T -- (p) = T + = 1 T -- = T + = 2 T -- = T + = 0 T -- = 1 destructiblenon-destructible

Classification of points [Bertrand 97] The local configuration of a point p corresponds to exactly one of the eleven following cases: –well (T - = 0) –minimal constructible (T ++ = T - = 1, T -- = 0) –minimal convergent (T ++ > 1, T -- = 0) –constructible divergent (T ++ = T - = 1, T -- > 1) –peak (T + = 0) –maximal destructible (T + = T -- = 1, T ++ = 0) –maximal divergent (T -- > 1, T ++ = 0) –destructible convergent (T + = T -- = 1, T ++ > 1) –interior (T ++ = T -- = 0) –simple side (T + = T -- = T ++ = T - = 1) –saddle (T ++ > 1, T -- > 1)

Classification of points: examples Simple sideSaddle Peak Maximal destructible Maximal divergent Destructible convergent Interior

Grayscale skeletons We say that G is a skeleton of F if G may be obtained from F by sequential lowering of destructible points If G is a skeleton of F and if G contains no destructible point, then we say that G is an ultimate skeleton of F

Ultimate skeleton: 1D example Regional minima

Ultimate skeleton: illustration

Ultimate skeleton: 2D example Original image F Regional minima of F (white) Ultimate skeleton G of F Regional minima of G (white)

Thinness In 1D, the set of non-minimal points of an ultimate skeleton is « thin » (a set X is thin if it contains no interior point). Is it always true in 2D ? The answer is no, as shown by the following counter-examples.

Thinness

Basic algorithm Basic ultimate grayscale thinning(F) Repeat until stability: Select a destructible point p for F F(p) := F(p) – 1 Inefficient: O(n.g), where: n is the number of pixels g is the maximum gray level

Lowest is best The central point is destructible: it can thus be lowered down to 5 without changing the topology. It can obviously be lowered more: -down to 3 (since there is no value between 6 and 3 in the neighborhood) -down to 1 (we can check that once at level 3, the point is still destructible)

Two special values If p is destructible, we define:  - (p)=highest value strictly lower than F(p) in the neighborhood of p  - (p)=lowest value down to which F(p) can be lowered without changing the topology Here:  - (p)=3  - (p)=1

Better but not yet good If we replace: F(p) := F(p) – 1 in the basic algorithm by: F(p) :=  - (p), we get a faster algorithm. But its complexity is still bad. Let us show why:

Fast algorithm Fast ultimate grayscale thinning(F) Repeat until stability: Select a destructible point p for F of minimal graylevel F(p) :=  - (p) - Can be efficiently implemented thanks to a hierarchical queue - Execution time roughly proportional to n (number of pixels)

Complexity analysis: open problem

Non-homotopic operators Topology preservation: strong restriction Our goal: Change topology in a controlled way over segmentation regional minima   segmented regions

Altering the topology Control over topology modification. Criteria: –Local contrast : notion of -skeleton –Regional contrast : regularization –Size : topological filtering –Topology : crest restoration

-destructible point -destructible not -destructible Illustration (1D profile of a 2D image)

-destructible point Definition: Let X be a set of points, we define F - (X)=min{F(p), p in X} Let be a positive integer A destructible point p is -destructible A k-divergent point p is -destructible if at least k-1 connected components c i (i=1,…,k-1) of N -- (p) are such that F(p) - F - (c i ) 

-skeleton : examples = 0 = 15 = 30

Topological filtering A: original C: reconstruction of B under A B: thinning+ peak deletion

Topological filtering (cont.) Original image

Topological filtering (cont.) Homotopic thinning (n steps)

Topological filtering (cont.) Peak deletion

Topological filtering (cont.) Homotopic reconstruction

Topological filtering (cont.) Final result

Topological filtering (cont.) Comparison with other approaches (median filter, morphological filters) : better preservation of thin and elongated features

Crest restoration Motivation Thinning + thresholding Gradient Original image

Crest restoration (cont.) p is a separating point if –there is k such that T(p, F k )=2 p is extensible if –p is a separating point, and –p is a constructible or saddle point, and –there is a point q in its neighborhood that is an end point or an isolated point for F k, with k=F(p)+1

Crest restoration (cont.) p is a separating point if –there is k such that T(p, F k )=2 p is extensible if –p is a separating point, and –p is a constructible or saddle point, and –there is a point q in its neighborhood that is an end point or an isolated point for F k, with k=F(p)+1

Crest restoration (cont.)

Crest Restoration: result ‘Significant’ crests have been highlighted (in green) Before crest restoration: After crest restoration:

Crest restoration (cont.) Thinning + thresholding Thinning + crest restoration + thresholding Gradient

Crest restoration (cont.) Thinning + crest restoration + thresholding (1 parameter) Thinning+ hysteresis thresholding (2 parameters) Thinning+ hysteresis thresholding (2 parameters)

Conclusion Strict preservation of both topological and grayscale information Combining topology-preserving and topology-altering operators Control based on several criteria (contrast, size, topology)

Perspectives Study of complexity Extension to 3D Topology in orders (G. Bertrand)

References G. Bertrand, J. C. Everat and M. Couprie: "Image segmentation through operators based upon topology", Journal of Electronic Imaging, Vol. 6, No. 4, pp , "Image segmentation through operators based upon topology" M. Couprie, F.N. Bezerra, Gilles Bertrand: "Topological operators for grayscale image processing", Journal of Electronic Imaging, Vol. 10, No. 4, pp , "Topological operators for grayscale image processing"