Author Topic: Wrong statistics for CFA RGB  (Read 2978 times)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Wrong statistics for CFA RGB
« on: 2011 October 09 07:12:29 »
Hi,
Module Menu > Process > Image > Statistics
The module does not understand CFA.
The module calculates statistics like for ordinary RGB image.
Features of RGB CFA ignored totally.

Best regards,
Nikolay.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Wrong statistics for CFA RGB
« Reply #1 on: 2011 October 13 22:41:13 »
No bug here. As seen by Statistics, a CFA or RGB Bayer image is just a regular image. The Statistics tool promises that the numbers you get are properties of the actual pixel data in the image, without any manipulation. So if the image has 'black holes' (as a RGB Bayer frame) then that's what you get. The same happens with the rest of image analysis tools; HistogramTransformation for example.

An important design rule in PixInsight is that the platform does not depend on hardware-specific features at the high levels. For example, the [0,1] range is the native range in PixInsight for the same reason. It is an abstract range that is independent on any particular bit depth and numeric format. This enforcement of abstract representations is one of the strongest points of the PixInsight platform.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: Wrong statistics for CFA RGB
« Reply #2 on: 2011 October 14 02:19:14 »
Understand.
Thanks.