Auto adjust image improvements: Overexposure reduction and removes UI thread block#954
Conversation
|
Thanks for your PR. Can you please just commit the backend changes, as the UI side will follow a different design? |
0cd162a to
3d5654d
Compare
|
Done! Thank you for creating this project! |
|
@moschmdt Thanks so much for the quick change! Very nice. Can you please lastly remove the AI code comments or keep them to a very minimum (just the ones absolutely needed) and fix the merge conflict? In the last version, I've already moved the processing to a seperate thread, so probably just the improved auto adjust algorithm is needed. Thanks! |
|
I will have a look at it! What do you think about exposing the variables for the auto-adjust algorithm via settings to the user to fit the user’s expectation more precisely/ make experimentation easier without recompile? |
3d5654d to
47fc217
Compare
previously existing brightness values were not updated/ ignored leading to wrong previews. Now the algorithm also updates brightness values.
47fc217 to
ec93ba6
Compare
|
@CyberTimon all the changes are there you requested. I also fixed an issue where the brightness was not included in the auto edit. I have two more questions/ requests that would be reasonable to add I guess:
|
|
Hi @moschmdt Thanks for your update! Looks very good to me. To get to your questions:
Thanks a lot for your work! Timon |
…to_adjustments_to_paths This reduces the time from approx. 4 seconds to 500 ms per image
…sing loaded images apply_auto_adjustments_to_paths previously ran two sequential par_iter() loops over the same paths, decoding each image twice — once for auto-analysis and once for thumbnail generation. This merges them into a single pass: each worker thread loads the image once, runs auto-analysis, writes the sidecar, then passes the already-decoded image directly to generate_single_thumbnail_and_cache via its existing preloaded_image parameter.
|
|
@CyberTimon ready to merge from my side when you do not have any other requests. :) |
|
Amazing! Looks good to me, will merge now. The results are much better now! 💯 |
Description
The issue is already described extensively in #568.
Additionally, the auto adjust for multiple images has been put in a thread not blocking the UI and includes a progress indicator now.
Type of Change
Changes Made
Screenshots/Videos
Previous behavior see #568.
Testing
Test Configuration:
Checklist
Additional Notes
AI Disclaimer:
Please state the involvement of AI in this PR: