Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NORMLIM_sigma0
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
s1-tiling
NORMLIM_sigma0
Commits
a50cc19d
Commit
a50cc19d
authored
2 years ago
by
Luc Hermitte
Browse files
Options
Downloads
Patches
Plain Diff
REFACT: Let LIA map in float32
The conversion to int16 will be done after orthorectofication
parent
478484ab
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
app/otbSARComputeLocalIncidenceAngle.cxx
+6
-3
6 additions, 3 deletions
app/otbSARComputeLocalIncidenceAngle.cxx
with
6 additions
and
3 deletions
app/otbSARComputeLocalIncidenceAngle.cxx
+
6
−
3
View file @
a50cc19d
...
...
@@ -63,7 +63,8 @@ public:
using
InputImageType
=
otb
::
VectorImage
<
RealInputPixelType
,
2
>
;
// using OutputImageType = otb::VectorImage<RealOutputPixelType, 2>;
using
OutputImageType
=
otb
::
Image
<
RealOutputPixelType
,
2
>
;
using
LIAOutputImageType
=
otb
::
Image
<
std
::
int16_t
,
2
>
;
using
LIAOutputImageType
=
otb
::
Image
<
RealOutputPixelType
,
2
>
;
// using LIAOutputImageType = otb::Image<std::int16_t, 2>;
using
FilterType
=
otb
::
SARComputeLocalIncidenceAngle
<
InputImageType
,
OutputImageType
,
LIAOutputImageType
>
;
/** Standard macro */
...
...
@@ -96,8 +97,10 @@ private:
AddParameter
(
ParameterType_OutputImage
,
k_out_lia
,
"Optional output image with abs(LIA) in degree * 100"
);
SetParameterDescription
(
k_out_lia
,
"Optional output image with abs(LIA) in degree * 100"
);
SetParameterOutputImagePixelType
(
k_out_lia
,
ImagePixelType_int16
);
// SetDefaultOutputPixelType(k_out_lia, ImagePixelType_uint16);
// SetParameterOutputImagePixelType(k_out_lia, ImagePixelType_int16);
#if defined(DOUBLES_EVERYWHERE)
SetDefaultOutputPixelType
(
k_out_lia
,
ImagePixelType_double
);
#endif
MandatoryOff
(
k_out_lia
);
AddParameter
(
ParameterType_OutputImage
,
k_out_sin
,
"Output image with abs(sin LIA)"
);
...
...
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