首页>
外国专利>
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.
展开▼