Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe...
Transcript of Segmentation of 3-D glass material images: from raw data ...pyparis.org/static/slides/Chloe...
![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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/1.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/11.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/19.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/20.jpg)
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](https://reader034.fdocuments.in/reader034/viewer/2022042412/5f2b3092ecb3bc731e416537/html5/thumbnails/21.jpg)
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]