[ITK-users] How to analyse the time taken by each module? and use of ELASTIX in ITK !?!

Matt McCormick matt.mccormick at kitware.com
Fri Jan 15 10:46:56 EST 2016


Hi,

In addition to profiling tools, which is a good recommendation, ITK
has cross-platform tools to do more high level timing. Here is an
example that uses itk::TimeProbe.

  http://itk.org/ITKExamples/src/Core/Common/ComputeTimeBetweenPoints/Documentation.html

HTH,
Matt

On Fri, Jan 15, 2016 at 8:47 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
> Hi Vishal,
>
> finding out how much time each which function takes is called code
> profiling. VisualStudio, Xcode and valgrind can do it.
>
> You can offload the heaviest computation to GPU. And the exact problem with
> GPU is that programming GPUs is cumbersome. Demons algorithm is already
> implemented for the GPU, you can take a look at how it is done.
>
> Do you have a link to this Elastix?
>
> Regards,
> Dženan
>
> On Fri, Jan 15, 2016 at 3:28 AM, vishal <itkhelpacc at gmail.com> wrote:
>>
>> Hi,
>> I have three question:
>>
>> [1] I working on a registration algorithm that takes half an hour to
>> converge... I want to optimize my code.. so I need to no which module
>> takes
>> the most computation time.. is there any method to do this?
>>
>> [2] after analysing the code is it possible to convert the CPU based
>> module
>> to GPU based module? Can any one guide to do that?
>>
>> [3] I came across this software called ELASTIX.. wherein there are many
>> ITK
>> modules written to run on GPU.. is it possible for me to include these
>> modules into my code directly??
>>
>> any suggestion is appreciated...
>> thank you
>>
>> Regards
>> Vishal
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://itk-users.7.n7.nabble.com/How-to-analyse-the-time-taken-by-each-module-and-use-of-ELASTIX-in-ITK-tp36650.html
>> Sent from the ITK - Users mailing list archive at Nabble.com.
>> _____________________________________
>> 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:
>> http://public.kitware.com/mailman/listinfo/insight-users
>
>
>
> _____________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list