Skip to content

Fix for edge-case when scientific notation is present transform parameter values#33

Open
hectorlm wants to merge 1 commit intoraacampbell:masterfrom
hectorlm:master
Open

Fix for edge-case when scientific notation is present transform parameter values#33
hectorlm wants to merge 1 commit intoraacampbell:masterfrom
hectorlm:master

Conversation

@hectorlm
Copy link
Copy Markdown

Had an issue when an Affine Transform expected 12 parameters and only read the last 4 from the txt file written by elastix. The cause was that the 8th parameter contained 'e-7'.

Included 'e' to the regexp pattern in elastix_parameter_read.m to avoid skipping parameters when the values in the transform contain scientific notation.

…eter values

Included 'e' to the regexp pattern in elastix_parameter_read.m to avoid skipping parameters when the values in the transform contain scientific notation.
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