Go Back   IceInSpace > Equipment > Software and Computers

Thread Tools Rate Thread
Old 06-02-2019, 01:58 AM
Astrofriend's Avatar
Astrofriend (Lars)
Registered User

Astrofriend is offline
Join Date: Aug 2017
Location: Stockholm, Sweden
Posts: 176
Bayer pattern test image

I normally using the AstroImageJ software when doing the first steps in my preparing of astrophotos. My camera is a Canon EOS 6D, it has a normal singel color sensor with Bayer pattern filter.

There are a lot of different Bayerpattern, Canon normally has the filter order RGGB. In my case I read out the overscan region of sensor and then maybe the start pixel position can be at another color filter.

Sometimes I feel it's a bit hard to bring out the color in the following steps. So I had to test that I didn't mixed up the Bayer pattern when I created the macro that do the demosaicing.

To test this I made a RGB color test pattern image and took photos of it. Then demosaicing the CFA image to get 4 new images Red, Green1, Grenn2 and Blue, each 1/4 of the original size.

From these images I easy see if the demosaicing is done correct.

If it's interesting read about more details I have put together a page over what I do when testing the demosaicing function:

What result did I get? It was correct so I don't have to worry about that as long I keep my Canon camera.

Reply With Quote


bayer, bayer filter, debayer, demosaic, rgb color

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +10. The time is now 06:11 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Meade Australia
NexDome Observatories
SkyWatcher Australia
Lunatico Astronomical
OzScopes Authorised Dealer
Astronomy and Electronics Centre