Skip to content
Snippets Groups Projects
Commit 06f6c4a7 authored by preischig's avatar preischig
Browse files

GtThreshold: bug fix in computing segmentation threshold.

The computed threshold was not a continuous function of the parameters -> very bad!
Imagine if meanvol = 1, and using default values for percentile 1 and 2:
  if stdvol = 1.00001  -> threshold_val = 0.25
  if stdvol = 0.99999  -> threshold_val = 0.8
This is corrected now by using percentile2 only.

Signed-off-by: default avatarpreischig <preischig@xnovotech.com>
parent e3466f77
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment