Debayer issue when connecting to Seestar via Alpaca
#79 aberto em 16 de out. de 2025
Métricas do repositório
- Stars
- (210 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Describe the bug I found a issue with ASCOM camera. When I connect a camera that is not in RGGB bayer format, such as GRBG, to NINA via ASCOM and expose the image, the color is incorrect after debayering.
Then I reviewed the NINA source code and I believe there is an issue with the implementation here.
Since ASCOM's SensorType definition only has the RGGB category, the SensorType property interface in NINA's AscomCamera.cs should be combined with BayerOffsetX and BayerOffsetY to determine the final SensorType in NINA.
So I believe the code should be modified as follows.
Alternatively, modifications can be made with reference to the ASCOM development documentation.
After making these modifications, recompiling, and running NINA, the image colors from a GRBG Bayer format camera connected via ASCOM now display correctly.
I hope this bug can be fixed as soon as possible. Thank you for your attention.