Skip to content

Transform to match images #3823

Description

@rijobro

Apologies if this already exists. Do we have a transform in MONAI to resample one image to match another?

I have a dictionary of data and would like to resample some of the images to match another. Is this possible with SpatialResampled? It looks like I need to pre-compute the dst_affine and in the non-dictionary version, I need to pre-compute the output number of voxels, whereas I would like the transform to do this for me by just giving the key to the image on which I want the output to match.

Does this functionality already exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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