Run background subtraction on separate threads
User Story
- AS A scientist
- I WANT to stop the background subtraction process if it is executing too long
- SO THAT I could change the parameters or run it at a more suitable time.
Description
The rolling ball algorithm should run on separate threads, leaving the main application responsive and allowing the stopping of its execution. Worker examples can be found at https://gitlab.com/iocbio/sparks/-/tree/master/iocbio/sparks. When the UX gets too unresponsive even on a separate thread, add an option under settings to reduce the number of threads used for the process.
Definition of Done
-
Background subtraction is started on a separate thread -
Status is displayed while it is working -
A button to cancel the work is present which stops the thread -
Subtraction is applied as soon as the method/radius values change (when required fields are filled) -
Display fields as mandatory for the selected subtraction method (apply color if filter identifies that value is empty) -
Rename "radius 1,2" to "radius x,y"
Edited by Jaak Kütt