[Insight-users] Multi-threaded Image Registration Examples?
Oleksandr Dzyubak
adzyubak at gmail.com
Wed Jul 23 09:31:53 EDT 2008
Hi Luis,
I finally got money to upgrade my Linux box and soon I'll build
a 4 CPU station with 16 GB memory.
Quick question.
For my work I mostly use smoothing/denoising, segmentation, and
morphology filters.
And now I want to benefit from my new 4 CPU station.
How can I activate the multi CPU (multi threading) support when using ITK?
Thanks,
Alex
Luis Ibanez wrote:
>
> Hi Mishali,
>
> In order to use Multi-threading registration in ITK
> you simply should do the following:
>
>
> 0) Get the release of ITK 3.6,
> or a more recent CVS version.
>
> 1) In the CMake configuration,
> enable the variables
>
> ITK_USE_REVIEW
> ITK_USE_OPTIMIZED_REGISTRATION_METHODS
>
> 2) build ITK
>
> 3) build your application.
>
>
> At this point, if you use MattesMutualInformation or
> the MeanSquares metric, they will run in multiple
> threads.
>
> There is no need to change anything in the code of the examples.
> All the examples in Insight/Examples/Registration (that use the
> two metrics above) can be used with and without multi-threading.
>
>
> Please give it a try and let us know if you encounter
> any problems.
>
>
>
> Thanks
>
>
> Luis
>
>
> ------------------
> Mishali Naik wrote:
>> Hi all,
>> I am wondering if anyone can point me to multi-threaded
>> image registration examples? I looked for multi-threaded image
>> registration examples in the Insight package, but didn't find any -
>> so I am wondering if multi-threaded examples are available? thanks a
>> lot!!
>> - Mishali
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the Insight-users
mailing list