Go to advanced search

by Realizator
Tue Nov 23, 2021 9:59 am
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

6by9, I tried to do this kind of update for 5.4.x and 5.10.63-v7l+ kernels, and in both cases I see "recovery.elf not found" and "firmware not found, error 00000004". I will be pleased if you could share any tips on this.
by Realizator
Tue Nov 02, 2021 2:10 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

therealdavidp thank you! Quick report: sudo rpi-update do fix the magenta issue for the raspistill! I'll try to check the video for all camera modules I have. UPD> Is this possible to use the "minimalistic" update like replacing the VPU binary in the /boot? Or the full rpi-update is a must?
by Realizator
Mon Nov 01, 2021 8:26 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

.... But in the first instance we probably need to reproduce the problem for ourselves, so I think that's our first goal. I found a way to reproduce the issue with the regular light source. Adding the "-ex verylong" option to raspistill gets the magenta effect for the regular ceiling ligh...
by Realizator
Mon Nov 01, 2021 8:21 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

... If you edit RaspiVid.c to add at or around https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/raspicam/RaspiVid.c#L1523 mmal_port_parameter_set_uint32(camera->control, MMAL_PARAMETER_CAMERA_ISP_BLOCK_OVERRIDE, 4); that should disable lens shading totally. ... I rec...
by Realizator
Sat Oct 30, 2021 6:47 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

Hi Jack, I did a few shots using a couple of HQ cameras with AWB off and manual R and B gains. I used these commands: raspistill -3d sbs -awb off -awbg 1.0,1.0 -w 1920 -h 1080 -o /mnt/DCIM/awbg-1-0-1-0.jpg raspistill -3d sbs -awb off -awbg 2.0,1.0 -w 1920 -h 1080 -o /mnt/DCIM/awbg-2-0-1-0.jpg raspis...
by Realizator
Fri Oct 29, 2021 9:07 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

6by9, thank you for your suggestion. I'll try to test the system with the "fixed" lens shading. As for the issue reproduction - you need sunlight or a very bright light source. In my case, it's a 500W lamp :) If you get a chance to create the test firmware you mention - I will be glad to t...
by Realizator
Fri Oct 29, 2021 1:30 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

upd> I've uploaded a few HQ photos and one video (see HQ folder). Since I have a stereoscopic setup it's hard for me to catch the video magenta effect for HQ. But it is visible in the photo. For anyone using a pair of HQ cams, can you force the effect to go away, or switch to the other camera, by tw...
by Realizator
Fri Oct 29, 2021 11:07 am
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

Hi Therealdavidp, Thank you for your time and attention to this issue! I've uploaded a few more photos and videos. details.txt file is updated too. So no immediate solutions, sadly, but here are some things we might try, perhaps they could shed some light on the situation. Is the effect only in stil...
by Realizator
Thu Oct 28, 2021 7:52 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

You can find 3 images in this Gdrive folder . I also put the command lines used to get these images to the details.txt file. It's not a configuration that we're putting a large amount of support into at present. I know, raspivid/still will be replaced by libcamera-xxx apps soon. :) But: - (rumored?)...
by Realizator
Thu Oct 28, 2021 1:45 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

I've tested a lot of settings to fix this effect. The simplest way so far is to set -ev in the range from -7 to -13 . This does not affect the photos without the overlighted areas but fixes all magenta issues with bright spots (sun, lamp, etc.) Another way is to limit the shot time by -t 100 or -t 2...
by Realizator
Thu Oct 21, 2021 9:29 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Re: Magenta cast for overexposed regions (stereoscopic mode)

6by9, I did some analysis of this issue. It looks like for any overexposed point with high R and B the green channel is reduced by 10-20%, but should be as high as R and B. I.e. G is the only channel affected. To check my idea, I plaid with ImageMagick to do a simple fix. It work's okay for all mage...
by Realizator
Wed Oct 06, 2021 3:32 pm
Forum: Camera board
Topic: Magenta cast for overexposed regions (stereoscopic mode)
Replies: 24
Views: 1122

Magenta cast for overexposed regions (stereoscopic mode)

For the CM3 and CM4-based systems, we have a bug when overexposed parts of a stereoscopic image are filled with magenta (IMX219 and IMX477 are affected, OV5647 is not). https://forum.stereopi.com/download/file.php?id=229 I know this issue has been already discussed here and here with a lot of detail...
by Realizator
Fri Apr 09, 2021 6:36 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 201
Views: 98306

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

