Page 2 of 2

Re: StereoPi Issue - Right camera input displaying magenta in hotspots

Posted: Tue Nov 02, 2021 4:22 pm
by Realizator
Okay, finally we have a fix from the Raspberry Pi Foundation!
"sudo rpi-update" doing the patch we need.
I've tested this on both stock RaspiOS and SLP2.

Re: StereoPi Issue - Right camera input displaying magenta in hotspots

Posted: Mon Aug 15, 2022 6:27 pm
by Taki
Hi guys!

I'm setting up a StereoPi V1 for based on the stereopi-0-2-3 image that worked good for me in the past. I'm using two ov5647 cameras as provided in the kit because I need the wide angle lenses but despite of rpi-update I'm still getting a magenta coloured right picture:

2022-08-15_19-57-40_3D.jpg
2022-08-15_19-57-40_3D.jpg (1.87 MiB) Viewed 13087 times
Is there any way to get the colours right? Is this related to the OS version or the cameras? I'm basically running this two lines in a script (without the first one, raspistill hangs forever):

Code: Select all

vcdbg set awb_mode 0
raspistill -3d sbs --nopreview -w 2592 -h 972 -o /media/DCIM/3D.jpg"
Any help would be very much appreciated.

Code: Select all

uname -a
Linux stereopi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

Code: Select all

cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Re: StereoPi Issue - Right camera input displaying magenta in hotspots

Posted: Thu Sep 08, 2022 8:57 am
by Realizator
Hi Taki,

The magenta issue is usually belongs to Sony sensors, but you have OV5647. I guess in your case this is the "color disbalance" issue.

I have two ideas here:
1. You can try to change the "metering mode". It defines which part of the image is used for the color detection.
2. If you have a chance to post-process your photos - StereoPhotoMaker has an option to equalize color pallettes for both images in the stereoscopic pair. I've used this a lot for winter images.

Re: StereoPi Issue - Right camera input displaying magenta in hotspots

Posted: Fri Sep 09, 2022 11:17 am
by Taki
Hi Realizator!

It's good to hear from you. I'll try your suggestions when I'm back from vacations!