AymanAmeen commited on
Commit
ae2e470
Β·
verified Β·
1 Parent(s): 88675f1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +95 -35
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
- This repository contains an interactive visualization tool for exploring 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.
 
 
13
 
14
- ## About SimEIT
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 them entirely
23
- - πŸ–ΌοΈ **Multi-resolution Images**: View images at different resolutions (256x256, 128x128, 64x64, 32x32)
24
- - πŸ“Š **Voltage Plots**: Visualize voltage data per electrode
25
- - 🎲 **Random/Manual Selection**: Choose samples randomly or by index
26
-
27
- ## Setup
28
-
29
- ```bash
30
- conda create -n SimEIT python=3.13
31
-
32
- conda activate SimEIT
33
-
34
- conda install pip
35
-
36
- pip install -r requirements.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ```
38
 
39
- ## Usage
40
 
41
- Run the application:
 
 
42
 
43
- ```bash
44
- python appfile.py
45
- ```
46
 
47
- The Gradio interface will launch in your browser where you can:
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
- ## File Structure
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*