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

A coding method, device, electronic equipment and storage medium

A coding method and coding technology, applied in the field of image processing, can solve problems affecting visual experience and achieve the effects of improving visual experience, avoiding misjudgment, and improving color overflow effects

Active Publication Date: 2021-06-15
ZHEJIANG DAHUA TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an encoding method, device, electronic equipment, and storage medium, which are used to solve the problem that existing encoding schemes cause obvious overflow effects and image block boundary effects in reconstructed images, which affect visual experience

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
  • A coding method, device, electronic equipment and storage medium
  • A coding method, device, electronic equipment and storage medium
  • A coding method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] image 3 A schematic diagram of an encoding method provided by an embodiment of the present invention, the method includes:

[0050] S301: For each image block of the image to be encoded, perform a symmetrical transformation on Y, U, and V of the image block respectively, and perform b horizontal transformations on Y after the symmetrical transformation, and U and V after the symmetrical transformation V performs c horizontal transformations respectively, where a, b, and c are integers, and c is greater than b.

[0051] The encoding method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be an image acquisition device, such as a video camera, a camera, etc., or may be a mobile phone, a personal computer (PC), a tablet computer, or the like.

[0052] When encoding an image to be encoded, it is usually first necessary to divide the image to be encoded into image blocks. For a larger-sized image to be en...

Embodiment 2

[0061] On the basis of the above-mentioned embodiments, in the embodiment of the present invention, for each image block of the image to be coded, before performing a symmetrical transformation on Y, U, and V of the image block respectively, the method further include:

[0062] Level shifting is performed on the image to be encoded.

[0063] Usually, images collected by image acquisition devices such as cameras are in RGB color coding mode, and the pixel values ​​of pixels in the image are between 0-255, unsigned, and images in RGB color coding mode need to be converted to YUV color coding mode Image.

[0064] Specifically, the electronic device converts the unsigned pixel value into a signed pixel value through level shifting, such as reducing the pixel value to 128, and converting it into the R, G, and B values ​​corresponding to the signed pixel value, Convert to Y, U, V values.

[0065] Exemplary: can pass P DC (m,n)=P(m,n)-2 prec -1, convert the unsigned image pixel ...

Embodiment 3

[0067] In order to further improve the color overflow effect and weaken the boundary effect of the image block, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, each sub-band coefficients, before encoding the image to be encoded, the method also includes:

[0068] For each subband corresponding to Y, U, and V of each image block after transformation, determine the quantization value corresponding to the subband according to the number of times of symmetrical transformation, the number of times of horizontal transformation, and the frequency band corresponding to the subband; And quantize the coefficients of the subband according to the quantization value corresponding to the subband.

[0069] In the embodiment of the present invention, the frequency band refers to one of horizontal low frequency-vertical low frequency, horizontal low frequency-vertical high frequency, horizontal high frequency-vertical low frequency, and horizontal h...

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 present invention discloses an encoding method, device, electronic equipment and storage medium. The method includes: for each image block of an image to be encoded, respectively performing a times of symmetrical transformation on Y, U, and V of the image block, And perform b times of horizontal transformation on Y after symmetrical transformation, and c times of horizontal transformation on U and V after symmetrical transformation, wherein a, b, and c are integers, and c is greater than b; according to each image block after transformation Coefficients of each subband corresponding to Y, U and V are used to code the image to be coded. It is used to improve the overflow effect and the boundary effect of the image block in the encoded and reconstructed image.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an encoding method, device, electronic equipment and storage medium. Background technique [0002] Discrete Wavelet Transformation (DWT) is a modern spectral image analysis tool, widely used in image coding. refer to figure 1 As shown, the discrete wavelet transform can transform the two-dimensional signal represented by the image from the time domain signal to the frequency domain signal, and each symmetrical transformation, also known as each level of symmetrical transformation, includes a vertical transformation and a horizontal transformation, which can be The image is divided into four sub-bands, which are horizontal low frequency-vertical low-frequency sub-band corresponding to horizontal low frequency (L)-vertical low-frequency component (LL), and horizontal low-frequency-vertical high-frequency (H) component (LH) corresponding to horizontal low-frequency...

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): H04N19/63H04N19/186H04N19/176H04N19/124
CPCH04N19/124H04N19/176H04N19/186H04N19/63
Inventor 刘星宇朱竹青陈琦方伟杨银昌
Owner ZHEJIANG DAHUA TECH CO 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