[Insight-developers] Bug in ITK ImageCompareCommand

Bill Lorensen bill.lorensen at gmail.com
Sun Oct 10 16:50:41 EDT 2010


Stephen,

If you wait a day or two, Matt McCormick's development setup script
will get you going with gerrit. All you will need is a gerrit account.
This wiki page tells you what to do:

http://www.paraview.org/Wiki/ITK/Gerrit/Primer

It is a great tool! And that compliment comes from an old fart like me...

Bill

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
>


More information about the Insight-developers mailing list