OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::cudev::GlobPtr< T > 結構模板參考

結構體類似於 cv::cudev::GlobPtrSz,但只包含一個指標和行步長。更多...

#include <opencv2/cudev/ptr2d/glob.hpp>

cv::cudev::GlobPtr< T > 的協作圖

公共型別

typedef int index_type
 
typedef T value_type
 

公共成員函式

__device__ __forceinline__ T & operator() (int y, int x)
 
__device__ __forceinline__ const T & operator() (int y, int x) const
 
__device__ __forceinline__ T * row (int y)
 
__device__ __forceinline__ const T * row (int y) const
 

公共屬性

T * data
 
size_t step
 兩個連續行之間的位元組步長。步長始終以位元組為單位儲存在任何地方!!!
 

詳細描述

template<typename T>
結構體 cv::cudev::GlobPtr< T >

結構體類似於 cv::cudev::GlobPtrSz,但只包含一個指標和行步長。

出於效能原因,寬度和高度欄位被排除。此結構體旨在供內部使用或供編寫裝置程式碼的使用者使用。

成員 Typedef 文件

◆ index_type

template<typename T >
int cv::cudev::GlobPtr< T >::index_type

◆ value_type

template<typename T >
T cv::cudev::GlobPtr< T >::value_type

成員函式文件

◆ operator()() [1/2]

template<typename T >
__device__ __forceinline__ T & cv::cudev::GlobPtr< T >::operator() ( int y,
int x )
inline
此函式的呼叫圖如下

◆ operator()() [2/2]

template<typename T >
__device__ __forceinline__ const T & cv::cudev::GlobPtr< T >::operator() ( int y,
int x ) const
inline
此函式的呼叫圖如下

◆ row() [1/2]

template<typename T >
__device__ __forceinline__ T * cv::cudev::GlobPtr< T >::row ( int y)
inline

◆ row() [2/2]

template<typename T >
__device__ __forceinline__ const T * cv::cudev::GlobPtr< T >::row ( int y) const
inline

成員資料文件

◆ data

template<typename T >
T* cv::cudev::GlobPtr< T >::data

◆ step

template<typename T >
size_t cv::cudev::GlobPtr< T >::step

兩個連續行之間的位元組步長。步長始終以位元組為單位儲存在任何地方!!!


此結構體的文件生成自以下檔案