A method and device for detecting image edge blur
A technology of image edge and detection method, which is applied in the field of image processing, can solve the problems of low detection accuracy, achieve high detection accuracy, avoid low detection accuracy, and fast detection speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] like image 3 As shown, it is a specific flow chart of a method for detecting image edge blurring provided by Embodiment 1 of the present invention. The method includes the following steps:
[0044] Step 31, obtaining the YUV black and white stripe image to be detected;
[0045] Step 32, carry out edge detection to this image, obtain the edge value of each pixel in this image;
[0046] Among them, there are many edge detection methods, such as Prewitt operator, Robert operator, Sobel operator and so on. In the embodiment of the present invention, the Sobel operator is taken as an example, and the specific process is as follows:
[0047] First, perform Sobel edge detection on the x-axis and y-axis on the Y (brightness) component of each pixel in the YUV image, and obtain the Sobel edge value on the x-axis and the Sobel edge value on the y-axis of each pixel;
[0048] Then, the absolute value of the Sobel edge value of the x-axis and the absolute value of the Sobel edg...
Embodiment 2
[0061] Based on the above-mentioned detection method of image edge blurring, the inventor conducted in-depth research on it, and found that if the camera has its own problems that cause edge blurring in the captured image, generally not the entire image will have problems, but There is a problem of edge blurring in a certain part of the image. Therefore, in Embodiment 2 of the present invention, block detection of an image is taken as an example for illustration.
[0062] like Figure 4 As shown, it is a specific flow chart of a method for detecting image edge blur provided by Embodiment 2 of the present invention. The method includes the following steps:
[0063] Step 41, obtaining the YUV black and white stripe image to be detected;
[0064] Step 42: Divide the image according to a preset division rule to obtain a plurality of image blocks; wherein, the division rule satisfies: each obtained image block contains black and white stripes.
[0065] Generally, the number of bl...
Embodiment 3
[0118] Based on the above-mentioned method for detecting blurred image edges, Embodiment 3 of the present invention also provides a device for detecting blurred image edges. The schematic structural diagram of the device is as follows Figure 7 shown, including:
[0119] An acquisition unit 71, configured to acquire a black and white stripe image to be detected;
[0120] An edge blurred pixel point determining unit 72, configured to determine the edge blurred pixel point in the image acquired by the acquiring unit 71;
[0121] A judging unit 73, configured to judge whether the ratio of the number of blurred pixel points determined by the blurred edge pixel point determination unit 72 to all pixels in the image is greater than a preset ratio threshold;
[0122] The blurred-edge image determination unit 74 is configured to determine the image as a blurred-edge image when the judging result of the judging unit 73 is yes.
[0123] Wherein, when directly performing edge blur dete...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


