[Insight-users] inside out example

Kevin H. Hobbs kevin.hobbs.1 at ohiou.edu
Tue Aug 16 13:40:29 EDT 2005


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://public.kitware.com/pipermail/insight-users/attachments/20050816/6b598749/attachment.pgp


More information about the Insight-users mailing list