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

Image edge detection method and device and storage medium

An image edge and detection method technology, applied in the field of image processing, can solve the problems of undetectable edges, large noise influence, poor edge visual effect, etc., achieve the effect of no jagged effect, eliminate the influence of noise, and improve the visual effect

Inactive Publication Date: 2017-12-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, since the current image edge detection methods are all based on the gradient threshold to detect the edge, the obtained edge is relatively stiff and has a jagged effect, resulting in a poor visual effect of the edge, (refer to Figure 1a , Figure 1b , Figure 1c ); In addition, because the current image edge detection method has little smoothing effect on the noise, the noise has a greater impact, resulting in the inability to detect the edge and reducing the accuracy of the image edge detection

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
  • Image edge detection method and device and storage medium
  • Image edge detection method and device and storage medium
  • Image edge detection method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment will be described from the perspective of an image edge detection device. Specifically, the image edge detection device may be integrated in a terminal, and the terminal may be a mobile phone, a tablet computer, a notebook computer, and the like.

[0039] An image edge detection method, comprising: acquiring an image to be detected, then acquiring the original brightness value of a pixel in the image to be detected, performing linear filtering on the pixel in the image to be detected, and obtaining the brightness value of the pixel after linear filtering , acquiring the brightness difference between the brightness value of the linearly filtered pixel and the original brightness value, and determining the edge pixel in the image to be detected according to the brightness difference.

[0040] Such as Figure 2a As shown, the specific process of the image edge detection method can be as follows:

[0041] 101. Acquire an image to be detected.

[0042] For ...

Embodiment 2

[0080] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0081] In the embodiment of the present invention, the image edge detection method provided by the present invention is introduced by taking the image edge detection device integrated in the terminal as an example, and the linear filtering is Gaussian filtering.

[0082] Such as image 3 As shown, an image edge detection method, the specific process can be as follows:

[0083] 201. The terminal acquires an image to be detected.

[0084] 202. The terminal acquires the original brightness value of each pixel of the image to be detected.

[0085] Wherein, the brightness value of a pixel represents the brightness of the pixel, and the brightness value has nothing to do with the hue, therefore, the brightness value of the pixel is also a gray value.

[0086] 203. The terminal performs Gaussian filtering on each pixel in the image to be detected to obtain a...

Embodiment 3

[0101] In order to better implement the above method, the embodiment of the present invention also provides an image edge detection device, such as Figure 4a As shown, the image edge detection device includes: an image acquisition unit 301, a brightness acquisition unit 302, a linear filter unit 303, a difference value acquisition unit 304 and an edge pixel determination unit, as follows:

[0102] (1) image acquisition unit 301;

[0103] An image acquiring unit 301, configured to acquire an image to be detected.

[0104] For example, the image acquiring unit 301 may be configured to extract the image to be detected from local storage, or may acquire the image to be detected from a network side device through a network.

[0105] (2) brightness acquisition unit 302;

[0106] The brightness acquiring unit 302 is configured to acquire the original brightness value of the pixel in the image to be detected.

[0107] For example, the brightness obtaining unit 302 may be used to o...

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 embodiment of the invention discloses an image edge detection method and device and a storage medium. According to the embodiment, a to-be-detected image is acquired, then an original brightness value of pixel points in the to-be-detected image is acquired, linear filtering is performed on the pixel points in the to-be-detected image, a brightness value of the pixel points after linear filtering is obtained, a brightness difference value between the brightness value of the pixel points after linear filtering and the original brightness value is acquired, and edge pixel points in the to-be-detected image are determined according to the brightness difference value. Through the scheme, image edge detection can be performed based on the linear difference value of pixel brightness, a soft edge can be obtained, a sawtooth effect does not exist, and the visual effect of the edge is improved; and besides, noisy points can be filtered by adjusting filtering parameters of linear filtering, influences of the noisy points are eliminated as far as possible, and the precision of image edge detection is improved.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to an image edge detection method, device and storage medium. Background technique [0002] Image edge detection is a basic problem in image processing and computer vision. The purpose of image edge detection is to identify points with obvious brightness changes in digital images. Significant changes in image attributes usually reflect important events and changes in attributes. [0003] The so-called edge refers to the collection of those pixels whose surrounding pixel gray levels change sharply, which is the most basic feature of the image. The edge exists between the target, the background and the region, so it is the most important basis for image segmentation. Since the edge is a sign of the position and is not sensitive to the change of the gray level, the edge is also an important feature of image matching. [0004] At present, the commonly used image edge...

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/00
CPCG06T7/13G06T5/70
Inventor 刘皓
Owner TENCENT TECH (SHENZHEN) CO LTD
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