Hi,
Also, does the following command work?
run_mesh_utils --doFillMesh -i <image.nii.gz> -m <mesh.vtk> -o <filled_mesh>
Also, if you look in the file, it's a binary vtk file? If you convert it
to ASCII, will it then load?
You can convert it to ASCII using the following command:
run_mesh_utils --doConvert_Binary_To_ASCII -m tes_bin.vtk -o test_bin_asc.vtk
Cheers,
Brian
> Hi,
>
> It is hard to diagnose this without knowing what
> syntax you are using. Can you please let us know
> what the command line is that you are running.
>
> Also, can you view the individual subject vtk files
> OK, or just the vertex analysis result?
>
> All the best,
> Mark
>
>
> On 13 Oct 2010, at 14:44, Mark Walterfang wrote:
>
>> Hi all
>>
>> I've run FIRST successfully on a group of patients and controls and am
>> interested in trying to use the meshToVol option in first_utils.
>>
>> When I run it, both in the latest FSL for OSX (10.6) and FSL on Ubuntu
>> (10.04), I get the same issue error message:
>>
>> mesh read()
>> Segmentation fault
>>
>> ...when I try to load the same .vtk file. I've checked and double-
>> checked
>> syntax, and the .vtk file will not load.
>>
>> For what it's worth, I also tried loading the .vtk file with other
>> software
>> (Slicer 3, and KWMeshVisu from the UNC SPHARM toolkit) and it just
>> crashes.
>>
>> However, the .vtk files I do get from running FIRST on this dataset
>> seems to
>> work just fine - I can run vertex analysis, view in FSLView, etc.
>>
>> Any thoughts on why first_utils might crash in two different
>> installations
>> of FSL (in different operating systems) on the same machine (an i7
>> MacBook
>> Pro with 8G RAM)?
>>
>> Thanks in advance,
>>
>> Mark Walterfang
>>
>
>
|