Commit 15290b64 authored by Emmanuel Christophe's avatar Emmanuel Christophe

DOC: Improving layout for Software Guide

parent 1c88cd2b
......@@ -82,7 +82,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginCodeSnippet
typedef otb::MultiToMonoChannelExtractROI<PixelType, PixelType> ExtractChannelType;
typedef otb::MultiToMonoChannelExtractROI<PixelType, PixelType>
ExtractChannelType;
ExtractChannelType::Pointer extractChannel = ExtractChannelType::New();
// Software Guide : EndCodeSnippet
......@@ -105,7 +106,8 @@ int main( int argc, char * argv[] )
// Software Guide : BeginCodeSnippet
reader->UpdateOutputInformation();
extractChannel->SetExtractionRegion(reader->GetOutput()->GetLargestPossibleRegion());
extractChannel->SetExtractionRegion(
reader->GetOutput()->GetLargestPossibleRegion());
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
......
......@@ -72,10 +72,11 @@ int main( int argc, char* argv[] )
if(argc!=12)
{
std::cout << argv[0] <<" <input_pan_filename> <input_xs_filename> ";
std::cout << "<output_filename> <utm zone> <hemisphere N/S> <x_ground_upper_left_corner> ";
std::cout << "<y_ground_upper_left_corner> <x_Size> <y_Size> ";
std::cout << "<output_filename> <utm zone> <hemisphere N/S> ";
std::cout << "<x_ground_upper_left_corner> <y_ground_upper_left_corner> ";
std::cout << "<x_Size> <y_Size> ";
std::cout << "<x_groundSamplingDistance> ";
std::cout << "<y_groundSamplingDistance (should be negative since origin is upper left)>"
std::cout << "<y_groundSamplingDistance (negative since origin is upper left)>"
<< std::endl;
return EXIT_FAILURE;
......
......@@ -128,7 +128,8 @@ int main( int argc, char * argv[] )
// Software Guide : EndLatex
// Software Guide : BeginCodeSnippet
parser->SetProgramDescription("This program applies a Harris detector on the input image");
parser->SetProgramDescription(
"This program applies a Harris detector on the input image");
parser->AddInputImage();
parser->AddOutputImage();
parser->AddOption("--SigmaD",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment