DVF volume ratio (Jacobian) correction commented out in MotionTransform
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Read transforms/shared/motion.py:22-25, including _get_vol_ratio and _apply_dvf, to determine whether the commented-out volume-ratio correction is intentional. Check how gated OSEM/BSREM workflows use MotionTransform and define a reproducible conservation check for forward and backward passes; done means the intended behavior is documented and covered by an appropriate test.
Written by the indexing model from the issue text.
Description
Hi, I noticed that in transforms/shared/motion.py:22-25 the volume
ratio computed by _get_vol_ratio is commented out and hardcoded to
_apply_dvfmultiplies by this ratio, so for non-volume-preserving
DVFs the total counts are not conserved between the forward and
backward passes, which would affect quantitative reconstruction. I'm
not sure if this was intentional - just wanted to flag it in case the
missing Jacobian term matters for the gated OSEM/BSREM workflows.
- Dominant language
- Python
- Stars
- 173
- Forks
- 38
- Avg merge
- 1h 17m
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PyTomography/PyTomography
-
SPECT data handling: rescale tags ignored when reading projections, plus a misleading docstring Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PyTomography/PyTomography#232 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
PyTomography/PyTomography#230 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
PyTomography/PyTomography#231 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
PyTomography/PyTomography#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PyTomography/PyTomography#227 ·
All issues in PyTomography/PyTomography
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·