×

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

Bi-monthly release with minor bug fixes and improvements

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
1 year 6 months 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);
1 year 6 months ago #86386

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

Time to create page: 0.289 seconds