Description The application performs computationally intensive tasks, such as keypoint detection in cloning.py and probability map calculation in resampling.py, directly on the main GUI thread. This causes the application to freeze and become unresponsive until the processing is complete.
Solution Refactor the heavy computation methods to run in a background thread.
- Use QThread or QThreadPool to move execution off the main thread.
- Use pyqtSignal (or Signal from PySide6) to communicate progress and results back to the main thread for UI updates.
- Show a progress bar or a "Processing..." dialog that doesn't block the event loop.
Assign this issue to me under the OSCG.
Description The application performs computationally intensive tasks, such as keypoint detection in cloning.py and probability map calculation in resampling.py, directly on the main GUI thread. This causes the application to freeze and become unresponsive until the processing is complete.
Solution Refactor the heavy computation methods to run in a background thread.
Assign this issue to me under the OSCG.