|
@@ -109,6 +109,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
LOOP_ALL_S(*testFiles)
|
|
LOOP_ALL_S(*testFiles)
|
|
{
|
|
{
|
|
|
|
+ cout << 1 << endl;
|
|
EACH_INFO(classno, info);
|
|
EACH_INFO(classno, info);
|
|
pb.update(testFiles->count());
|
|
pb.update(testFiles->count());
|
|
|
|
|
|
@@ -146,6 +147,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
if (write_results_pascal)
|
|
if (write_results_pascal)
|
|
{
|
|
{
|
|
|
|
+
|
|
NICE::Image pascal_lm(lm.width(), lm.height());
|
|
NICE::Image pascal_lm(lm.width(), lm.height());
|
|
int backgroundClass = classNames.getBackgroundClass();
|
|
int backgroundClass = classNames.getBackgroundClass();
|
|
|
|
|
|
@@ -173,7 +175,9 @@ int main(int argc, char **argv)
|
|
NICE::ColorImage orig(file);
|
|
NICE::ColorImage orig(file);
|
|
NICE::ColorImage rgb;
|
|
NICE::ColorImage rgb;
|
|
NICE::ColorImage rgb_gt;
|
|
NICE::ColorImage rgb_gt;
|
|
|
|
+
|
|
classNames.labelToRGB(lm, rgb);
|
|
classNames.labelToRGB(lm, rgb);
|
|
|
|
+
|
|
classNames.labelToRGB(lm_gt, rgb_gt);
|
|
classNames.labelToRGB(lm_gt, rgb_gt);
|
|
|
|
|
|
if (write_results)
|
|
if (write_results)
|
|
@@ -203,6 +207,7 @@ int main(int argc, char **argv)
|
|
|
|
|
|
cerr << M << endl;
|
|
cerr << M << endl;
|
|
fileno++;
|
|
fileno++;
|
|
|
|
+ cout << 7 << endl;
|
|
}
|
|
}
|
|
|
|
|
|
pb.hide();
|
|
pb.hide();
|