Crash when changing ROI size and activating noise subtraction
fedem-p opened this issue · comments
Expected Behavior
Possibility to set an ROI and activate subtract noise and then change the size of the ROI and activate again the subtract noise function as many times as needed
Current Behavior
When the ROI size changes and the subtract noise is activated sashimi crashes
Steps to Reproduce
in calib mode:
- set an ROI
- activate noise sub
- reset ROI
- activate noise sub again
Detailed Description
The problem seems to stem from the fact that the current_frame
and self.calibration_ref
have different sizes
which means that the self.calibration_ref
isn't updated to the correct size.