Page MenuHomePhabricator

[Segmentation] Watershed segmentation crashes on images when high threshold is chosen
Closed, ResolvedPublic

Description

To reproduce:
Load US4DCyl or Pic3D
+ Go to the segmentation view
+ Choose dynamic segmentation
+ Select Watershed Tool
+ turn the threshold high (0.85)
+ Press preview
= Crash ….

ERROR: Watershed Filter Error: itk::ERROR: itk::watershed::SegmentTreeGenerator::MergeSegments:: An unexpected and fatal error has occurred. This is probably the result of overthresholding of the input image.

Event Timeline

thomass triaged this task as Normal priority.Sep 3 2020, 5:03 PM
thomass created this task.
thomass updated the task description. (Show Details)
floca renamed this task from [Segmentation] Watershed segmentation crashes on 4D images when high threshold is chosen to [Segmentation] Watershed segmentation crashes on images when high threshold is chosen.Sep 3 2020, 5:22 PM
floca updated the task description. (Show Details)
floca lowered the priority of this task from Normal to Low.Sep 3 2020, 6:01 PM
floca added a subscriber: floca.

It is rooted in an known unfixed error in itk: https://discourse.itk.org/t/crash-in-watershedimagefilter/2428

Currently we can only hatch the error with try catch and try to minimize the chance by limiting thresholt to an unrisky value range. Will do so in D391.

floca claimed this task.

Is this solved?

As far as I have described above, yes.