tag:blogger.com,1999:blog-5724788502372866353.post7605258901500470246..comments2023-09-03T23:41:38.290-07:00Comments on Scientific Computing & Co: Rigid Image Registration (a quick & dirty intensity-based approach)DeHoffhttp://www.blogger.com/profile/08232192491840146635noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5724788502372866353.post-12597556438323500972020-02-18T13:25:36.841-08:002020-02-18T13:25:36.841-08:00Awesome code! Worked for me. Thank you.Awesome code! Worked for me. Thank you.Suraj Khocharehttps://www.blogger.com/profile/06342525310136165572noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-2181422920651394892018-08-10T12:04:04.571-07:002018-08-10T12:04:04.571-07:00it is not working for me it is not working for me Anonymoushttps://www.blogger.com/profile/08547097839885438995noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-79845461471966994902016-05-23T23:36:32.185-07:002016-05-23T23:36:32.185-07:00In case you're still facing the error:
This er...In case you're still facing the error:<br />This error comes up when the number of elements in the shift tuple is less than the number of dimensions of the input image. Specifically in a RGB image with 3 channels, the dimensionality is 3. If the shift tuple has only 2 elements, the function would not know how to handle the third dimension.<br />Fix: ndimage.shift(rgb_image,(0,h_shift,w_shift))Anonymoushttps://www.blogger.com/profile/10777568518418039981noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-84207709785788898022016-05-23T23:33:45.310-07:002016-05-23T23:33:45.310-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/10777568518418039981noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-40029795106047133552016-04-11T07:06:00.211-07:002016-04-11T07:06:00.211-07:00I get an error:
"RuntimeError: sequence argum...I get an error:<br />"RuntimeError: sequence argument must have length equal to input rank"<br /><br />Only thing I've changes is lena() to face() since lena is not supported anymore :(Anonymoushttps://www.blogger.com/profile/17630404147437317096noreply@blogger.com