Method for compressing, storing and restoring pixel information of RGB (Red, Green and Blue) space image region

A technology of RGB space and image area, applied in the field of RGB space image area pixel information compression, storage and restoration, can solve problems such as affecting operation efficiency, and achieve the effect of saving storage space and improving efficiency

Inactive Publication Date: 2012-12-19
北京市文化科技融资租赁股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This storage method will affect the efficiency of subsequent operations due to the excessive number of pixels in the area.

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 for compressing, storing and restoring pixel information of RGB (Red, Green and Blue) space image region
  • Method for compressing, storing and restoring pixel information of RGB (Red, Green and Blue) space image region
  • Method for compressing, storing and restoring pixel information of RGB (Red, Green and Blue) space image region

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0050] This embodiment describes a method for compressing and storing pixel information of an RGB spatial image region. Such as figure 1 As shown, the method includes the following steps:

[0051] (1) Normalize the pixel value of each channel of the RGB space image to the [0, 1] interval.

[0052] (2) Select a local image block P in the RGB space image.

[0053] Assume that the local image block P contains a total of S pixels, and each pixel has a value of three channels of RGB. First use a matrix vecP with S rows and 3 columns to temporarily store the values ​​of three channels of S pixels, each row stores a pixel, and each column stores a channel value of a pixel.

[0054] (3) Calculate the number of nodes in the three dimensions of the node space according to the extreme values ​​of the three-dimensional coordinates of the pixels in the image block P in the RGB space.

[0055] In order to ensure the compression effect, the total number of nodes in the node space is set ...

Embodiment approach 2

[0080] This embodiment describes the restoration method of the RGB spatial image area pixel information stored by the method described in Embodiment 1, as follows figure 2 shown. Traverse each node in the node space point by point, if the node is set to 1, then the pixel in the RGB space of its corresponding position is also marked. Specifically, a certain point in the node space Grid pAs an example.

[0081] Traverse the matrix M in the order of X, Y, and Z, and set the node Grid p The corresponding three-dimensional coordinates are XGrid, YGrid and ZGrid respectively. As described in Embodiment 1, the value of the Lth element in the matrix M is Grid p The corresponding node value.

[0082] When traversing to the element value, if the value is 0, it means that there is no corresponding node in the node space at this position. If it is 1, it means that the node exists, and further calculate its corresponding coordinate value in the RGB space. Let the coordinates in the...

Embodiment approach 3

[0086] This embodiment describes a method for compressing and storing pixel information in multiple regions of an RGB spatial image, such as image 3 shown, including the following steps:

[0087] (1) Select the local image block P of the pixel block for the first time 1 , using the method described in Embodiment 1 to calculate and obtain the matrix M 1 ;

[0088] (2) Then select the local image block P 2 , using the method described in Embodiment 1 to calculate and obtain the matrix M 2 ;

[0089] (3) Using the method described in Embodiment 2 to convert M 1 and M 2 At the same time, the transformation from the matrix to the RGB space is performed to obtain the local image block P 3 ;

[0090] (4) For local image block P 3 , using the method described in Embodiment 1 to calculate and obtain the storage matrix M 3 , the M 3 assigned to M 1 ;

[0091] (5) If no new local image blocks are selected, output M 1 ; If a local image block is selected again, go to step (...

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 a method for compressing, storing and restoring pixel information of an RGB (Red, Green and Blue) space image region and belongs to the technical field of image storage. The method comprises the steps of: firstly selecting a local image block P in an RGB space image; calculating the node number of a node space on three dimensionalities according to the three-dimensional coordinate extreme value of pixels in the image block P on an RGB space; transforming the pixels in the image block P on the RGB space to nodes on the node space; and finally storing the nodes on the node space by utilizing a binarization one-dimensional matrix M. In the invention, under a circumstance of maintaining a higher precision, the compression and the storage of the pixel information of the RGB (Red, Green and Blue) space image region are realized, the storage space is saved and the efficiency of carrying out subsequent processing on the pixel information is increased.

Description

technical field [0001] The invention belongs to the technical field of image storage, and in particular relates to a method for compressing, storing and restoring pixel information in an RGB space image area, which is suitable for high-quality and high-efficiency video and image special effect processing and synthesis software. Background technique [0002] In video / image processing software, selecting a local pixel block from an RGB color image is a common operation, which enables the algorithm to extract feature information from the specified pixel area for subsequent processing. This operation is often used in image matting. Image technology and denoising technology. However, in practical applications, the color scale of the image selected by the user is different and the size of the demarcated area is different, so the number of pixels contained in each application will vary greatly, which will lead to large frame selection in high-color-scale images. A large number of ...

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 Patents(China)
IPC IPC(8): G06T1/60H04N7/26H04N19/186H04N19/426
Inventor 徐进见良郑鹏程孙季川
Owner 北京市文化科技融资租赁股份有限公司
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