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
Main Repositories
otb
Commits
90093102
Commit
90093102
authored
17 years ago
by
Thomas Feuvrier
Browse files
Options
Downloads
Patches
Plain Diff
Ajout -char en parametres possible dans la ligne de commande.
parent
3b855bfb
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
Testing/Code/Common/otbMultiChannelExtractROI.cxx
+3
-2
3 additions, 2 deletions
Testing/Code/Common/otbMultiChannelExtractROI.cxx
with
3 additions
and
2 deletions
Testing/Code/Common/otbMultiChannelExtractROI.cxx
+
3
−
2
View file @
90093102
...
...
@@ -157,6 +157,7 @@ int otbMultiChannelExtractROI ( int argc, char * argv[] )
std
::
cout
<<
" -> "
<<
loutputPixelType
<<
" pour "
<<
outputFilename
<<
std
::
endl
;
std
::
string
pixelType
;
if
(
(
linputPixelType
==
"-uchar"
)
&&
(
loutputPixelType
==
"-uchar"
)
)
return
(
generic_otbMultiChannelExtractROI
<
unsigned
char
,
unsigned
char
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
else
if
(
(
linputPixelType
==
"-char"
)
&&
(
loutputPixelType
==
"-char"
)
)
return
(
generic_otbMultiChannelExtractROI
<
char
,
char
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
else
if
(
(
linputPixelType
==
"-ushort"
)
&&
(
loutputPixelType
==
"-ushort"
)
)
return
(
generic_otbMultiChannelExtractROI
<
unsigned
short
,
unsigned
short
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
else
if
(
(
linputPixelType
==
"-uint"
)
&&
(
loutputPixelType
==
"-uint"
)
)
return
(
generic_otbMultiChannelExtractROI
<
unsigned
int
,
unsigned
int
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
else
if
(
(
linputPixelType
==
"-float"
)
&&
(
loutputPixelType
==
"-float"
)
)
return
(
generic_otbMultiChannelExtractROI
<
float
,
float
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
...
...
@@ -170,8 +171,8 @@ int otbMultiChannelExtractROI ( int argc, char * argv[] )
else
if
(
(
linputPixelType
==
"-uchar"
)
&&
(
loutputPixelType
==
"-double"
)
)
return
(
generic_otbMultiChannelExtractROI
<
unsigned
char
,
double
>
(
argc
,
argv
,
inputFilename
,
outputFilename
)
);
else
{
std
::
cout
<<
" Erreur : le format des images en entr
�
e est mal pr
�
cis
�
dans la ligne de commande !!!"
<<
std
::
endl
;
std
::
cout
<<
" valeurs autoris
�
es : -uchar, -ushort, -uint, -float, -double"
<<
std
::
endl
;
std
::
cout
<<
" Erreur : le format des images en entr
e
e est mal pr
e
cis
e
dans la ligne de commande !!!"
<<
std
::
endl
;
std
::
cout
<<
" valeurs autoris
e
es : -uchar,
-char,
-ushort, -uint, -float, -double"
<<
std
::
endl
;
std
::
cout
<<
" valeurs par defaut : -uchar"
<<
std
::
endl
;
return
EXIT_FAILURE
;
}
...
...
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