×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Touptek Camera Binning Mode Option: Average / Add

  • Posts: 21
  • Thank you received: 9
Hello,

I just got my new Omegon veTec 571 camera. As always when you get new astro stuff, the weather is bad.
So I played around with the camera exploing all the features. I found that the camera supports two different
binning modes: adding pixels and averaging pixels. This feature seems not to be implemented
in the INDI 3rd party driver. I had a look into the code and found a TODO comment. As I always wanted to learn
how to contribute to this outstanding project I started to implement a control for this feature.
Just for fun... and to be honest... I didn't really miss this feature ;)
But I think it is working now... if there is someone interested to test this I have forked
the repo to:

github.com/42-max/indi-3rdparty/tree/BinningAverageTest

The code adds a "Binnig Mode" control to the "Image Settings" Tab in the Indi Control Window.
If AVG is selected Binning will be calculated as an average by the camera.
If Add is selected the pixels will added as usual.

I have tested this code with a Touptek 2600 Mono and the Omegon veTec 571 color.

The driver supports many other cameras that are similar to the Touptek. There may be additional checks
in the code necessary to deal with other cameras.

Not sure if the coding is consistent with the "best practices" of this project.

I was not able to activate DEBUG logs. So I have added ERROR logs to the critical sections of the code.
This shall be fiexed.

Please post your comments if you like. I would be happy if I can contribute to this project...

CS, AstroMax
The following user(s) said Thank You: Jasem Mutlaq
1 year 10 months ago #82712

Please Log in or Create an account to join the conversation.

Thank you! To enable debug, this is done from Ekos itself (Setup screen --> logs). This is assuming you're using Ekos.

I checked the code, there are a few changes needed, but I'll comment on these once you submit a Pull-Request. Thank you for your awesome work, this is great!
1 year 10 months ago #82714

Please Log in or Create an account to join the conversation.

Time to create page: 0.397 seconds