[MINC-users] Length of a cell/voxel

Andrew Janke a.janke at gmail.com
Tue Sep 4 21:18:45 EDT 2012


Ah.  Well that changes things.  In MINC2 you'd do this like this:

 http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Application_Programmers_Interface#miget_dimension_separation.2Fmiset_dimension_separation

There is a very similar example bit of code here:

   http://en.wikibooks.org/wiki/MINC/Tutorials/Programming04

In which the volume sizes (not steps) are extracted.


a


On 5 September 2012 01:46, 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


More information about the MINC-users mailing list