×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Test for a color camera

  • Posts: 1
  • Thank you received: 1
Good morning,

Someone suggested that I can detect a color vs mono camera by checking for the existence of CCD_CFA. It appears to work, but I was wondering if there are other ways?

Thank you!
The following user(s) said Thank You: Jasem Mutlaq
2 months 1 week ago #86385

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

You can also check the camera capability. This checks for BAYER though, not necessary color (which can be RGB i.e. 3 channels).

bool isBayer = (getCCDCapability() & CCD_HAS_BAYER);
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
2 months 1 week ago #86386

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

Time to create page: 0.318 seconds