Re: [fiji-devel] TransformJ Affine without changing image size
Posted by
samjlord on
Feb 26, 2014; 1:15am
URL: http://imagej.273.s1.nabble.com/Re-fiji-devel-TransformJ-Affine-without-changing-image-size-tp5006642p5006682.html
Johannes Schindelin wrote
Having three rows, it actually operates in 3D.
Please now note that the translation in z is -4.12. In other words, the
(two-dimensional) image is transformed by (very minimal) shearing and then
moving it 4 units down in z. That is well outside the original bounding
box (which is in the z = 0 plane), therefore you will only see the
background (= black) unless you adjust the bounding box to fit the result.
If you replace the -4.1165132 in your original matrix by 0, you will see
the result you expected.
Hi Johannes,
Thanks for the pointer. I had somehow put that -4 translation in z instead of y. Thanks. works great when I put it in the right place.
-Sam