Dear Luca, everybody,
I am trying to transfer data, back and forth from VMTK to MATLAB and back.
I am currently doing it using the .dat file format.
The problem is that when I read back the data, in VMTK, I am unable to show the centerline.
My pipe is:
vmtkcenterlinegeometry -ifile "C:/.../centerlines.vtp" -smoothing 1 -outputsmoothed 1 --pipe vmtksurfacewriter -i @vmtkcenterlinegeometry.o -ofile "C:/.../centerlines_geometry.dat" -celldata 1 -mode ascii
And when I try to read this:
vmtksurfacereader -ifile "C:/Users/Hezer/Dropbox/The_origin/DATA/Aneurisk DATA/Models/C0001_models/C0001/morphology/centerlines_geometry.dat" --pipe vmtksurfaceviewer -array Curvature -scalarrange 0 .7
it gets stuck with reading Tecplot surface file.
I am unable to read and write vtp files in matlab.
I tried to transfer the data from python to MATLAB, using wormhole:
but it seems that the python data is merely a memory reference, and not a python variable.
any help will be appreciated.
Thanks
Haim