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

Fruit Surface Defect Detection Method Based on Sliding Comparison Window Adaptive Segmentation

A defect detection and self-adaptive technology, applied in image analysis, image enhancement, instruments, etc., can solve problems such as high cost, difficult online detection, complex calculation methods, etc., achieve good accuracy and practicability, wide application objects, large scale The effect of applying potential

Active Publication Date: 2018-11-02
杭州诺田智能科技有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to solve the problems in the background technology that the detection of surface defect types is limited and the calculation method is complicated and difficult to be used in online detection or rely on complex hardware imaging technology with high cost, the purpose of the present invention is to provide a fruit that is adaptively segmented based on a sliding comparison window Compared with the background technology, the surface defect detection method has a simpler identification method, more types of surface defect detection and wider object practicability

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
  • Fruit Surface Defect Detection Method Based on Sliding Comparison Window Adaptive Segmentation
  • Fruit Surface Defect Detection Method Based on Sliding Comparison Window Adaptive Segmentation
  • Fruit Surface Defect Detection Method Based on Sliding Comparison Window Adaptive Segmentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0069] Such as figure 1 Shown, embodiment of the present invention and its implementation process are as follows:

[0070] 1) Take a sample fruit RGB color image, such as figure 2 shown.

[0071] 2) Perform background binarization on the fruit RGB color image to obtain the following image 3 The binarized image shown.

[0072] 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.

[0073]

[0074] In the formula:

[0075] R 1 -process result;

[0076] A—contour edge dilation image;

[0077] a—a pixel in A;

[0078] S—such as Figure 5 The structuring element of the 3-pixel radius circle shown;

[0079] S v —Symmetry set of S;

[0080] φ—empty set.

[0081] 4) Remove the background from the RGB color image 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 fruit surface defect detection method based on the adaptive segmentation of a sliding comparison window. The fruit surface defect detection method comprises the following steps: obtaining an RGB (Red, Green and Blue) colorful image of a fruit, and removing background binaryzation to obtain an initial binaryzation image; extracting and expanding an edge to obtain an outline edge expansion image; removing a background from the RGB colorful image, converting the RGB colorful image into a grayscale image, and establishing a target image; carrying out window scanning and calculation on the grayscale image to obtain a segmentation threshold value; carrying out judgment by the segmentation threshold value, and traversing target image pixels to carry out assignment to obtain a target binaryzation image; and subtracting the outline edge expansion image, and carrying out expansion hole filling corrosion and median filtering processing to obtain the fruit surface defect image. The fruit surface defect detection method is accurate and practical in detection, can effectively avoid dependency on the shapes and the sizes of fruits and agricultural products and avoid complex influences brought by brightness rectification, has a great quantity of application objects and is high in application value.

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 sliding comparison window adaptive 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 mod...

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): G06T7/00G06T7/136G06T7/90
CPCG06T7/0002G06T2207/30188
Inventor 应义斌容典饶秀勤
Owner 杭州诺田智能科技有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More