Skip to content

Conversation

@Lestropie
Copy link
Member

Follows from #2015.

If the user has gone to the extent of manually using the mrconvert -bvalue_scaling option, regardless of the value specified, I think the full-precision contents of dw_scheme should be written to the output image header, regardless of any other contextual information.

Actual effect will be very minimal; really the only change will be if -bvalue_scaling is used but the gradient vectors are already almost of unit norm. Only came across this while hunting for numerical differences between software versions.

@Lestropie Lestropie requested a review from jdtournier April 28, 2020 15:13
@Lestropie Lestropie self-assigned this Apr 28, 2020
@Lestropie Lestropie changed the base branch from master to dev April 28, 2020 15:13
Follows from #2015.
If the -bvalue_scaling command-line option is used, always update the diffusion gradient table based on internal calculations, regardless of whether or not scaling was performed or not or whether it was necessary or not.
@Lestropie Lestropie changed the base branch from dev to master June 22, 2020 23:50
@Lestropie Lestropie added this to the 3.0.1 milestone Jun 22, 2020
Copy link
Member

@jdtournier jdtournier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy enough with this, though I must admit I'm not convinced I understand the need for it. But it's harmless enough.

@Lestropie Lestropie merged commit 816a9fc into master Jul 1, 2020
@Lestropie Lestropie deleted the write_dw_scheme_on_bvalue_scaling branch July 1, 2020 03:03
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.

3 participants