libcamera
v0.7.2
Supporting cameras in Linux since 2019
Toggle main menu visibility
Loading...
Searching...
No Matches
colours.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-2-Clause */
2
/*
3
* Copyright (C) 2024, Ideas on Board Oy
4
*
5
* libipa miscellaneous colour helpers
6
*/
7
8
#pragma once
9
10
#include <stdint.h>
11
12
#include "
libcamera/internal/vector.h
"
13
14
namespace
libcamera
{
15
16
namespace
ipa
{
17
18
double
rec601LuminanceFromRGB
(
const
RGB<double>
&rgb);
19
uint32_t
estimateCCT
(
const
RGB<double>
&rgb);
20
21
}
/* namespace ipa */
22
23
}
/* namespace libcamera */
libcamera::ipa
The IPA (Image Processing Algorithm) namespace.
Definition
af.cpp:58
libcamera::ipa::rec601LuminanceFromRGB
double rec601LuminanceFromRGB(const RGB< double > &rgb)
Estimate luminance from RGB values following ITU-R BT.601.
Definition
colours.cpp:32
libcamera::ipa::estimateCCT
uint32_t estimateCCT(const RGB< double > &rgb)
Estimate correlated colour temperature from RGB color space input.
Definition
colours.cpp:59
libcamera
Top-level libcamera namespace.
Definition
backtrace.h:17
libcamera::RGB
Vector< T, 3 > RGB
A Vector of 3 elements representing an RGB pixel value.
Definition
vector.h:318
vector.h
Vector class.
src
ipa
libipa
colours.h
Generated by
1.18.0