Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# SimEIT: Large-Scale Electrical Impedance Tomography Dataset Visualizer
|
| 2 |
|
| 3 |
**A Scalable Simulation Framework for Generating Physically Consistent, AI-Ready EIT Training Data**
|
|
@@ -9,51 +30,90 @@
|
|
| 9 |
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
##
|
| 15 |
|
| 16 |
Electrical Impedance Tomography (EIT) offers advantages over conventional imaging methods, such as X-ray and MRI, but suffers from an ill-posed inverse problem. Deep learning can alleviate this challenge, yet progress is limited by the lack of large, diverse, and reproducible datasets.
|
| 17 |
|
| 18 |
**SimEIT** enables high-throughput creation of diverse geometries and conductivity maps using parallelized finite element simulations, reproducible seeding, and automated validation. The framework provides multi-resolution, AI-ready HDF5 outputs with PyTorch integration, bridging the gap between physical simulation and AI training.
|
| 19 |
|
| 20 |
-
## Features
|
| 21 |
-
|
| 22 |
-
- π **Streaming Mode**: Load datasets without downloading
|
| 23 |
-
- πΌοΈ **Multi-resolution Images**: View images at different resolutions (
|
| 24 |
-
- π **Voltage Plots**: Visualize voltage data per electrode
|
| 25 |
-
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
```
|
| 38 |
|
| 39 |
-
##
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
| 42 |
|
| 43 |
-
|
| 44 |
-
python appfile.py
|
| 45 |
-
```
|
| 46 |
|
| 47 |
-
|
| 48 |
-
- Generate random sample indices or enter specific ones (0-100,000)
|
| 49 |
-
- Click "Show Images" to visualize the selected sample
|
| 50 |
-
- View images at different resolutions (256x256, 128x128, 64x64, 32x32)
|
| 51 |
-
- View voltage plots per electrode
|
| 52 |
|
| 53 |
-
|
| 54 |
|
| 55 |
-
|
| 56 |
-
βββ appfile.py # Main application (all-in-one)
|
| 57 |
-
βββ requirements.txt # Python dependencies
|
| 58 |
-
βββ README.md # This file
|
| 59 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: SimEIT Datasets Visualizer
|
| 3 |
+
emoji: π¬
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.0.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
license: apache-2.0
|
| 11 |
+
tags:
|
| 12 |
+
- medical-imaging
|
| 13 |
+
- electrical-impedance-tomography
|
| 14 |
+
- eit
|
| 15 |
+
- dataset-visualization
|
| 16 |
+
- simulation
|
| 17 |
+
- pytorch
|
| 18 |
+
- computer-vision
|
| 19 |
+
short_description: Visualizer for SimEIT synthetic EIT datasets
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
# SimEIT: Large-Scale Electrical Impedance Tomography Dataset Visualizer
|
| 23 |
|
| 24 |
**A Scalable Simulation Framework for Generating Physically Consistent, AI-Ready EIT Training Data**
|
|
|
|
| 30 |
|
| 31 |
---
|
| 32 |
|
| 33 |
+
## π― About This Demo
|
| 34 |
+
|
| 35 |
+
This interactive demo allows you to explore large-scale synthetic EIT (Electrical Impedance Tomography) datasets generated using the **SimEIT framework**βa scalable simulation platform for creating physically consistent, AI-ready training data.
|
| 36 |
|
| 37 |
+
## π¬ What is SimEIT?
|
| 38 |
|
| 39 |
Electrical Impedance Tomography (EIT) offers advantages over conventional imaging methods, such as X-ray and MRI, but suffers from an ill-posed inverse problem. Deep learning can alleviate this challenge, yet progress is limited by the lack of large, diverse, and reproducible datasets.
|
| 40 |
|
| 41 |
**SimEIT** enables high-throughput creation of diverse geometries and conductivity maps using parallelized finite element simulations, reproducible seeding, and automated validation. The framework provides multi-resolution, AI-ready HDF5 outputs with PyTorch integration, bridging the gap between physical simulation and AI training.
|
| 42 |
|
| 43 |
+
## β¨ Features
|
| 44 |
+
|
| 45 |
+
- π **Streaming Mode**: Load datasets directly from Hugging Face Hub without downloading
|
| 46 |
+
- πΌοΈ **Multi-resolution Images**: View images at different resolutions (256Γ256, 128Γ128, 64Γ64, 32Γ32)
|
| 47 |
+
- π **Interactive Voltage Plots**: Visualize voltage data per electrode with Plotly
|
| 48 |
+
- π¨ **Customizable Colormaps**: Choose from 18 different scientific colormaps
|
| 49 |
+
- π² **Flexible Selection**: Choose samples randomly or by specific index
|
| 50 |
+
- πΎ **Efficient Caching**: LRU cache for fast repeated access to samples
|
| 51 |
+
- π **Two Dataset Variants**: Explore 'FourObjects' or 'CirclesOnly' subsets
|
| 52 |
+
|
| 53 |
+
## π How to Use
|
| 54 |
+
|
| 55 |
+
1. **Select Dataset Configuration**: Choose between 'FourObjects' or 'CirclesOnly' subsets
|
| 56 |
+
2. **Choose a Sample**:
|
| 57 |
+
- Click "Generate Random Index" for a random sample
|
| 58 |
+
- Or enter a specific index (0-100,000)
|
| 59 |
+
3. **Customize Visualization**:
|
| 60 |
+
- Select your preferred image resolution
|
| 61 |
+
- Choose a colormap for visualization
|
| 62 |
+
- Toggle between linear and log scales
|
| 63 |
+
4. **View Results**:
|
| 64 |
+
- Explore multi-resolution conductivity and permittivity maps
|
| 65 |
+
- Analyze electrode voltage measurements
|
| 66 |
+
- Examine the domain geometry
|
| 67 |
+
|
| 68 |
+
## π Dataset Information
|
| 69 |
+
|
| 70 |
+
The SimEIT dataset contains:
|
| 71 |
+
- **100,000+ samples** per subset
|
| 72 |
+
- **Multi-resolution images**: 256Γ256, 128Γ128, 64Γ64, 32Γ32
|
| 73 |
+
- **Physical parameters**: Conductivity, permittivity, electrode voltages
|
| 74 |
+
- **Geometry information**: Object positions and boundaries
|
| 75 |
+
- **Two subsets**:
|
| 76 |
+
- `FourObjects`: Complex scenes with up to 4 objects
|
| 77 |
+
- `CirclesOnly`: Simplified circular objects
|
| 78 |
+
|
| 79 |
+
## π Links
|
| 80 |
+
|
| 81 |
+
- π¦ **Dataset**: [AymanAmeen/SimEIT-dataset](https://huggingface.co/datasets/AymanAmeen/SimEIT-dataset)
|
| 82 |
+
- π» **Code Repository**: [GitHub](https://github.com/Ayman-Ameen/SimEIT)
|
| 83 |
+
- π **Paper**: [ayman-ameen.github.io/SimEIT_page](https://ayman-ameen.github.io/SimEIT_page)
|
| 84 |
+
|
| 85 |
+
## π οΈ Technical Details
|
| 86 |
+
|
| 87 |
+
This visualizer uses:
|
| 88 |
+
- **Gradio** for the interactive interface
|
| 89 |
+
- **HDF5** for efficient data storage and streaming
|
| 90 |
+
- **Plotly** for interactive plots
|
| 91 |
+
- **Hugging Face Hub** for seamless dataset access
|
| 92 |
+
- **NumPy** and **OpenCV** for image processing
|
| 93 |
+
|
| 94 |
+
## π Citation
|
| 95 |
+
|
| 96 |
+
If you use the SimEIT dataset or framework in your research, please cite:
|
| 97 |
+
|
| 98 |
+
```bibtex
|
| 99 |
+
@misc{simeit2025,
|
| 100 |
+
title={SimEIT: A Scalable Simulation Framework for Generating Physically Consistent, AI-Ready EIT Training Data},
|
| 101 |
+
author={Ameen, Ayman A. and Mathis-Ullrich, Franziska and Kainz, Bernhard},
|
| 102 |
+
year={2025},
|
| 103 |
+
institution={Friedrich-Alexander University Erlangen-NΓΌrnberg, Imperial College London}
|
| 104 |
+
}
|
| 105 |
```
|
| 106 |
|
| 107 |
+
## π§ Contact
|
| 108 |
|
| 109 |
+
For questions or feedback:
|
| 110 |
+
- **Ayman A. Ameen**: just drop an email.
|
| 111 |
+
- **Issues**: Please open an issue on [GitHub](https://github.com/Ayman-Ameen/SimEIT-demo)
|
| 112 |
|
| 113 |
+
## π License
|
|
|
|
|
|
|
| 114 |
|
| 115 |
+
This project is licensed under the apache-2.0 License. See the LICENSE file for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
|
| 117 |
+
---
|
| 118 |
|
| 119 |
+
*Built with β€οΈ for the research community*
|
|
|
|
|
|
|
|
|
|
|
|