2022-10-06 00:13:40 -07:00
|
|
|
# Pyrometry image processing
|
|
|
|
|
2022-10-16 15:54:24 -07:00
|
|
|
## Interface Screenshots
|
|
|
|
|
|
|
|
| Input View | Results |
|
|
|
|
| --- | --- |
|
|
|
|
| ![](screenshots/pyro_input.png) | ![](screenshots/pyro_results.png)
|
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
## Developing the web frontend
|
|
|
|
|
|
|
|
To serve in production:
|
|
|
|
|
|
|
|
```
|
|
|
|
gunicorn flask_frontend:app
|
|
|
|
```
|
|
|
|
|
|
|
|
To autoreload on source file changes:
|
|
|
|
|
|
|
|
```
|
|
|
|
gunicorn flask_frontend:app --reload
|
|
|
|
```
|
|
|
|
|
2022-10-06 00:13:40 -07:00
|
|
|
## Temperature maps
|
|
|
|
|
|
|
|
**Grayscale pyrometry:** currently basic; uses grayscale opencv import, then just applies a jet filter. Doesn't yet copy the full impl in the paper.
|
|
|
|
|
|
|
|
**Ratio pyrometry:** pretty damn close to what's in the paper but it's very broken atm
|
|
|
|
|
|
|
|
**Test image:**
|
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
![](examples/01-0001-cropped.png)
|
2022-10-06 00:13:40 -07:00
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
**Ratio pyrometry result (with convolutional smoothing):**
|
2022-10-06 00:13:40 -07:00
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
According to general researcher consensus, ratio pyrometry is supposed to be more accurate.
|
2022-10-06 17:42:39 -07:00
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
![](examples/01-0001-cropped-transformed-ratio.png)
|
2022-10-06 17:42:39 -07:00
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
**Grayscale pyrometry result:**
|
2022-10-06 17:42:39 -07:00
|
|
|
|
2022-10-11 13:46:53 -07:00
|
|
|
![](examples/01-0001-transformed-grayscale.png)
|