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

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

Active Publication Date: 2019-03-01
杭州诺田智能科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

J.Blascoa et al. used multi-spectral imaging equipment for navel orange surface defect analysis. This method has high hardware cost and complexity (2007) (J.Blascoa,N.Aleixos.(2007).Citrus sorting by identification of the most common defects using multispectral computer vision. Journal of Food Engineering 83(2007) 384–393)
[0007] Existing methods have the problems of limited detection of surface defects and complex algorithms that are difficult to use for online detection or rely on complex hardware imaging technology with high cost. Therefore, new detection methods for fruit surface defects are needed

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
  • A Fruit Surface Defect Detection Method Based on Gradient Iterative Threshold Segmentation
  • A Fruit Surface Defect Detection Method Based on Gradient Iterative Threshold Segmentation
  • A Fruit Surface Defect Detection Method Based on Gradient Iterative Threshold Segmentation

Examples

Experimental program
Comparison scheme
Effect test

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...

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 a method for detecting fruit surface defects by virtue of segmentation of a gradient iteration threshold. The method comprises the steps of firstly removing the background of an RGB color image, carrying out binaryzation on the RGB color image, independently extracting edges, carrying out expansion once to obtain an outline edge expansion image, converting the RGB color image into a gray level image, calculating a normalized gradient image, then carrying out gradient iteration calculation to obtain an image segmentation threshold, segmenting according to the image segmentation threshold to obtain a gradient binarization image, subtracting the outline edge expansion image from the gradient binarization image to obtain a difference image, and finally carrying out expansion hole filling corrosion and median filtering treatment on the difference image so as to obtain a fruit surface defect image. According to the method, the defect that different luminance characteristics of the surface are detected when the surface luminance of a globoid is not uniform is overcome; the image processing speed is high, and the program implementation is easy; and the method has application potential in the visual online detection of fruit and agricultural product quality computers.

Description

technical field [0001] The invention relates to a computer vision image processing method, in particular to a fruit surface defect detection method based on gradient iterative threshold segmentation. Background technique [0002] Surface defect detection is one of the important basis for fruit grading, which is strictly regulated in the fruit grading standards of countries all over the world. A large number of scholars at home and abroad have studied the detection of surface defects of fruits and agricultural products by means of computer vision. However, many agricultural products are spherical, and the gray value in the middle of the two-dimensional graphics is much larger than the gray value of the edge, which leads to difficulties in the detection of surface defect images. [0003] After searching the existing technologies, it is found that the methods are mainly divided into three categories: [0004] 1) The processing method based on the spherical gray scale model. F...

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 Patents(China)
IPC IPC(8): G01N21/95
CPCG01N21/95
Inventor 应义斌容典饶秀勤
Owner 杭州诺田智能科技有限公司
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