OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::cudev::Texture< T, R > クラステンプレート

共有可能なスマート CUDA テクスチャオブジェクト 続き...

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

Collaboration diagram for 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 ハンドルのスマートで共有可能なラッパーであり、使用後にハンドルが確実に破棄されることを保証する。


このクラス詳解は次のファイルから抽出されました: