Hi Brian
That's perfect - all I needed to do was convert the .vtk file to ASCII
format, and it runs fine. (I wasn't aware that they were binaries).
Many thanks for your prompt help - this list is invaluable.
Rgds
Mark
On 14/10/10 3:35 AM, "Brian Patenaude" <[log in to unmask]> wrote:
> 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
>>
>
>
WARNING: This message
> originated from outside the Northern/Melbourne/Western Health e-mail network.
> The sender cannot be validated. Caution is advised. Contact IT Services (+61 3
> ) 9342 8888 for more information.
--
Dr Mark Walterfang
Consultant Neuropsychiatrist
Neuropsychiatry Unit
Level 2, John Cade Building
ROYAL MELBOURNE HOSPITAL 3050 AUSTRALIA
T +61-3-93428750
F +61-3-93428483
E [log in to unmask]
W www.neuropsychiatry.org.au
--
|