Class cv::ocl::Image2D#

Collaboration diagram for cv::ocl::Image2D:

Constructor & Destructor Documentation#

Image2D()#

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

Image2D()#

cv::ocl::Image2D::Image2D(const Image2D & i)

Image2D()#

cv::ocl::Image2D::Image2D(
const UMat & src,
bool norm = false,
bool alias = false )

Parameters

  • srcUMat object from which to get image properties and data

  • norm — flag to enable the use of normalized channel data types

  • alias — flag indicating that the image should alias the src UMat. If true, changes to the image or src will be reflected in both objects.

Image2D()#

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

~Image2D()#

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

Member Function Documentation#

operator=()#

Image2D & cv::ocl::Image2D::operator=(const Image2D & i)

operator=()#

Image2D & cv::ocl::Image2D::operator=(Image2D &&)

ptr()#

void * cv::ocl::Image2D::ptr()

canCreateAlias()#

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

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

isFormatSupported()#

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

Indicates if the image format is supported.

Member Data Documentation#

p#

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

Source file#

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