[Insight-developers] Bug in ITK ImageCompareCommand
Stephen Aylward
stephen.aylward at kitware.com
Sun Oct 10 12:20:59 EDT 2010
ImageCompareCommand has a long standing bug...if you've been having
trouble getting your tests to pass on multiple platforms....
Line 102 of Insight/Testing/Code/IO/ImageCompareCommand.cxx reads the
"toleranceIntensity" command-line argument as an Int when instead it
should read it as a float.
command.GetValueAsInt("toleranceIntensity","value");
should be
command.GetValueAsFloat("toleranceIntensity","value");
Thanks,
Stephen
PS> I am not setup for gerrit...can someone else submit this fix? Sorry.
--
==============================
Stephen R. Aylward, Ph.D.
Director of Medical Imaging Research
Kitware, Inc. - North Carolina Office
http://www.kitware.com
stephen.aylward (Skype)
(919) 969-6990 x300
More information about the Insight-developers
mailing list