GPU pixel rectangular zooming and overturning method

An implementation method and scaling technology, which is applied in the directions of graphics and image conversion, image enhancement, image analysis, etc., can solve the problems of GPU performance degradation, large amount of calculation, and undefined image scaling and flipping algorithms, etc., so as to improve hardware performance and reduce The effect of computation

Active Publication Date: 2020-04-17
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the design of a graphics processor chip (hereinafter referred to as GPU), the image pipeline of the GPU includes pixel storage, transmission operations, and zooming and flipping. The glPixelZoom() function defined by the OpenGL API supports arbitrary zooming in, zooming out, and flipping of images, but it does not Algorithm to define image scaling and flipping
When the image is relatively large, if the algorithm implements a large amount of calculation, the performance of the GPU will be severely degraded

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • GPU pixel rectangular zooming and overturning method
  • GPU pixel rectangular zooming and overturning method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0064] Below in conjunction with accompanying drawing the present invention is described in further detail, please refer to Figure 1-2 .

[0065] A method for implementing GPU pixel rectangle scaling and flipping, comprising the following steps:

[0066]Step 1. Adaptively calculate the clipping of the new image. First, calculate the position of the new image according to the width and height of the original image and the configuration of scaling and flipping, and then judge the original drawing coordinates of the new image respectively. If it is smaller than the boundary, the drawing coordinates in the corresponding direction are assigned a value of 0 ; otherwise, the drawing coordinates are the same as the original drawing coordinates. Calculate the start and end positions of the new image actually drawn in the video memory based on the comparison between the new image position and the video memory range. There are 6 situations for the new image and the video memory positio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of computer graphics, in particular to a GPU pixel rectangular zooming and overturning method, which comprises the following steps of: (1) adaptively calculating new image clipping, (2) sampling row pixels, and (3) selecting the row pixels. According to the method, the problem in GPU pixel rectangle zooming and overturning is solved, self-adaptive clipping is carried out according to a video memory, the operand is reduced to the maximum extent on the premise of not losing the effect, and the hardware performance of the GPU is greatly improved. According to the invention, the functions of arbitrarily zooming in, zooming out and turning over the image supported by the OpenGL API (glPixelZoom) are realized.

Description

technical field [0001] The invention belongs to the technical field of computer graphics, and relates to a method for realizing zooming and flipping of GPU pixel rectangles. Background technique [0002] In the design of a graphics processor chip (hereinafter referred to as GPU), the image pipeline of the GPU includes pixel storage, transmission operations, and zooming and flipping. The glPixelZoom() function defined by the OpenGL API supports arbitrary zooming in, zooming out, and flipping of images, but it does not Defines the algorithm for scaling and flipping images. When the image is relatively large, if the algorithm implements a large amount of calculation, the performance of the GPU will be severely degraded. How to improve the performance of the GPU without losing the zoom and flip effect of any multiple of any image is a technical problem that needs to be solved. Contents of the invention [0003] The purpose of the present invention is to provide a method for ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T3/00G06T3/40G06T3/60
CPCG06T3/0093G06T3/40G06T3/60G06T2207/20132Y02D10/00
Inventor 陈佳赵彬王绮卉吴晓成姜丽云张少锋
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products