You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ROIs created by detection cannot be deleted or modified #329
When a detection function (e.g., Blob detection OpenCV) creates ROIs on an
image via the "Create ROIs" option, these ROIs cannot be deleted or modified.
Any attempt to remove or change them causes the ROIs to immediately reappear.
Affected versions
DataLab: all versions with ROI creation from detection (since the create_rois option was introduced)
Steps to reproduce
Open DataLab
Create a test image: Create > 2D Gaussian (or any image with visible features)
Run Analysis > Blob detection (OpenCV) with the "Create ROIs" option enabled
After postprocess_1_to_0_result successfully creates ROIs, the parameter param.create_rois needs to be set to False in the stored object: this avoids ROI to be recreated every time, interfering with user edits.
This has been fixed.
Additionally there were a bug when a ROI was moved or deleted, generating an unwanted error do to changed ROI register size: this was fixed too.
Even after the fix, ROIs would still reappear when the user clicked "Delete All". This happened because the deletion triggered a re-computation using the original blob detection parameter, which automatically recreated the ROIs.
To solve this, ROI creation is now deactivated immediately after the initial blob detection. This way, if the user deletes the ROIs, they are no longer automatically recreated.
Activity
StefanoPierini-Codra commentedon May 29, 2026
After
postprocess_1_to_0_resultsuccessfully creates ROIs, the parameterparam.create_roisneeds to be set toFalsein the stored object: this avoids ROI to be recreated every time, interfering with user edits.This has been fixed.
Additionally there were a bug when a ROI was moved or deleted, generating an unwanted error do to changed ROI register size: this was fixed too.
StefanoPierini-Codra commentedon May 29, 2026
Even after the fix, ROIs would still reappear when the user clicked "Delete All". This happened because the deletion triggered a re-computation using the original blob detection parameter, which automatically recreated the ROIs.
To solve this, ROI creation is now deactivated immediately after the initial blob detection. This way, if the user deletes the ROIs, they are no longer automatically recreated.
ThomasMalletCodra commentedon Jun 23, 2026
review and merged in : 9290413