Hi!
I was wondering if anyone could help me with an issue I'm having.
My overall goal is I want to take a file sent to me by another lab which represents a brain region. This file is in VTK format which I'm very unaccustomed to. I want to covert this file to nifti format so I can turn it into a mask and use it as a "region of interest" in my neuroimaging analysis.
However, when I try to open the VTK file in ITK-SNAP it gives me the following error: "Error: Wrong Format. The IO library for the format 'VTK Image' can not read the image file." This seems particularly bizarre seeing as the file format option is set to "VTK Image" so should be expecting a VTK file.
Another thing I have tried is to use Convert3d which I understand is related. However when I try to use a command like the following to convert no nifti I get a similar error.
c3d C:/Users/kgeier/Desktop/MorelAtlasROIs/FileName.vtk -type uchar -o test.nii
Exception caught of type class ConvertException
Exception detail: Unable to read image C:/Users/kgeier/Desktop/MorelAtlasROIs/FileName.vtk; IO factory can not create IO object.
Command C:/Program Files/Convert3D/bin/c3d.exe returned with error code -1
Any tips for how to proceed would be much appreciated!
Thanks,
Kirk Geier