https://github.com/cspurin/quantification_porescale_images
Notebook for calculating the Minkowski functionals for a segmented pore scale image
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.5%) to scientific vocabulary
Repository
Notebook for calculating the Minkowski functionals for a segmented pore scale image
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Quantification of segmented pore-scale images
This notebook takes a segmennted pore-scale image and calculates the 4 Minkowski functionals: 1. Volume 2. Surface area 3. Mean Curvature 4. Total integral curvature/ Euler characteristic
The Minkowski functionals are described in detail in this manuscript: https://doi.org/10.1016/j.softx.2021.100823
There is also an example for calculating the maximum inscribed sphere in 2D.
Recommended steps for running the notebook.
- Download and install vscode: https://code.visualstudio.com/
- Download and install python: https://www.python.org/downloads/ (download version 3.10.11)
- Install the python extension in vscode. In vscode, click the extensions icon in the sidebar and search for "python"
- Open a new folder (link it the folder containing the contents of this repository, wherever that is on your computer)
Create a virtual enviornment. In vscode click View>Terminal and enter the code below:
bash python -m venv myenvThen for Mac enter:bash source myenv/bin/activate
or for Windows:bash myenv\Scripts\activateInstall the necessary packages by typing this in the terminal:
bash pip install -r requirements.txt
NB. must be in the folder where the requirements.txt file is. Alternatively, you can install the packages individually e.g. pip install numpy. 8. Now open the notebook and begin!
Owner
- Name: Catherine Spurin
- Login: cspurin
- Kind: user
- Company: Stanford University
- Repositories: 1
- Profile: https://github.com/cspurin