[MINC-development] issue with mincresample -like

Vladimir S. FONOV vladimir.fonov at gmail.com
Mon Aug 13 14:07:48 EDT 2012


 > From: Haz-Edine Assemlal <assemlal at cim.mcgill.ca>
> To: MINC development discussion & planning
> <minc-development at bic.mni.mcgill.ca>
> Subject: issue with mincresample -like
> Date: Mon, 13 Aug 2012 12:14:37 -0400
>
> Hi,
> I may found a bug in mincresample (2.1). The '-like' option does not
> properly copy the direction cosines values, although it is close (see
> below). Interestingly, this bug does not occur on version 1.4..
>
> Here is an example:
>
> Like image:
> {'xspace': (0.9981327898977128, 0.046475758059076284,
> -0.039635055744158695),
>  'yspace': (-0.046313143258233096, 0.9989143988555348,
> 0.005011638517282589),
>  'zspace': (0.03982494758149069, -0.0031666567204868285,
> 0.9992016542396965)}
>
> Output image:
> {'xspace': (0.9981327898977128, 0.046475758059076284,
> -0.039635055744158695),
>  'yspace': (-0.0463131432582331, 0.9989143988555349,
> 0.00501163851728259),
>  'zspace': (0.03982494758149069, -0.0031666567204868285,
> 0.9992016542396965)}
>
> Note that I fixed this (quick and dirty hack) with an additional
> software using EZMinc.







More information about the MINC-development mailing list