Re: [HCP-Users] Gifti files in HCP - conversion to VTK

2018-04-13 Thread Timothy Coalson
As I recently learned from messing with ANTS, ITK's coordinate system is +x=left, +y=posterior, +z=superior, while the nifti coordinate system (which workbench uses) is +x=right, +y=anterior, +z=superior. This is the reason for the negations on x and y. Tim On Fri, Apr 13, 2018 at 4:35 AM, Oliv

Re: [HCP-Users] Gifti files in HCP - conversion to VTK

2018-04-13 Thread Olivier Commowick
Hi all and thanks for your answers, Just as a quick follow up I figured out how to align the vtk and images after conversion. The thing is I am using medinria that seems to read the nifti header differently (through the ITK reader) than workbench is. Basically, I have seen thanks to the wb_comm

Re: [HCP-Users] Gifti files in HCP - conversion to VTK

2018-04-12 Thread Timothy Coalson
Workbench does not apply any additional transforms: the coordinates the file specifies are the ones it uses, directly (it actually ignores the affines in the gifti file, but writes an identity affine since gifti unfortunately requires at least one affine written there). You can identify a vertex b

Re: [HCP-Users] Gifti files in HCP - conversion to VTK

2018-04-12 Thread Harwell, John
Workbench does not transform the GIFTI Surface Files. Workbench draws volumes in coordinate space (not voxel IJK space) using the NIFTI ‘sform’ or ‘qform’. If the software you are using ignores the NIFTI ‘sform’ or ‘qform’ that may be why the data does not align. ‘wb_command -file-informati

Re: [HCP-Users] Gifti files in HCP - conversion to VTK

2018-04-12 Thread Glasser, Matthew
What tools are you using that require VTK? Peace, Matt. On 4/12/18, 9:59 AM, "hcp-users-boun...@humanconnectome.org on behalf of Olivier Commowick" wrote: >Hi HCP users and moderators, > >I have been trying lately to convert the gifti files from the >preprocessed data of HCP (in the Native fol