Hello!
I ran a few tests yesterday as requested. Let me show you the results for the camera switch request;
"To confirm this hypothesis, can you please do one more test, and do a software switch of the cameras. To do this, add the "-cs 1" option to your capturing code. I.e. for your "raspistill -3d sbs -w 1920 -h 1080 -o newtest.jpg" try to run "raspistill -cs 1 -3d sbs -w 1920 -h 1080 -o newtest.jpg"
In this case, your magenta color effect should "jump" to another camera."
The same setup as before for the first set;
StereoPi
SainSmart 200 degree FoV - SONY IMX219 - CMOS 1/4 Inch - 3280x2464 - Focal length 0.87mm - Aperture (F):2
CMS3+ lite
SD Card
Raspberry Pi OS 4.17 with the device tree blob
The first test showed similar results.
In the first frame, Magenta in the right image and purple spots or purple haze in the highlights.
Capture Command: raspistill -mm matrix -ag 1 -dg 1 -ev 0 -drc high -3d sbs -q 100 -r -set -w 1920 -h 1080 -o newsettings22.jpg
.
.
- ATF-StereoPi-Tests---newsettings22.jpg (473.49 KiB) Viewed 23386 times
.
.
.
The second frame of the first test the magenta moved to the left, BUT the purple spots and haze in the highlights did not change.
Capture Command: raspistill -cs 1 -mm matrix -ag 1 -dg 1 -ev 0 -drc high -3d sbs -q 100 -r -set -w 1920 -h 1080 -o newsettings23.jpg
.
.
- ATF-StereoPi-Tests---newsettings23.jpg (476.08 KiB) Viewed 23386 times
.
.
.
The next test first image shows a similar problem with the magenta but somehow the purple spots are barely visible:
Capture Command: raspistill -3d sbs -mm matrix -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo2.jpg
.
.
- ATF-StereoPi-Tests---photo2.jpg (1.63 MiB) Viewed 23386 times
.
.
.
The second frame shows the magenta has moved to the left. No change in barely visible spots on right.
Capture Command: raspistill -cs 1 -3d sbs -mm matrix -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo3.jpg
.
.
- ATF-StereoPi-Tests---photo3.jpg (1.7 MiB) Viewed 23386 times
.
.
.
In this next test I tried some adjustments to the command line parameters for raspistill. By modifying the meter mode (-mm) and setting it to spot instead of matrix. The results were far better than any of the other images so far. The magenta was still in the right image, but it was much reduced.
Capture Command: raspistill -3d sbs -mm spot -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo8.jpg
.
.
- ATF-StereoPi-Tests---photo8.jpg (1.38 MiB) Viewed 23386 times
.
.
.
The second frame of this test shows the magenta move to the left side, but no visible blow outs in the right.
raspistill -cs 1 -3d sbs -mm spot -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo9.jpg
.
.
- ATF-StereoPi-Tests---photo09.jpg (1.38 MiB) Viewed 23386 times
.
.
.
In this next test I tried some adjustments to the command line parameters for raspistill and used -mm matrix for these two images. The magenta was heavy in the right image and the purple haze is pronounced in the highlights.
Capture Command: raspistill -3d sbs -mm matrix -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo10.jpg
.
.
- ATF-StereoPi-Tests---photo10.jpg (1.5 MiB) Viewed 23386 times
.
.
.
The second frame of this test shows the magenta move to the left side, but the purple haze remains in the highlights on the right.
Capture Command: raspistill -cs 1 -3d sbs -mm matrix -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo11.jpg
.
.
- ATF-StereoPi-Tests---photo11.jpg (1.5 MiB) Viewed 23386 times
.
.
.
At this point, I decided to try another completely different set of the cameras. The images below all use the same model that I acquired of the SainSmart from the same vendor.
.
.
.
With the cameras swapped out, I noticed that the new set of cameras has far less of a magenta cast issue. It's still there but it's not as pronounced as the other camera set. I have _no_ idea why this true. In this test I tried some adjustments to the command line parameters for raspistill and used -mm average for these two images. The magenta was much lighter in the right image but the purple haze is still pronounced in the highlights.
Capture Command: raspistill -3d sbs -mm average -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo12.jpg
.
.
- ATF-StereoPi-Tests---photo12.jpg (1.53 MiB) Viewed 23386 times
.
.
.
The second frame of this test shows the magenta move to the left side, but the purple haze remains in the highlights on the right.
Capture Command: raspistill -cs 1 -3d sbs -mm average -ag 1 -dg 1 -ev 0 -drc high -q 100 -r -set -w 5184 -h 1952 -o photo13.jpg
.
.
- ATF-StereoPi-Tests---photo13.jpg (1.53 MiB) Viewed 23386 times
.
.
So it seems that there are two issues:
1. A magenta cast is covering the image in the camera that is receiving settings from the host camera.
2. In the right camera, the highlights are blown out and change to purple dots or a purple haze regardless of using the -cs (camera selection) command.
Hope this helps and I labeled everything correctly.
A
P.S. I wish I could clean the windows on the outside. Ha!