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
Sébastien Peillet
otb
Commits
3b391464
Commit
3b391464
authored
7 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
Review parameters description of otbContrastEnhancement application
parent
60c83260
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+19
-19
19 additions, 19 deletions
.../Applications/AppFiltering/app/otbContrastEnhancement.cxx
with
19 additions
and
19 deletions
Modules/Applications/AppFiltering/app/otbContrastEnhancement.cxx
+
19
−
19
View file @
3b391464
...
...
@@ -186,10 +186,10 @@ private:
AddParameter
(
ParameterType_OutputImage
,
"out"
,
"Output Image"
);
SetParameterDescription
(
"out"
,
"Output image."
);
AddParameter
(
ParameterType_Int
,
"bins"
,
"Number of bin"
);
AddParameter
(
ParameterType_Int
,
"bins"
,
"Number of bin
s
"
);
SetDefaultParameterInt
(
"bins"
,
256
);
SetParameterDescription
(
"bins"
,
"Number of bin
used to create
the histogram"
);
"Number of bin
s in
the histogram"
);
AddParameter
(
ParameterType_Float
,
"hfact"
,
"Contrast Limitation"
);
SetParameterDescription
(
"hfact"
,
"This parameter will set the maximum "
...
...
@@ -214,8 +214,8 @@ private:
"equalized and the corresponding gain will be interpolated."
);
AddChoice
(
"spatial.global"
,
"Global"
);
SetParameterDescription
(
"spatial.global"
,
"The histogram will be "
"computed on the whole image. The equalization will be
done
on "
"this
single
histogram."
);
"computed on the whole image. The equalization will be
computed
on "
"this histogram."
);
AddParameter
(
ParameterType_Int
,
"spatial.local.h"
,
...
...
@@ -224,7 +224,7 @@ private:
"Thumbnail width in pixel"
);
AddParameter
(
ParameterType_Choice
,
"minmax"
,
"Minimum and maximum "
"
definition
"
);
"
settings
"
);
SetParameterDescription
(
"minmax"
,
"Minimum and maximum value that will "
"bound the histogram."
);
AddChoice
(
"minmax.auto"
,
"Automatic"
);
...
...
@@ -235,11 +235,11 @@ private:
SetParameterDescription
(
"minmax.auto.global"
,
"Automatic"
"Min/max computation will result in the same minimum and maximum for "
"all the bands."
);
AddChoice
(
"minmax.manual"
,
"Manual"
);
AddChoice
(
"minmax.manual"
,
"Manual
settings of min/max values
"
);
SetParameterDescription
(
"minmax.auto"
,
"Minimum and maximum value will be "
"set by the user"
);
AddParameter
(
ParameterType_Float
,
"minmax.manual.min"
,
"Minimum"
);
AddParameter
(
ParameterType_Float
,
"minmax.manual.max"
,
"Maximum"
);
AddParameter
(
ParameterType_Float
,
"minmax.manual.min"
,
"Minimum
value
"
);
AddParameter
(
ParameterType_Float
,
"minmax.manual.max"
,
"Maximum
value
"
);
MandatoryOff
(
"minmax.manual.min"
);
MandatoryOff
(
"minmax.manual.max"
);
...
...
@@ -257,25 +257,25 @@ private:
"on how human eyes perceive colors)"
);
AddParameter
(
ParameterType_Group
,
"mode.lum.red"
,
"Red
C
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.red.ch"
,
"Red
C
hannel"
);
AddParameter
(
ParameterType_Group
,
"mode.lum.red"
,
"Red
c
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.red.ch"
,
"Red
c
hannel"
);
SetDefaultParameterInt
(
"mode.lum.red.ch"
,
0
);
AddParameter
(
ParameterType_Float
,
"mode.lum.red.coef"
,
"Value for luminance computation"
);
"Value for luminance computation
for the red channel
"
);
SetDefaultParameterFloat
(
"mode.lum.red.coef"
,
0.21
);
AddParameter
(
ParameterType_Group
,
"mode.lum.green"
,
"Green
C
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.green.ch"
,
"Green
C
hannel"
);
AddParameter
(
ParameterType_Group
,
"mode.lum.green"
,
"Green
c
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.green.ch"
,
"Green
c
hannel"
);
SetDefaultParameterInt
(
"mode.lum.green.ch"
,
1
);
AddParameter
(
ParameterType_Float
,
"mode.lum.green.coef"
,
"Value for luminance computation"
);
"Value for luminance computation
of the green channel
"
);
SetDefaultParameterFloat
(
"mode.lum.green.coef"
,
0.71
);
AddParameter
(
ParameterType_Group
,
"mode.lum.blue"
,
"Blue
C
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.blue.ch"
,
"Blue
C
hannel"
);
AddParameter
(
ParameterType_Group
,
"mode.lum.blue"
,
"Blue
c
hannel"
);
AddParameter
(
ParameterType_Int
,
"mode.lum.blue.ch"
,
"Blue
c
hannel"
);
SetDefaultParameterInt
(
"mode.lum.blue.ch"
,
2
);
AddParameter
(
ParameterType_Float
,
"mode.lum.blue.coef"
,
"Value for luminance computation"
);
"Value for luminance computation
of the blue channel
"
);
SetDefaultParameterFloat
(
"mode.lum.blue.coef"
,
0.08
);
SetDefaultParameterInt
(
"spatial.local.w"
,
256
);
...
...
@@ -289,8 +289,8 @@ private:
SetMinimumParameterIntValue
(
"spatial.local.w"
,
1
);
SetExampleComment
(
"Local contrast enhancement by luminance"
,
0
);
SetDocExampleParameterValue
(
"in"
,
"co
ule
urs.tif"
);
SetDocExampleParameterValue
(
"out"
,
"equalizedco
uleu
rs.tif float"
);
SetDocExampleParameterValue
(
"in"
,
"co
lo
urs.tif"
);
SetDocExampleParameterValue
(
"out"
,
"equalizedco
lo
rs.tif float"
);
SetDocExampleParameterValue
(
"bins"
,
"256"
);
SetDocExampleParameterValue
(
"spatial.local.w"
,
"500"
);
SetDocExampleParameterValue
(
"spatial.local.h"
,
"500"
);
...
...
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