Jetson Linux API 参考文档

32.7.4 版本
Argus::BayerTuple< T > 类模板参考

详细描述

template<typename T>
class Argus::BayerTuple< T >

BayerTuple 模板类。

这是一个 Tuple 特化,包含 4 个元素,对应于 Bayer 颜色通道:R、G_EVEN、G_ODD 和 B。可以使用命名方法或使用 Argus::BayerChannel 枚举的下标索引来访问值。

定义于文件 Types.h596 行。

Argus::BayerTuple< T > 的继承关系图
Argus::BayerTuple< T > 的协作图

公共成员函数

 BayerTuple ()
 
 BayerTuple (const Tuple< BAYER_CHANNEL_COUNT, T > &other)
 
 BayerTuple (T init)
 
 BayerTuple (T _r, T _gEven, T _gOdd, T _b)
 
T & r ()
 
const T & r () const
 
T & gEven ()
 
const T & gEven () const
 
T & gOdd ()
 
const T & gOdd () const
 
T & b ()
 
const T & b () const
 
bool operator== (const Tuple< N, T > &rhs) const
 当两个元组中的每个元素都相同时,返回 true。更多...
 
bool operator!= (const Tuple< N, T > &rhs) const
 如果两个元组之间存在任何差异,则返回 true。更多...
 
Tuple< N, T > & operator+= (const Tuple< N, T > &rhs)
 将另一个元组的每个元素添加到此元组的元素中。更多...
 
Tuple< N, T > & operator-= (const Tuple< N, T > &rhs)
 从此元组的元素中减去另一个元组的每个元素。更多...
 
Tuple< N, T > & operator*= (const T &rhs)
 将元组中的每个元素乘以一个值。更多...
 
Tuple< N, T > & operator/= (const T &rhs)
 将元组中的每个元素除以一个值。更多...
 
const Tuple< N, T > operator+ (const Tuple< N, T > &rhs) const
 返回将另一个元组添加到此元组的结果。更多...
 
const Tuple< N, T > operator- (const Tuple< N, T > &rhs) const
 返回从此元组中减去另一个元组的结果。更多...
 
const Tuple< N, T > operator* (const T &rhs) const
 返回将此元组乘以一个值的结果。更多...
 
const Tuple< N, T > operator/ (const T &rhs) const
 返回将此元组除以一个值的结果。更多...
 
T & operator[] (unsigned int i)
 
const T & operator[] (unsigned int i) const
 

静态公共成员函数

static unsigned int tupleSize ()
 返回元组中元素的数量。更多...
 

受保护的属性

m_data [N]
 

构造函数 & 析构函数文档

◆ BayerTuple() [1/4]

template<typename T >
Argus::BayerTuple< T >::BayerTuple ( )
inline

定义于文件 Types.h599 行。

◆ BayerTuple() [2/4]

template<typename T >
Argus::BayerTuple< T >::BayerTuple ( const Tuple< BAYER_CHANNEL_COUNT, T > &  other)
inline

定义于文件 Types.h600 行。

◆ BayerTuple() [3/4]

◆ BayerTuple() [4/4]

template<typename T >
Argus::BayerTuple< T >::BayerTuple ( _r,
_gEven,
_gOdd,
_b 
)
inline

成员函数文档

◆ b() [1/2]

template<typename T >
T& Argus::BayerTuple< T >::b ( )
inline

定义于文件 Types.h621 行。

参考 Argus::BAYER_CHANNEL_B

Argus::BayerTuple< T >::BayerTuple() 参考。

◆ b() [2/2]

template<typename T >
const T& Argus::BayerTuple< T >::b ( ) const
inline

定义于文件 Types.h622 行。

参考 Argus::BAYER_CHANNEL_B

◆ gEven() [1/2]

template<typename T >
T& Argus::BayerTuple< T >::gEven ( )
inline

定义于文件 Types.h617 行。

参考 Argus::BAYER_CHANNEL_G_EVEN

Argus::BayerTuple< T >::BayerTuple() 参考。

◆ gEven() [2/2]

template<typename T >
const T& Argus::BayerTuple< T >::gEven ( ) const
inline

