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

FIX: Signed spacing for segmentation output

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -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);
} }
}; };
......
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