Commit 3d1cbef4 authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: Signed spacing for segmentation output

parent db4c9ac6
...@@ -165,7 +165,7 @@ namespace otb ...@@ -165,7 +165,7 @@ namespace otb
// Set output image projection, origin and spacing for labelImage // Set output image projection, origin and spacing for labelImage
labelImage->SetProjectionRef(image->GetProjectionRef()); labelImage->SetProjectionRef(image->GetProjectionRef());
labelImage->SetOrigin(image->GetOrigin()); labelImage->SetOrigin(image->GetOrigin());
labelImage->SetSpacing(image->GetSpacing()); labelImage->SetSignedSpacing(image->GetSignedSpacing());
SetParameterOutputImage<LabelImageType>("out", labelImage); SetParameterOutputImage<LabelImageType>("out", labelImage);
} }
}; };
......
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