segmentation of 3-d glass material images: from raw data ...pyparis.org/static/slides/chloe...

21
Chloe Brillatz Surface du Verre et Interfaces 15/11/2018 Segmentation of 3-D glass material images: from raw data to physical measurements

Upload: others

Post on 07-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

Chloe Brillatz

Surface du Verre et Interfaces

15/11/2018

Segmentation of 3-D glass

material images: from raw data to

physical measurements

Page 2: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

2

The motivations

128 microns barium borosilicate glass

SiO2

+ BaO + B2O

3

Page 3: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

3 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

The motivations

Main glass

Thin layer

Nano-texture

Super hydrophobic glass

Page 4: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

4

From raw glass to physical measurements

Page 5: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

5 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Data acquisition

3D imaging by X-ray tomography at the Grenoble Synchrotron (European Synchrotron Radiation Facility):

Non-destructive method + evolution in time

900°C

Nanometric resolution ( ESRF Beam 16b)

Page 6: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

128 microns

108 microns slice view

Full glass sample

Data: horizontal view Movie

Page 7: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

7 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

The goal

Page 8: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

8 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Raw Image

Page 9: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

9 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After local filter

ndimage.median_filter from scipy - Computes the median of the voxel values in a given window, the central voxel is replaced with this median value

After

Before

Page 10: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

10 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After segmentation – 2D view – unsuccessful test

threshold_otsu from skimage.filters - Reduces a gray level image

to a binary image - globally calculates the

threshold

Page 11: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

11 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After segmentation – 2D view

rank.otsu from skimage.filters - Reduces a gray level image

to a binary image - locally calculate the

threshold

Page 12: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

12 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Raw image

Page 13: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

13 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

The goal Movie

mayavi 3D visualization mlab.pipeline.contour_grid_plane grid_plane.sync_trait

Page 14: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

14 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Some numbers

x 80

Time: 0 s Time: 4 hours

………….. 1.8 billions voxels

7 GB Total 560 GB

Parallel from joblib

50 chunks overlap = 10 slices 30 cores

Total running time for the segmentation: 17 hours

Page 15: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

15 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After segmentation – 3D view

marching_cubes_lewiner from skimage.measure - finds surfaces in 3d

volumetric data mlab.triangular_mesh from mayavi

Page 16: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

16 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After segmentation – 3D view Movie

marching_cubes_lewiner from skimage.measure - finds surfaces in 3d

volumetric data mlab.triangular_mesh from mayavi

Page 17: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

17 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Labelling

label from scipy morphology.remove_small_objects from skimage

Page 18: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

18 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Data analysis

Page 19: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

19 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

After segmentation – 4D view Movie

TimeVisualizer - Mayavi - A GUI for 3-D visualization

and exploration of a time series of 3-D images

Page 20: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

20 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

What to take home

start simple

compromise between quality and time

Python simple and powerful tools

1 TB

Page 21: Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe Brillatz-34877355.pdf · Segmentation of 3-D glass material images: from raw data to physical

21 SVI – CONFIDENTIAL – Disclosure or reproduction without prior written permission of Saint-Gobain Recherche is prohibited

Contact

I’d be happy to share more details, the codes and ideas: Please contact me: [email protected]