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
e2a59735
Commit
e2a59735
authored
17 years ago
by
Julien Michel
Browse files
Options
Downloads
Patches
Plain Diff
Correction erreurs de l'orthorectif
parent
2fb5771d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Projections/otbOrthoRectificationFilter.h
+1
-0
1 addition, 0 deletions
Code/Projections/otbOrthoRectificationFilter.h
Code/Projections/otbOrthoRectificationFilter.txx
+10
-8
10 additions, 8 deletions
Code/Projections/otbOrthoRectificationFilter.txx
with
11 additions
and
8 deletions
Code/Projections/otbOrthoRectificationFilter.h
+
1
−
0
View file @
e2a59735
...
...
@@ -61,6 +61,7 @@ class ITK_EXPORT OrthoRectificationFilter : public itk::ImageToImageFilter< TInp
typedef
typename
OrthoRectificationFilterBaseType
::
IndexType
IndexType
;
typedef
typename
OrthoRectificationFilterBaseType
::
SizeType
SizeType
;
typedef
typename
OrthoRectificationFilterBaseType
::
PointType
PointType
;
typedef
typename
OrthoRectificationFilterBaseType
::
RegionType
RegionType
;
typedef
typename
OrthoRectificationFilterBaseType
::
OriginPointType
OriginPointType
;
typedef
typename
OrthoRectificationFilterBaseType
::
SpacingType
SpacingType
;
...
...
This diff is collapsed.
Click to expand it.
Code/Projections/otbOrthoRectificationFilter.txx
+
10
−
8
View file @
e2a59735
...
...
@@ -102,10 +102,15 @@ OrthoRectificationFilter< TInputImage,
TInterpolatorPrecision>
::GenerateInputRequestedRegion(void)
{
Superclass::GenerateInputRequestedRegion();
typename InputImageType::Pointer inputPtr = const_cast<InputImageType *>(this->GetInput());
if(!inputPtr)
{
return;
}
m_OrthoRectificationFilter->GetOutput()->UpdateOutputInformation();
m_OrthoRectificationFilter->GetOutput()->SetRequestedRegion(this->GetOutput()->GetRequestedRegion());
m_OrthoRectificationFilter->GetOutput()->PropagateRequestedRegion();
inputPtr->SetRequestedRegion(m_OrthoRectificationFilter->GetInput()->GetRequestedRegion());
}
...
...
@@ -123,13 +128,10 @@ OrthoRectificationFilter< TInputImage,
{
// This is done here instead of inside the GenerateData() method so that the pipeline negociation
// use the minipipeline instead of default ITK methods.
m_OrthoRectificationFilter->GraftOutput(this->GetOutput());
// m_OrthoRectificationFilter->GetOutput()->UpdateOutputInformation();
// m_OrthoRectificationFilter->GetOutput()->PropagateRequestedRegion();
// m_OrthoRectificationFilter->GetOutput()->UpdateOutputData();
m_OrthoRectificationFilter->Update();
this->GraftOutput(m_OrthoRectificationFilter->GetOutput());
//m_OrthoRectificationFilter->Update();
m_OrthoRectificationFilter->GraftOutput(this->GetOutput());
m_OrthoRectificationFilter->Update();
this->GraftOutput(m_OrthoRectificationFilter->GetOutput());
}
} //namespace otb
...
...
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