Improved Zernike moment edge detection method
An edge detection and edge direction technology, applied in the field of image processing, can solve the problems of large edge detection error and poor sub-pixel detection effect, and achieve the effect of compensating for large positioning errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] The improved Zernike moment edge detection method provided by the invention comprises the following steps:
[0037] 1) Acquire an image and extract the edge of the image; in this embodiment, the Zernike moment method is used to extract the edge of the image, and the image in this embodiment is an industrial CT image.
[0038] 2) Thinning the edge; the thinning edge in this embodiment is performed by suppressing the non-minimum value of the edge distance parameter l for each edge point in the image in the direction of the maximum gradient.
[0039] 3) Obtain the edge direction parameter φ distribution and the edge direction parameter difference value Δφ; this embodiment uses 8-chain code tracking to obtain the edge direction parameter φ distribution; this embodiment uses the following formula to calculate the direction of the edge direction parameter φ of the detected edge point Pre-difference value Δφ:
[0040] Δφ=φ(n+1)-φ(n), n=1,2,3...(NUM-1),
[0041] Among them, Δ...
Embodiment 2
[0049] Embodiment 2 provided by the present invention adopts the improved Zernike moment edge detection method in the following manner.
[0050] Step 1, the Zernike moment method extracts the edge contour, and the specific implementation steps of the Zernike moment sub-pixel edge detection are as follows:
[0051] (1) Calculation template Re[M 11 ], Im[M 11 ] and M 20 ;
[0052] where M pq Represents the p-order q-order Zernike moment template, M 11 Denotes a first-order linear Zernike moment template, M 20 Represents the second-order zero-order Zernike moment template, Re[M 11 ] for M 11 Template real part, Im[M 11 ] for M 11 Template imaginary part.
[0053] (2) Using the template Re[M 11 ], Im[M 11 ] respectively with the image convolution operation to obtain the corresponding Zernike moment real part Re[A 11 ], and the imaginary part Im[A 11 ], M 20 Convolved with the image to obtain the second-order zero-order Zernike moment A 20 . Zernike moment template...
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