[Insight-users] multi-threaded image similarity metrics
Luis Ibanez
luis.ibanez at kitware.com
Thu Apr 22 10:40:40 EDT 2010
Hi Pinpress,
Multi-threaded implementations of the ITK image metrics
were added to ITK a couple of years ago. They are described
in the following paper in the Insight Journal:
http://www.insight-journal.org/browse/publication/172
The code is now under the "Review" directory.
You can find the multi-threaded metrics by doing
cd Insight/Code/Review
ls *Metric*.h -1
that will show:
itkOptImageToImageMetric.h
itkOptMatchCardinalityImageToImageMetric.h
itkOptMattesMutualInformationImageToImageMetric.h
itkOptMeanSquaresImageToImageMetric.h
The first one is the base class,
so, the answer to your question is:
The multi-threaded metrics in ITK are
* MatchCardinalityImageToImageMetric
* MattesMutualInformationImageToImageMetric
* MeanSquaresImageToImageMetric
As a general rule, if you want to get a first hint of
whether a class is multithreaded or not, you could try
grep -l MultiThreader *
with the caveat that sometimes the threading code
may have been defined in a base class.
Regards,
Luis
---------------------------------------------------------------------------
On Wed, Apr 21, 2010 at 10:42 AM, pinpress <sb_ji at yahoo.com> wrote:
>
> Hi all,
>
> I was just wondering if anyone knows how to find out whether a specific
> image similarity metric is multi-threaded or not. I searched on this forum,
> and it seems that some of the metrics (e.g., Mattes MI, mean squares
> difference) are. However, the problem is that these answers were provided a
> long time ago, presumably for a much earlier version of ITK. Since ITK is
> evolving over and over time, I just don't know how to find the related info
> on the "current" ITK release.
>
> Thanks very much.
> --
> View this message in context:
> http://old.nabble.com/multi-threaded-image-similarity-metrics-tp28288038p28288038.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.html
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100422/1ba23608/attachment.htm>
More information about the Insight-users
mailing list