Page 1 of 1

mesh referential units

Posted: Wed Jun 06, 2012 7:41 pm
by farfyy
Hi
From a minc MRI file I created .mesh file with brainvisa ( for example a head.mesh). I would like to extract the vertices coordinates for the .mesh file ( to use it into matlab)

QUESTIONS:
I would like to know if the coordinates of vertices stored in the .mesh file are in mm or in voxel ??
If there are in voxel:
Is the origin [1 1 1] or [0 0 0] ?
Does the voxel coordinates be necessary integers ?

PS:
if we take a head: I figured out that the mesh referential is x: Right-->Left y: Anterior--> Posterior z: Superior --> Inferior with the origin in the Right Anterior Superior corner
I am wrong ?

Best regards
Alexis

Re: mesh referential units

Posted: Thu Jun 07, 2012 8:18 am
by Dominique Geffroy
Hi,

The coordinates of meshes vertices are in millimeters. You can get the coordinates values via a python script using Aims Python API. You will find useful examples in Aims tutorial here : http://brainvisa.info/doc/aimsdata-4.2/ ... tml#N1083B

And you are right about the coodinate system in Aims. More information about it here : http://brainvisa.info/doc/aimsdata-4.2/ ... ferentials

Best regards,
Dominique

Re: mesh referential units

Posted: Thu Jun 07, 2012 6:35 pm
by farfyy
Thank you