Skip to content

Remove IJKtoRAS atrribute from Matlab image metadata #4

@cpinter

Description

@cpinter

When an image is loaded using the MatlabBridge, currently IJKtoRAS information is stored in two places:

  • in img.ijkToLpsTransform
  • in a field in img.metaData

The field in img.metaData is not used, just left there, so remove it, and just keep the img.ijkToLpsTransform (and make sure the field is created in the written file)

Maybe also add an example describing how to get the spacing from the img.ijkToLpsTransform (and a note that directions shall not be ignored and add an example for getting LPS from IJK and IJK from LPS).

Migrated from https://app.assembla.com/spaces/slicerrt/tickets/465-remove-ijktoras-atrribute-from-matlab-image-metadata/details

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