Skip to content

Commit

Permalink
ENH: use a different baseline for the affine test
Browse files Browse the repository at this point in the history
Using just affine transforms cannot get us to the perfect result.
  • Loading branch information
dzenanz committed Mar 12, 2024
1 parent c71020c commit e85adc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bafkreidcllbuqqex7isanhd6hbgusadl4g3lb2apohofgjhsfqfqoztwri
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ itk_add_test(NAME itkANTsRegistrationBasicTests
itk_add_test(NAME itkANTsGroupwiseRegistrationTestAffine
COMMAND ANTsWasmTestDriver
--compare
DATA{Baseline/T_template0Result337.nrrd}
DATA{Baseline/itkANTsGroupwiseRegistrationTestAffine.png}
${ITK_TEST_OUTPUT_DIR}/itkANTsGroupwiseRegistrationTestAffine.nrrd
itkANTsGroupwiseRegistrationTest
DATA{${CMAKE_CURRENT_LIST_DIR}/Input/face10.png,REGEX:face[0-9]+\\.png} # download data at build time
Expand Down
1 change: 1 addition & 0 deletions test/itkANTsGroupwiseRegistrationTest.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ itkANTsGroupwiseRegistrationTest(int argc, char * argv[])
pairwiseRegistration->SetSynIterations(iterations);
pairwiseRegistration->SetShrinkFactors({ 16, 12, 8, 4, 2, 1 });
pairwiseRegistration->SetSmoothingSigmas({ 4, 4, 4, 2, 1, 0 });
pairwiseRegistration->SetRandomSeed(19831030); // helps with reproducibility
filter->SetPairwiseRegistration(pairwiseRegistration);

filter->DebugOn();
Expand Down

0 comments on commit e85adc1

Please sign in to comment.