reillytilbury / coppafish

Python version of iss software
MIT License
4 stars 2 forks source link

Refactor split_3d image function #284

Open reillytilbury opened 1 month ago

reillytilbury commented 1 month ago

Currently this function is a mess with annoying constraints that box sizes are even and while loops that lead to infinite loops.

Need to refactor this to a cleaner method. Currently it is used in coppafish tools for shift computations and in coppafish for optical flow.

It needs to cover every pixel so we face divisibility issues if all subvols have to be the same size.