[MINC-users] Registration using only translation and scale in minc
Abraham Gedamu
abraham.gedamu at gmail.com
Thu Jul 27 11:22:27 EDT 2006
That did the trick. Thanks for the help.
Abe
On 7/27/06, Abraham Gedamu <abraham.gedamu at gmail.com> wrote:
>
> Hey Andrew,
>
> Running minctracc:
>
> minctracc -lsq9 -w_rotations 0 0 0 source.mnc.gz target.mnc.gzno_rotation.xfm
> COG of v1: 60.239826 68.026634 58.329350
> COG of v2: 61.871235 58.958786 59.136723
> [trans] = 1.631409 -9.067848 0.807373
> Initial objective function val = 0.07533003
> Final objective function value = 0.05163525
>
> more no_rotation.xfm
> Transform_Type = Linear;
> Linear_Transform =
> 0.974233269691467 -0.106358632445335 0.116122744977474 4.05126190185547
> 0.0418491959571838 0.463993549346924 0.0738773718476295 22.1566772460938
> -0.139944493770599 -0.152131617069244 1.03475058078766 7.68611145019531;
>
> xfm2param no_rotation.xfm
> after parameter extraction
> -center 0.00000 0.00000 0.00000
> -translation 4.05126 22.15668 7.68611
> -rotation -8.36385 7.62126 5.13547
> -scale 0.98688 0.47170 1.05520
> -shear 0.00000 0.00000 0.00000
>
> Abe
>
>
> On 7/26/06, Abraham Gedamu <abraham.gedamu at gmail.com> wrote:
> >
> > I tried minctracc -lsq9 w_rotations 0 0 0 source.mnc target.mnc out.xfmseveral times with different source files and target files, however when I
> > run xfm2param on the out.xfm file, my rotations are not 0. Does anyone
> > no why this might occur?
> >
> > Thanks,
> >
> > Abe
> >
> >
> >
> > On 7/25/06, Abraham Gedamu < abraham.gedamu at gmail.com> wrote:
> > >
> > > Hello,
> > >
> > > I would like to register one image to another using only translation
> > > and scale. I have tried using minctracc but there are no options that allow
> > > the use of only translation and scale. I could get all the parameters and
> > > set the ones I don't want to zero, but then the values for scale and
> > > translation will not be the correct ones since the paramters seem to depend
> > > on one another. Any advice in this are would be greatly appreciated.
> > >
> > > Thanks
> > >
> > > Abe
> > >
> >
> >
>
More information about the MINC-users
mailing list