in reply to Re^2: Abstract image registration or feature detection
in thread Abstract image registration or feature detection [UPDATED w examples]
These are the outputs for my run (adding a print "perl version $]";print "PDL version $PDL::VERSION"; at the beginning to print the versions):
perl version 5.030000 PDL version 2.019 [ [ 58 108 186 255 331] [ 48 155 80 191 48] [ 1 1 1 1 1] ] [ [471 531 603 682 747] [ 15 141 90 227 107] [ 1 1 1 1 1] ] [ [125 197 282] [ 73 158 94] [ 1 1 1] ] [ [542 622 701] [ 64 175 138] [ 1 1 1] ] 938 522 5 224210 71514 98997 3034 580 617991 126140 319271 78268 [ [224210 98997 938] [ 98997 71514 522] [ 938 522 5] ] [ [617991 126140] [319271 78268] [ 3034 580] ] [ [ 1.0099669 0.33666059] [0.084675354 1.0198999] [ 408.49011 -53.635077] ] [ [ 1.0099669 0.084675354 408.49011] [ 0.33666059 1.0198999 -53.635077] [ 0 0 1] ] [ [ 540.91727 620.83229 701.26025] [ 62.90019 173.83124 137.1738] [ 1 1 1] ] [ [ -1.0827329 -1.1677124 0.2602499] [ -1.09981 -1.168756 -0.82619875] [ 0 0 0] ]
Mathematically speaking, a [3x3] x [3x2] is the right balance of dimensions for a successful matrix multiplication (resulting in a [3x2] matrix). The use of PDL::Matrix used to be the way to make PDL match mathematical order for the dimensions, but maybe they've changed that between 2.019 and 2.057. (I don't think I can test, because the Strawberry Perl PDL setup is rather dependent on the libraries that Strawberry bundles, and I don't know if upgrading PDL will work... maybe I'll try in a sandbox to avoid ruining my "main" installation).
I tried getting rid of the use PDL::Matrix, but then that gets rid of the mpdl command, causing errors during perl's compile stage, and I'm not sure what hoops I would need to jump through to make my script compatible with both 2.019 and 2.057.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Abstract image registration or feature detection
by pryrt (Abbot) on Jul 04, 2022 at 20:54 UTC | |
|
Re^4: Abstract image registration or feature detection
by kikuchiyo (Hermit) on Jul 04, 2022 at 21:01 UTC | |
by etj (Priest) on Jul 05, 2022 at 20:51 UTC | |
by pryrt (Abbot) on Jul 05, 2022 at 19:28 UTC | |
|
Re^4: Abstract image registration or feature detection
by etj (Priest) on Jul 05, 2022 at 21:26 UTC |