Page MenuHomePhabricator

Region grower seed point sometimes jumps
Closed, WontfixPublic

Description

Occasionally the region grower will give a feedback contour that is outside of where the user specified the growing should start.

Event Timeline

Smoothing of the region growing result can remove very thin bridges and disconnect regions. As of now the contour of one of those regions is displayed with no option to choose which one

User petersej has pushed new remote branch:

bug-19580-region-grower-seed-point

[70c2a3]: Merge branch 'bug-19580-region-grower-seed-point'

Merged commits:

2016-03-04 10:51:28 Jens Petersen [fc11cd]
Contour outside image error DEBUG not INFO


2016-03-02 17:22:46 Jens Petersen [89b534]
select correct region to extract contour from

Jumping is corrected using ConnectedComponentImageFilter from ITK and then setting the contour value to the value of the region containing the seed point - 0.5. Unfortunately the contour being extracted can lie outside the image. The user won't notice, but the warning message was moved from MITK_INFO to MITK_DEBUG for release. Need to fix this, until then bug will remain open.

norajitr added subscribers: petersej, norajitr.

The reason for the out-of-bounds contour creation lies in the iso contour value of 0.5. The latter causes the contour to be just outside of the image slice geometry for the upper indices, which is then also output in the warning message.

The issue can be fixed by setting a smaller iso contour value in the contour extraction filter, both in the OnMousePressedOutside and in the OnMouseMoved methods.

kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs