[Insight-users] Comparing Images Computationally
Luis Ibanez
luis . ibanez at kitware . com
Mon, 16 Jun 2003 16:01:30 -0400
Hi Neha,
Usual options for comparing two images are:
1) The DifferenceImageFilter
http://www . itk . org/Insight/Doxygen/html/classitk_1_1DifferenceImageFilter . html
2) The SquaredDifferenceImageFilter
http://www . itk . org/Insight/Doxygen/html/classitk_1_1SquaredDifferenceImageFilter . html
The filter (1) provides a tolerance, around pixels,
you may want to reduce the tolerance in your case.
This is the filter used by the regresion testing system
in ITK.
The filter (2) is simply the sum of squared differences
between two images.
Regards,
Luis
------------
Neha D wrote:
> Hi All,
>
> I want to compare the output image given by ITK writer to the original
> iamge. Is there any such example already present in which image which is
> written is compared to it's original image.
>
> Thanks,
>
> Neha
>