Method and system for calculating blur artifacts in videos using user perception threshold
First Claim
1. A computer implemented 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 computer implemented method comprising:
- determining a set of pixels in a set of frames, wherein the set of pixels comprises one or more pixels having a Sum of Modified Laplacian value that exceeds a second predefined threshold, and wherein a set of edge pixels is determined in the set of pixels, the set of pixels being a focus area of the motion picture;
calculating an edge spread of the set of edge pixels;
determining a set of blurred edge pixels in the set of edge pixels, wherein the set of blurred edge pixels comprises the one or more edge pixels of 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 blurred edge pixels in the set of the blurred edge pixels and a number of the edge pixels in the set of edge pixels, wherein calculating the blur artifact comprises;
calculating a perception threshold based on a user input; and
comparing the calculated blur artifact with the perception threshold.
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.
14 Citations
13 Claims
-
1. A computer implemented 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 computer implemented method comprising:
-
determining a set of pixels in a set of frames, wherein the set of pixels comprises one or more pixels having a Sum of Modified Laplacian value that exceeds a second predefined threshold, and wherein a set of edge pixels is determined in the set of pixels, the set of pixels being a focus area of the motion picture; calculating an edge spread of the set of edge pixels; determining a set of blurred edge pixels in the set of edge pixels, wherein the set of blurred edge pixels comprises the one or more edge pixels of 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 blurred edge pixels in the set of the blurred edge pixels and a number of the edge pixels in the set of edge pixels, wherein calculating the blur artifact comprises; calculating a perception threshold based on a user input; and comparing the calculated blur artifact with the perception threshold. - View Dependent Claims (2, 3, 4)
-
-
5. 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 focus identifier, the focus identifier being capable of determining a set of pixels in a set of frames, wherein the set of pixels comprises one or more pixels having a Sum of Modified Laplacian value that exceeds a second predefined threshold, and wherein a set of edge pixels is determined in the set of pixels, the set of pixels being a focus area of the motion picture; and a blur artifact calculator, the blur artifact calculator being capable of; determining a set of blurred edge pixels in the set of edge pixels, wherein the set of blurred edge pixels comprises the one or more edge pixels of the set of edge pixels for which an edge spread exceeds a third predefined threshold; calculating the blur artifact as a ratio of a number of the blurred edge pixels in the set of the blurred edge pixels and a number of the edge pixels in the set of edge pixels, wherein calculating the blur artifact comprises calculating a perception threshold based on user input, wherein the calculated blur artifact is compared with the perception threshold by the comparator. - View Dependent Claims (6, 7, 8, 9, 10)
-
11. 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 non-transitory computer readable medium, the instructions comprising:
-
program instructions for determining a set of pixels in a set of frames, wherein the set of pixels comprises one or more pixels having a Sum of Modified Laplacian value that exceeds a second predefined threshold, and wherein a set of edge pixels is determined in the set of pixels, the set of pixels being a focus area of the motion picture; program instructions for calculating an edge spread of the set of edge pixels; program instructions for determining a set of blurred edge pixels in the set of edge pixels, wherein the set of blurred edge pixels comprises the one or more edge pixels of 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 blurred edge pixels in the set of blurred edge pixels and a number of the edge pixels in the set of edge pixels, wherein the program instructions for calculating the blur artifact comprises; calculating a perception threshold, based on user input; and comparing the calculated blur artifact with a perception threshold. - View Dependent Claims (12, 13)
-
Specification