Page MenuHomePhabricator

Most 3D Segmentation-Tools cause Crash when applied on 2D Image
Closed, ResolvedPublic

Description

2D test image

Event Timeline

graser added a subscriber: graser.

Load the attached 2D image.

Run Segmentation Plugin.

Try Otsu Filter: Will give u a warning, that it cannot worky and you should put in 2D or 3D images.. but it is a 2D image

Try Watershed, Region Growing, etc...
--> Application crashes

User brehler has pushed new remote branch:

bug-17787-OtsuAndWatershedDoNotWorkFor2D

[645c79]: Merge branch 'bug-17787-OtsuAndWatershedDoNotWorkFor2D'

Merged commits:

2014-06-04 14:55:57 Michael Brehler [176979]
fixed otsu and watershed tools for 2d images

We fixed the Otsu and Watershed tool for 2D images. The one- and two-threshold tool already work and the fast marching 3d and region growing 3d have a 2d version in the 2d-tools tab. We might consider redesigning the 2d/3d tab layout and the automatic activation of the tools according to the image dimension.

[ea8bd6]: Merge branch 'bug-17787-OtsuAndWatershedDoNotWorkFor2D'

Merged commits:

2014-06-04 16:18:11 Michael Brehler [976682]
COMP: added typename definition

[637578]: Merge branch 'bug-17787-OtsuAndWatershedDoNotWorkFor2D'

Merged commits:

2014-06-04 16:26:23 Michael Brehler [9b79e9]
COMP: one more typename

User kislinsk has pushed new remote branch:

bug-17787-3DSegmentationToolsOn2DImages

Tools can now overwrite a CanHandle() method in which they can specify whether they are able to handle the current reference data or not. Default is true. For example, the fast marching and region growing 3D tools cannot handle 2D images. Their buttons stay disabled if a 2D segmentation is selected.

User kislinsk has pushed new remote branch:

bug-17787-3DSegmentationToolsOn2DImages-2

[a2d377]: Merge branch 'bug-17787-3DSegmentationToolsOn2DImages-2'

Merged commits:

2014-10-15 16:10:26 Stefan Kislinskiy [32e15e]
3D fast marching and region growing tools cannot be activated for 2D images anymore.