OpenCV 4.12.0
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::ocl::Image2D Class Reference

#include <opencv2/core/ocl.hpp>

Collaboration diagram for cv::ocl::Image2D:

Public Member Functions

 Image2D () CV_NOEXCEPT
 Image2D (const Image2D &i)
 Image2D (const UMat &src, bool norm=false, bool alias=false)
 Image2D (Image2D &&) CV_NOEXCEPT
 ~Image2D ()
Image2Doperator= (const Image2D &i)
Image2Doperator= (Image2D &&) CV_NOEXCEPT
void * ptr () const

Static Public Member Functions

static bool canCreateAlias (const UMat &u)
static bool isFormatSupported (int depth, int cn, bool norm)

Protected Attributes

Impl * p

Constructor & Destructor Documentation

◆ Image2D() [1/4]

cv::ocl::Image2D::Image2D ( )

◆ Image2D() [2/4]

cv::ocl::Image2D::Image2D ( const UMat & src,
bool norm = false,
bool alias = false )
explicit
Parameters
srcUMat object from which to get image properties and data
normflag to enable the use of normalized channel data types
aliasflag indicating that the image should alias the src UMat. If true, changes to the image or src will be reflected in both objects.
Here is the call graph for this function:

◆ Image2D() [3/4]

cv::ocl::Image2D::Image2D ( const Image2D & i)
Here is the call graph for this function:

◆ ~Image2D()

cv::ocl::Image2D::~Image2D ( )
Here is the call graph for this function:

◆ Image2D() [4/4]

cv::ocl::Image2D::Image2D ( Image2D && )
Here is the call graph for this function:

Member Function Documentation

◆ canCreateAlias()

bool cv::ocl::Image2D::canCreateAlias ( const UMat & u)
static

Indicates if creating an aliased image should succeed. Depends on the underlying platform and the dimensions of the UMat.

Here is the call graph for this function:

◆ isFormatSupported()

bool cv::ocl::Image2D::isFormatSupported ( int depth,
int cn,
bool norm )
static

Indicates if the image format is supported.

Here is the call graph for this function:

◆ operator=() [1/2]

Image2D & cv::ocl::Image2D::operator= ( const Image2D & i)
Here is the call graph for this function:

◆ operator=() [2/2]

Image2D & cv::ocl::Image2D::operator= ( Image2D && )
Here is the call graph for this function:

◆ ptr()

void * cv::ocl::Image2D::ptr ( ) const
Here is the call graph for this function:

Member Data Documentation

◆ p

Impl* cv::ocl::Image2D::p
protected

The documentation for this class was generated from the following file: