Skip to content

Nifti saving function not working #155

@alinafdima

Description

@alinafdima

affine = grid.affine().cpu().numpy()

The Nifti saving function using nibabel here does not work because the affine matrix is incomplete. The output affine matrix from grid.affine() is 3x3 which is missing the origin/translation required for nibabel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions