diff --git a/Applications/Utils/otbBandMathX.cxx b/Applications/Utils/otbBandMathX.cxx index 5f00de72a551fbc3db5e5546095538790f5364e1..bc49606954ed7979c5c3c60633948ad539faf7c6 100644 --- a/Applications/Utils/otbBandMathX.cxx +++ b/Applications/Utils/otbBandMathX.cxx @@ -118,14 +118,14 @@ private: "The application takes the following parameters :\n" "- Setting the list of inputs can be done with the 'il' parameter.\n" "- Setting expressions can be done with the 'exp' parameter (see also limitations section below).\n" - "- Setting constants can be done with the 'incontext' parameter. User must provide a txt file with a specific syntax: #type name value\n" + "- Setting constants can be done with the 'incontext' parameter. User must provide a txt file with a specific syntax: #type name value\n" "An example of such a file is given below:\n\n" "#F expo 1.1\n" "#M kernel1 { 0.1 , 0.2 , 0.3; 0.4 , 0.5 , 0.6; 0.7 , 0.8 , 0.9; 1 , 1.1 , 1.2; 1.3 , 1.4 , 1.5 }\n" "\nAs we can see, #I/#F allows the definition of an integer/float constant, whereas #M allows the definition of a vector/matrix.\n" "In the latter case, elements of a row must be separated by commas, and rows must be separated by semicolons.\n" "It is also possible to define expressions within the same txt file, with the pattern #E expr. For instance (two expressions; see also limitations section below):\n\n" - "#E dotpr(kernel1,im1b1N3x5) ; im2b1^expo\n" + "#E dotpr(kernel1,im1b1N3x5); im2b1^expo\n" "\n- The 'outcontext' parameter allows to save user's constants and expressions (context).\n" "- Setting the output image can be done with the 'out' parameter (multi-outputs is not implemented yet).\n" "\n\n" @@ -134,7 +134,7 @@ private: ); SetDocLimitations("The application is currently unable to produce one output image per expression, contrary to otbBandMathXImageFilter.\n" - "Separating expressions by semi-colons (;) will concatenate their results into a unique multiband output image. "); + "Separating expressions by semi-colons (; ) will concatenate their results into a unique multiband output image. "); SetDocAuthors("OTB-Team"); SetDocSeeAlso(" "); AddDocTag("Util"); diff --git a/Code/BasicFilters/otbBandMathXImageFilter.txx b/Code/BasicFilters/otbBandMathXImageFilter.txx index 22de8144017ffe3b9e48eccdefa1ac4159f1af52..e51d1d9ae26f5780cc89e894bc2b383a08c2e40a 100644 --- a/Code/BasicFilters/otbBandMathXImageFilter.txx +++ b/Code/BasicFilters/otbBandMathXImageFilter.txx @@ -369,7 +369,7 @@ void BandMathXImageFilter<TImage> iss << " " << m_VAllowedVarNameAddedByUser[i].value.At(k,0); for(int p=1; p<m_VAllowedVarNameAddedByUser[i].value.GetCols(); p++) iss << " , " << m_VAllowedVarNameAddedByUser[i].value.At(k,p); - iss << " ;"; + iss << ";"; } str=iss.str(); str.erase(str.size()-1);