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();