Hi all,
First of all, I would like to thank vmtk-developers for such a useful toolkit, I've been using it for several years now, and it is great! Allways from the command line, and recently from within python scripts.
I've trying to compute the Curved Multi-Planar Reformation (CMPR) of an image from a centerline, without success (from the command line nor my python script).
I get the folloing error when executing the vmtk.vtkvmtk.vtkvmtkCurvedMPRImageFilter (from my script) or vmtkimagecurvedmpr (from the terminal)
ERROR: In ../Common/DataModel/vtkImageData.cxx, line 1324
vtkImageData (0x202ede0): No Scalar Field has been specified - assuming 1 component!
I have been browsing the mailing list, and I found this
thread. So I downloaded the data-sets and use the script indicated by Luca, but I get the same error.
I would appreciate any help.
Best regards,
Carlos
PS: I am running Ubuntu 20.04.1 LTS, with miniconda. My environment was created as follows:
conda install anaconda-client
conda update conda anaconda-client
conda config --set restore_free_channel true
conda create -n ccta-segmentation python=3.6
conda activate ccta-segmentation
conda install -c anaconda vtk=8.1.0
conda install -c vmtk vmtk
conda install -c simpleitk simpleitk
conda install -c conda-forge scipy
conda install -c conda-forge scikit-learn