Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
guillaume pernot
otb
Commits
01e0fe47
Commit
01e0fe47
authored
6 years ago
by
Antoine Regimbeau
Browse files
Options
Downloads
Patches
Plain Diff
DOC: typo correction
parent
35658928
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+8
-8
8 additions, 8 deletions
.../Applications/AppFiltering/app/otbContrastEnhancement.cxx
Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
+1
-1
1 addition, 1 deletion
Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
with
9 additions
and
9 deletions
Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+
8
−
8
View file @
01e0fe47
...
...
@@ -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."
"
\n
The application proposes several options to allow a finer result
: "
"
\n
The 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."
"
\n
When using 'luminance mode', it is recommended to limit this factor to a small value (ex
: 4)"
);
"
\n
When 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 pixel
s
."
);
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 pixel
s
."
);
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 o
n
each
channels.
"
"
This gain for each
channel
s
will depend on "
"The relative luminance is computed
according
to the coefficients."
"Then the histogram is equalized and the gain is applied
t
o each
of the
"
"
channels. The
channel
gain
will depend on "
"the weight (coef) of the channel in the luminance."
"
\n
Note that default values come from color space theories "
"on how human eyes perceive colors)"
...
...
This diff is collapsed.
Click to expand it.
Modules/Wrappers/QtWidget/src/otbQtApplication.cxx
+
1
−
1
View file @
01e0fe47
...
...
@@ -28,7 +28,7 @@ namespace Wrapper
QtApplication
::
QtApplication
(
int
&
argcc
,
char
**
argvv
)
:
QApplication
(
argcc
,
argvv
)
{
//std::cout<<QApplication::font().defaultFamily().toStdString()<<std::endl;
}
bool
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment