StereoPi Issue - Right camera input displaying magenta in hotspots

StereoPi hardware discussion
User avatar
Realizator
Site Admin
Posts: 878
Joined: Tue Apr 16, 2019 9:23 am
Contact:

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

Post 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.
Eugene a.k.a. Realizator

Taki
Posts: 13
Joined: Tue Jun 04, 2019 4:01 pm

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

Post 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 461 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"

User avatar
Realizator
Site Admin
Posts: 878
Joined: Tue Apr 16, 2019 9:23 am
Contact:

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

Post 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.
Eugene a.k.a. Realizator

Taki
Posts: 13
Joined: Tue Jun 04, 2019 4:01 pm

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

Post by Taki »

Hi Realizator!

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

Post Reply