Skip to content
Snippets Groups Projects
Commit 20e707fb authored by Jordi Inglada's avatar Jordi Inglada
Browse files

BUG: correct number of arguments

parent 4e388f87
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#endif #endif
// Software Guide : BeginCommandLineArgs // Software Guide : BeginCommandLineArgs
// INPUT: {ROI_QB_MUL_1.png} // INPUTS: {ROI_QB_MUL_1.png}
// OUTPUT: {PanTexOutput.tif}, {pretty_PanTexInput.png}, {pretty_PanTexOutput.png} // OUTPUTS: {PanTexOutput.tif}, {pretty_PanTexInput.png}, {pretty_PanTexOutput.png}
// Software Guide : EndCommandLineArgs // Software Guide : EndCommandLineArgs
#include "itkExceptionObject.h" #include "itkExceptionObject.h"
...@@ -59,10 +59,10 @@ ...@@ -59,10 +59,10 @@
int main(int argc, char * argv[]) int main(int argc, char * argv[])
{ {
// Parse command line parameters // Parse command line parameters
if ( argc != 4 ) if ( argc != 5 )
{ {
std::cerr << "Usage: " << argv[0] << " <inputImage> "; std::cerr << "Usage: " << argv[0] << " <inputImage> ";
std::cerr << " <outputImage> <outputRescaled> "; std::cerr << " <outputImage> <inputRescaled> <outputRescaled> ";
std::cerr << std::endl; std::cerr << std::endl;
return EXIT_FAILURE; return EXIT_FAILURE;
} }
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#endif #endif
// Software Guide : BeginCommandLineArgs // Software Guide : BeginCommandLineArgs
// INPUT: {ADS40RoiSmall.png} // INPUTS: {ADS40RoiSmall.png}
// OUTPUT: {TextureOutput.tif}, {pretty_TextureOutput.png} // OUTPUTS: {TextureOutput.tif}, {pretty_TextureOutput.png}
// 2 1 1 // 2 1 1
// Software Guide : EndCommandLineArgs // Software Guide : EndCommandLineArgs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment