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

A fast detection method for fruit surface defects based on regional brightness adaptive correction

A detection method and self-adaptive technology, applied in the direction of measuring devices, instruments, scientific instruments, etc., can solve the problems of complex fruit surface defect detection algorithm, limited detection surface defect types, high hardware cost and difficulty in adapting, and shorten the image processing time , avoid the effect of high hardware cost and low cost

Active Publication Date: 2021-02-26
SOUTHWEST UNIV
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to solve the problems of complex fruit surface defect detection algorithm in the background technology, limited detection surface defect types, high hardware cost and difficulty in adapting to online detection requirements, etc., the purpose of the present invention is to provide a fast fruit surface defect detection method based on regional brightness adaptive correction , suitable for online detection occasions

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 fast detection method for fruit surface defects based on regional brightness adaptive correction
  • A fast detection method for fruit surface defects based on regional brightness adaptive correction
  • A fast detection method for fruit surface defects based on regional brightness adaptive correction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0047] The implementation process of the present invention is as follows: press figure 1 The flow shown is to detect surface defects on navel oranges, including the following steps:

[0048] 1) With black as the background, get the navel orange RGB color image, such as figure 2 shown;

[0049] 2) Remove the background from the navel orange RGB color image and extract the R-B difference grayscale image to form the target image P(x,y), such as image 3 shown;

[0050] 3) Take the average of the largest gray values ​​in the neighborhood of each pixel in the image as the brightness of the current pixel, and calculate the surface brightness image I(x,y) of the extracted target image P(x,y), such as Figure 4 shown; the calculation method is: the size of the target image P(x,y) is M×N (M×N=640×480 in this embodiment), and the size of the neighbo...

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 relates to a fast detection method for fruit surface defects with self-adaptive correction of regional brightness. Firstly, a fruit RGB color image is obtained with a black background, and then the background is removed and the R-B difference grayscale image is extracted to form a target image P(x, y), and then use the average of the largest gray values ​​in the neighborhood of each pixel in the image as the brightness of the current pixel to calculate and extract the surface brightness image I(x,y) of the target image P(x,y), and P (x, y) and I(x, y) points are divided to obtain the brightness correction image F(x, y), and the global single threshold method is used to extract the target area for F(x, y) to obtain the target binarized image B(x, y). y), performing area threshold filtering on B(x, y) to obtain the fruit surface defect area image D(x, y). The algorithm of the invention is simple, and the detection of an image can be completed in tens of milliseconds on an ordinary computer, with an accuracy rate of 94.6%, and the image processing time of online fruit detection can be greatly shortened. The invention has high adaptability, low cost, simple operation and good detection robustness to samples with different types of defects.

Description

technical field [0001] The invention belongs to the technical field of computer vision image processing, and in particular relates to a fast detection method for fruit surface defects with area brightness self-adaptive correction. Background technique [0002] Fruit surface defects have always been a difficult point in all external quality inspections of fruits, and are also one of the important basis for fruit grading. When a large number of researchers at home and abroad detect surface defects of fruits through computer vision, they find that most of the fruits are spherical or spheroidal, resulting in uneven reflection of light, resulting in uneven brightness of the fruit surface, which appears as high brightness in the middle area on the grayscale image. , the gray level of the edge area is low, and the defect area usually exists in the form of low gray value, and the gray level of the defect area intersects with the gray level of the normal area, which directly leads to...

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/956
CPCG01N21/95623
Inventor 吕强张明李鹏王腾邓烈郑永强易时来
Owner SOUTHWEST UNIV
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