|
@@ -1928,11 +1928,11 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
|
|
|
textonMap ( subx, suby ).add ( v );
|
|
|
}
|
|
|
|
|
|
- if ( x == xpos && y == ypos )
|
|
|
+ /*if ( x == xpos && y == ypos )
|
|
|
{
|
|
|
cout << "val: " << val << " decision: " << forest[tree][t].decision << " details: " << forest[tree][t].feat->writeInfos() << endl;
|
|
|
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -2003,7 +2003,7 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
|
|
|
vector<double> sorted = probs;
|
|
|
sort (sorted.begin(), sorted.end());
|
|
|
|
|
|
- double thr = sorted[3];
|
|
|
+ double thr = sorted[10];
|
|
|
|
|
|
if(thr < 0.0)
|
|
|
thr = 0.0;
|