[MINC-users] spatial location of voxels

Jason Lerch jason@bic.mni.mcgill.ca
Wed Apr 21 14:24:04 2004


On Apr 21, 2004, at 2:14 PM, Andrew Janke wrote:

> On Wed, 21 Apr 2004, Kuan H. Kho wrote:
>
>> I was wondering what to what spatial location the MINC coordinates 
>> (both
>> voxel and world) refer to. Is that a vertex (which of the 8), the 
>> middle of
>> an edge, or the center of a voxel?
>
> Centre.
>
>> Furthermore, I was wondering whether there's a command or tool to 
>> extract
>> the exact voxel (and world) coordinates for certain conditional voxel
>> values (i.e. thresholds) in a volume. Of course the exact voxel 
>> coordinates
>> suffice, for  world coordinate = voxel coordinate*step + start, but if
>> there's such a tool existing, it would come in handy.
>
> To a threshold?  not that I know of. otherwise just
>
>   voxeltoworld and worldtovoxel
>
> will be able to help you.

find_peak offers some of that functionality.

Jason

>
> Also remember that the conversion includes the direction cosines.
>
>
> a
>
> _______________________________________________
> MINC-users@bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users