[Insight-developers] RegressionTestImage in itkTestMain.h not checking image metadata

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Apr 30 11:55:03 EDT 2009


I agree that this is a problem that should be address. That is why I  
am in the process of writing an IJ paper with a possible solution.

On Apr 30, 2009, at 10:34 AM, Tom Vercauteren wrote:

> Hi all,
>
> I just realized that the code used to compare images within the unit
> tests does not check whether the images share the same spacing, origin
> and direction.
>  http://www.itk.org/cgi-bin/viewcvs.cgi/Code/Common/itkTestMain.h?root=Insight&sortby=date&view=markup
> It seems to me that this metadata should be checked.
>
> A very similar problems happens with the ImageCompare utility that
> comes with the insight journal submission template.
>  http://public.kitware.com/pub/itk/InsightJournal/InsightJournalSubmissionTemplate.tgz
>  http://public.kitware.com/pub/itk/InsightJournal/InsightJournalSubmissionTemplate.zip
>  http://www.insight-journal.org/documentation/CMake/ImageCompare.tgz
>
> Also it looks like there is a typo in a documentation of this
> regression testing:
>  http://www.vtk.org/Wiki/ITK_Procedure_for_Adding_a_Test#Adding_regression_Testing
> In "compareNumberOfPixelsTolerance defines a Manhattan-type
> neighborhood around a pixel [...]" shouldn't
> compareNumberOfPixelsTolerance be replaced by compareRadiusTolerance?
>
> Regards,
> Tom
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.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-developers

========================================================
Bradley Lowekamp
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20090430/b203483f/attachment.htm>


More information about the Insight-developers mailing list