Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Improved image edge detection method based on Scharr operator

A technology of image edge and detection method, applied in image enhancement, image analysis, image data processing and other directions, can solve problems such as slow execution speed

Pending Publication Date: 2020-01-24
CHINA JILIANG UNIV
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Canny operator first uses Gaussian filtering on the image to denoise the image, and then uses the first-order partial derivative to perform convolution operations on the horizontal, vertical, and diagonal directions of the image to obtain the brightness gradient map and gradient direction of the image. Moreover, the Canny operator will suppress the non-maximum signal of the image, and finally connect the edges of the image through two thresholds. Although the detection effect is very good, the slow execution speed is also a big problem.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Improved image edge detection method based on Scharr operator
  • Improved image edge detection method based on Scharr operator
  • Improved image edge detection method based on Scharr operator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0125] Reference figure 1 , The improved image edge detection method based on Scharr operator of the present invention specifically includes the following steps:

[0126] Step 1. Input noisy image.

[0127] Use VS2017 and OpenCV basic library in the computer to read the images in the picture library.

[0128] Step 2. Denoise the image.

[0129] The selected filter template size can be 3*3, 5*5, etc., but it needs to be an odd template. The present invention uses the default template Mid of 3*3 s , Which can keep the original gray value of the image to the maximum extent;

[0130] After selecting the template, we perform the convolution operation, but the convolution operation only sorts the gray values ​​of the image f, and selects the three gray values ​​in the middle for weighted average;

[0131] Vec b [3]=mid(z 1 ,z 2 ,z 3 ,z 4 ,z 5 ,z 6 ,z 7 ,z 8 ,z 9 )

[0132]

[0133]

[0134] The obtained new gray value adj is used as the gray value of the corresponding pixel of the image;

[013...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a noisy image edge detection method based on a Scharr operator. The method comprises the following steps: step 1, inputting a noisy image; 2, improving a median filtering valuing method to obtain a denoised image; 3, equalizing the image to obtain a gradient enhanced image; step 4, improving the Scharr edge detection operator to obtain improved edge detection operators of the 45-degree direction template and the 135-degree direction template; step 5, determining edge points to obtain a preliminary edge image; step 6, fusing the edge images to obtain a fused image; and step 7, outputting a final edge detection image. According to the invention, the Scharr operator is improved; a two-direction template of a traditional Scharr operator is expanded to four directions, the image gradient is enhanced through image histogram equalization, the anti-noise capability and the edge detection capability of an image are enhanced through image noise reduction, a proper threshold value is found through image binarization, and the edge detection effect of the image is further improved.

Description

Technical field [0001] The invention relates to an image edge detection method, in particular to an improved image edge detection method based on Scharr operator. Background technique [0002] Edge detection is the most basic technology in image processing and machine vision, and is widely used in image segmentation, image recognition, and image analysis. With the development of technology and the rise of artificial intelligence, edge detection has been applied to face detection, license plate recognition, medical assistance and other technologies. It can be said that edge detection technology is closely related to our lives and plays a role in the image field. Crucial role. [0003] Edge detection technology has always attracted people's attention. Many people with lofty ideals have invested a lot of time in research and proposed many edge detection algorithms, such as Sobel operator, Robert operator, Prewitt operator, LoG operator And Canny operator. Among them, the Sobel oper...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/13G06T5/40G06T5/00
CPCG06T7/13G06T5/40G06T2207/20032G06T5/70
Inventor 王敏洪涛
Owner CHINA JILIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products