<div dir="ltr">Hi,<br><br>Can OrientedImage and FEMRegistrationFilter be used together? <br><br>I replaced the itk::Image in Examples/Registration/DeformableRegistration1.cxx with itk::OrientedImage (file is attached) and I get a compilation error:<br>
<br>/Insight/Code/Common/itkOrientedImage.h: In member function 'bool itk::OrientedImage<TPixel, VImageDimension>::TransformPhysicalPointToContinuousIndex(const itk::Point<TCoordRepB, NPointDimension>&, itk::ContinuousIndex<TCoordRep, VImageDimension>&) const [with TCoordRep = float, TPixel = float, unsigned int VImageDimension = 2u]':<br>
/Insight/Code/Common/itkImageFunction.h:161: instantiated from 'bool itk::ImageFunction<TInputImage, TOutput, TCoordRep>::IsInsideBuffer(const itk::Point<TCoordRep, itk::ImageFunction<TInputImage,TOutput,TCoordRep>::ImageDimension>&) const [with TInputImage = itk::OrientedImage<float, 2u>, TOutput = itk::CovariantVector<double, 2u>, TCoordRep = float]'<br>
/Insight/Examples/Registration/DeformableRegistration1.cxx:371: instantiated from here<br>/Insight/Code/Common/itkOrientedImage.h:152: error: no match for 'operator-' in 'point - ((const itk::OrientedImage<float, 2u>*)this)->itk::OrientedImage<float, 2u>::<anonymous>.itk::Image<float, 2u>::<anonymous>.itk::ImageBase<2u>::m_Origin'<br>
/Insight/Code/Common/itkPoint.txx:126: note: candidates are: itk::Vector<T, NVectorDimension> itk::Point<TCoordRep, NPointDimension>::operator-(const itk::Point<TCoordRep, NPointDimension>&) const [with TCoordRep = float, unsigned int NPointDimension = 2u]<br>
/Insight/Code/Common/itkPoint.txx:110: note: itk::Point<T, NPointDimension> itk::Point<TCoordRep, NPointDimension>::operator-(const itk::Vector<T, NVectorDimension>&) const [with TCoordRep = float, unsigned int NPointDimension = 2u]<br>
make[2]: *** [Examples/Registration/CMakeFiles/DeformableRegistration1.dir/DeformableRegistration1.o] Error 1<br>make[1]: *** [Examples/Registration/CMakeFiles/DeformableRegistration1.dir/all] Error 2<br>make: *** [all] Error 2<br>
<br>(I use the files from the "HEAD")<br><br>thanks,<br>Yoav<br></div>