It appears that .obj is a fairly simple text format (
https://en.wikipedia.org/wiki/Wavefront_.obj_file), so you could hack it
together in shell, if nothing else.  You can use wb_command -gifti-convert
to convert to ASCII encoding, and that would allow you to get the
coordinate and triangle information required (gifti is always XML, but
usually uses encoded binary to save space, ASCII encoding is more like
.obj, human readable).

Tim


On Wed, Feb 21, 2018 at 2:55 PM, Glasser, Matthew <[email protected]>
wrote:

> mris_convert from FreeSurfer may be able to.  Or at least to convert a
> GIFTI file to another format that another converter can convert to obj.
>
> Peace,
>
> Matt.
>
> From: <[email protected]> on behalf of "Harwell,
> John" <[email protected]>
> Date: Wednesday, February 21, 2018 at 12:55 PM
> To: "Shadi, Kamal" <[email protected]>
> Cc: "[email protected]" <[email protected]>
> Subject: Re: [HCP-Users] gif surface to obj
>
> Hello,
>
> No.  Connectome Workbench is unable to convert GIFTI files to OBJ files.
>
> John Harwell
>
> On Feb 21, 2018, at 10:18 AM, Shadi, Kamal <[email protected]>
> wrote:
>
> Hi all,
>
> Does human connectome workbench have a tool to convert gii surfaces to obj?
>
> Thanks,
> Kamal
>
> _______________________________________________
> HCP-Users mailing list
> [email protected]
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>
>
> _______________________________________________
> HCP-Users mailing list
> [email protected]
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>
> _______________________________________________
> HCP-Users mailing list
> [email protected]
> http://lists.humanconnectome.org/mailman/listinfo/hcp-users
>

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to