[MINC-users] MINC 2.0 coordinate system

Peter Neelin peter.neelin at gmail.com
Thu Dec 20 13:09:57 EST 2012


On Thu, Dec 20, 2012 at 8:01 AM, Peter Neelin <peter.neelin at gmail.com> wrote:
> On Dec 20, 2012 1:34 AM, "Soren Christensen" <sorench at gmail.com> wrote:
>> Isn't the order of these matrix multiplications the wrong way around by
>> the way?
>
> Yup. That should be fixed.

Just had a quick look again, and I suspect (without thinking too hard
about it) that the direction cosine matrix is transposed as well
(assuming column vectors). Looks like someone might have been thinking
in row vectors and then wrote them as column vectors. The start is the
distance along the dimension axis (and step is the sample separation
along the dimension axis). So to get origin you have to multiple each
start by the appropriate direction cosine and then sum up for all
sampling axes (which happen to be labelled x, y and z, even though
they do not align exactly with the world space x, y and z - a bit
confusing, I will admit).

Peter
-- 
Peter Neelin
(peter.neelin at gmail.com)


More information about the MINC-users mailing list