Open reillytilbury opened 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.
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.