Skip to content
Snippets Groups Projects
Commit 2f8b627c authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Fixed a segfault when using meanshift on visual

parent 5c1cf80d
No related branches found
No related tags found
No related merge requests found
......@@ -384,7 +384,7 @@ namespace otb
typename LabeledOutputType::IndexType boundIndex;
// TODO: Here it would be possible to extract the polygon edges for each region
for(LabelType label = 1; label <= numRegions;++label)
for(LabelType label = 0; label < numRegions;++label)
{
regionIndeces = regionList->GetRegionIndeces(label);
for(int i = 0; i < regionList->GetRegionCount(label);++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment