<div dir="ltr"><div>Hi David,<br></div><div><br></div><div>Thanks for your prompt response! That is great news.</div><div>It would be very helpful for us if you could share your interface for the data conversion between numpy/slicer and ITK with us. So, we do not need to start from scratch. </div><div><br></div><div><div>Thanks,</div><div><br></div><div>Hyun Jae</div></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 6:03 PM, <span dir="ltr"><<a href="mailto:community-request@itk.org" target="_blank">community-request@itk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Send Community mailing list submissions to<br>
<a href="mailto:community@itk.org">community@itk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:community-request@itk.org">community-request@itk.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:community-owner@itk.org">community-owner@itk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Community digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: [ITK-users] Problem building jounal paper->cannot open<br>
input file 'ITKAlgorithms.lib' (D?enan Zuki?)<br>
2. [ITK-users] Multi-threader and thread pool (Olivier Commowick)<br>
3. [ITK-dev] [SimpleITK] Data Bridge for SimpleITK (Hyun Jae Kang)<br>
4. Re: [ITK-users] Multi-threader and thread pool (Matt McCormick)<br>
5. Re: [ITK-dev] [SimpleITK] Data Bridge for SimpleITK (David Burns)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 4 Feb 2016 13:41:16 -0500<br>
From: D?enan Zuki? <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>><br>
To: vishal <<a href="mailto:itkhelpacc@gmail.com">itkhelpacc@gmail.com</a>><br>
Cc: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
Subject: Re: [ITK] [ITK-users] Problem building jounal paper->cannot<br>
open input file 'ITKAlgorithms.lib'<br>
Message-ID:<br>
<<a href="mailto:CAPf2UMRevWFVsNmOrfF4AFjjjpmRXJLkjCtXbyqF%2BnO7eutBeQ@mail.gmail.com">CAPf2UMRevWFVsNmOrfF4AFjjjpmRXJLkjCtXbyqF+nO7eutBeQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Vishal,<br>
<br>
the most likely reason is listing libraries by name in CMakeLists.txt file.<br>
You should replace line<br>
set(Libraries ITKAlgorithms ITKBasicFilters ITKCommon ITKIO)<br>
by line:<br>
set(Libraries ${ITK_LIBRARIES})<br>
<br>
If it doesn't work, let us know.<br>
<br>
HTH<br>
<br>
On Thu, Feb 4, 2016 at 12:08 AM, vishal <<a href="mailto:itkhelpacc@gmail.com">itkhelpacc@gmail.com</a>> wrote:<br>
<br>
> hi,<br>
> I came across this paper An ITK-Based Framework for 2D-3D Registration with<br>
> Multiple Fixed Images by Alvaro Bertelsen and Diego Borro... first had to<br>
> replace ::itk::OStringStream diffName; by std::ostringstream diffName;<br>
> which solved some errors and now upon building the project again Im getting<br>
> the error saying *cannot open input file 'ITKAlgorithms.lib'*.. I searched<br>
> for ITKAlgorithms in my ITK 4.8.2 build folder but i *couldnt* find it...<br>
> i<br>
> build the project in debug mode.. Please advice<br>
> Regards<br>
> vishal<br>
><br>
><br>
><br>
> --<br>
> View this message in context:<br>
> <a href="http://itk-users.7.n7.nabble.com/Problem-building-jounal-paper-cannot-open-input-file-ITKAlgorithms-lib-tp36734.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.com/Problem-building-jounal-paper-cannot-open-input-file-ITKAlgorithms-lib-tp36734.html</a><br>
> Sent from the ITK - Users mailing list archive at Nabble.com.<br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/community/attachments/20160204/a7f37d1e/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/community/attachments/20160204/a7f37d1e/attachment-0001.html</a>><br>
-------------- next part --------------<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 4 Feb 2016 20:07:27 +0100<br>
From: Olivier Commowick <<a href="mailto:olivier.commowick@inria.fr">olivier.commowick@inria.fr</a>><br>
To: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
Subject: [ITK] [ITK-users] Multi-threader and thread pool<br>
Message-ID: <<a href="mailto:919FD08C-D1FF-42B2-8806-CA70DE593E77@inria.fr">919FD08C-D1FF-42B2-8806-CA70DE593E77@inria.fr</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi everyone,<br>
<br>
I have recently discovered the existence of a thread pool class in ITK (<a href="http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html" rel="noreferrer" target="_blank">http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html</a> <<a href="http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html" rel="noreferrer" target="_blank">http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html</a>>), closely linked to the multi threader. >From the doxygen, I am not really able to understand how it can be used and I do not see any example for it.<br>
<br>
I have been looking for some time for a multi-threader, working on all OSes, that can have more jobs in queue than the number of threads and execute them when threads gets free, and this would seem like a good start. So I was wondering how this thread pool actually behaves when used by the multi-threader, what its goal is in ITK and all this sort of things. If anyone had some idea about this or may be an example on how it could be used, that would be great.<br>
<br>
Thanks<br>
Olivier<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/community/attachments/20160204/e0352c21/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/community/attachments/20160204/e0352c21/attachment-0001.html</a>><br>
-------------- next part --------------<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Thu, 4 Feb 2016 14:36:20 -0500<br>
From: Hyun Jae Kang <<a href="mailto:hyunjae.kang@kitware.com">hyunjae.kang@kitware.com</a>><br>
To: <a href="mailto:insight-developers@itk.org">insight-developers@itk.org</a>, Patrick Reynolds<br>
<<a href="mailto:patrick.reynolds@kitware.com">patrick.reynolds@kitware.com</a>><br>
Subject: [ITK] [ITK-dev] [SimpleITK] Data Bridge for SimpleITK<br>
Message-ID:<br>
<<a href="mailto:CAAsPJLowri4GCUDUnVUu858BVFMNYcsEhiuTxRvQz-9Otb4VHw@mail.gmail.com">CAAsPJLowri4GCUDUnVUu858BVFMNYcsEhiuTxRvQz-9Otb4VHw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi all,<br>
<br>
To support data transparency between the functions of SimpleITK and NumPy,<br>
SimpleITK provides functional integration with NumPy-based script and a<br>
method of data-conversion between SimpleITK?s image data and the<br>
N-dimensional array object of NumPy. But, there is a significant<br>
performance bottleneck in the data-conversion which is based on the<br>
operation of data copy. The performance bottleneck can be increased with<br>
the size of handling image data and the number of data-conversion.<br>
<br>
The performance bottle can be removed by allowing SimpleITK?s image and the<br>
arrays of NumPy to share pointers to the same memory symmetrically with<br>
copy-on-write semantics. That is, reduce data-copy operations in the data<br>
conversion. This approach can be accomplished by developing and/or<br>
improving existing data handling methods in ITK and SimpleITK to enable<br>
copy-on-write sharing of data between SimpleITK?s image data and other<br>
common data object of Python libraries used for scientific computing and<br>
image processing.<br>
<br>
For more detail information, please check the following website:<br>
<a href="http://www.itk.org/Wiki/SimpleITK/Design_And_Proposals/SIP_002" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/SimpleITK/Design_And_Proposals/SIP_002</a><br>
<br>
Any your valuable comments are welcome.<br>
<br>
Thanks,<br>
<br>
Hyun Jae<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/community/attachments/20160204/839f8f51/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/community/attachments/20160204/839f8f51/attachment-0001.html</a>><br>
-------------- next part --------------<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Thu, 4 Feb 2016 15:04:11 -0500<br>
From: Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>><br>
To: Olivier Commowick <<a href="mailto:olivier.commowick@inria.fr">olivier.commowick@inria.fr</a>><br>
Cc: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br>
Subject: Re: [ITK] [ITK-users] Multi-threader and thread pool<br>
Message-ID:<br>
<CALzTN-QX3kpT-B7CugKt6priZAhLg+KbT5y8gA5N-aJA1e=<a href="mailto:BSA@mail.gmail.com">BSA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Olivier,<br>
<br>
The itk::ThreadPool is an experimental thread-pool feature. It is<br>
considered experimental, and it maybe majorly modified in its API or<br>
removed in the future. Our preliminary experiences is that ITK runs<br>
slower when it is enabled.<br>
<br>
To enable it, call<br>
<br>
itk::MultiThreader::SetGlobalDefaultUseThreadPool( true );<br>
<br>
In the future, we will be moving towards other thread pool backends by<br>
adopting interfaces similar to vtkSMPTools and VTK-m.<br>
<br>
Thanks,<br>
Matt<br>
<br>
On Thu, Feb 4, 2016 at 2:07 PM, Olivier Commowick<br>
<<a href="mailto:olivier.commowick@inria.fr">olivier.commowick@inria.fr</a>> wrote:<br>
> Hi everyone,<br>
><br>
> I have recently discovered the existence of a thread pool class in ITK<br>
> (<a href="http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html" rel="noreferrer" target="_blank">http://itk.org/Doxygen/html/classitk_1_1ThreadPool.html</a>), closely linked to<br>
> the multi threader. From the doxygen, I am not really able to understand how<br>
> it can be used and I do not see any example for it.<br>
><br>
> I have been looking for some time for a multi-threader, working on all OSes,<br>
> that can have more jobs in queue than the number of threads and execute them<br>
> when threads gets free, and this would seem like a good start. So I was<br>
> wondering how this thread pool actually behaves when used by the<br>
> multi-threader, what its goal is in ITK and all this sort of things. If<br>
> anyone had some idea about this or may be an example on how it could be<br>
> used, that would be great.<br>
><br>
> Thanks<br>
> Olivier<br>
><br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
><br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 4 Feb 2016 18:03:08 -0500<br>
From: David Burns <<a href="mailto:david.mo.burns@gmail.com">david.mo.burns@gmail.com</a>><br>
To: <a href="mailto:insight-developers@itk.org">insight-developers@itk.org</a><br>
Subject: Re: [ITK] [ITK-dev] [SimpleITK] Data Bridge for SimpleITK<br>
Message-ID: <<a href="mailto:56B3D8AC.9090606@gmail.com">56B3D8AC.9090606@gmail.com</a>><br>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br>
<br>
I just finished creating an interface between numpy/slicer and my ITK<br>
C++ project module using SWIG. I use pointers to avoid copying and it<br>
works well. Happy to share what I have.<br>
<br>
- David<br>
<br>
On 02/04/2016 02:36 PM, Hyun Jae Kang wrote:<br>
> Hi all,<br>
><br>
> To support data transparency between the functions of SimpleITK and<br>
> NumPy, SimpleITK provides functional integration with NumPy-based<br>
> script and a method of data-conversion between SimpleITK?s image data<br>
> and the N-dimensional array object of NumPy. But, there is a<br>
> significant performance bottleneck in the data-conversion which is<br>
> based on the operation of data copy. The performance bottleneck can be<br>
> increased with the size of handling image data and the number of<br>
> data-conversion.<br>
><br>
> The performance bottle can be removed by allowing SimpleITK?s image<br>
> and the arrays of NumPy to share pointers to the same memory<br>
> symmetrically with copy-on-write semantics. That is, reduce data-copy<br>
> operations in the data conversion. This approach can be accomplished<br>
> by developing and/or improving existing data handling methods in ITK<br>
> and SimpleITK to enable copy-on-write sharing of data between<br>
> SimpleITK?s image data and other common data object of Python<br>
> libraries used for scientific computing and image processing.<br>
><br>
> For more detail information, please check the following website:<br>
> <a href="http://www.itk.org/Wiki/SimpleITK/Design_And_Proposals/SIP_002" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/SimpleITK/Design_And_Proposals/SIP_002</a><br>
><br>
> Any your valuable comments are welcome.<br>
><br>
> Thanks,<br>
><br>
> Hyun Jae<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/community/attachments/20160204/19640093/attachment.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/community/attachments/20160204/19640093/attachment.html</a>><br>
-------------- next part --------------<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-developers</a><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Community Digest, Vol 29, Issue 15<br>
*****************************************<br>
</blockquote></div><br></div></div></div>