Commit 054a9f94 authored by Julien Malik's avatar Julien Malik

BUG: fix #800 watershed segmentation filter loses projection ref

parent 6095d615
......@@ -48,6 +48,10 @@ WatershedSegmentationFilter<TInputImage, TOutputLabelImage>
// Since WatershedFilterType outputs an itk::Image,
// we loose the additionnal metadata of OTB like ProjectionRef.
// Import them before exiting
this->GetOutput()->CopyInformation( this->GetInput() );
} // end namespace otb
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