Closed ehennestad closed 7 years ago
My guess is that you have shifts that are too large to be contained within the patches. With grid_size 64, upsampling factor 4, and shifts allowed up to 45, this could potentially happen. You could turn the parfor into a for and track the values of the shifts for the patch where things break down.
Alternatively, you can try setting options.shifts_method = 'cubic'
which would apply an imwarp transform. Let me know how it goes
Hi,
Thank you:) I tried with different combinations of grid size and shifts, and it seems like the combination of small grid size and large shifts causes the error.
great, glad to hear that!
Hi,
I started to encounter an error (see below) lately, and I wonder if you have any ideas why it might happen.
I am aligning an array of 5000 images, and this is the options I am using:
This is the error: