Import 2017-06-07 23:51:09: master e3637ad5

Author Committer Branch Timestamp Parent
naucoin naucoin master 2016-05-19 10:41:35 master 0faa67a9
Affected Issues 0003233: Model to Label Map label value hard coded to 255
Changeset

BUG: fix failing ModelToLabelMapTest

When putting in a fix for using the passed in label value, the baseline file
OAS10001.1.mha was removed as it didn't seem to be in use any more. A closer
examination of the ctest output showed that that file was being
picked up as the baseline image when the test was passing as of May 11/16:
http://slicer.cdash.org/testDetails.php?test=7318110&build=825978
BaselineImageName OAS10001.1.mha

With the last change[1], the test is failing:
http://slicer.cdash.org/testDetails.php?test=7329855&build=828864
BaselineImageName OAS10001.mha

Local testing shows that the test would pass if the file OAS10001.1.mha was
reinstated, but to avoid confusion going forward as to how ctest globs
the baseline image files, I decided to go with testing the CLI with the
same input model (transformed to overlap the input image volume when both
are loaded in Slicer) for both the 255 and 128 output label cases, and to generate a
new output baseline image. I removed the untransformed model file and the now unused
baseline image and, locally, ctest is comparing the outputs of both tests against
teh correct baselines.

[1] https://github.com/Slicer/Slicer/commit/8707bb9ed2503f67ac0af29782c16db97adeab40

Reported-by: Andras Lasso <lasso@queensu.ca>

Issue 0003233

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25091 3bd1e089-480b-0410-8dfb-8563597acbee

add - Modules/CLI/ModelToLabelMap/Data/Baseline/OAS10001-255.mha Diff File
rm - Modules/CLI/ModelToLabelMap/Data/Baseline/OAS10001.mha Diff File
rm - Modules/CLI/ModelToLabelMap/Data/Input/OAS10001.vtp Diff File
mod - Modules/CLI/ModelToLabelMap/Testing/CMakeLists.txt Diff File