[Insight-users] mean square metric

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 1 20:22:27 EDT 2008


Hi Fab,

Could you please post your source code to the list ?

The main suspects are:

A) You may not be using the same region
    of support for computing the metric


B) You may not be using the same interpolator
    Note that intepolators perform an implicit
    smoothing of the moving image and therefore
    will alter the final results of any metric
    with respect to an instance in which you
    use a different interpolator.


C) You may not be using the same Transform.



Please let us know what Transform and Interpolator
are you using.


     Thanks


       Luis


-------------
Fab_83 wrote:
> hi everybody,
> 
> I have used itk::MeanSquaresImageToImageMetric as a metric for my
> registration. Then I wanted to evaluate the calculated values and wrote my
> own routine to calculate the MS. I simply created two images with noise,
> made an translation and calculated the differenceimages. From these
> differenceimages I calculated the MS with the same equation than itk but I
> get different values than itk. The strangest thing is, that I get values
> which get bigger while itk gets values which stay almost the same. 
> 
> Perhabs sombody has an idea and can help..
> 
> Thanks a lot,
> Fab
> 


More information about the Insight-users mailing list