Skip to content

ROIs created by detection cannot be deleted or modified #329

Description

@StefanoPierini-Codra

Summary

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

  1. Open DataLab
  2. Create a test image: Create > 2D Gaussian (or any image with visible features)
  3. Run Analysis > Blob detection (OpenCV) with the "Create ROIs" option enabled
  4. ROIs are created around detected blobs ✓
  5. Try to delete all ROIs via ROI > Delete all ROIs
  6. Result: the ROIs immediately reappear

The same issue occurs when trying to:

  • Delete individual ROIs
  • Modify ROI positions or sizes
  • Invert ROI selection

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions