Method and system for calculating blur artifact in videos
First Claim
1. A method for calculating a blur artifact in a motion picture, the motion picture comprising one or more frames defined at a predefined interval of time, each of the one or more frames comprising one or more pixels, the method comprising:
- detecting edges of the one or more pixels;
comparing the detected edges with a first predefined threshold;
determining one or more edge pixels, wherein the one or more edge pixels has the edges that exceed the first predefined threshold;
determining a set of pixels of the one or more pixels in a set of frames of the one or more frames, wherein the set of pixels is determined in the set of frames, wherein the set of pixels are the one or more pixels that exceed a second predefined threshold, and wherein a set of edge pixels of the one or more edge pixels is determined in the set of pixels;
determining one or more blurred edge pixels in the set of edge pixels, wherein the one or more blurred edge pixels are the set of edge pixels for which the edge spread exceeds a third predefined threshold; and
calculating the blur artifact as a ratio of a number of the one or more blurred edge pixels and a number of the one or more edge pixels in the set of edge pixels.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for calculating a blur artifact in a video are disclosed. The video includes a series of frames captured at a predefined interval of time. The frames include one or more pixels. Calculating the blur artifact in the video includes identifying a focused area in a set of frames. Further, edges are detected in each of the frames. Furthermore, the blur artifact is calculated as a ratio of number of blurred pixels and total number edge pixels.
28 Citations
17 Claims
-
1. A method for calculating a blur artifact in a motion picture, the motion picture comprising one or more frames defined at a predefined interval of time, each of the one or more frames comprising one or more pixels, the method comprising:
-
detecting edges of the one or more pixels; comparing the detected edges with a first predefined threshold; determining one or more edge pixels, wherein the one or more edge pixels has the edges that exceed the first predefined threshold; determining a set of pixels of the one or more pixels in a set of frames of the one or more frames, wherein the set of pixels is determined in the set of frames, wherein the set of pixels are the one or more pixels that exceed a second predefined threshold, and wherein a set of edge pixels of the one or more edge pixels is determined in the set of pixels; determining one or more blurred edge pixels in the set of edge pixels, wherein the one or more blurred edge pixels are the set of edge pixels for which the edge spread exceeds a third predefined threshold; and calculating the blur artifact as a ratio of a number of the one or more blurred edge pixels and a number of the one or more edge pixels in the set of edge pixels. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for calculating a blur artifact in a motion picture, the motion picture comprising one or more frames defined at a predefined interval of time, each of the one or more frames comprising one or more pixels, the system comprising:
a processor, the processor comprising; an edge calculator, the edge calculator being capable of; detecting edges of the one or more pixels; and calculating edge spread of the one or more pixels; a comparator, the comparator being capable of; comparing the edges with a first predefined threshold; and determining one or more edge pixels, wherein the one or more edge pixels have the edges that exceed the first predefined threshold; a focus identifier, the focus identifier being capable of determining a set of pixels of the one or more pixels in a set of frames of the one or more frames, wherein the set of pixels is determined in the set of frames, wherein the set of pixels are the one or more pixels that exceed a second predefined threshold, and wherein a set of edge pixels of the one or more edge pixels is determined in the set of pixels; and a blur artifact calculator, the blur artifact calculator being capable of; determining one or more blurred edge pixels in the set of edge pixels, wherein the one or more blurred edge pixels are the set of edge pixels for which edge spread exceeds a third predefined threshold; and calculating the blur artifact as a ratio of a number of the one or more blurred edge pixels and a number of the one or more edge pixels in the set of edge pixels. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
14. A computer program product for calculating a blur artifact in a motion picture, the motion picture comprising one or more frames defined at a predefined interval of time, each of the one or more frames comprising one or more pixels, the computer program product comprising instructions stored in a computer readable medium comprising:
-
program instructions for detecting edges of the one or more pixels; program instructions for comparing the detected edges with a first predefined threshold; program instructions for determining one or more edge pixels, wherein the one or more edge pixels has the edges that exceed the first predefined threshold; program instructions for determining a set of pixels of the one or more pixels in a set of frames of the one or more frames, wherein the set of pixels is determined in the set of frames, wherein each of the set of pixels are the one or more pixels that exceed a second predefined threshold, and wherein a set of edge pixels of the one or more edge pixels is determined in the set of pixels; program instructions for calculating edge spread of the set of edge pixels; program instructions for determining one or more blurred edge pixels in the set of edge pixels, wherein the one or more blurred edge pixels are the set of edge pixels for which the edge spread exceeds a third predefined threshold; and program instructions for calculating the blur artifact as a ratio of a number of the one or more blurred edge pixels and a number of the one or more edge pixels in the set of edge pixels. - View Dependent Claims (15, 16, 17)
-
Specification