Skip to content

Setting mgh affines #1

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

Merged
merged 2 commits into from
Mar 27, 2013

Conversation

matthew-brett
Copy link

Changes to leave the header information alone if the affine information has not changed. With tests.

We were having trouble with the header updating on load of an image, and
changing the underlying header information.

nipy#164

Use the Analyze trick to only update the header if the affine has
changed.
No we are not resetting the deltas on loading the image, we should get
zooms of 1 from the test image.
larsoner added a commit that referenced this pull request Mar 27, 2013
@larsoner larsoner merged commit 1ab91f0 into larsoner:vox2ras_tkr Mar 27, 2013
larsoner pushed a commit that referenced this pull request Aug 21, 2014
larsoner pushed a commit that referenced this pull request Oct 13, 2014
MRG: add module global to gzip as discussed
larsoner pushed a commit that referenced this pull request Feb 11, 2016
MRG: suggested refactoring of concat checks
larsoner pushed a commit that referenced this pull request Nov 27, 2017
larsoner pushed a commit that referenced this pull request Nov 27, 2017
MRG: merged current master, refactor dicom import
larsoner pushed a commit that referenced this pull request Nov 27, 2017
RF: check for "mock' module when running tests
larsoner pushed a commit that referenced this pull request Mar 11, 2019
RF: Use bytearray/frombuffer and other minor fixes
larsoner pushed a commit that referenced this pull request Oct 15, 2019
TEST: Move test DICOMs into nicom/tests/data
larsoner pushed a commit that referenced this pull request Oct 15, 2019
TEST: Add de-identified, compressed DICOM with empty string in SliceThickness field
larsoner pushed a commit that referenced this pull request May 7, 2020
larsoner pushed a commit that referenced this pull request May 7, 2020
larsoner pushed a commit that referenced this pull request May 7, 2020
RF: Update conformation to reorient, rescale and resample
larsoner pushed a commit that referenced this pull request Feb 16, 2022
RF: Use optional_package to allow code to assume pyzstd is present
larsoner pushed a commit that referenced this pull request Jul 18, 2023
TEST: Add test file with bad spacing field
larsoner pushed a commit that referenced this pull request Mar 4, 2024
RF: Consistently apply data type, shape and index order
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.

2 participants