<div dir="ltr"><div dir="ltr"><div>Hi Jérôme,</div><div>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 <a href="https://github.com/SimonRit/RTK/tree/master/wrapping">wrapping</a> subdirectory. You can try to create one rtkADMMTotalVariationConeBeamReconstructionFilter.wrap file by copying <a href="https://github.com/SimonRit/RTK/blob/master/wrapping/rtkADMMWaveletsConeBeamReconstructionFilter.wrap">rtkADMMWaveletsConeBeamReconstructionFilter.wrap</a> 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!</div><div>Cheers,</div><div>Simon<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 5, 2020 at 3:00 PM Jerome Lesaint <<a href="mailto:lesaint.jerome@gmail.com">lesaint.jerome@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I have build ITK with the ModuleRTK and ITK_WRAP_PYTHON flags set to ON.</div><div>Everything seems to work fine except that some RTK filters are missing. E.G ADMMTotalVariationConeBeamReconstructionFilter is not available.</div><div><br></div><div>Is it expected behavior ? Or have I missed something in the build process ?</div><div><br></div><div>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.</div><div><br></div><div>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Template itk::PyBuffer<itk::Image<itk::CovariantVector<double,2>,2>></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>already defined as <class 'itkPyBufferPython.itkPyBufferICVD22'></span></p>
<p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>is redefined as <class 'itkPyBufferPython.itkPyBufferICVD22'></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">Thanks in advance for your help,</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;color:rgb(0,0,0)">Jérome</p></div></div>
_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div></div>