vtkvmtkCurvedMPRImageFilter error vtkImageData (00000235995D2D40): No Scalar Field has been specified - assuming 1 component!

60 views
Skip to first unread message

mahmoud gamal

unread,
Nov 25, 2019, 5:14:29 AM11/25/19
to vmtk-users
Good evening I hope you are healthy
I am having a problem even though the data is correct and it is also the data sharing link




 vtkvmtkCurvedMPRImageFilter
* curvedMPR = vtkvmtkCurvedMPRImageFilter::New();
   
     curvedMPR
->SetCenterline(centerline);
     curvedMPR
->SetInputData(inputImage);
     curvedMPR
->SetParallelTransportNormalsArrayName("ParallelTransportNormals"); //"FrenetNormal"//"ParallelTransportNormals"
     curvedMPR
->SetFrenetTangentArrayName("FrenetTangent");
     curvedMPR
->SetInplaneOutputSpacing(inplaneOutputSpacing, inplaneOutputSpacing);
     curvedMPR
->SetInplaneOutputSize(inplaneOutputSize, inplaneOutputSize);
     curvedMPR
->SetReslicingBackgroundLevel(reslicingBackgroundLevel);
     cout
<< "BEFORE curvedMPR->Update(); " << endl;
     curvedMPR
->Update();
     cout
<< "BEFORE curvedMPR->GetOutput() "  << endl;
     vtkImageData
* cMPROutputImage = curvedMPR->GetOutput();



error while update


I hope to help and guide me to the road
thanks
Reply all
Reply to author
Forward
0 new messages