[Insight-users] Parallel Processing
Luis Ibanez
luis.ibanez@kitware.com
Tue May 11 23:09:19 EDT 2004
Hi Vaijanath,
We will be happy to get your algorithms in ITK.
Here is the typical process to follow in order
to include code in ITK:
1) Check that your filters are using the ITK
coding style. you will find a PDF document
describing the style under
Insight/Documentation/Style.pdf
2) Make sure that your code compiles and runs.
It may sound obvious,... but there are software
developers out there who tend to forget
these little details :-)
Provide a reasonable test for every class
in your filters. Test shouldn't be too
intensive since we run them in a continuous
basis. Typically something in the range of
seconds would be ok.
3) About how to invoke a mpicc compiler, you
can simply configure your CMakeLists.txt
file in order to use a different compiler.
The CMake CUSTOM_COMMAND is a flexible way
to go about it.
You might want to look at the files
CMake/Modules/FindMPI.cmake
and to the CMakeLists.txt file in VTK under
VTK/Parallel
in order to get a felling on how to configure
a project that uses MPI. VTK (as opposed to ITK)
has support for MPI, therefore you will find
a lot of useful information regarding the required
CMake configuration.
4) The full documentation of ITK filters can be
found at
http://www.itk.org/Insight/Doxygen/html/classes.html
Note that parallelism in ITK is implemented only
for shared memory, not for distributed systems.
The filters that support parallel execution (in the
shared memory setup) are listed under:
http://www.itk.org/Insight/Doxygen/html/group__MultithreadingGroup.html
Regards,
Luis
-----------------------------
Vaijanath Narasinga Rao wrote:
> Hi To all,
>
> I wanted to know few things, I haev written some parallel algorithms for
> Edge detection, Watermarking Segmentation, Thresholding techniques. I
> wanted to know that how can i add them to ITK library. Also how can i
> chaneg make files to compile them via mpicc and not the normal C compiler.
>
> Also one more thing, Where can I get the list of all filters that
> (frequency as well as domain along with there documentation) are
> implmented for single system (i mena single processor). So that i can
> parallelize them for multiple processors (distributed as well as shared).
>
> Thanking in advance for your help.
>
> Regards
> Vaijanath N. Rao
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list