pyLDDMM icon indicating copy to clipboard operation
pyLDDMM copied to clipboard

Bug in pyLDDMM

Open Vive940219 opened this issue 4 years ago • 3 comments

Hi Steffen, I has a trouble when I running your code, my template and target is 70110, then the function coordinate_grid transpose the size to 11070. but when I shift the (2,1,0) to (0,1,2) in function coordinate_grid and sample. The algorithm just stop because of the det(jacobi) is negative. Do you know how to solve this ?

Vive940219 avatar Nov 25 '20 13:11 Vive940219

Can you supply the input images to allow me to reproduce the issue?

SteffenCzolbe avatar Jan 04 '21 10:01 SteffenCzolbe

Hi Steffen, I have the same or almost the same problem. You can reproduce the bug using any NxM image where N != M. For example using these

circle3_img circle3_pat

r226319 avatar Jan 15 '21 15:01 r226319

Issue persists, using non-square images throw exceptions

frozaken avatar Oct 28 '22 13:10 frozaken