aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py4
-rw-r--r--apps/CameraITS/tests/scene1/test_yuv_plus_raw.py2
-rw-r--r--apps/CameraITS/tests/scene1/test_yuv_plus_raw10.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py b/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py
index 305d42e..7841b36 100644
--- a/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py
+++ b/apps/CameraITS/tests/scene1/test_yuv_plus_jpeg.py
@@ -37,12 +37,12 @@ def main():
cap_yuv, cap_jpeg = cam.do_capture(req, [fmt_yuv, fmt_jpeg])
- img = its.image.convert_capture_to_rgb_image(cap_yuv)
+ img = its.image.convert_capture_to_rgb_image(cap_yuv, True)
its.image.write_image(img, "%s_yuv.jpg" % (NAME))
tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
rgb0 = its.image.compute_image_means(tile)
- img = its.image.convert_capture_to_rgb_image(cap_jpeg)
+ img = its.image.convert_capture_to_rgb_image(cap_jpeg, True)
its.image.write_image(img, "%s_jpeg.jpg" % (NAME))
tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
rgb1 = its.image.compute_image_means(tile)
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py b/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py
index 3e4ee68..1d71626 100644
--- a/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py
+++ b/apps/CameraITS/tests/scene1/test_yuv_plus_raw.py
@@ -37,7 +37,7 @@ def main():
cap_raw, cap_yuv = cam.do_capture(req, cam.CAP_RAW_YUV)
img = its.image.convert_capture_to_rgb_image(cap_yuv)
- its.image.write_image(img, "%s_yuv.jpg" % (NAME))
+ its.image.write_image(img, "%s_yuv.jpg" % (NAME), True)
tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
rgb0 = its.image.compute_image_means(tile)
diff --git a/apps/CameraITS/tests/scene1/test_yuv_plus_raw10.py b/apps/CameraITS/tests/scene1/test_yuv_plus_raw10.py
index ad0ee01..dd3cb58 100644
--- a/apps/CameraITS/tests/scene1/test_yuv_plus_raw10.py
+++ b/apps/CameraITS/tests/scene1/test_yuv_plus_raw10.py
@@ -37,7 +37,7 @@ def main():
cap_raw, cap_yuv = cam.do_capture(req,
[{"format":"raw10"}, {"format":"yuv"}])
- img = its.image.convert_capture_to_rgb_image(cap_yuv)
+ img = its.image.convert_capture_to_rgb_image(cap_yuv, True)
its.image.write_image(img, "%s_yuv.jpg" % (NAME))
tile = its.image.get_image_patch(img, 0.45, 0.45, 0.1, 0.1)
rgb0 = its.image.compute_image_means(tile)