Reduce display time of autostretch
ID0000203: This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Id | Category | View | Date Submitted | Updated | Due Date |
---|---|---|---|---|---|
ID0000203 | Siril | public | 2017-11-20 | 2017-11-22 | - |
Reporter | lock42 | Assigned To | lock42 | Resolution | fixed |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | GNU/Linux 64bits | OS | Debian | OS Version | Testing |
Product Version | 0.9.7 | Target Version | 0.9.8 | Fixed in Version | 0.9.8 |
Description :
Currently, display of autostretch can take a long time. One reason is the calculation of shadows and highlights parameters: these parameters are computed 3 times. This is of course useless. One easy fix is to use a flag to avoid 2 calculations while remaping.
The best thing to do, probably for v1.0 will be to save the two parameters (where ? not necessary in seq file because it shall also apply to single image). Then we have to think that everytime changes are made to the pictures, we need to update (in a background task ?) the parameters (This task could do the update for all statistic parameters !!!).
attachment(s) :
0