Rock Thin Section Porosity

Simple code for calculating the porosity of blue-stained thin section images of rocks
767 Downloads
Updated 9 Feb 2021

View License

Rock Thin Section Porosity
Simple code for converting blue-stained thin section image of rock into
the binary image. The code needs the Image processing toolbox
This code takes input.png in RBG format and gives back output.png in
binary format.
Also shows both images and the segmented porous space of image
If you think that the binary image does not present the blue-filled parts
adequately, you can change the threshold value for your images. The
recomended range is between 140 to 160 but now 150 is selected.

Please cite this paper:
Rabbani, A., Assadi, A., Kharrat, R., Dashti, N., & Ayatollahi, S. (2017).
Estimation of carbonates permeability using pore network parameters extracted
from thin section images and comparison with experimental data. Journal of
Natural Gas Science and Engineering, 42, 85-98.

Check out my tutorial videos on porous material modeling via Matlab on youtube:
https://www.youtube.com/playlist?list=PLaYes2m4FtR3DBM7TIb6oOZYI-tG4fHLd

By Arash Rabbani
arashrabbani.com
rabarash@yahoo.com

Cite As

Rabbani, A., Assadi, A., Kharrat, R., Dashti, N., & Ayatollahi, S. (2017). Estimation of carbonates permeability using pore network parameters extracted from thin section images and comparison with experimental data. Journal of Natural Gas Science and Engineering, 42, 85-98.

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
2.0.0.1

link added

2.0.0.0

some changes in readability.

1.0.0.0