Skip to content

set image_only=True in LoadImaged #5007

@KumoLiu

Description

@KumoLiu

Is your feature request related to a problem? Please describe.
Since 0.9.1, we recommend that users use MataTensor, which will save the meta information in metatensor by default. The default value of image_only in LoadImage is False, which will return image and header dict.

image_only: bool = False,

For some transforms that have deprecated the meta_dict which meta information in meta_dict will not be updated in time. Such as Spacingd
@deprecated_arg(name="meta_keys", since="0.9")
@deprecated_arg(name="meta_key_postfix", since="0.9")

Describe the solution you'd like
Set image_only=True in LoadImaged and LoadImage

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