Commit 01e0fe47 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

DOC: typo correction

No related merge requests found
Showing with 9 additions and 9 deletions
+9 -9
...@@ -161,11 +161,11 @@ private: ...@@ -161,11 +161,11 @@ private:
SetDocLongDescription("This application is the implementation of the " SetDocLongDescription("This application is the implementation of the "
"histogram equalization algorithm. The idea of the algorithm is to use " "histogram equalization algorithm. The idea of the algorithm is to use "
"the whole available dynamic. In order to do so it computes a histogram " "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. That gives us gain for each bin that transform the original "
"histogram into the flat one. This gain is then apply on the original " "histogram into the flat one. This gain is then apply on the original "
"image." "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 " "\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 " "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. " "given height and redistribute equally among the bins the clipped population. "
...@@ -197,7 +197,7 @@ private: ...@@ -197,7 +197,7 @@ private:
"The maximum height will be computed as hfact*eqHeight where eqHeight " "The maximum height will be computed as hfact*eqHeight where eqHeight "
"is the height of the theoretical flat histogram. The higher hfact, the " "is the height of the theoretical flat histogram. The higher hfact, the "
"higher the contrast." "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"); MandatoryOff("hfact");
AddParameter(ParameterType_Float , "nodata" , "Nodata Value"); AddParameter(ParameterType_Float , "nodata" , "Nodata Value");
...@@ -221,11 +221,11 @@ private: ...@@ -221,11 +221,11 @@ private:
AddParameter(ParameterType_Int,"spatial.local.h" , AddParameter(ParameterType_Int,"spatial.local.h" ,
"Thumbnail height"); "Thumbnail height");
SetParameterDescription("spatial.local.h","Height of the thumbnail " 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" , AddParameter(ParameterType_Int,"spatial.local.w" ,
"Thumbnail width"); "Thumbnail width");
SetParameterDescription("spatial.local.w","Width of the thumbnail " 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 " AddParameter(ParameterType_Choice , "minmax" , "Minimum and maximum "
"settings"); "settings");
...@@ -256,9 +256,9 @@ private: ...@@ -256,9 +256,9 @@ private:
"Each channel is equalized independently" ); "Each channel is equalized independently" );
AddChoice( "mode.lum" , "Luminance" ); AddChoice( "mode.lum" , "Luminance" );
SetParameterDescription( "mode.lum" , SetParameterDescription( "mode.lum" ,
"The relative luminance is computed thanks to the coefficients." "The relative luminance is computed according to the coefficients."
"Then the histogram is equalized and the gain is applied on each channels." "Then the histogram is equalized and the gain is applied to each of the "
"This gain for each channels will depend on " "channels. The channel gain will depend on "
"the weight (coef) of the channel in the luminance." "the weight (coef) of the channel in the luminance."
"\nNote that default values come from color space theories " "\nNote that default values come from color space theories "
"on how human eyes perceive colors)" "on how human eyes perceive colors)"
......
...@@ -28,7 +28,7 @@ namespace Wrapper ...@@ -28,7 +28,7 @@ namespace Wrapper
QtApplication::QtApplication(int& argcc, char** argvv) QtApplication::QtApplication(int& argcc, char** argvv)
: QApplication(argcc, argvv) : QApplication(argcc, argvv)
{ {
//std::cout<<QApplication::font().defaultFamily().toStdString()<<std::endl;
} }
bool bool
......
Supports Markdown
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