A Fruit Surface Defect Detection Method Based on Gradient Iterative Threshold Segmentation
A defect detection and iterative threshold technology, applied in the direction of optical testing flaws/defects, can solve the problems of limited types of surface defects, complex online detection algorithms, and high dependency costs, achieving great application potential, easy engineering implementation, and simplified workload. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0092] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0093] like figure 1 As shown, this embodiment includes the following steps:
[0094] 1) Take a sample fruit RGB color image, such as figure 2 shown.
[0095] 2) Perform background binarization on the fruit RGB color image to obtain the following image 3 The binarized image shown.
[0096] 3) Extract the contour edge of the binarized image, and then complete the morphological expansion by formula (1) to get as Figure 4 The contour edges shown dilate the image.
[0097]
[0098] Among them, S adopts such as Figure 5 The structuring element is shown as a 3 pixel radius circle.
[0099] 4) Convert the original color image to a grayscale image, and then use formula (2) to calculate,
[0100]
[0101] Where: Sobel operator h 1 use
[0102] Then calculate the gradient value by formula (3).
[0103]
[0104] Then, normalize a...
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