Author Topic: Debayer configuration for Orion StarShoot G3  (Read 2387 times)

Offline Gosito

  • Newcomer
  • Posts: 2
Debayer configuration for Orion StarShoot G3
« on: 2017 April 29 08:10:19 »
HI all

I am a beginner trying to do my best in this wonderful world.
I am learning slowly but firmly (I think), but there are some questions that overpass me by far.
One of them it´s trying to debayer my fits with the CMYG script. Nothing seems to work correctly, so I would like to ask if some of you knows the best configuration of the script for the Orion StarShoot G3 Deep Space Color Camera.

Thanks a lot in advance

Jose

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Debayer configuration for Orion StarShoot G3
« Reply #1 on: 2017 April 29 09:07:55 »
Hi Jose,

I am the author of the CMYG Batch DeBayer script - although I wrote it quite a long time ago, and have not needed to use it for many years!

However, if you can please try and explain the problem(s) that you are having - in as much details as you can - I will try my best to help you.

In the meantime - I suspect that it will be in the [DeBayer Setup] section where you may be facing the biggest issue (in the main - or first - screen, all you are doing is specifying source files and a destination folder).

Don't worry - at this stage - about setting the DeBayer Parameters, just select "Theoretical_1". Also, feel free to uncheck the three default boxes in the Post Processing Actions section (they can be 'fine-tuned' later, if required).

The biggest initial challenge is to try and establish the 'orientation' of the CFA with respect to the FITS image that has been saved on your PC during image acquisition. Unfortunately, authors of image acquisition software have never agreed on any form of standard, and camera manufacturers are equally as irresponsible when it comes to their implementation of camera hardware.

Basically, if you look at the CFA Grid shown in the middle of the CFA Paramaters section, you can see a 2-column x 4-row section of the full CFA matrix. In a 'perfect world' the 'top-left' pixel of your image, once opened in PixInsight, would correspond to the "Y2" filter. The next pixel, 'to the right' (and still on the first row) would be under the "C2" array. This arrangement would continue for the remainder of the first row. Row 2 would start with a "M2" filter, followed by a "G2" filter - and so on. It should now be obvious how ow 3 and row 4 are configured.

But, in the 'real' (and 'imperfect') world this is sometimes (or, often) not the case. Your challenge is to establish the relationship between the physical CFA built-in to your imager, and 'where' that CFA appears once a downloaded image has finally been opened in PixInsight.

You can do this by setting where the 'first' row start, and where the 'first' column starts - these are the Offset values. The two check-boxes allow you to specify either an X-axis Flop, or a Y-axis Flip - these flips and flops may have to be implemented for images where, once loaded into PixInsight, the 'original' notion of the (0,0) pixel-position is not at the Top-Left location (for example, some imaging software programs save their images starting from Bottom-Left).

If you really want to get 'clever' try covering your imager with coloured film (coloured paper can also work) using Cyan, Magenta, Yellow and Green films (an excuse to find some sweets wrapped in suitable film - a pleasurable challenge for the children or grandchildren!!). Take exposures through these films (four of them) and have a look at a fully zoomed-in (pixel-level) view of each image. This can help when trying to determine the alignment of the CFA grid with respect to the stored images.

Once you have that, you should be able to process the images as normal RGB images.

As I said earlier, many of the other settings can now be ignored, as the main 'core' of PixInsight provides far more powerful ways of managing BackgroundNeutralization and ColorCorrection (which were not available at the time I wrote the script).

In the meantime, perhaps others have already worked out the CFA alignment for your CCD - I would not be surprised if the Meade DSI setting was suitable for your camera as well but, as you can see, Nebulosity (probably v2 at the time) saved data in a format that was different from that used by the Meade Envisage software.

Anyway, I hope this helps.
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline Gosito

  • Newcomer
  • Posts: 2
Re: Debayer configuration for Orion StarShoot G3
« Reply #2 on: 2017 April 29 10:08:18 »
Thank Niall for your nice reply.
It is very detailed and I must try and work on my images according the explanation.
I hope I could get a proper result.

Thanks a lot again

Jose

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Debayer configuration for Orion StarShoot G3
« Reply #3 on: 2017 April 29 14:27:48 »
Hi again Jose,

Yes - spend some time trying to work the issue out on your own and then, if you are still struggling, simply come back to this thread and add what you have found and describe your continuing problem(s) further.

We will keep trying to help you.
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline Steve_pi

  • Newcomer
  • Posts: 3
Re: Debayer configuration for Orion StarShoot G3
« Reply #4 on: 2018 October 16 17:46:24 »
I tried all 32 different combinations. The one you want for the Orion G3 is CFA X-Offset = 0, CFA Y-Offset = 1, and don't check either x-flop or y-flip. Also, Theoretical 1 works best.