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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
David Youssefi
otb
Commits
b65fd516
Commit
b65fd516
authored
13 years ago
by
Jonathan Guinet
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Rescale application doc update.
parent
a998cd42
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
Applications/Util/otbRescale.cxx
+14
-3
14 additions, 3 deletions
Applications/Util/otbRescale.cxx
with
14 additions
and
3 deletions
Applications/Util/otbRescale.cxx
+
14
−
3
View file @
b65fd516
...
...
@@ -50,6 +50,16 @@ private:
{
SetName
(
"Rescale"
);
SetDescription
(
"Rescale the image between two given values."
);
SetDocName
(
"Rescale Image Application"
);
SetDocLongDescription
(
"This application scale the given image pixel intensity between two given values. "
"By default min (resp. max) value is set to 0 (resp. 255)."
);
SetDocLimitations
(
"None"
);
SetDocAuthors
(
"OTB-Team"
);
SetDocSeeAlso
(
" "
);
SetDocCLExample
(
"otbApplicationLauncherCommandLine Rescale ${OTB-BIN}/bin"
" --in ${OTB-DATA}/Input/poupees.tif --out rescaledImage.tif --outmin 20 --outmax 150"
);
AddDocTag
(
"Image Manipulation"
);
}
virtual
~
Rescale
()
...
...
@@ -59,13 +69,14 @@ private:
void
DoCreateParameters
()
{
AddParameter
(
ParameterType_InputImage
,
"in"
,
"Input Image"
);
SetParameterDescription
(
"in"
,
"The image to scale."
);
AddParameter
(
ParameterType_OutputImage
,
"out"
,
"Output Image"
);
SetParameterDescription
(
"out"
,
"The rescaled image filename."
);
AddParameter
(
ParameterType_Float
,
"outmin"
,
"Output min value"
);
AddParameter
(
ParameterType_Float
,
"outmax"
,
"Output max value"
);
SetParameterFloat
(
"outmin"
,
0
);
SetParameterFloat
(
"outmin"
,
0.
0
);
SetParameterDescription
(
"outmin"
,
"Minimum value of the output image."
);
SetParameterFloat
(
"outmax"
,
255
);
SetParameterFloat
(
"outmax"
,
255
.0
);
SetParameterDescription
(
"outmax"
,
"Maximum value of the output image."
);
MandatoryOff
(
"outmin"
);
...
...
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