Author Topic: CFA and Bayer nomenclature ambiguity.  (Read 2491 times)

Offline Buzz

  • PixInsight Enthusiast
  • **
  • Posts: 80
    • The Astrophotography Manual - support
CFA and Bayer nomenclature ambiguity.
« on: 2016 June 13 23:31:54 »
I think I am right in saying that some of the semantics regarding CFA and Bayer are a little confusing in some of the tool options.

As I understand it, there are two Bayer options; Bayer CFA and Bayer RGB in the DSLR_RAW setup. The BPP Script works on either as long as the 'CFA' option is checked. Shouldn't that read 'Bayer' option?
Likewise - in the format hints - when we refer to CFA in the hint - do we really mean Bayer, since the calibration tools can work with either Bayer RGB or Bayer CFA files?

To make it more confusing, CFA is also a generic term used to describe the sensor system... so maybe Bayer RGB and Bayer CFA should read Bayer RGB and Bayer Mono??
regards
Chris

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: CFA and Bayer nomenclature ambiguity.
« Reply #1 on: 2016 June 14 12:59:58 »
when you say "BPP works on either" do you mean that if you feed in Bayer CFA or Bayer RGB files (instead of CR2 or NEF files) the script still works properly?

i guess the reason it's called CFA is that if you start with a CR2 or NEF, you get CFA fits/xisf files out of the tool. maybe CFA is meant to both simultaneously indicate that the incoming data is in bayer format and indicate what intermediate format is used after conversion by DCRAW?

rob


Offline Buzz

  • PixInsight Enthusiast
  • **
  • Posts: 80
    • The Astrophotography Manual - support
Re: CFA and Bayer nomenclature ambiguity.
« Reply #2 on: 2016 June 14 13:11:07 »
yes - I was researching and experimenting so that I can write it up in a succinct manner. I soon ran into the problem that when describing what to do and why - the words on the page seemed to contradict themselves when I quoted the options names in the various tools.
regards
Chris

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: CFA and Bayer nomenclature ambiguity.
« Reply #3 on: 2016 June 14 14:18:29 »
Chris

The way I look at the use of Bayer CFA is that it means 'gray' . The sensor captures the data using a filter matrix and that raw data is addressed as separate channels, not combined, not interleaved but 3 color channels captured. Bayer RGB is that same filtered sensor data now interleaved to produce an single presented color image. Mono to me is data captured for a sensor that has no matrix filter so all pixels make up the entire image without any interleaving.


Mike