anoushkrit / parcellation

preprocessing pipeline for handling raw neuroimaging data and conducting various file conversions
https://supwma.github.io
Other
0 stars 0 forks source link

vtk2vtp #4

Closed anoushkrit closed 2 years ago

anoushkrit commented 2 years ago

SupWMA needs vtp file format as input. We currently have one subjects .trk files on the segments.

.trk -> .vtk -> .vtp

anoushkrit commented 2 years ago

https://gist.github.com/thomasballinger/1281457

anoushkrit commented 2 years ago

there is no need for vtk to vtp, just change the XML datareader for analogous (vtp) or digital (vtk). Code can handle both the scenarios.