Page MenuHomePhabricator

[Fiberfox] Motion is generated only for the first volumes
Closed, ResolvedPublic

Description

When using a ffp parameter file, the motion is added only to first 7 volumes.

Reason: the GetNumVolumes() returns 7 (even if image with 54 gradients) because the gradients are currently parsed AFTER the motion is being added.

Solution: parse the gradients before adding the motion so the image information is complete at that moment.

Event Timeline

User hettich has pushed new remote branch:

bug-19474-ParseGradientsBeforeAddingMotion_FiberfoxParameters

[41ab7f]: Merge branch 'bug-19474-ParseGradientsBeforeAddingMotion_FiberfoxParam

Merged commits:

2016-02-29 16:36:35 Martin Hettich [14c879]
parse the gradients before adding the motion, so that the image information is complete at that moment.

When using a .ffp parameter file, the motion is added only to first 7 volumes.
Reason: the GetNumVolumes() returns 7 (even if image with 54 gradients) because
the gradients are currently parsed after the motion is being added.
Solution: Parse the gradients before adding the motion.