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
1e6b1acf
Commit
1e6b1acf
authored
13 years ago
by
Otmane Lahlou
Browse files
Options
Downloads
Patches
Plain Diff
ENH: cleaning
parent
a7d79ea0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/Projections/otbOrthoRectification.cxx
+4
-10
4 additions, 10 deletions
Applications/Projections/otbOrthoRectification.cxx
with
4 additions
and
10 deletions
Applications/Projections/otbOrthoRectification.cxx
+
4
−
10
View file @
1e6b1acf
...
...
@@ -80,8 +80,6 @@ public:
double
>
NearestNeighborInterpolationType
;
typedef
otb
::
BCOInterpolateImageFunction
<
FloatVectorImageType
>
BCOInterpolationType
;
typedef
otb
::
PipelineMemoryPrintCalculator
MemoryCalculatorType
;
private:
OrthoRectification
()
{
...
...
@@ -140,9 +138,9 @@ private:
// Estimate a RPC model (for spot image for instance)
AddParameter
(
ParameterType_Group
,
"rpc"
,
"Estimate RPC model"
);
MandatoryOff
(
"rpc"
);
AddParameter
(
ParameterType_Int
,
"rpc.ncp"
,
"Nb control Points"
);
SetParameterDescription
(
"rpc"
,
"Activate RPC sensor model estimation. Parameter is the number of control points per axis"
);
MandatoryOff
(
"rpc"
);
MandatoryOff
(
"rpc.ncp"
);
// Interpolators
...
...
@@ -161,6 +159,7 @@ private:
AddParameter
(
ParameterType_Empty
,
"map.utm.hem"
,
"Hemisphere North"
);
MandatoryOff
(
"map.utm.zone"
);
MandatoryOff
(
"map.utm.hem"
);
MandatoryOff
(
"map.utm"
);
AddChoice
(
"map.lambert2"
,
"Lambert II Etendu"
);
...
...
@@ -177,14 +176,13 @@ private:
void
DoUpdateParameters
()
{
if
(
HasValue
(
"in"
))
if
(
HasValue
(
"in"
))
{
// input image
FloatVectorImageType
*
inImage
=
GetParameterImage
(
"in"
);
FloatVectorImageType
::
Pointer
inImage
=
GetParameterImage
(
"in"
);
// Update the UTM zone params
InitializeUTMParameters
();
// Get the output projection Ref
this
->
UpdateOutputProjectionRef
();
...
...
@@ -444,10 +442,6 @@ private:
m_ResampleFilter
->
SetOutputOrigin
(
ul
);
}
// std::cout <<"Resampler : Output Origin "<<m_ResampleFilter->GetOutputOrigin() << std::endl;
// std::cout <<"Resampler : Output Spacing "<<m_ResampleFilter->GetOutputSpacing() << std::endl;
// std::cout <<"Resampler : Output Size "<< m_ResampleFilter->GetOutputSize()<< std::endl;
// Output Image
SetParameterOutputImage
(
"out"
,
m_ResampleFilter
->
GetOutput
());
}
...
...
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