pub unsafe fn convert_from_image(
cl_mem_image: *mut c_void,
dst: &mut impl UMatTrait,
) -> Result<()>Expand description
Convert OpenCL image2d_t to UMat
Note:
OpenCL image2d_t (cl_mem_image), should be compatible with OpenCV UMat formats. Memory content
is copied from image to UMat with clEnqueueCopyImageToBuffer function.
ยงParameters
- cl_mem_image: source image2d_t handle
- dst: destination UMat