Am Montag, 30. Juni 2014 14:56:56 UTC+2 schrieb Rashad:

>
> ExtractRoadExample.cxx
>
> http://hg.orfeo-toolbox.org/OTB/file/2922333d7246/Examples/FeatureExtraction
>

Since this example is running finally, here, I just want to state an error 
in the source code. The forced amount of parameters is wrong. The author 
may be confused, because maxAngle and angularThreshold will be both taken 
from argument no.10, and he missed "alphaValue" at all. So all people 
having trouble to get this working (e.g. white output, since arguments are 
wrong), use:
  if (argc < 13)
    {
    std::cerr << "Usage: " << argv[0];
    std::cerr <<
    " inputFileName outputFileName firstPixelComponent secondPixelComponent 
";
    std::cerr <<
    "thirdPixelComponent fourthPixelComponent valueAlpha amplitudeThrehsold 
tolerance ";
    std::cerr <<
    "angularThreshold-maxAngle firstMeanDistanceThreshold 
secondMeanDistanceThreshold ";
    std::cerr << "distanceThreshold" << std::endl;
    return EXIT_FAILURE;
    }

instead of the original.

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to