fmi-faim/faim-ipa

Shifting in YX is slow

tibuch opened this issue · 0 comments

tibuch commented

The current implementation uses skimage.transform.warp for a simple integer based yx translation:
https://github.com/fmi-faim/faim-hcs/blob/b9f1448260ac9c894dd4a2fe4829a440ef5ddba3/src/faim_hcs/hcs/imagexpress/StackAcquisition.py#L67

A faster approach would be to use slicing and directly write the data to the correct position in the output array.