summaryrefslogtreecommitdiff
path: root/compute.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compute.cc')
-rw-r--r--compute.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compute.cc b/compute.cc
index 671756b..d19f236 100644
--- a/compute.cc
+++ b/compute.cc
@@ -306,10 +306,10 @@ Mat compute_mosaic(vector<Mat> & frames,
direction,
&length);
explore_path(downscaled[i], path);
- Mat mosaic = stitch_path(downscaled[i], path);
+ Mat mosaic = cspace4c_to_rgb(stitch_path(downscaled[i], path));
char buf[200];
sprintf(buf, "temp-%d.png", i);
- imwrite(buf, mosaic * 255);
+ imwrite(buf, mosaic);
paths[i] = path;
mosaics[i] = mosaic;
fprintf(stdout, "Length at scale level %d = %.3le\n", i, length);