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
28271c71
Commit
28271c71
authored
13 years ago
by
Jonathan Guinet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Concatenate Image change to be coherent with 12297:0cb20b432ef4 Changeset.
parent
d64e240d
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/otbConcatenateImages.cxx
+8
-6
8 additions, 6 deletions
Applications/Util/otbConcatenateImages.cxx
with
8 additions
and
6 deletions
Applications/Util/otbConcatenateImages.cxx
+
8
−
6
View file @
28271c71
...
...
@@ -22,6 +22,7 @@
#include
"otbMultiToMonoChannelExtractROI.h"
#include
"otbObjectList.h"
#include
"otbWrapperTypes.h"
#include
"otbImageList.h"
namespace
otb
{
...
...
@@ -44,7 +45,8 @@ public:
itkTypeMacro
(
ConcatenateImages
,
otb
::
Application
);
/** Filters typedef */
typedef
ImageListToVectorImageFilter
<
FloatImageListType
,
typedef
otb
::
ImageList
<
FloatImageType
>
ImageListType
;
typedef
ImageListToVectorImageFilter
<
ImageListType
,
FloatVectorImageType
>
ListConcatenerFilterType
;
typedef
MultiToMonoChannelExtractROI
<
FloatVectorImageType
::
InternalPixelType
,
FloatImageType
::
PixelType
>
ExtractROIFilterType
;
...
...
@@ -54,10 +56,10 @@ private:
ConcatenateImages
()
{
SetName
(
"ConcatenateImages"
);
SetDescription
(
"Concatenate a list of image into a single mul
i
t channel one."
);
SetDescription
(
"Concatenate a list of image
s
into a single mult
i
channel one."
);
m_Concatener
=
ListConcatenerFilterType
::
New
();
m_ExtractorList
=
ExtractROIFilterListType
::
New
();
m_ImageList
=
Float
ImageListType
::
New
();
m_ImageList
=
ImageListType
::
New
();
}
virtual
~
ConcatenateImages
()
...
...
@@ -70,7 +72,7 @@ private:
SetParameterDescription
(
"il"
,
"Image list to concatenate"
);
AddParameter
(
ParameterType_OutputImage
,
"out"
,
"Output Image"
);
SetParameterDescription
(
"out"
,
"Out
m
put multiband image"
);
SetParameterDescription
(
"out"
,
"Output multiband image"
);
}
void
DoUpdateParameters
()
...
...
@@ -79,7 +81,7 @@ private:
// Reinitialize the object
m_Concatener
=
ListConcatenerFilterType
::
New
();
m_ImageList
=
Float
ImageListType
::
New
();
m_ImageList
=
ImageListType
::
New
();
m_ExtractorList
=
ExtractROIFilterListType
::
New
();
}
...
...
@@ -128,7 +130,7 @@ private:
ListConcatenerFilterType
::
Pointer
m_Concatener
;
ExtractROIFilterListType
::
Pointer
m_ExtractorList
;
Float
ImageListType
::
Pointer
m_ImageList
;
ImageListType
::
Pointer
m_ImageList
;
};
}
...
...
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