[Insight-developers] Bug in ITK ImageCompareCommand

Luis Ibanez luis.ibanez at kitware.com
Sat Oct 16 15:09:51 EDT 2010


Stephen,

Here is the patch in Gerrit:

http://review.source.kitware.com/#change,168


    Luis

---------------------------
On Sun, Oct 10, 2010 at 12:20 PM, Stephen Aylward <
stephen.aylward at kitware.com> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101016/880ef11a/attachment.htm>


More information about the Insight-developers mailing list