isbeorn/nina

Debayer issue when connecting to Seestar via Alpaca

開放

#79 建立於 2025年10月16日

 (1 則留言) (0 個反應) (0 位負責人)C# (104 個分叉)auto 404
buggood first issue

倉庫指標

星標
 (210 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南