Commit 05708105 authored by Charles Peyrega's avatar Charles Peyrega

BUG: Copy information of input images of otbImportGeoInformationImageFilter in...

BUG: Copy information of input images of otbImportGeoInformationImageFilter in otbLSMSSegmentation application
parent b0466cbc
......@@ -669,6 +669,8 @@ private:
// Final writing
m_FinalReader = LabelImageReaderType::New();
m_FinalReader->SetFileName(vrtfile);
m_FinalReader->UpdateOutputInformation();
m_FinalReader->GetOutput()->CopyInformation(imageIn);
m_ImportGeoInformationFilter = ImportGeoInformationImageFilterType::New();
m_ImportGeoInformationFilter->SetInput(m_FinalReader->GetOutput());
......
Markdown is supported
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