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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com