isbeorn/nina

Debayer issue when connecting to Seestar via Alpaca

オープン

#79 opened on 2025/10/16

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (104 件のフォーク)auto 404
buggood first issue

Repository metrics

Stars
 (210 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド