From 01e0fe4768342cb27bcc84747e14722c0d92a873 Mon Sep 17 00:00:00 2001
From: Antoine Regimbeau <antoine.regimbeau@c-s.fr>
Date: Tue, 29 May 2018 11:16:08 +0200
Subject: [PATCH] DOC: typo correction

---
 .../AppFiltering/app/otbContrastEnhancement.cxx  | 16 ++++++++--------
 .../Wrappers/QtWidget/src/otbQtApplication.cxx   |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
index 3e8300cadd..c07919eae5 100644
--- a/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+++ b/Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
@@ -161,11 +161,11 @@ private:
     SetDocLongDescription("This application is the implementation of the "
       "histogram equalization algorithm. The idea of the algorithm is to use "
       "the whole available dynamic. In order to do so it computes a histogram "
-      "over the image and then use the whole dynamic : meaning flattening the "
+      "over the image and then use the whole dynamic: meaning flattening the "
       "histogram. That gives us gain for each bin that transform the original "
       "histogram into the flat one. This gain is then apply on the original "
       "image." 
-      "\nThe application proposes several options to allow a finer result : "
+      "\nThe application proposes several options to allow a finer result: "
       "\n- There is an option to limit contrast. We choose to limit the contrast "
       "by modifying the original histogram. To do so we clip the histogram at a "
       "given height and redistribute equally among the bins the clipped population. "
@@ -197,7 +197,7 @@ private:
       "The maximum height will be computed as hfact*eqHeight where eqHeight "
       "is the height of the theoretical flat histogram. The higher hfact, the "
       "higher the contrast."
-      "\nWhen using 'luminance mode', it is recommended to limit this factor to a small value (ex : 4)");
+      "\nWhen using 'luminance mode', it is recommended to limit this factor to a small value (ex: 4)");
     MandatoryOff("hfact");
 
     AddParameter(ParameterType_Float , "nodata" , "Nodata Value");
@@ -221,11 +221,11 @@ private:
     AddParameter(ParameterType_Int,"spatial.local.h" , 
       "Thumbnail height");
     SetParameterDescription("spatial.local.h","Height of the thumbnail "
-      "over which the histogram will be computed. The value is in pixel.");
+      "over which the histogram will be computed. The value is in pixels.");
     AddParameter(ParameterType_Int,"spatial.local.w" , 
       "Thumbnail width");
     SetParameterDescription("spatial.local.w","Width of the thumbnail "
-      "over which the histogram will be computed. The value is in pixel.");
+      "over which the histogram will be computed. The value is in pixels.");
 
     AddParameter(ParameterType_Choice , "minmax" , "Minimum and maximum "
       "settings");
@@ -256,9 +256,9 @@ private:
       "Each channel is equalized independently" );
     AddChoice( "mode.lum" , "Luminance" );
     SetParameterDescription( "mode.lum" ,
-      "The relative luminance is computed thanks to the coefficients."
-      "Then the histogram is equalized and the gain is applied on each channels."
-      "This gain for each channels will depend on "
+      "The relative luminance is computed according to the coefficients."
+      "Then the histogram is equalized and the gain is applied to each of the "
+      "channels. The channel gain will depend on "
       "the weight (coef) of the channel in the luminance." 
       "\nNote that default values come from color space theories "
       "on how human eyes perceive colors)" 
diff --git a/Modules/Wrappers/QtWidget/src/otbQtApplication.cxx b/Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
index 4ae942351d..6e4d60d927 100644
--- a/Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
+++ b/Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
@@ -28,7 +28,7 @@ namespace Wrapper
 QtApplication::QtApplication(int& argcc, char** argvv)
   : QApplication(argcc, argvv)
 {
-  //std::cout<<QApplication::font().defaultFamily().toStdString()<<std::endl;
+
 }
 
 bool
-- 
GitLab