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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com