Dear all,
After a lot of debugging, I managed to build statismo from the source and build the itk and vtk examples (Ubuntu 16, itk 4.10, vtk 7) . I have now this error when I run the ITK shell script:
Building low-rank Gaussian process deformation model... [done]
itkLowRankGaussianProcessImageToImageRegistration:~/sw/statismo-0.81/src/Examples/ITK/lowRankGaussianProcessImageToImageRegistration.cpp:236: typename TStatisticalModelType::Pointer constrainModel(typename TStatisticalModelType::Pointer, std::__cxx11::string, std::__cxx11::string, double) [with TRepresenter = itk::VectorImageRepresenter<float, 2u, 2u>; TImage = itk::Image<itk::Vector<float, 2u>, 2u>; TStatisticalModelType = itk::StatisticalModel<itk::VectorImageRepresenter<float, 2u, 2u> >; unsigned int VImageDimension = 2u; typename TStatisticalModelType::Pointer = itk::SmartPointer<itk::StatisticalModel<itk::VectorImageRepresenter<float, 2u, 2u> > >; std::__cxx11::string = std::__cxx11::basic_string<char>]: Assertion `referencePointVector.size()!=targetPointVector.size()' failed.
Aborted (core dumped)
Another question: regarding building the shape model, how can I get B-Splines control points for a shape from a binary image contains the segmented object?
Have a nice evening!
Ibraheem