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

可共享的智慧CUDA紋理物件 更多...

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

cv::cudev::Texture< T, R > 的協作圖

公共成員函式

 Texture ()=default
 
__host__ Texture (const int rows_, const int cols_, T *data, const size_t step, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
__host__ Texture (const size_t sizeInBytes, T *data, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
 Texture (const Texture &)=default
 
__host__ Texture (PtrStepSz< T > src, const bool normalizedCoords=false, const cudaTextureFilterMode filterMode=cudaFilterModePoint, const cudaTextureAddressMode addressMode=cudaAddressModeClamp, const cudaTextureReadMode readMode=cudaReadModeElementType)
 
 Texture (Texture &&)=default
 
__host__ operator bool () const noexcept
 
__host__ operator TexturePtr< T, R > () const
 
Textureoperator= (const Texture &)=default
 
Textureoperator= (Texture &&)=default
 

公共屬性

int cols = 0
 
int rows = 0
 

保護屬性

std::shared_ptr< UniqueTexture< T, R > > texture = 0
 

詳細描述

template<class T, class R = T>
class cv::cudev::Texture< T, R >

可共享的智慧CUDA紋理物件

Texture 是 cudaTextureObject_t 控制代碼的智慧可共享包裝器,它確保控制代碼在使用後被銷燬。


此類的文件是從以下檔案生成的