aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
219 stars 35 forks source link

Query/request on ADU phrasing for field in settings tab #1408

Open ikeysolomon opened 1 month ago

ikeysolomon commented 1 month ago

G'day,

Looking at settings yesterday because I have a new camera. I noticed that the phrasing of the field for target ADU day and night may not be entirely intuitive. I see that the default setting is 75, however if this was wholus bolus 75 ADU it wouldn't produce any significant results to my mind. So I am thinking what is meant is target 75% of the histogram, rather than 75 ADU. If I am correct what I am proposing is a change with words to the effect of: Target % of the histogram (default 75%).

Apologies if I have entirely missed the boat on this. Thanks again, Sam

Brisbane, Australia.

aaronwmorris commented 1 month ago

You are right, it is not entirely clear, but 75 is the correct number. However, this is an 8-bit ADU, therefore the max value is 255. This would make it ~30% of the histogram. ADU might not be precisely the correct term.

I will update the description to indicate the range of values.

I know most people express ADU as a 16-bit integer, the unfortunate reality is this is not unanimous with all camera vendors. One of the problems I ran into in the early development of indi-allsky was dealing with value ranges. Almost all of the more well respected brands express image data with a full 16-bit range. Even a 12-bit camera would express a maximum value of 65535. Unfortunately, some of the newer vendors drivers would return 12-bit camera data with a maximum value of 4095 (10-bit with 1023, and so on).

For many of the users, trying to explain the intricacies of 8, 10, 12, etc bits is a bit much. I just stuck with the 8-bit range for the brightness target.