Page MenuHomePhabricator

Otsu 3D Tool crashes Workbench with small number of histogram bins
Closed, ResolvedPublic


Steps to reproduce:

  1. Load Pic3D
  2. Open Segmentation and select Otsu
  3. Select Advanced settings
  4. Choose the number of histogram bins smaller than the selected number of regions (e.g. Regions=3 and Bins=2)

> Crash

A possible solution would be to check the current number of regions and select this as a minimum for the bins.

Event Timeline

User brehler has pushed new remote branch:


[cf51f5]: Merge branch 'bug-18043-OtsuSmallBinNumberCrash'

Merged commits:

2014-08-27 13:34:15 Michael Brehler [02eea9]
renamed one function and added a signal/slot for RegionNumber change to solve the bug