[Elphel-support] auto exposure on multi sensor setup & binning question.

2017-05-31 Thread Mikhail Karpenko
Hello Jorick,

As Andrey has already pointed out, you probably have old version of
firmware. Here is a link to newer version of camera firmware with up-to-day
camogm from our source tree:
https://wiki.elphel.com/wiki/Tmp_manual#Firmware_images
The zip archive contains a file with instructions on how to upgrade
firmware.

Regards,
Mikhail Karpenko
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


Re: [Elphel-support] auto exposure on multi sensor setup & binning question.

2017-05-31 Thread Elphel Support
 
  Hi,
  Currently we are testing a panoramic NC393 camera and are having problems 
with the auto exposure on multiple image sensors. 
  
  When there is half shadow, half bright light in the collective images. 
The image is dark on the shadow part. Does autoexposure apply globally or 
should every sensor apply it's own autoexposure settings?

Jorick, with the limited dynamic range of the small format sensors it is a 
challenge to capture maximal data from the image, and there is no universal 
fits-all set of autoexposure parameters. We probably need to create some 
tutorial about it.

The overall strategy is to keep maximal data from each channel - EXIF data in 
each image contains acquisition settings so it is possible  to match individual 
channels after acquisition - that just may require more than 8-bit of the 
intensity for the intermediate data.

Each channel operates it autoexposure independently, so the output may not 
match in raw form - it needs post-processing. For example channels can be  
combined in a single 16-bit per color panorama and then high-pass filter (with 
low cutoff frequency ~ 1/2000 pix) applied to reduce difference between bright 
and dark parts of the panorama.


  What would be a way to get a more balanced exposure?

There are multiple parameters that control autoexposure, the main are window, 
level and fraction. The daemons (1 per each of the 4 channels) builds 
histograms for all pixels inside the selected rectangular area, and then 
calculates required exposure so the specified fraction of all pixels have 
values below the specified level.

Default settings are for images where there are no very bright objects (like 
the Sun) in the field of view, so if the camera is pointed there the picture 
will become all dark. If you change the fraction to say 95%, then up to 5% of 
the pixels are allowed to be above the level - that level does not have to be 
very high, so exceeding it do not mean necessarily overexposure. Camvc program 
allows you to adjust this pair (fraction/level) graphically. You can turn off 
autoexposure, set it manually to the desired level and then move slider for the 
fraction - level value will be adjusted to match it.

  Second question, is binning supported and do we have to do any aditional 
steps for this? We'd like to reduce the resolution while still using the whole 
sensor. When I set it to 1/2 Horizontally and 1/2 Vertically, the output gets 
corrupted.

Binning is supported, it should all be the same as in the 353 camera. Can you 
please describe precisely how you've got corrupted images, we will try to 
reproduce (and address) the problem.

On the other hand, binning and decimation are not r3eally good in any of the 
color mosaic sensors as these modes reduce resolution more than twice. Because 
of the Bayer mosaic (1 row):
R1 G1 R2 G2 R3 G3 R4 G4

R1 will be merged with R2, R3 - with R4 and similar G1 with G2:
R1+R2, G1+G2, R3+R4, G3+G4, ...
 
  
  
  Also we have a problem in the Camogm recording application, we use fast 
recording (without partition).
  When I press record, I get a warning about a buffer underrun. If click 
away the message, recording starts and the buffers stay full.
  When I forget to OK the warning, the elphel becomes unresponsive on the 
http interface after a while and it looks if the recording task hangs. 
  
  A reboot doesn't work as it never reboots, we had to power off the camera 
to get it going again. After reboot the recording is lost from what I see.

What firmware version do you have ? There were many changes in camogm earlier 
this year.

Andrey





___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com


[Elphel-support] auto exposure on multi sensor setup & binning question.

2017-05-31 Thread Jorick Astrego

Hi,

Currently we are testing a panoramic NC393 camera and are having 
problems with the auto exposure on multiple image sensors.

When there is half shadow, half bright light in the collective images. 
The image is dark on the shadow part. Does autoexposure apply globally 
or should every sensor apply it's own autoexposure settings?

What would be a way to get a more balanced exposure?

Second question, is binning supported and do we have to do any aditional 
steps for this? We'd like to reduce the resolution while still using the 
whole sensor. When I set it to 1/2 Horizontally and 1/2 Vertically, the 
output gets corrupted.


Also we have a problem in the Camogm recording application, we use fast 
recording (without partition).

When I press record, I get a warning about a buffer underrun. If click 
away the message, recording starts and the buffers stay full.

When I forget to OK the warning, the elphel becomes unresponsive on the 
http interface after a while and it looks if the recording task hangs.

A reboot doesn't work as it never reboots, we had to power off the 
camera to get it going again. After reboot the recording is lost from 
what I see.





  
Met vriendelijke groet,
With kind regards,

Jorick Astrego


           
                   
               
    THE IDIOT COMPANY  
    Staalsteden 4-3A
 7547 TA Enschede 
 The Netherlands    +31 (0)53 20 30 275
 i...@theidiotcompany.eu
 WWW.THEIDIOTCOMPANY.EU   
    
    
  
                    
___
Support-list mailing list
Support-list@support.elphel.com
http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com