cornerstoneTools icon indicating copy to clipboard operation
cornerstoneTools copied to clipboard

Is there any possibility to add Enter your annotation prompt for RectangleRoi?

Open Geetha987456123 opened this issue 1 year ago • 1 comments

Prerequisites

  • [ ] Which version are you using? (Is it latest?) - 5.3.0
  • [ ] Are you reporting to the correct repository? -YES
  • [ ] Did you search existing issues? (Were any related?)- NO

Description

Expected Enter your annotation for RectangleRoi.

Geetha987456123 avatar Feb 08 '24 08:02 Geetha987456123

Thank you for the suggestion.

The RectangleRoi tool is focused on quantitative measurements and already provides area, mean, standard deviation, min/max, and SUV values. For text-based annotations, the recommended approach is to use either ArrowAnnotateTool or TextMarkerTool, both of which support user prompts for entering custom labels.

If you need both ROI measurements and custom text, you can extend the tool or use the MEASUREMENT_COMPLETED event to attach a label programmatically.

The current design separates measurement tools from annotation tools intentionally. We recommend using RectangleRoi for measurements and ArrowAnnotate or TextMarker for annotations.

This functionality is already supported, so the issue can be closed. Feel free to reopen if further guidance is needed.

pyoneerC avatar Oct 27 '25 20:10 pyoneerC