<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi again Yannick,</p>
<p>Simply removing the <InputImageType> on line 9 of your
.json file made it compile. I didn't test it yet. Let us know if
that works for you.</p>
<p>Cyril<br>
</p>
<br>
<div class="moz-cite-prefix">On 18/12/2017 16:31, Cyril Mory wrote:<br>
</div>
<blockquote type="cite"
cite="mid:fc099918-f2b2-a5ba-6521-71373a47744d@creatis.insa-lyon.fr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hi Yannick,</p>
<p>You seem to be in a hurry, so I'll start with an incomplete
answer: the CudaForwardProjectionImageFilter is templated over
its input and output image type, but the
CudaBackProjectionImageFilter isn't (compare
rtkCudaForwardProjectionImageFilter.h and
rtkCudaBackProjectionImageFilter.h, there is not "template
<>" before the class definition in ...Back..., while it is
there in ...Forward...).<br>
</p>
I'm trying to modify your .json file accordingly, recompile and
test, but I never use SimpleRTK myself, so you might find the
solution before I do. If so, please report back on this mailing
list.<br>
<br>
Cyril<br>
<br>
<br>
<div class="moz-cite-prefix">On 18/12/2017 16:07, Yannick BOURSIER
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:642366356.16048050.1513609645522.JavaMail.zimbra@cppm.in2p3.fr">
<pre wrap="">Hello all,
I really need in "relative" emergency to execute the kernel CudaBackProjectionImageFilter using the Python Wrapper provided by SimpleRTK.
Unfortunately, this is not implemented in cuda (CudaForwardProjectionImageFilter is but not the BackProjection).
I tried to define a json file (in attachement) on the base of CudaForwardProjectionImageFilter (since all the h, hxx, cxx, files I looked at seemed to be the same for these two kernels) but it does not compile (cmake instruction OK but not the make instruction) with the following error :
/data/boursier/Compile/rtk-bin-extended/SimpleRTK-build/Code/BasicFilters/src/srtkCudaBackProjectionImageFilter.cxx: In member function ‘rtk::simple::Image rtk::simple::CudaBackProjectionImageFilter::ExecuteInternal(const rtk::simple::Image&, const rtk::simple::Image&)’:
/data/boursier/Compile/rtk-bin-extended/SimpleRTK-build/Code/BasicFilters/src/srtkCudaBackProjectionImageFilter.cxx:132:16: error: ‘rtk::CudaBackProjectionImageFilter’ is not a template
typedef rtk::CudaBackProjectionImageFilter<InputImageType> FilterType;
I would very much appreciate some help please because at this point, I have no idea about the problem...
Thanks in advance,
Best regards,
Yannick Boursier</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com" moz-do-not-send="true">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="https://public.kitware.com/mailman/listinfo/rtk-users" moz-do-not-send="true">https://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>