Commit caad8a1b authored by Cresson Remi's avatar Cresson Remi
Browse files

Merge branch 'loic.lozach-master-patch-79365' into 'master'

Update otbMosaicFromDirectoryHandler.txx: KeywordList is deprecated

See merge request !1
1 merge request!1Update otbMosaicFromDirectoryHandler.txx: KeywordList is deprecated
Showing with 2 additions and 2 deletions
+2 -2
...@@ -83,9 +83,9 @@ MosaicFromDirectoryHandler<TOutputImage, TReferenceImage> ...@@ -83,9 +83,9 @@ MosaicFromDirectoryHandler<TOutputImage, TReferenceImage>
defSpacing[0] *= 10; defSpacing[0] *= 10;
defSpacing[1] *= 10; defSpacing[1] *= 10;
resampler->SetDisplacementFieldSpacing(defSpacing); resampler->SetDisplacementFieldSpacing(defSpacing);
resampler->SetInputKeywordList(reader->GetOutput()->GetImageKeywordlist()); // resampler->SetInputKeywordList(reader->GetOutput()->GetImageKeywordlist());
resampler->SetInputProjectionRef(reader->GetOutput()->GetProjectionRef()); resampler->SetInputProjectionRef(reader->GetOutput()->GetProjectionRef());
resampler->SetOutputKeywordList(m_RefImagePtr->GetImageKeywordlist()); // resampler->SetOutputKeywordList(m_RefImagePtr->GetImageKeywordlist());
resampler->SetOutputProjectionRef(m_RefImagePtr->GetProjectionRef()); resampler->SetOutputProjectionRef(m_RefImagePtr->GetProjectionRef());
resampler->SetOutputOrigin(m_RefImagePtr->GetOrigin()); resampler->SetOutputOrigin(m_RefImagePtr->GetOrigin());
resampler->SetOutputSpacing(m_RefImagePtr->GetSignedSpacing()); resampler->SetOutputSpacing(m_RefImagePtr->GetSignedSpacing());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment