diff --git a/Testing/ImageTests/ImageTests.cpp b/Testing/ImageTests/ImageTests.cpp index d1e6b60897..91aa5c24b0 100644 --- a/Testing/ImageTests/ImageTests.cpp +++ b/Testing/ImageTests/ImageTests.cpp @@ -103,9 +103,8 @@ TEST(ImageTests, isoresampleDistanceTransformIsotropicTest) { TEST(ImageTests, isoresampleDistanceTransformAnisotropicTest) { Image image(std::string(TEST_DATA_DIR) + "/binary-anisotropic-dt.nrrd"); - image.resample(); + image.resample(6.0); Image ground_truth(std::string(TEST_DATA_DIR) + "/binary-anisotropic-dt-isoresampled.nrrd"); - ASSERT_TRUE(image.compare(ground_truth, true, 0.01)); } diff --git a/Testing/data/binary-anisotropic-dt-isoresampled.nrrd b/Testing/data/binary-anisotropic-dt-isoresampled.nrrd index fe1922c338..eb398bbcb7 100644 --- a/Testing/data/binary-anisotropic-dt-isoresampled.nrrd +++ b/Testing/data/binary-anisotropic-dt-isoresampled.nrrd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5e14989c502bb69beb45640f00ec41ef413925a828298b4558f3d9921941ad8f -size 14120295 +oid sha256:65f97c3e9fdbc10b8bca046a632b41db47f5b5031fc8267d81e283c29d876d62 +size 64570 diff --git a/Testing/data/binary-anisotropic-dt.nrrd b/Testing/data/binary-anisotropic-dt.nrrd index dc1797d909..50821bb4e8 100644 --- a/Testing/data/binary-anisotropic-dt.nrrd +++ b/Testing/data/binary-anisotropic-dt.nrrd @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:98d20012ddad5f4dbfe18fce58686bc1662f67edc817d73530fd41a3817aa3db -size 57540974 +oid sha256:b0e78fd404ee0e8cfa1cf7be130ddbfa4ac7fb335a0260eccbff3ce7ee32d3dd +size 224067