Data rate control method, computer system, and device
Abstract
A data rate control method includes dividing a frame into a plurality of strips, each of the plurality of strips including a plurality of blocks; determining, according to complexity information of the frame, a class of each of the plurality of strips from a plurality of classes; and determining, using different distribution mechanism for different classes, a number of bits for each of the plurality of strips based on a quota of each of the plurality of strips. The plurality of classes include a noise strip class and a non-noise strip class, where a strip corresponding to the noise strip class is a noise strip, and a strip corresponding to the non-noise strip class is a non-noise strip.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A data rate control method, comprising:
dividing a frame into a plurality of strips, each of the plurality of strips including a plurality of blocks; determining, according to complexity information of the frame, a class of each of the plurality of strips from a plurality of classes, the plurality of classes including a noise strip class and a non-noise strip class, a strip corresponding to the noise strip class being a noise strip, and a strip corresponding to the non-noise strip class being a non-noise strip; and determining, using different distribution mechanism for different classes, a number of bits for each of the plurality of strips based on a quota of each of the plurality of strips.
2 . The data rate control method of claim 1 , wherein determining, according to complexity information of the frame, the class of each of the plurality of strips from the plurality of classes includes:
assessing a complexity of the frame based on an image processing method.
3 . The data rate control method of claim 2 , wherein assessing the complexity of the frame includes at least one of:
assessing the complexity of the frame based on relevant gradient values obtained through a Sobel algorithm; assessing the complexity of the frame based on a high-frequency component magnitude obtained through a Roberts algorithm; or assessing the complexity of the frame based on an edge magnitude obtained through an edge detection algorithm.
4 . The data rate control method of claim 2 , wherein assessing the complexity of the frame includes:
determining an average value of complexities of the plurality of blocks included in each of the plurality of strips; and determining the class of each of the plurality of strips based on the average value.
5 . The data rate control method of claim 4 , wherein determining the class of the one of the plurality of strips includes:
in response to one of the plurality of strips satisfying a condition, determining that a class of the one of the plurality of strips is the noise strip class, wherein the condition includes:
the average value being greater than a first threshold; and
a number of blocks included in the one of the plurality of strips that each have a complexity greater than a second threshold being greater than a third threshold.
6 . The data rate control method of claim 5 , wherein determining the class of the one of the plurality of strips further includes:
in response to the one of the plurality of strips not satisfying the condition, determining that the class of the one of the plurality of strips is the non-noise strip class.
7 . The data rate control method of claim 6 , wherein:
the condition is a first condition; and determining the class of the one of the plurality of strips further includes:
in response to the one of the plurality of strips not satisfying the first condition but satisfying the second condition, determining that the one of the plurality of strips is a non-noise strip including regular high-frequency components, wherein the second condition includes a complexity of at least one of the plurality of blocks in the one of the plurality of strips being greater than a fourth threshold.
8 . The data rate control method of claim 1 , wherein the plurality of classes further include a zero strip class, a strip corresponding to a zero strip class being a zero strip.
9 . The data rate control method of claim 8 , wherein determining the class of the one of the plurality of strips further includes:
in response to a complexity of each of blocks included in one of the plurality of strips being zero, determining that a class of the one of the plurality of strips is the zero strip class.
10 . The data rate control method of claim 1 , further comprising:
determining the quota for each of the plurality of strips; determining a number of bits corresponding to each quota; and determining a number of bits for each of the plurality of strips.
11 . The data rate control method of claim 10 , further comprising:
determining a first complexity sum of complexities of noise strips in the plurality of strips, and a second complexity sum of complexities of non-noise strips in the plurality of strips; and calculating a ratio between the second complexity sum and a sum of the first complexity sum and the second complexity sum.
12 . The data rate control method of claim 11 , wherein determining the quota for each of the plurality of strips includes:
determining a quota for one of the noise strips based on a complexity of the one of the noise strips and the first complexity sum.
13 . The data rate control method of claim 12 , wherein determining the quota for each of the plurality of strips further includes:
determining, based on the ratio, a total number of bits usable for encoding all the noise strips included in the frame in an allocated number of bits assigned to the frame.
14 . The data rate control method of claim 13 , wherein determining the number of bits for each of the plurality of strips includes:
determining a number of bits corresponding to the one of the of the noise strips based on the quota for the one of the noise strips, the total number of bits, a sum of quotas of all the noise strips, and a number of strips among the noise strips having zero quota.
15 . The data rate control method of claim 14 , wherein determining the number of bits for each of the plurality of strips further includes:
setting a number of bits corresponding to the strips among the noise strips having zero quota to be a number of bits corresponding to a unit quota for the noise strips.
16 . The data rate control method of claim 11 , wherein determining the quota for each of the plurality of strips includes:
determining a quota for one of the non-noise strips based on a complexity of the one of the non-noise strips and the second complexity sum.
17 . The data rate control method of claim 16 , wherein determining the quota for each of the plurality of strips further includes:
in response to the quota for the one of the non-noise strips being determined to be greater than a quota value, setting the quota for the one of the non-noise strips to be equal to the quota value.
18 . The data rate control method of claim 16 , wherein determining the quota for each of the plurality of strips further includes:
determining, based on the ratio, a total number of bits usable for encoding all the non-noise strips included in the frame in the allocated number of bits assigned to the frame.
19 . The data rate control method of claim 18 , wherein determining the number of bits for each of the plurality of strips includes:
determining a number of bits corresponding to the one of the of the non-noise strips based on the quota for the one of the non-noise strips, the total number of bits, a sum of quotas of all the non-noise strips, and a number of strips among the non-noise strips having zero quota.
20 . The data rate control method of claim 19 , wherein determining the number of bits for each of the plurality of strips further includes:
setting a number of bits corresponding to the strips among the non-noise strips having zero quota to be a number of bits corresponding to a unit quota for the non-noise strips.Join the waitlist — get patent alerts
Track US2021160516A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.