Skip to content

Image.shift integer shifts #822

@garrettwrong

Description

@garrettwrong

Currently we use im_translate to perform image shifting via FFT. For integer (pixel) shifts we can use np.roll on the data directly.

I think the im_translate can be used in the case of subpixel shifts and in future optimized cases where we are already in F space.

I suspect this would just involve creating a function for the integer shifting and some test logic in shift.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OptimizationPerformance or Resource OptimzationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions