首页> 外国专利> METHOD AND SYSTEM FOR ZOOMING IMAGE BY USING COOPERATION BETWEEN OPENGL AND OPENCL

METHOD AND SYSTEM FOR ZOOMING IMAGE BY USING COOPERATION BETWEEN OPENGL AND OPENCL

机译:通过OPENGL和OPENCL协作缩放图像的方法和系统。

摘要

A method and system for zooming an image by using cooperation between OpenGL and OpenCL, which relates to the technical field of image zooming. The image zooming method comprises: creating a context environment interoperating with OpenGL in an OpenCL device; according to the dimensionality of an image to be zoomed, respectively creating two OpenCL image objects having corresponding dimensionalities from two OpenGL textures having corresponding dimensionalities by using the created context environment, wherein in two created OpenCL image objects, one indicates an inputted source image and the other indicates a target image; zooming the created source image by means of a bilinear interpolation algorithm of the image, and writing a processing result into the target image; and displaying the zoomed target image by invoking a drawn texture interface having the corresponding dimensionality in the OpenGL. By means of the method, zooming of relatively-high-resolution images can be implemented at relatively high efficiency; the operation efficiency is high; and the processing effect is good.
机译:一种利用OpenGL和OpenCL的协同缩放图像的方法和系统,涉及图像缩放技术领域。该图像缩放方法包括:在OpenCL设备中创建与OpenGL互操作的上下文环境;根据要缩放的图像的尺寸,通过使用创建的上下文环境,分别从具有相应尺寸的两个OpenGL纹理中分别创建两个具有相应尺寸的OpenCL图像对象,其中,在两个创建的OpenCL图像对象中,一个表示输入的源图像,其他表示目标图像;通过图像的双线性插值算法对创建的源图像进行缩放,并将处理结果写入目标图像;通过调用OpenGL中具有相应尺寸的绘制的纹理界面来显示缩放后的目标图像。通过该方法,可以以相对较高的效率实现相对高分辨率的图像的缩放。运行效率高;而且加工效果好。

著录项

  • 公开/公告号WO2018018941A1

    专利类型

  • 公开/公告日2018-02-01

    原文格式PDF

  • 申请/专利权人 WUHAN DOUYU NETWORK TECHNOLOGY CO. LTD.;

    申请/专利号WO2017CN80778

  • 发明设计人 YANG LIANG;

    申请日2017-04-17

  • 分类号G06T3/40;

  • 国家 WO

  • 入库时间 2022-08-21 12:46:12

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号