RobboRob / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
26 stars 9 forks source link

automatic exposure, the automatic gain #2

Closed neo-dotcom closed 4 years ago

neo-dotcom commented 4 years ago

Time lapse with the high quality raspberry pi camera. First of all I would like to thank those who have rewritten Thomas' software! But what doesn't work is the automatic exposure, the automatic gain, which you have to set by hand. If you don't, the image will remain black.

DarKOrange75 commented 4 years ago

Unfortunatly I think it is an issue with the raspberry software not Thomas/Rob software. If you take a picture with raspistill, the command line used by AllSky software, AE and AG will not go as far as they should and produce a black image.

robertpascale commented 4 years ago

I found the reason why Auto Exposure does not work with the RasPi cams on long exposure.

https://github.com/raspberrypi/userland/issues/632#issuecomment-636521905

To get long exposures working, effectively preview is disabled and burst mode activated, in order to stop having to wait for excessive amounts of time for the image to be taken. During the preview is when the stats for exposure and AWB etc are generated.

So, in a nutshell, unless some major things happen under the hood, we are going to be limited. Only alternative would be to try to get the raw data and do everything yourself, but this seems like major overkill given the improvements that are likely to result wouldn't quite justify the effort.

DarKOrange75 commented 4 years ago

Thanks Robert! You rule! Bad news for us but after all I am satisfied from what I get from this camera (thanks to you) for the price I paid.

RobboRob commented 4 years ago

I have taken the auto exposure switch out of the software to avoid the confusion...