定义于文件 Types.h618 行。

参考 Argus::BAYER_CHANNEL_G_EVEN

◆ gOdd() [1/2]

template<typename T >
T& Argus::BayerTuple< T >::gOdd ( )
inline

定义于文件 Types.h619 行。

参考 Argus::BAYER_CHANNEL_G_ODD

Argus::BayerTuple< T >::BayerTuple() 参考。

◆ gOdd() [2/2]

template<typename T >
const T& Argus::BayerTuple< T >::gOdd ( ) const
inline

定义于文件 Types.h620 行。

参考 Argus::BAYER_CHANNEL_G_ODD

◆ operator!=()

bool Argus::Tuple< N, T >::operator!= ( const Tuple< N, T > &  rhs) const
inlineinherited

如果两个元组之间存在任何差异,则返回 true。

定义于文件 Types.h519 行。

◆ operator*()

const Tuple<N, T> Argus::Tuple< N, T >::operator* ( const T &  rhs) const
inlineinherited

返回将此元组乘以一个值的结果。

定义于文件 Types.h569 行。

◆ operator*=()

Tuple<N, T>& Argus::Tuple< N, T >::operator*= ( const T &  rhs)
inlineinherited

将元组中的每个元素乘以一个值。

定义于文件 Types.h541 行。

◆ operator+()

const Tuple<N, T> Argus::Tuple< N, T >::operator+ ( const Tuple< N, T > &  rhs) const
inlineinherited

返回将另一个元组添加到此元组的结果。

定义于文件 Types.h557 行。

◆ operator+=()

Tuple<N, T>& Argus::Tuple< N, T >::operator+= ( const Tuple< N, T > &  rhs)
inlineinherited

将另一个元组的每个元素添加到此元组的元素中。

定义于文件 Types.h525 行。

◆ operator-()

const Tuple<N, T> Argus::Tuple< N, T >::operator- ( const Tuple< N, T > &  rhs) const
inlineinherited

返回从此元组中减去另一个元组的结果。

定义于文件 Types.h563 行。

◆ operator-=()

Tuple<N, T>& Argus::Tuple< N, T >::operator-= ( const Tuple< N, T > &  rhs)
inlineinherited

从此元组的元素中减去另一个元组的每个元素。

定义于文件 Types.h533 行。

◆ operator/()

const Tuple<N, T> Argus::Tuple< N, T >::operator/ ( const T &  rhs) const
inlineinherited

返回将此元组除以一个值的结果。

定义于文件 Types.h575 行。

◆ operator/=()

Tuple<N, T>& Argus::Tuple< N, T >::operator/= ( const T &  rhs)
inlineinherited

将元组中的每个元素除以一个值。

定义于文件 Types.h549 行。

◆ operator==()

bool Argus::Tuple< N, T >::operator== ( const Tuple< N, T > &  rhs) const
inlineinherited

当两个元组中的每个元素都相同时,返回 true。

定义于文件 Types.h513 行。

◆ operator[]() [1/2]

T& Argus::Tuple< N, T >::operator[] ( unsigned int  i)
inlineinherited

定义于文件 Types.h580 行。

◆ operator[]() [2/2]

const T& Argus::Tuple< N, T >::operator[] ( unsigned int  i) const
inlineinherited

定义于文件 Types.h581 行。

◆ r() [1/2]

template<typename T >
T& Argus::BayerTuple< T >::r ( )
inline

定义于文件 Types.h615 行。

参考 Argus::BAYER_CHANNEL_R

Argus::BayerTuple< T >::BayerTuple() 参考。

◆ r() [2/2]

template<typename T >
const T& Argus::BayerTuple< T >::r ( ) const
inline

定义于文件 Types.h616 行。

参考 Argus::BAYER_CHANNEL_R

◆ tupleSize()

static unsigned int Argus::Tuple< N, T >::tupleSize
inlinestaticinherited

返回元组中元素的数量。

定义于文件 Types.h584 行。

字段文档

◆ m_data

T Argus::Tuple< N, T >::m_data[N]
protectedinherited

定义于文件 Types.h587 行。


此类文档生成自以下文件
. All rights reserved.