Fast local threshold segmentation method for fruit surface defect detection
A local threshold and defect detection technology, applied in the directions of optical testing flaws/defects, measuring devices, analyzing materials, etc., can solve the problems of difficult online detection, high cost, complicated calculation methods, etc., and achieve accurate and practical detection, fast speed, Overcome the effects of distractions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0055] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0056] Such as figure 1 Shown, embodiment of the present invention and its implementation process are as follows:
[0057] 1) Take a sample fruit RGB color image, such as figure 2 shown.
[0058] 2) Remove the background from the RGB color image of the fruit and convert it into a grayscale image, as shown in image 3 The target image P(i,j) shown.
[0059] 3) Use formula (1) to obtain the target image P(i, j) as Figure 4 The integral image I(x,y) shown is:
[0060]
[0061] 4) Scan each pixel of the target image P(i, j), and scan the corresponding pixels in the integral image with a 25×25 window at the same time. The pixels in the window beyond the boundary of the integral image are filled with boundary pixels, and calculate each 25×25 window The arithmetic mean value of is used as the segmentation value Q(i,j) of each pixel of the t...
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