Re: [ITK-users] itk::cudaimage cast to itk::image

Dženan Zukić <[email protected]> Wed, 16 Jan 2019 18:47:14 -0500
Newsgroups gmane.comp.lib.itk.user
Message-ID <CAPf2UMR6XeSBsAj5uCx8p39LCpypMMD5jPuUbhL6L8HBC2Ntqw@mail.gmail.com>
--===============0691296229==
Content-Type: multipart/alternative; boundary="000000000000553f0d057f9be658"

--000000000000553f0d057f9be658
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Tao,

you should post the question on the forum <https://discourse.itk.org/>.

Regards,
D=C5=BEenan

On Wed, Jan 16, 2019 at 2:24 PM tao sun <[email protected]> wrote:

> Hi,
>
> I have read in some image using  itk::ImportImageFilter.
>  ImportFilterType::Pointer projectionReader =3D ImportFilterType::New();
> ...
>  projectionReader->Update();
>
> The type of the image is itk:::Image<float,3>. I wonder if there is any
> way I can convert it to itk::CudaImage<float,3>?
>
> Thanks,
> Tao
>
>
> The ITK community is transitioning from this mailing list to
> discourse.itk.org. Please join us there!
> ________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> https://itk.org/mailman/listinfo/insight-users
>

--000000000000553f0d057f9be658
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;font-size:small">Hi Tao,</div><div class=3D"gmail_default" style=
=3D"font-family:verdana,sans-serif;font-size:small"><br></div><div class=3D=
"gmail_default" style=3D"font-family:verdana,sans-serif;font-size:small">yo=
u should post the question on the <a href=3D"https://discourse.itk.org/" ta=
rget=3D"_blank">forum</a>.</div><div class=3D"gmail_default" style=3D"font-=
family:verdana,sans-serif;font-size:small"><br></div><div class=3D"gmail_de=
fault" style=3D"font-family:verdana,sans-serif;font-size:small">Regards,</d=
iv><div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;fon=
t-size:small">D=C5=BEenan</div></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr">On Wed, Jan 16, 2019 at 2:24 PM tao sun &lt;<a href=3D"mailto:col=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br=
></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><=
div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr">Hi,<div><br></div><div>I have read in some image =
using =C2=A0itk::ImportImageFilter.=C2=A0</div><div>=C2=A0ImportFilterType:=
:Pointer projectionReader =3D ImportFilterType::New();<br></div><div>...</d=
iv><div>=C2=A0projectionReader-&gt;Update();<br></div><div><br></div><div>T=
he type of the image is itk:::Image&lt;float,3&gt;. I wonder if there is an=
y way I can convert it to=C2=A0itk::CudaImage&lt;float,3&gt;?</div><div><br=
></div><div>Thanks,</div><div>Tao=C2=A0</div><div><br></div><div><br></div>=
</div></div></div></div></div></div></div>
The ITK community is transitioning from this mailing list to <a href=3D"htt=
p://discourse.itk.org" rel=3D"noreferrer" target=3D"_blank">discourse.itk.o=
rg</a>. Please join us there!<br>
________________________________<br>
Powered by <a href=3D"http://www.kitware.com" rel=3D"noreferrer" target=3D"=
_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href=3D"http://www.kitware.com/opensource/opensource.html" rel=3D"norefe=
rrer" target=3D"_blank">http://www.kitware.com/opensource/opensource.html</=
a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href=3D"http://www.kitware.com/products/protraining.php" rel=3D"noreferr=
er" target=3D"_blank">http://www.kitware.com/products/protraining.php</a><b=
r>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href=3D"http://www.itk.org/Wiki/ITK_FAQ" rel=3D"noreferrer" target=3D"_b=
lank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"https://itk.org/mailman/listinfo/insight-users" rel=3D"noreferre=
r" target=3D"_blank">https://itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div>

--000000000000553f0d057f9be658--

--===============0691296229==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The ITK community is transitioning from this mailing list to discourse.itk.org. Please join us there!
________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
https://itk.org/mailman/listinfo/insight-users

--===============0691296229==--