[ITK] [ITK-users] Mattes Mutual Information Metric - MultiThread

Ivan Setiawan ivans at yahoo.co.jp
Wed Apr 23 07:41:51 EDT 2014


Dear all,

I have a question regarding multi-threading in itk::MattesMutualInformationImageToImageMetric.
Currently I am using v4.4.0.

The document below has a note that "2. This class in not thread safe due the private data structures used to the store the sampled points and the marginal and joint pdfs."
http://www.itk.org/Doxygen44/html/classitk_1_1MattesMutualInformationImageToImageMetric.html

However, I have tried with SetNumberOfThreads(1) and SetNumberOfThreads(16) and found that both single- or multi-thread gave the same bit-exact result.
Of course, the one with SetNumberOfThreads(16) processed much faster.

So my question, is it OK to use itk::MattesMutualInformationImageToImageMetric with multi-thread even though the document says not to?

Thank you and best regards,
Ivan

_____________________________________
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://www.itk.org/mailman/listinfo/insight-users


More information about the Community mailing list