IP Library Granted Patent US 10,999,577
Granted Patent B2
US 10,999,577 · App. 16/517,817 · Granted May 4, 2021

Quantization parameter determination method and image capture apparatus

Inventors: Kyung Pyo Hong (Seongnam-si, KR); Sujit Kumar Mahapatro (Seongnam-si, KR); Yun Seok Kwon (Seongnam-si, KR); Hee Gyu Baek (Seongnam-si, KR)
Assignee: HANWHA TECHWIN CO., LTD.
H04N19/124H04N7/18H04N19/114H04N19/126H04N19/137H04N19/139H04N19/146H04N5/23229
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,999,577
App. No.
16/517,817
Granted
May 4, 2021
Kind
B2
Abstract

A method of determining a quantization parameter includes determining an adjustment range of a quantization parameter correction value based on a size of a motion area of an input image, calculating an average bitrate value of the input image, and adjusting the quantization parameter correction value by decreasing the quantization parameter correction value within the adjustment range in response to determining that the average bitrate value is greater than an upper limit value, and by increasing the quantization parameter correction value within the adjustment range in response to determining that the average bitrate value is equal to or less than a lower limit value.

Claims (52)

1. An image capturing apparatus comprising:

an image sensor to provide an input video stream; and

at least one processor configured to:

detect at least one moving object in an input video of the input video stream;

determine a size of an area of a motion of the at least one moving object in the input video;

determine a length of a group of pictures based on the size;

encode the input video as a set of encoded frames, wherein a number of the encoded frames is determined based on the length of the group of pictures,

wherein the length of the group of pictures is determined as a first length based on the size being a first size, and the length of the group of pictures is determined as a second length shorter than the first length based on the size being a second size larger than the first size.

2. The image capturing apparatus of claim 1 , wherein the size is determined based on a ratio of a number of pixels associated with the motion of the at least one moving object to a number of pixels associated with an entire frame.

3. The image capturing apparatus of claim 1 , wherein the at least one processor is further configured to:

select a motion type of the input video from a plurality of motion types based on the size; and

determine the length of the group of pictures based on the selected motion type.

4. The image capturing apparatus of claim 3 , wherein the plurality of motion types include a first motion type and a second motion type, and

wherein the at least one processor is further configured to:

select the motion type of the input video as the first motion type based on the size being equal to or less than a threshold size; and

select the motion type of the input video as the second motion type based on the size being greater than the threshold size.

5. The image capturing apparatus of claim 4 , wherein the first size is equal to or less than the threshold size,

wherein the second size is greater than the threshold size, and

wherein the at least one processor is configured to:

determine the length of the group of pictures as the first length in response to selection of the first motion type; and

determine the length of the group of pictures as the second length in response to selection of the second motion type.

6. The image capturing apparatus of claim 1 , wherein the length of the group of pictures decreases as the size increases.

7. The image capturing apparatus of claim 1 , wherein the length of the group of pictures is determined based on comparison between the size and a threshold size.

8. A method of processing an input video stream, the method comprising:

detecting at least one moving object in an input video of the input video stream;

determine a size of an area of a motion of the at least one moving object in the input video;

determine a length of a group of pictures based on the size; and

encode the input video as a set of encoded frames, wherein a number of the encoded frames is determined based on the length of the group of pictures,

wherein the length of the group of pictures is determined as a first length based on the size being a first size, and the length of the group of pictures is determined as a second length shorter than the first length based on the size being a second size larger than the first size.

9. The method of claim 8 , wherein the size is determined based on a ratio of a number of pixels associated with the motion of the at least one moving object to a number of pixels associated with an entire frame.

10. The method of claim 8 , wherein the determining the length of the group of pictures comprises:

selecting a motion type of the input video from a plurality of motion types based on the size; and

determining the length of the group of pictures based on the selected motion type.

11. The method of claim 10 , wherein the plurality of motion types include a first motion type and a second motion type, and

wherein the selecting the motion type of the input video comprises:

selecting the motion type of the input video as the first motion type based on the size being equal to or less than a threshold size; and

selecting the motion type of the input video as the second motion type based on the size being greater than the threshold size.

12. The method of claim 11 , wherein the first size is equal to or less than the threshold size,

wherein the second size is greater than the threshold size, and

wherein the determining the length of the group of pictures based on the selected motion type comprises:

determining the length of the group of pictures as the first length in response to selection of the first motion type; and

determining the length of the group of pictures as the second length in response to selection of the second motion type.

13. The method of claim 8 , wherein the length of the group of pictures decreases as the size increases.

14. An image capturing apparatus comprising:

an image sensor configured to provide an input video stream; and

at least one processor configured to:

detect at least one moving object in an input video of the input video stream;

determine a motion degree based on a motion of the at least one moving object in the input video;

adjust, based on the motion degree, a range of a quantization parameter correction value for the input video; and

encode at least a portion of the input video depending on a quantization parameter determined based on the quantization parameter correction value selected from within the range, and a quantization parameter default value.

15. The image capturing apparatus of claim 14 , wherein the motion degree comprises a size of an area of the motion of the at least one moving object.

16. The image capturing apparatus of claim 14 , wherein the motion degree is determined based on a ratio of a number of pixels associated with the motion of the at least one moving object to a number of pixels associated with an entire frame.

Assignments (1)
CHANGE OF NAME Recorded Aug 10, 2023
From: HANWHA TECHWIN CO., LTD.
To: HANWHA VISION CO., LTD.
Reel/Frame 064549/0075 →