Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for controlling upper limit of image coding size

A technology of picture encoding and picture size, applied in the field of image processing, which can solve the problems of high performance consumption and no absolute guarantee.

Active Publication Date: 2020-09-01
ZHEJIANG UNIVIEW TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution requires a very large learning library, and the sampling mechanism consumes more performance than the method of obtaining quality factors
At the same time, only sampling estimates cannot absolutely guarantee that the size of the final generated image is within the upper limit set, and there will still be fluctuations, which is not allowed in some cases

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 system for controlling upper limit of image coding size
  • Method and system for controlling upper limit of image coding size
  • Method and system for controlling upper limit of image coding size

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] figure 1 It is a flow chart of a method for controlling the upper limit of picture coding size provided by Embodiment 1 of the present invention.

[0068] refer to figure 1 , the method for controlling the upper limit of the picture encoding size includes the following steps:

[0069] Step S110, obtaining the initial quality factor according to the initial compression ratio and according to the fitting relationship;

[0070] Specifically, set the size upper limit value M according to the image size requirements of the device receiving and storing the image; obtain the raw data of the original image, including the original size U 0 . First calculate the initial compression ratio C of the original image r0 , as shown in formula (1):

[0071] C r0 =U 0 / M (1);

[0072] Then calculate the initial quality factor Q according to the initial compression ratio p0 , as shown in formula (2):

[0073]

[0074] Among them, a, b, c, and d are fitting parameters. Specific...

Embodiment 2

[0090] figure 2 It is a flowchart of a method for controlling the upper limit of picture encoding size provided by Embodiment 2 of the present invention.

[0091] refer to figure 2 , the control methods for the upper limit of image encoding size include the following:

[0092] Step S210, obtaining the original quality factor Q Pi , the original image and the upper limit value M;

[0093] Specifically, when encoding the first picture for the first time, the initial quality factor is Q P0 , its calculation method is as described in the formulas (1) and (2) in the previous embodiment; when re-encoding, the original quality factor is calculated according to the final quality factor and picture size used in the previous encoding, refer to step S260 .

[0094] Step S220, according to the original quality factor Q Pi Perform JPEG encoding on the original image to obtain the image size U i ;

[0095] Step S230, judging whether U i ≤ M;

[0096] Step S240, at U i In the case...

Embodiment 3

[0103] image 3 It is a schematic diagram of a control system for the upper limit of picture coding size provided by Embodiment 3 of the present invention.

[0104] The embodiment of the present invention also provides a system for controlling the upper limit of picture coding size, which is used to implement the above method for controlling the upper limit of picture coding size. refer to image 3 , the control system for the upper limit of picture coding size includes the following units:

[0105] The initial quality factor acquisition unit 100 is used to acquire the initial quality factor according to the initial compression ratio and according to the fitting relationship;

[0106] The original picture encoding unit 200 is configured to perform JPEG encoding on the original picture according to the initial quality factor to obtain the first picture size;

[0107] A judging unit 300, configured to judge whether the size of the first picture is greater than the upper limit...

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 provides a picture coding size upper limit control method and system, and relates to the technical field of image processing, and the method comprises the steps: obtaining an initial quality factor according to an initial compression ratio and a fitting relationship; performing JPEG coding on the original picture according to the initial quality factor to obtain a first picture size;judging whether the first picture size is greater than a size upper limit value; if yes, calculating the current compression ratio according to the first picture size and the size upper limit value;obtaining a first quality factor according to the current compression ratio and the initial quality factor; performing JPEG coding on the original picture again according to the first quality factor to obtain a second picture size, and completing picture coding under the condition that the second picture size is not greater than a size upper limit value. According to the method, the JPEG picture coding size can be controlled within a set upper limit range, and the picture coding quality is considered.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a method and system for controlling the upper limit of picture coding size. Background technique [0002] With the current wide application of JPEG (Joint Photographic Experts Group, Joint Photographic Experts Group) picture encoding on various embedded devices, people have more and more requirements on the bandwidth occupation and storage size of pictures transmitted in the network, bluetooth and other media. The higher the value, many devices that receive and store pictures have a strict upper limit on the size of the picture. Exceeding the size will cause partial information loss or even loss of the entire picture. Therefore, for a device such as an IPC (IP CAMERA, network camera) camera that performs JPEG encoding of a picture, it is necessary to implement an algorithm that uses the upper limit of the encoding purpose as a control parameter. [0003] At pres...

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): H04N1/32
CPCH04N1/32149H04N1/32277
Inventor 肖乃瑶徐彪
Owner ZHEJIANG UNIVIEW TECH CO LTD