libcamera  v0.5.0+40-a7994150
Supporting cameras in Linux since 2019
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
colours.h File Reference

Functions to reduce code duplication between IPA modules. More...

#include <stdint.h>
#include "libcamera/internal/vector.h"
Include dependency graph for colours.h:

Go to the source code of this file.

Namespaces

 libcamera
 Top-level libcamera namespace.
 
 libcamera::ipa
 The IPA (Image Processing Algorithm) namespace.
 

Functions

double libcamera::ipa::rec601LuminanceFromRGB (const RGB< double > &rgb)
 Estimate luminance from RGB values following ITU-R BT.601. More...
 
uint32_t libcamera::ipa::estimateCCT (const RGB< double > &rgb)
 Estimate correlated colour temperature from RGB color space input. More...
 

Detailed Description

Functions to reduce code duplication between IPA modules.