diff --git a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx index 129bbee97c032c2547f6caad59534891e4b69ff2..a361bad69271d463b54f88214a12ea9bd9dd5f6d 100644 --- a/Examples/Segmentation/IsolatedConnectedImageFilter.cxx +++ b/Examples/Segmentation/IsolatedConnectedImageFilter.cxx @@ -20,10 +20,6 @@ =========================================================================*/ -// INPUTS: {QB_Suburb.png} -// OUTPUTS: {ConnectedThresholdOutput1.png} -// 110 38 50 100 - // Software Guide : BeginCommandLineArgs // INPUTS: {QB_Suburb.png} // OUTPUTS: {IsolatedConnectedImageFilterOutput1.png} @@ -66,13 +62,13 @@ int main(int argc, char *argv[]) { - if (argc < 7) + if (argc < 8) { std::cerr << "Missing Parameters " << std::endl; std::cerr << "Usage: " << argv[0]; std::cerr << " inputImage outputImage seedX1 seedY1"; std::cerr << " lowerThreshold seedX2 seedY2" << std::endl; - return 1; + return EXIT_FAILURE; } // Software Guide : BeginLatex diff --git a/Examples/Segmentation/test/CMakeLists.txt b/Examples/Segmentation/test/CMakeLists.txt index 151b07d135834c7d0bf1bb761c6a675dafbcb19d..d43f19ecf89f64747f546278e5a09bb23e6806c2 100644 --- a/Examples/Segmentation/test/CMakeLists.txt +++ b/Examples/Segmentation/test/CMakeLists.txt @@ -1,17 +1,6 @@ set(BASELINE ${OTB_DATA_ROOT}/Baseline/Examples/Segmentation) set(INPUTDATA ${OTB_DATA_ROOT}/Examples) -# ------- IsolatedConnectedImageFilterTest---------- - -otb_add_test(NAME seTeIsolatedConnectedImageFilterTest1 COMMAND ${OTB_TEST_DRIVER} - --compare-n-images ${NOTOL} 1 - ${BASELINE}/ConnectedThresholdOutput1.png - ${TEMP}/ConnectedThresholdOutput1.png - Execute $ - ${INPUTDATA}/QB_Suburb.png - ${TEMP}/ConnectedThresholdOutput1.png - 110 38 50 100 -) # ------- IsolatedConnectedImageFilterTest----------