[Insight-users] inside out example

Andinet Enquobahrie andinet.enqu at kitware.com
Tue Aug 16 14:50:15 EDT 2005


Kevin H. Hobbs wrote:

>Examples/Filtering/BinaryThresholdImageFilter.cxx
>
>says:
>
>if( argc < 7 )
>    {
>    std::cerr << "Usage: " << argv[0];
>    std::cerr << " inputImageFile outputImageFile ";  
>    std::cerr << " lowerThreshold upperThreshold ";  
>    std::cerr << " insideValue    outsideValue   "  << std::endl;  
>    return EXIT_FAILURE;
>    }
>
>but does:
>
>  const OutputPixelType outsideValue = atoi( argv[5] );
>  const OutputPixelType insideValue  = atoi( argv[6] );
>
>Confused me there for a while. I suggest changing the usage message.
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>
thanks for pointing that out.. I will fix it.

-Andinet



More information about the Insight-users mailing list