DataLab icon indicating copy to clipboard operation
DataLab copied to clipboard

ROI numbering in ROI edit window

Open tchirac opened this issue 4 months ago • 1 comments

Datalab 0.20.1

Describe the bug When editing ROIs, they are numbered ROI00, ROI01, etc. When showing results, they are numbered ROI0, ROI1, etc.

In the graphic window label, they are numbered ROI1, ROI2, etc. When ploting reults, they are numbered ROI1, ROI2, etc.

It would be nice if the ROI numbering were consistent everywhere (or possibility to name it?).

To Reproduce Steps to reproduce the behavior:

  1. Have an image
  2. Click on ROI, edit a few ROIs (see how they start at ROI00)
  3. Validate. In the image (see how they start at ROI1)
  4. Analysis> Statistics (see how they start at ROI0 in the table)
  5. Analysis > Plot results (see how their titles start at ROI1)

Expected behavior Consistent numbering of ROI labels

Screenshots

Installation information pip install cdl python -m cdl.app

Additional context

tchirac avatar Oct 21 '25 13:10 tchirac

Thanks for the feedback. 😊

If that's alright with you, I would like to put this issue on hold until v1.0.0 is out: ROI support has been completely rewritten, so you may have to update your report (hopefully to withdraw it!).

PierreRaybaut avatar Oct 21 '25 17:10 PierreRaybaut

Fixed in V1.0

PierreRaybaut avatar Nov 26 '25 14:11 PierreRaybaut