Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verbose registration #1063

Closed
wants to merge 62 commits into from
Closed
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5776545
trying static for antsregistration
muschellij2 Oct 9, 2018
c7ce577
Merging with upstream
muschellij2 Oct 11, 2018
0b4e875
Merged with upstream
muschellij2 Oct 17, 2018
4b20411
Merging with ANTs
muschellij2 Nov 2, 2018
568700d
I think there's a problem with GaussianListSampleFunction king branch…
muschellij2 Nov 5, 2018
d2de42f
Updating with master
muschellij2 Jan 16, 2019
0739fcb
Merging with upstream branch
muschellij2 Jan 29, 2019
eb7e0e0
updated itk cmake for muschellij2
muschellij2 Jan 29, 2019
8c78fd9
fixing the ITK version for wins
muschellij2 Jan 30, 2019
5aba17e
added new itk
muschellij2 Feb 1, 2019
9dd8d52
Merging with upstream
muschellij2 Feb 3, 2019
93bff49
fixing stupdi cmake
muschellij2 Feb 3, 2019
ec091f4
Merging with upstream
muschellij2 Feb 8, 2019
c59bc3d
Merging with ANTs remote
muschellij2 Feb 18, 2019
27becbe
updated the tag
muschellij2 Feb 18, 2019
1bd8bfc
updated ITK build
muschellij2 Feb 22, 2019
3a84476
added the itk tag 5380a84b7d67501643f98dc435630a1a02601e31
muschellij2 Feb 27, 2019
b36ed52
updated itk tag
muschellij2 Feb 27, 2019
925d51b
updated the ITK tag 77156ea1f25e9d5524dc176a7e334a110b11f1a8
muschellij2 Feb 28, 2019
34c551b
updated the ITKv5 tag
muschellij2 Mar 11, 2019
2e05503
Label clusters uniquely
muschellij2 Mar 13, 2019
29423bb
removed from cmakelists
muschellij2 Mar 13, 2019
27a76b0
updated itk tag
muschellij2 Mar 13, 2019
8c0f876
updated the ITK tag
muschellij2 Mar 17, 2019
e0f4a64
need to revert itk
muschellij2 Mar 18, 2019
3656455
Merging with upstream ANTs
muschellij2 Mar 26, 2019
616ab86
updated with upstrema
muschellij2 May 1, 2019
2b2ba01
updated itk tag
muschellij2 Jun 19, 2019
19e0e2e
no executable
muschellij2 Jun 20, 2019
a9e9e28
updated ants
muschellij2 Oct 2, 2019
a242926
updated ants for muschelli
muschellij2 Oct 7, 2019
90f165e
trying itk log
muschellij2 Oct 7, 2019
c15b423
updated the cmakelists to not target binaries
muschellij2 Oct 7, 2019
c39585e
updated all
muschellij2 Oct 21, 2019
03e838e
Merge remote-tracking branch 'upstream/master'
muschellij2 Oct 25, 2019
a400184
no breaking for windows thing
muschellij2 Oct 25, 2019
c8a3633
updated to 4.8
muschellij2 Oct 25, 2019
7ca882f
Merge remote-tracking branch 'upstream/master'
muschellij2 Oct 25, 2019
b8f3e0c
fixed itk
muschellij2 Nov 5, 2019
ac0930c
Merge remote-tracking branch 'upstream/master'
muschellij2 Dec 4, 2019
7f217fb
Merge remote-tracking branch 'upstream/master'
muschellij2 Jan 16, 2020
edb09f2
Merge remote-tracking branch 'upstream/master'
muschellij2 Feb 3, 2020
0f11c98
updated tag for ITK
muschellij2 Feb 3, 2020
2207c05
updating itk tag
muschellij2 Feb 21, 2020
d2cbc60
fixed the tag for ITK
muschellij2 Feb 21, 2020
6098dfc
Merge remote-tracking branch 'upstream/master'
muschellij2 Mar 18, 2020
577f095
Merge remote-tracking branch 'upstream/master'
muschellij2 Mar 20, 2020
0b3c6eb
trying to merge
muschellij2 Mar 23, 2020
8d7acb8
updated n4biasfield
muschellij2 Mar 23, 2020
3cb2923
updated cmakelists
muschellij2 Mar 30, 2020
cf66047
updated cmakelists
muschellij2 Mar 31, 2020
08cd1c4
updated examples n4
muschellij2 Mar 31, 2020
a5b426e
trying ITK reading
muschellij2 Mar 31, 2020
2ce96e2
Merge remote-tracking branch 'upstream/master'
muschellij2 Apr 11, 2020
11a4705
updated the tag for Windows
muschellij2 Apr 12, 2020
0c8260f
ENH: Merge remote-tracking branch 'upstream/master'
muschellij2 May 6, 2020
afa4d52
updated ITK log b7383cf71202077b67e2e618ca282d3bcf5c1ba2
muschellij2 May 6, 2020
c79080f
Merge remote-tracking branch 'upstream/master'
muschellij2 Jul 20, 2020
6260c36
Merge remote-tracking branch 'upstream/master'
muschellij2 Jul 21, 2020
73bda5a
updated random seed
muschellij2 Aug 8, 2020
1a11157
reverting ITK tag
muschellij2 Aug 8, 2020
95119bf
reverting n4
muschellij2 Aug 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion Examples/antsRegistrationTemplateHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,34 @@ DoRegistration(typename ParserType::Pointer & parser)
OptionType::Pointer fixRandomSeed = parser->GetOption( "random-seed" );
if( fixRandomSeed && fixRandomSeed->GetNumberOfFunctions() )
{
if( verbose )
{
std::cout << "In the fixRandomSeed" << std::endl;
}
int randomSeed = parser->Convert<int>( fixRandomSeed->GetFunction(0)->GetName() );
regHelper->SetRegistrationRandomSeed(randomSeed);
}
if( verbose )
{
std::cout << "randomSeed is " << randomSeed << std::endl;
}
}
else
{
char* randomSeedEnv = getenv( "ANTS_RANDOM_SEED" );
if ( randomSeedEnv != nullptr )
{
if( verbose )
{
std::cout << "ANTS_RANDOM_SEED is set! randomSeed is " << randomSeed << std::endl;
}
regHelper->SetRegistrationRandomSeed( std::stoi( randomSeedEnv ) );
}
else
{
if( verbose )
{
std::cout << "ANTS_RANDOM_SEED is not set! Running with Default Random Behavior" << std::endl;
}
regHelper->SetRegistrationRandomSeed(0);
}
}
Expand Down