[MINC-users] Extract coord and voxel data

Pedro ptcougopinto at gmail.com
Mon May 2 11:33:59 EDT 2016


Thanks, Robert. (Wish I knew C)

> Em 2 de mai de 2016, à(s) 12:11, Robert D. Vincent <robert.d.vincent at mcgill.ca> escreveu:
> 
> Easy enough to fix. I'll add this to my "todo" list and either add a
> "coordinates" option to mincextract or other output options for minctotag.
> 
>    -bert
> 
> On Mon, May 2, 2016 at 11:08 AM, Pedro <ptcougopinto at gmail.com> wrote:
> 
>> Thanks, all. Exactly what I was looking for. However, voxel values are
>> rounded to integer. I saw there is an old email thread from 2004 about this.
>>> Em 30 de abr de 2016, à(s) 14:30, Soren Christensen <sorench at gmail.com>
>> escreveu:
>>> 
>>> Hi,
>>> Alternatively I guess the output is implicitly ordered by voxel
>> coordinate
>>> (fastest to slowest varying dim I assume). So the actual output index is
>>> the linear index of the voxel location and you then simply have to
>>> translate the line number to the voxel coordinate with the appropriate
>>> calculation.
>>> 
>>> Soren
>>> 
>>> 
>>> On Fri, Apr 29, 2016 at 7:44 PM, Robert D. Vincent <
>>> robert.d.vincent at mcgill.ca> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> There is a tool called minctotag, which does exactly that:
>>>> 
>>>> minctotag file.mnc file.tag
>>>> 
>>>> extracts all values and  into an MNI .tag format file, which is a fairly
>>>> simple ASCII file. I think it outputs world coordinates rather than
>> voxel
>>>> coordinates, however.
>>>> 
>>>>   -bert
>>>> 
>>>> 
>>>> 
>>>> On Fri, Apr 29, 2016 at 9:28 PM, Pedro Telles Cougo Pinto <
>>>> ptcougopinto at gmail.com> wrote:
>>>> 
>>>>> Hi, everyone —
>>>>> 
>>>>> Mincextract exports voxel value, but is it possible to also extract the
>>>>> corresponding voxel coordinate data together with the scalar value?
>>>>> 
>>>>> Thanks
>>>>> Pedro
>>>>> _______________________________________________
>>>>> 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
>>>> 
>>> _______________________________________________
>>> 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
>> 
> _______________________________________________
> 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