MONAILabel icon indicating copy to clipboard operation
MONAILabel copied to clipboard

[Slicer] Hide button for control points in the SmartEdit/DeepGrow section

Open MattTheCuber opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe. It is annoying to paint with colored dots on the images.

Describe the solution you'd like A simple hide button to toggle the visibility of these control points.

Describe alternatives you've considered None

Additional context Open 3D Slicer, open the MONAI Label module, expand the SmartEdit/DeepGrow section, add some control points. Once you have done this, it is hard to see under the control points if you wanted to view/paint the images under it.

Something like this: Before: vncviewer_R9tx4XmaY6 - Copy After: vncviewer_R9tx4XmaY6

MattTheCuber avatar Jun 08 '23 20:06 MattTheCuber

Maybe the control points size is too large in the UI, thanks for suggesting. We can make some adjustment in the future.

tangy5 avatar Jun 08 '23 20:06 tangy5

Adding a hide function would be better in my opinion. That way you can run it, validate, then clear labels and add points if you need to.

MattTheCuber avatar Jun 08 '23 20:06 MattTheCuber

Adding a hide function would be better in my opinion. That way you can run it, validate, then clear labels and add points if you need to.

Thanks, good idea, as a public and open sourced tool, if convinient, it would be great you can create a PR to adjust the buttons, UI, etc, to meet your demands, I think it's also useful to other users.

Thank again.

tangy5 avatar Jun 08 '23 20:06 tangy5

Updated description with screenshot concept

MattTheCuber avatar Jun 08 '23 20:06 MattTheCuber

Yes, depending on the markup options, the control points may indeed occlude underlying image content. Instead of hiding the markup completely, there are several options that you can use to make the points less obtrusive. For example, you can set:

  • opacity
  • glyph size: you can choose to define an absolute size in millimeters; or make it relative to the screen size so that if you zoom in then the size gets relatively smaller
  • glyph type: crosshair, vertex, etc. does not occlude as much as a sphere/circle

lassoan avatar Jun 08 '23 23:06 lassoan

Those are good options too. For ease of use, I guess it would make sense to implement both an opacity change and a way to hide them.

MattTheCuber avatar Jun 09 '23 00:06 MattTheCuber