diff --git a/Examples/MAX78000/CameraIF_Debayer/main.c b/Examples/MAX78000/CameraIF_Debayer/main.c index 6dbcabb7791..723432d12fb 100644 --- a/Examples/MAX78000/CameraIF_Debayer/main.c +++ b/Examples/MAX78000/CameraIF_Debayer/main.c @@ -120,6 +120,7 @@ void process_img(void) bayer_passthrough(raw, w, h, (uint16_t *)image_data); break; case (BAYER_FUNCTION_BILINEAR): + color_correct(raw, w, h); bayer_bilinear_demosaicing(raw, w, h, (uint16_t *)image_data); break; } diff --git a/Examples/MAX78000/ImgCapture/main.c b/Examples/MAX78000/ImgCapture/main.c index 568ba42c55b..d6add4d007a 100644 --- a/Examples/MAX78000/ImgCapture/main.c +++ b/Examples/MAX78000/ImgCapture/main.c @@ -469,6 +469,7 @@ void service_console() if (g_app_settings.bayer_function == BAYER_FUNCTION_PASSTHROUGH) { bayer_passthrough(img_data.raw, img_data.w, img_data.h, (uint16_t *)bayer_data); } else if (g_app_settings.bayer_function == BAYER_FUNCTION_BILINEAR) { + color_correct(img_data.raw, img_data.w, img_data.h); bayer_bilinear_demosaicing(img_data.raw, img_data.w, img_data.h, (uint16_t *)bayer_data); } diff --git a/Examples/MAX78002/CameraIF_Debayer/main.c b/Examples/MAX78002/CameraIF_Debayer/main.c index 7c75482c185..6bfba7996fa 100644 --- a/Examples/MAX78002/CameraIF_Debayer/main.c +++ b/Examples/MAX78002/CameraIF_Debayer/main.c @@ -123,6 +123,7 @@ void process_img(void) bayer_passthrough(raw, w, h, (uint16_t *)debayered); break; case (BAYER_FUNCTION_BILINEAR): + color_correct(raw, w, h); bayer_bilinear_demosaicing(raw, w, h, (uint16_t *)debayered); break; } diff --git a/Examples/MAX78002/ImgCapture/main.c b/Examples/MAX78002/ImgCapture/main.c index b6edfe086b8..0febcec8d97 100644 --- a/Examples/MAX78002/ImgCapture/main.c +++ b/Examples/MAX78002/ImgCapture/main.c @@ -474,6 +474,7 @@ void service_console() if (g_app_settings.bayer_function == BAYER_FUNCTION_PASSTHROUGH) { bayer_passthrough(img_data.raw, img_data.w, img_data.h, (uint16_t *)bayer_data); } else if (g_app_settings.bayer_function == BAYER_FUNCTION_BILINEAR) { + color_correct(img_data.raw, img_data.w, img_data.h); bayer_bilinear_demosaicing(img_data.raw, img_data.w, img_data.h, (uint16_t *)bayer_data); }