Method for detecting oblique triangle in digital image
A digital image and detection method technology, applied in image analysis, image data processing, character and pattern recognition, etc., can solve the problems of complex calculation and large amount of calculation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0033] Such as Figure 2a A grayscale image is shown, the image size is 587×184, and the image contains four different triangles. Introduce the specific implementation steps of using the method provided by the invention to detect any triangle below:
[0034] Step S1: Collect images and input them into the computer.
[0035] Step S2: Calculate the gradient of each pixel.
[0036] Step S3: use the Canny edge detection operator to calculate the edge map of the image. When using the Canny operator for edge detection, the Gaussian scale is set to 1.0, and the high and low threshold parameters for connection are set to 0.02 and 0.01, respectively, as Figure 2b For using the Canny operator pair Figure 2a The edge map obtained after performing edge detection.
[0037] Step S4: Calculate the direction line of each edge point by using the gradient of each edge point on the edge map. Remember the edge point X in the image i (x i ,y i )(i=1, 2, ..., N) (N is the number of edge ...
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