Method for detecting fruit surface defects by virtue of segmentation of gradient iteration threshold

A defect detection, iterative threshold technology, applied in the direction of optical testing flaws/defects, etc., can solve the problems of limited types of surface defects, high dependency cost, and complexity.

Active Publication Date: 2016-06-15
杭州诺田智能科技有限公司
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

J.Blascoa et al. use multi-spectral imaging equipment to analyze surface defects of navel oranges. 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 Engine

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
  • Method for detecting fruit surface defects by virtue of segmentation of gradient iteration threshold
  • Method for detecting fruit surface defects by virtue of segmentation of gradient iteration threshold
  • Method for detecting fruit surface defects by virtue of segmentation of gradient iteration threshold

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] Such as 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] R 1 = A ⊕ S = { a | ( S v ) + a ∪ 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
IPC IPC(8): G01N21/95
CPCG01N21/95
Inventor 应义斌容典饶秀勤
Owner 杭州诺田智能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products