Skip to content

Modifying Affine not affecting get_fdata() output #660

Closed
@kleingeo

Description

@kleingeo

I am trying to manipulate an image by modifying its affine matrix. When I modify it and plot the output using the OrthoSlicer3D class, it is properly modified as the slices are oriented differently. However, when I try to look at a raw image slice output using get_fdata() and matplotlib, nothing changes. I am not sure exactly what I am doing wrong. I am currently working with Nifti1Image class images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions