Homec4science

fix manual thresholds, output values, to known true

Authored by daniel j. white <dan@chalkie.org.uk> on Aug 6 2015, 17:12.

Description

fix manual thresholds, output values, to known true

Ran the coloc_2 on the positive correlation test images
colocsample1b-green.tif ch1, -red ch2, using the mask image we use
here, colocsample1b-mask.tif to find the auto thresholds (bisection
method) generated and thresholded Manders' coefficients resulting.
Then hard code these into this unit test. Set the precision of the test
to be a very precise 0.000001, so that it will fail if any tiny
disturbances/bugs happen elsewhere numerically or with faulty logic or
maths. Hopefully this makes the test much more robust at catching
problems that the other test here that works on the artificial smooth
images fro the Manders paper with no thresholds.

Details

Committed
Curtis Rueden <ctrueden@wisc.edu>Aug 27 2015, 18:36
Pushed
oburriMar 8 2018, 18:06
Parents
R6269:ed58a1678f37: fix generic type problems in Manders unit test.
Branches
Unknown
Tags
Unknown

Event Timeline

Curtis Rueden <ctrueden@wisc.edu> committed R6269:c4efa7d94410: fix manual thresholds, output values, to known true (authored by daniel j. white <dan@chalkie.org.uk>).Aug 27 2015, 18:36