Hi Jérôme, Not everything is wrapped in Python yet. To know if a filter should be wrapped, you can check if there is a corresponding file in the wrapping <https://github.com/SimonRit/RTK/tree/master/wrapping> subdirectory. You can try to create one rtkADMMTotalVariationConeBeamReconstructionFilter.wrap file by copying rtkADMMWaveletsConeBeamReconstructionFilter.wrap <https://github.com/SimonRit/RTK/blob/master/wrapping/rtkADMMWaveletsConeBeamReconstructionFilter.wrap> and to just change the filter name. This wrapping could be tricky so let us know if does not work directly. It it does, please create a pull request! Cheers, Simon
On Tue, May 5, 2020 at 3:00 PM Jerome Lesaint <[email protected]> wrote: > Dear all, > > I have build ITK with the ModuleRTK and ITK_WRAP_PYTHON flags set to ON. > Everything seems to work fine except that some RTK filters are missing. > E.G ADMMTotalVariationConeBeamReconstructionFilter is not available. > > Is it expected behavior ? Or have I missed something in the build process ? > > Far less critical : once the submodule RTK is loaded in python, the first > call to any RTK object takes quiet a long time to execute. I also have a > few warnings (like the one below) when this first call runs. > > Template itk::PyBuffer<itk::Image<itk::CovariantVector<double,2>,2>> > > already defined as <class 'itkPyBufferPython.itkPyBufferICVD22'> > > is redefined as <class 'itkPyBufferPython.itkPyBufferICVD22'> > > > Thanks in advance for your help, > > > Jérome > _______________________________________________ > Rtk-users mailing list > [email protected] > https://public.kitware.com/mailman/listinfo/rtk-users >
_______________________________________________ Rtk-users mailing list [email protected] https://public.kitware.com/mailman/listinfo/rtk-users
