[Insight-users] multi-threading capable metric

Michael michakuhn@gmx.ch
Mon May 17 11:44:32 EDT 2004


Hi,

I've seen that there is a multi-threading capable metric 
(MatchCardinalityImageToImageMetric) in the toolkit. I've had a look at 
the code and noticed that only little changes are required to change 
this metric into a mean squares metric. Even adding a GetDerivative() 
method was possible with little effort. I didn't analyze other cases 
very closely, but my impression is that it would be possible to adapt 
this threading capable metric to other metric functions as well. 
Therefore I thought that it might be reasonable to introduce a generic 
threading capable metric (with a basic architecture similar to the one 
of the MatchCardinalityImageToImageMetric) from which different specific 
threading capable metric subclasses can be derived.

Can anybody see any major disadvantages (or implementation problems) 
caused by such a threading capable superclass? Or can maybe somebody 
confirm that such a class would be a reasonable extension?

Thanks,

Michael




More information about the Insight-users mailing list