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
Julien Cabieces
otb
Commits
9796c8d5
Commit
9796c8d5
authored
4 years ago
by
Cédric Traizet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add a method to set band specific metadata in ImageCommon
parent
12fba8ef
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/Core/ImageBase/include/otbImageCommons.h
+2
-0
2 additions, 0 deletions
Modules/Core/ImageBase/include/otbImageCommons.h
Modules/Core/ImageBase/src/otbImageCommons.cxx
+5
-0
5 additions, 0 deletions
Modules/Core/ImageBase/src/otbImageCommons.cxx
with
7 additions
and
0 deletions
Modules/Core/ImageBase/include/otbImageCommons.h
+
2
−
0
View file @
9796c8d5
...
...
@@ -33,6 +33,8 @@ class OTBImageBase_EXPORT ImageCommons
public:
void
SetImageMetadata
(
ImageMetadata
imd
);
void
SetBandImageMetadata
(
ImageMetadata
::
ImageMetadataBandsType
imd
);
const
ImageMetadata
&
GetImageMetadata
()
const
;
...
...
This diff is collapsed.
Click to expand it.
Modules/Core/ImageBase/src/otbImageCommons.cxx
+
5
−
0
View file @
9796c8d5
...
...
@@ -28,6 +28,11 @@ void ImageCommons::SetImageMetadata(ImageMetadata imd)
m_Imd
=
std
::
move
(
imd
);
}
void
ImageCommons
::
SetBandImageMetadata
(
ImageMetadata
::
ImageMetadataBandsType
bands
)
{
m_Imd
.
Bands
=
std
::
move
(
bands
);
}
const
ImageMetadata
&
ImageCommons
::
GetImageMetadata
()
const
{
return
m_Imd
;
...
...
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