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

Image edge detection method and device

A technology of image edge and detection method, which is applied in the field of image recognition, can solve the problems that the brightness has a great influence, and it is difficult to recognize images of the same color but different brightness, so as to avoid the effect of judgment error

Pending Publication Date: 2017-12-08
SHANGHAI MEDIA TECH
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is that in the prior art, when the gray space is used to detect the edge of the image, it is greatly affected by the brightness, and it is difficult to identify the defects of images of the same color but different brightness, and to provide an image edge that can accurately identify the edge of the image Detection method and device

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0046] An image edge detection method, comprising: using each pixel of the image as a pixel to be detected, and performing the following steps on the pixel to be detected, such as figure 1 Shown:

[0047] Step 101. Calculate the distances between the RGB value of the pixel to be detected and the RGB value of the adjacent pixel at a specified position. figure 2Shows the position of each pixel of a nine-square grid in the image (an image can be divided into multiple nine-square grids), each grid represents a pixel point, the number of the pixel point is marked in the grid, and the pixel point 5 in the middle is to be detected Taking a pixel as an example, the adjacent pixels of pixel 5 include: pixel 1, pixel 2, pixel 3, pixel 4, pixel 6, pixel 7, pixel 8 and pixel 9. In step 101, adjacent pixels can be used as designated points, and the RGB values ​​of pixel 5 and pixel 1, pixel 2, pixel 3, pixel 4, pixel 6, pixel 7, and pixel 8 can be calculated respectively. The distance f...

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 an image edge detection method and device. The image edge detection method comprises the steps that each pixel point of an image is used as a to-be-detected pixel point, and the following steps are executed on the to-be-detected pixel points, wherein the distance between an RGB value of one to-be-detected pixel point and an RGB value of an adjacent pixel point at a designated position is calculated; the maximum value of the calculated distances is selected; and whether the maximum value is greater than or equal to a preset threshold value is judged, if yes, the to-be-detected pixel point is an edge point, and it not, the to-be-detected pixel point is a non-edge point. Through the image edge detection method and device, the defects that in the prior art, detection of an image edge by use of a grayscale space is seriously influenced by luminance, and it is difficult to recognize images which are in the same color but have different levels of luminance are overcome, an RGB value space is directly used, therefore, a judgment error generated in chromatic aberration due to catering to visual characteristics of a person is avoided, and the edge points of the image are accurately recognized.

Description

technical field [0001] The invention belongs to the field of image recognition, in particular to an image edge detection method and device. Background technique [0002] When detecting the edge of an image in the current image recognition field, the current color space of the image is usually converted into a grayscale space first, and then other operations are performed. The reason is that the grayscale mainly extracts the brightness of the color, and the naked eye is most sensitive to the brightness. And compared to the RGB value space and the YUV color space, which are three-dimensional, the grayscale space is one-dimensional, and the calculations are relatively simple. [0003] But images expressed in gray space also have inherent deficiencies. That is to say, the gray scale emphasizes the brightness, so the same color has great differences in scenes with different brightness. For example, traffic lights are very dazzling bright red at night; but when viewed in the aft...

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/13
Inventor 李瑞民杨升秦赟
Owner SHANGHAI MEDIA TECH
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