GSTT-CSC / hazen

Quality assurance framework for Magnetic Resonance Imaging
https://github.com/GSTT-CSC/hazen
Apache License 2.0
22 stars 12 forks source link

Li threhsold too low #322

Closed laurencejackson closed 1 year ago

laurencejackson commented 1 year ago

Describe the bug The current Li threshold starting estimate is the 0.25 percentile of pixel values, this can cause an error when an image with lots of zeros is thresholded as the staring value can equal 0.0.

To Reproduce Steps to reproduce the behavior: Run slice position test on an image series where the 0.25 percentile in any slice is 0.0.

Expected behavior The threshold should be set higher so that the Li threshold optimisation can start.

Screenshots

image

Desktop (please complete the following information): Bug present in hazen 1.1.2