Page MenuHomePhabricator

[Segmentation] New Add tool: Behavior for modifying painted regions
Open, NormalPublic

Assigned To
Authored By
Oct 18 2021, 9:28 AM
Referenced Files
F2458618: GIMP_tool.mp4
Oct 18 2021, 9:40 AM
F2458605: BehaviorNewAdd.png
Oct 18 2021, 9:28 AM
F2458607: StraightLines.png
Oct 18 2021, 9:28 AM


Regarding the new add tool (T28464) it is currently not defined what should happen if the user wants to modify a region that is painted with mouse button pressed (see screenshot below).
Possible behaviors would be:

  • Change the surrounding parts to straight lines (second screenshot)
  • Define it as restricted area for modifications
  • ...

What should be the behavior for this situation?

BehaviorNewAdd.png (823×839 px, 147 KB)

StraightLines.png (804×835 px, 254 KB)

Event Timeline

kahl triaged this task as Normal priority.Oct 18 2021, 9:28 AM
kahl created this task.
kahl moved this task from Backlog to MITK Meeting on the Request for Discussion board.

One comment to this: The tool was inspired by the behavior of a similar tool in GIMP. In GIMP it is not possible to add additional points after finishing the contour. So they don't have that problem.

I personally think the first described behavior is "correct" in a sense that this is what we defined the tool to do at the moment. But I don't like it. I mean, if a user takes the time to manually contour something, I think it would be very annoying to "destroy" this work with just a single click. That said, I am not sure what the preferred behavior should be. I am going to think about it.

Request for discussion +1 ;-)

I guess in GIMP the behavior is somewhat similar to your second suggestion. As you are not able to set additional points, it is a "restricted region". You can still modify existing points. This is what the tool looks like in GIMP if you move one of the existing points.