Commit 132e6742 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: use decent precision for label type

parent 484b62a4
...@@ -79,7 +79,7 @@ int main(int argc, char * argv[]) ...@@ -79,7 +79,7 @@ int main(int argc, char * argv[])
const unsigned int Dimension = 2; const unsigned int Dimension = 2;
// Labeled image type // Labeled image type
typedef unsigned short LabelType; typedef unsigned int LabelType;
typedef unsigned char MaskPixelType; typedef unsigned char MaskPixelType;
typedef double PixelType; typedef double PixelType;
typedef otb::Image<LabelType, Dimension> LabeledImageType; typedef otb::Image<LabelType, Dimension> LabeledImageType;
......
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