In the previous implementation of the plugin, the ROI is completely independent from the normal correlation (when you click on one pixel). Which doesn't make much sense since it's duplicating most of the code.
Instead, I just call the correlation function on every pixel in the ROI.
The only difference between the ROI and the "click" implementation in the previous version is the presence for filtering in the ROI. Shouldn't the filtering be present in both cases? If yes, I should introduce it in the correlation and it will directly works for both methods.
In the previous implementation of the plugin, the ROI is completely independent from the normal correlation (when you click on one pixel). Which doesn't make much sense since it's duplicating most of the code.
Instead, I just call the correlation function on every pixel in the ROI. The only difference between the ROI and the "click" implementation in the previous version is the presence for filtering in the ROI. Shouldn't the filtering be present in both cases? If yes, I should introduce it in the correlation and it will directly works for both methods.