Skip to content

Jon-GSC/SEM_segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SEM images segmentation with Tensorflow

Scanning Electron Microscope (SEM) image segmentation.

  • The aim of this SEM image segmentation study is to identify and analyse geological source rock objects using deep learning.

Requirements:

  • Install python 3.6/newer and anaconda packages: conda install keras, tensorflow, scikit-image, opencv, tqdm, pandas, numpy, seaborn libraries.

Dataset:

  • The original image is out allowed size limit. The loaded images are used for demonstration purpose, the default image size is 256x256. During the training, the images in train and mask folder are split into training and validation groups. The file structure is:
  img_path
  |---train_image
  |   |---*.tif
  |---mask_image
  |   |---*.tif
  |---raw_image
  |   |---output
  |       |---*.tif

Instruction:

  1. The two main python codes and /itools need be save in one folder.

  2. forWeb_SEM_Model_1.py are used to train the model, the model is saved automatically after validation. Some parameters at the beginning of code are default, user can change it as wish.

  3. forWeb_SEM_clay_analysis.py are used to load the created model, and used it to predict the features of new images. All of the images should be saved in one folder, code will run through each of the image and save all of the results in new folder individually.

Hardware used:

  • HP-7920 workstation: 56core CPU; 64G memory; GPU Nvidia Quadro P5000.

Contact:

License

Unless otherwise noted, the source code of this project is covered under Crown Copyright, Government of Canada, and is distributed under the MIT Licence

The Canada wordmark and related graphics associated with this distribution are protected under trademark law and copyright law. No permission is granted to use them outside the parameters of the Government of Canada's corporate identity program. For more information, see Federal identity requirements.

Acknowledgments

  • SEM image segmentation used open source codes and library from github, google, kaggle, csdn blog. Please cite the related references in your publications.

Citation:

  • Chen, Z., Liu, X., Jijin, Y., Little, E. & Zhou, Y. 2020, "Deep learning-based method for SEM image segmentation in mineral characterization, an example from Duvernay Shale samples in Western Canada Sedimentary Basin", Computers & geosciences, vol. 138, pp. 104450. Valid_UNet_888

About

Scanning Electron Microscope (SEM) image segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages