How udaykumar5683/image-restoration-and-enhancement-system works
The product is a Flask image-enhancement web application: users provide images, the application analyzes lighting, selects a correction path, and returns enhanced images. The README documents low-light, normal, and overexposed paths plus shared image-processing stages. The sampled Flask source shows enhancement helpers and an optional overexposure-model integration; the README supports the broader routing and result workflow, but route-level wiring is only partially visible in the excerpts.
Main entry points: app.py Flask application · index.html Web pages · IMAGE-ENHACEMENT/main.py Image preprocessing · Overexposure Correction/main.py Exposure model
Components 16
Web interface
- Flask application
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Web pages
image/clear-image-enhacement/IMAGE-ENHACEMENT/templates/index.html
Analysis and routing
- Quality analysis
image/clear-image-enhacement/IMAGE-ENHACEMENT/main.py - Image preprocessing
image/clear-image-enhacement/IMAGE-ENHACEMENT/main.py
Enhancement paths
- Low-light correction
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Zero-DCE model
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Overexposure correction
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Normal-image path
image/clear-image-enhacement/IMAGE-ENHACEMENT/main.py - CLAHE enhancement
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Contrast enhancement
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Color balance
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Noise reduction
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py
Image results
- Uploaded and result images
image/clear-image-enhacement/IMAGE-ENHACEMENT/app.py - Enhanced image display
image/clear-image-enhacement/IMAGE-ENHACEMENT/templates/index.html
Exposure model
- Exposure model
image/clear-image-enhacement/Overexposure Correction/main.py
Other components
- Image user
Connections 21
- Image user → Web pages: opens
- Web pages → Flask application: submits image
- Flask application → Uploaded and result images: stores upload
- Flask application → Image preprocessing: preprocesses
- Image preprocessing → Quality analysis: analyzes
- Flask application → Quality analysis: routes by lighting
- Flask application → Low-light correction: selects low-light
- Low-light correction → Zero-DCE model: enhances
- Flask application → Normal-image path: selects normal
- Flask application → Overexposure correction: selects overexposed
- Overexposure correction → Exposure model: runs inference
- Low-light correction → CLAHE enhancement: continues enhancement
- Normal-image path → CLAHE enhancement: enhances
- Overexposure correction → CLAHE enhancement: continues enhancement
- CLAHE enhancement → Contrast enhancement: enhances contrast
- Contrast enhancement → Color balance: balances color
- Contrast enhancement → Noise reduction: reduces noise
- Color balance → Noise reduction: reduces noise
- Noise reduction → Uploaded and result images: saves result
- Flask application → Enhanced image display: serves result
- Enhanced image display → Image user: shows image