Page MenuHomePhabricator

Impossible to set seed point in region growing tool with previous segmentation
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Load image
  • Create any segmentation (e.g. 3D Threshold)
  • Choose 3D region growing tool
  • Try to set seed point with shift-click

--> seed point can't be placed

Also doesn't work if you create a second (new) segmentation or delete the old one. If you use the region growing tool for the first segmentation, seed point placement works fine!

Event Timeline

When there is already a segmentation, I can place a seed point, but the thresholds don't adjust, so most of the time I get an error of the kind "Seed point out of threshold range", but if I adjust the thresholds manually, I can still use the tool. Not ideal.
I removed the segmentation afterwards and created a new blank one. Could not place a seed point at all. Console says "WARNING: EventStateMachine: Empty DataNode received along with this Event"

User petersej has pushed new remote branch:

bug-19517-3D-region-growing-seed-point

Problem solved by moving creation of m_SeedPointInteractor to Activated() method of AdaptiveRegionGrowingTool (from constructor)

[966252]: Merge branch 'bug-19517-3D-region-growing-seed-point'

Merged commits:

2016-03-09 16:39:37 Jens Petersen [c05aa1]
Move Interactor construction to Activated

m_SeedPointInteractor in mitkAdaptiveRegionGrowingTool is now created in Activated() instead of class constructor