Yep. You can modify the image.mat field to update the positional
information to keep the information in the seg8.mat in alignment with
the original images after they've been moved.
All the best,
-John
On Sat, 2009-08-29 at 02:47 +0200, Marko Wilke wrote:
> Dear All,
>
> I would like to apply a transformation matrix to an image after it has
> been segmented. As I then want to use the seg8-file to warp the image, I
> guess that I will have to update the positional information in the
> seg8-file such that ensuing warping "knows" that the original images
> were moved.
>
> I used to be able to coregister my gray matter partition and use that
> transformation to update VF.mat in seg_sn.mat. However, within seg8, I
> am not sure which matrix to update, as there is Affine, MT, image.mat,
> or tpm(:).mat. I realize I could systematically try these, so I guess I
> have to freely admit I am being lazy about this :) Would anyone still be
> able to point me in the right direction?
>
> Thanks in advance,
> Marko
>
--
John Ashburner <[log in to unmask]>
|