https://github.com/lruizap/tomography-with-algebraic-topology
This project aims to analyze images using algebraic topology. The goal is to extract structural information from images through mathematical concepts such as connected components and loops.
https://github.com/lruizap/tomography-with-algebraic-topology
gudhi jupyter-notebook matplotlib numpy opencv python tomography
Last synced: 3 months ago
JSON representation
This project aims to analyze images using algebraic topology. The goal is to extract structural information from images through mathematical concepts such as connected components and loops.
- Host: GitHub
- URL: https://github.com/lruizap/tomography-with-algebraic-topology
- Owner: lruizap
- Created: 2025-02-02T15:08:59.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-02T15:10:22.000Z (4 months ago)
- Last Synced: 2025-03-28T19:15:54.360Z (3 months ago)
- Topics: gudhi, jupyter-notebook, matplotlib, numpy, opencv, python, tomography
- Language: Jupyter Notebook
- Homepage:
- Size: 1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tomography with Algebraic Topology
## Project Description
This project aims to analyze images using **algebraic topology**. The goal is to extract structural information from images through mathematical concepts such as **connected components and loops**.
### Objectives
1. **Transform grayscale images** by applying different thresholds.
2. **Analyze changes in topological structures** as the threshold varies.
3. **Visualize this analysis** through **Beta curves** and **persistence diagrams**.## Requirements
Ensure you have the following libraries installed before running the code:
| Library | Description |
|----------|------------|
| `opencv-python` | For loading and processing images. |
| `numpy` | For numerical matrix manipulation. |
| `matplotlib` | For visualizing images and graphs. |
| `gudhi` | For topological analysis and persistence diagrams. |### Installation
You can install all required libraries using the following command:
```bash
pip install opencv-python numpy matplotlib gudhi
```## Usage
To run the project, simply open the notebook and follow the instructions in the cells. Make sure to have the images in the appropriate folder before executing the code.
## Author
This project was developed to study the application of algebraic topology in image analysis.
## License
This project is licensed under the MIT License. You are free to use, modify, and distribute it.