Author Topic: Debayering problem  (Read 2519 times)

Offline cuivenion

  • Newcomer
  • Posts: 47
Debayering problem
« on: 2020 January 08 15:08:31 »
Hi, Pixinsight can't find the right pattern to debayer my canon 600d files. When I leave it in auto I get an error message. When I choose RGGB the colours are wrong. This isn't a problem that can be solved by DBE and colour balancing.

I found a workaround where a split my final image into RBG components and then re combine until I get the correct colours. Obviously this isn't ideal though. Any help would be appreciated.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Debayering problem
« Reply #1 on: 2020 January 08 15:09:35 »
what program did you use to capture the files? what file format are they in?

rob

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Debayering problem
« Reply #2 on: 2020 January 08 15:11:00 »
sorry, forgot about the fact that 600D is one of the cameras suffering from a LibRaw issue. see this thread for the solution:

https://pixinsight.com/forum/index.php?topic=14219.0

rob

Offline cuivenion

  • Newcomer
  • Posts: 47
Re: Debayering problem
« Reply #3 on: 2020 January 08 15:12:20 »
Backyard EOS, I converted them to XSIF from CR2 for stacking and pre processing in Pixinsight.

Offline cuivenion

  • Newcomer
  • Posts: 47
Re: Debayering problem
« Reply #4 on: 2020 January 08 15:15:34 »
That looks like it might be causing the problem, Thanks for the link.

Offline bulrichl

  • PixInsight Guru
  • ****
  • Posts: 524
Re: Debayering problem
« Reply #5 on: 2020 January 09 03:02:35 »
When using Canon's raw format CR2, there is no modification of the data by the capturing software. So Backyard EOS does not change the data in any form.

However, there is an old issue with the Batch FormatConversion script (also see https://pixinsight.com/forum/index.php?topic=12228.15 , reply #15) that will prevent the Debayer tool from working with the Bayer/mosaic pattern set to 'Auto':

BatchFormatConversion does not write properties to the file. This means, that the information about the Bayer/mosaic pattern is missing in the converted file. Debayer then generates the error message: "*** Error: Unable to acquire CFA pattern information: Required image metadata not available.".

I reported this issue to Juan on 3rd January 2020 and he replied that he will fix this issue as soon as possible.

Bernd

Offline cuivenion

  • Newcomer
  • Posts: 47
Re: Debayering problem
« Reply #6 on: 2020 January 12 10:25:01 »
Cheers for that, it all makes sense now.

Offline bulrichl

  • PixInsight Guru
  • ****
  • Posts: 524
Re: Debayering problem
« Reply #7 on: 2020 January 15 04:09:45 »
However, there is an old issue with the Batch FormatConversion script (also see https://pixinsight.com/forum/index.php?topic=12228.15 , reply #15) that will prevent the Debayer tool from working with the Bayer/mosaic pattern set to 'Auto':

BatchFormatConversion does not write properties to the file. This means, that the information about the Bayer/mosaic pattern is missing in the converted file. Debayer then generates the error message: "*** Error: Unable to acquire CFA pattern information: Required image metadata not available.".

This issue is now fixed with PixInsight 1.8.8-4 and the updated BatchFormatConversion script version 1.4.0. If you convert CR2 files to XISF and later on debayer them, setting of bayer/mosaic pattern to 'AUTO' now yields the correct debayer result.

Bernd