Cache image statistics and star detection results when reloading thumbnails. Also highlight the selected thumbnail
George Hilios
Branch: Deleted repository:ghilios/thumbnail_caching_highlighting
Branch: Isbeorn/nina:release/2.0
Merged
Merged pull request
Merged in ghilios/thumbnail_caching_highlighting (pull request #1245)
What is the purpose of this Pull Request?
When images are selected from the image history we recompute statistics, re-do star detection, and re-do stretching. This changes caches the first 2 of these which speeds up reloading somewhat. (you still have to re-read the file and recompute the stretch LUT).
This change also highlights the selected thumbnail, unselecting when an image is taken but not saved (ie, “Prepared”)
How were the changes tested?
Image simulator from a file
Did all Unit Tests pass?
Yes
Are there relevant Issues in the tracker that this PR will fix?
Screenshots
After 3 images
Selecting the first
Taking a picture without saving
Notes