[MINC-users] Length of a cell/voxel

Vladimir S. FONOV vladimir.fonov at gmail.com
Tue Sep 4 11:53:59 EDT 2012


Hello,

in ITK you can get this information using GetSpacing() function of itk::Image

On Tue, Sep 4, 2012 at 11:46 AM, Audette, Michel A. <maudette at odu.edu> wrote:
> Hi Andrew,
>
> I think what Tanweer had in mind was how to get this information using a function within a program, not a command. I have not played with MINC programming lately, so what I used back in the day for MINC1 probably no longer applies to MINC2. Btw, does ITK support for MINC2 include this type of query?
>
> Cheers,
>
> Michel
>
> Michel Audette, Ph.D.
> Assistant Professor,
> Department of Modeling, Simulation and Visualization Engineering,
> Old Dominion University,
> Norfolk, VA.
> ________________________________________
> From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] on behalf of Andrew Janke [a.janke at gmail.com]
> Sent: Tuesday, September 04, 2012 11:20 AM
> To: MINC users mailing list
> Subject: Re: [MINC-users] Length of a cell/voxel
>
> Hi Tanweer,
>
> You can do this on the command line:
>
>    $ mincinfo -attvalue xspace:step infile.mnc
>
> (and then for yspace and zspace).
>
>
> a
>
> On 5 September 2012 01:12, Tanweer Rashid <trash001 at odu.edu> wrote:
>> Hi,
>>
>> Can anyone tell me what function(s) to use to figure out the length of a
>> cell or voxel in each spatial (x, y, z) dimension?
>>
>> Regards,
>> --
>> Tanweer Rashid
>> MSVE Dept.
>> Old Dominion University
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
> --
> BEGIN-ANTISPAM-VOTING-LINKS
> ------------------------------------------------------
>
> Teach CanIt if this mail (ID 699327249) is spam:
> Spam:        https://www.spamtrap.odu.edu/b.php?i=699327249&m=4da47c0ba936&t=20120904&c=s
> Not spam:    https://www.spamtrap.odu.edu/b.php?i=699327249&m=4da47c0ba936&t=20120904&c=n
> Forget vote: https://www.spamtrap.odu.edu/b.php?i=699327249&m=4da47c0ba936&t=20120904&c=f
> ------------------------------------------------------
> END-ANTISPAM-VOTING-LINKS
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users



-- 
Best regards,

 Vladimir S. Fonov ~ vladimir <dot> fonov <at> gmail <dot> com


More information about the MINC-users mailing list