Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for storing image in texture memory

A technology for storing images and memory, which is applied to the details of image processing hardware, image enhancement, image analysis, etc. It can solve the problems of reducing image processing speed and wasting memory, and achieve the effect of increasing speed and saving texture memory space

Active Publication Date: 2017-05-03
ALIBABA GRP HLDG LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing this application, the inventors found that there are at least the following problems in the prior art: in the existing method of storing images in the texture memory, the size of the texture memory is in accordance with the power of 2 greater than or equal to the height or width of the image , in some cases, for example, for an image with a size of 65 pixels x 65 pixels, in order to meet the requirement that the width and height of the image texture be a power of 2, the size of the texture is 128 pixels x 128 pixels, and the size of the texture memory is larger than the size of the actual image A lot, so existing methods of storing images in texture memory can waste a lot of memory, and also slow down image processing

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
  • Method and device for storing image in texture memory
  • Method and device for storing image in texture memory
  • Method and device for storing image in texture memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present application provide a method and device for storing images in a texture memory.

[0021] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described The embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0022] figure 1 is a flowchart of an embodiment of the method for storing images in the texture memory of the present application, such as figure 1 As shown, the method for storing an image in a texture may include:

[00...

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 embodiment of the invention discloses a method and a device for storing an image in a texture memory. The method comprises the following steps of: obtaining the dimension information of an image; on the basis of the dimension information of the image, determining a texture memory dimension corresponding to the image; and on the basis of the texture memory dimension, segmenting the image to obtain a plurality of image blocks, and storing the plurality of image blocks obtained by segmentation in the texture memory according to a preset storage rule. By use of the method and the device, which are provided by the embodiment of the invention, for storing the image in the texture memory, the memory can be saved, and image processing speed is improved.

Description

technical field [0001] The present application relates to the technical field of computer information processing, in particular to a method and device for storing images in a texture memory. Background technique [0002] With the development of computer technology, the application of image processing is more and more extensive. In the process of image processing, it is usually necessary to apply for a piece of texture memory for the image, and store the picture in the texture memory for image processing. For computer graphics cards, if the width and height of the image texture are powers of 2, the processing speed of the image will be faster. [0003] The existing method for storing an image in a texture memory usually includes: applying for a piece of texture memory for the image, the width of the texture memory is greater than or equal to the original width of the image and is a power of 2, and the height of the texture memory is greater than or equal to the image The or...

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
IPC IPC(8): G06T1/60
CPCG06T1/60G06T2200/28G06T1/20G06T2207/20021G06T7/11G06T7/13
Inventor 邵振江陈村
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products