I was pointed to this thread by a colleague, sorry it has not been replied to. A possible cause for this might be replacing the AWB algorithm with a new in-house implementation. I do not believe the new algorithm accounts for (or been tested with) stereo setups. If this is indeed the case, you can ...
by Realizator
Wed Aug 19, 2020 10:39 am
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 201
Views: 98306

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

We have a repeatable bug with the magenta coloring of the very bright image parts on the slave camera in the stereoscopic setup. This bug is repeatable with: 1. V2 official camera, HQ official camera, IMX219-based cameras from other manufacturers. 2. This bug exists for both old firmware (old AWB al...
by Realizator
Fri May 01, 2020 1:20 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 201
Views: 98306

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

As for the brand new Raspberry Pi High Quality Camera - if it has some caveats for the stereoscopic mode? If RPi's GPU will allow us to capture 2x12 = 24 Mpix stereoscopic images? Do we need to fix dt-blob? Also one more question - if "LED" line on CSI-2 still unused? (or on this module i...
by Realizator
Thu Apr 30, 2020 3:02 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 201
Views: 98306

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

... With stereo mode off it works at all resolutions. With side-by-side and works at all widths that are multiples of 32 (as noted in the rules at start of thread even if not 32 aligned generates frame with garbage) and any height. .... Sorry, not really got time to test things out at present. Does...
by Realizator
Thu Apr 30, 2020 1:31 pm
Forum: Camera board
Topic: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).
Replies: 201
Views: 98306

Re: Stereoscopic camera capture (for COMPUTE MODULE) - now implemented (2014).

As for the brand new Raspberry Pi High Quality Camera - if it has some caveats for the stereoscopic mode? If RPi's GPU will allow us to capture 2x12 = 24 Mpix stereoscopic images? Do we need to fix dt-blob? Also one more question - if "LED" line on CSI-2 still unused? (or on this module it...
by Realizator
Fri Apr 17, 2020 5:17 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

Are you using both 5V pins (and two grounds) as power inputs, or just one? I'm fairly sure -- as in, I'm sure I've seen something to this effect around here before -- that one is not quite enough, especially if the conductors are thin. You get enough of a voltage drop to cause trouble. No idea why ...
by Realizator
Fri Apr 17, 2020 5:01 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

Maybe you have also other parameters set that are not default and under-clock your rpi; try this script and see all: no3rpi, thank you for your advice! You see, we always got for old and new firmware: root@cosmostreamer:~# vcgencmd get_throttled throttled=0x50005 Tested with several power sources, ...
by Realizator
Fri Apr 17, 2020 3:58 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

Ok, we dig this out and try to set frequency manually, using config.txt. "h264_freq=500" does not change anything. But with "gpu_freq=600" we have: root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=240007328 root@cosmostreamer:~# vcgencmd measure_clock core frequenc...
by Realizator
Fri Apr 17, 2020 3:42 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

This system works without GUI as embedded device, and main load is h264 encode/decode. May be this is a reason of this low core frequency. Still on your old test firmware, h264 freq it is high compared with test on new firmware. Hmmm... You a right. The frequencies are vice-versa for h264 and core....
by Realizator
Fri Apr 17, 2020 3:32 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

no3rpi wrote:
Fri Apr 17, 2020 3:13 pm
Excuse my intervention but your h264 freq look low; is your RPI on stand by when you run the command ?
This system works without GUI as embedded device, and main load is h264 encode/decode. May be this is a reason of this low core frequency.
by Realizator
Fri Apr 17, 2020 3:18 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

We have a stable behavior with this: root@cosmostreamer:/# vcgencmd version Sep 24 2019 17:36:31 Copyright (c) 2012 Broadcom version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start_x) root@cosmostreamer:/boot# uname -a Linux cosmostreamer 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 ...
by Realizator
Fri Apr 17, 2020 1:59 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

...and the tests for the old firmware: root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=200008304 root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=199995120 root@cosmostreamer:~# vcgencmd measure_clock core frequency(1)=199995120 root@cosmostreamer:~# vcgencmd measure_clo...
by Realizator
Fri Apr 17, 2020 1:38 pm
Forum: Advanced users
Topic: Common firmware testing
Replies: 66
Views: 10437

Re: Common firmware testing

With the new firmware: root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=200008304 root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=199995120 root@cosmostreamer:~# vcgencmd measure_clock h264 frequency(28)=200008304 root@cosmostreamer:~# vcgencmd measure_clock h264 frequ...

Go to advanced search