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

Print the parameter map to log, when there is no parameter file #1287

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

N-Dekker
Copy link
Member

@N-Dekker N-Dekker commented Feb 1, 2025

Example "elastix.log" file, with this pull request:

WARNING: The parameter "FixedInternalImagePixelType", requested at entry number 0, does not exist at all.
  The default value "float" is used instead.
  [...]
WARNING: The parameter "Resampler", requested at entry number 0, does not exist at all.
  The default value "DefaultResampler" is used instead.
ELASTIX version: 5.2.0
Command line options from ElastixBase:
-out      B:/data/output/
-priority unspecified, so NORMAL process priority
-threads  unspecified, so all available threads are used
WARNING: The parameter "UseDirectionCosines", requested at entry number 0, does not exist at all.
  The default value "true" is used instead.

WARNING: The option "UseDirectionCosines" was not found in your parameter file.
  From elastix 4.8 it defaults to true!
This may change the behavior of your registrations considerably.

Command line options from TransformBase:
-t0       unspecified, so no initial transform used

=============== start of ParameterMap ===============
(FixedImageDimension 2)
(ImageSampler "Full")
(MaximumNumberOfIterations 2)
(Metric "AdvancedNormalizedCorrelation")
(MovingImageDimension 2)
(NumberOfResolutions 2)
(Optimizer "AdaptiveStochasticGradientDescent")
(ResultImagePixelType "float")
(Transform "TranslationTransform")
(WriteResultImageAfterEachResolution "true")

=============== end of ParameterMap ===============


Reading images...

elastix.log

@N-Dekker N-Dekker merged commit 73a299e into main Feb 3, 2025
8 checks passed
@N-Dekker N-Dekker deleted the PrintParameterMap branch February 3, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant