Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

An impurity detection method based on image processing

A technology of image processing and detection method, which is applied in the field of image processing, can solve the problems that the red background plate is difficult to accurately separate the impurities to calculate the area, the background threshold of the cotton image is not the same, and the extraction of impurities cannot be obtained, etc.

Inactive Publication Date: 2019-01-04
ANHUI AGRICULTURAL UNIVERSITY
View PDF3 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when selecting a reasonable background, according to the color space histogram analysis, it is difficult to accurately separate impurities and calculate the area using a red background plate when performing threshold segmentation according to the color space histogram, and the background threshold of each cotton image is different. Custom thresholds do not get the best results for extracting impurities
The application of BP algorithm in image recognition has a strong error tolerance rate and associative ability, but there is no further adaptive learning for different images and different impurity dynamic threshold areas

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
  • An impurity detection method based on image processing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] refer to figure 1 , a kind of impurity detection method based on image processing that the present invention proposes, comprises:

[0024] Step S1, acquiring a cotton sample image, the background color of the cotton sample image is yellow.

[0025] In the specific scheme, the image of the cotton sample is acquired by a digital camera. In the process of acquiring the image of the cotton sample, since the cotton sample has a certain thickness, shadows will appear on the edge of the cotton illuminated by different angles, which will have a certain impact on the post-processing of the image. For this, choose the light Irradiating cotton at a high angle can reduce this effect. In order to facilitate the observation of the effect of light on the background, fluorescent lamps are selected as the light source. Cotton and impurities are mainly distinguished by the difference in color gamut. Reasonable image selection can reduce the difficulty of image post-processing. Background...

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 an impurity detection method based on image processing. The method comprises steps: a cotton sample image is obtained; the cotton sample image is enhanced to obtain cotton enhancement image; according to HSV, the cotton enhancement image is segmented by threshold, and the background color of the cotton enhancement image is removed to obtain the target cotton image; according to a Otsu algorithm, the cotton image is segmented by threshold, and the binary image of the target cotton image is obtained; an impurity area in cotton is calculated according to a target cotton image and a binary image of the target cotton image; a connected region of a binary graph of a target cotton image is determined, and an impurity position and an impurity number in the binary graph of the target cotton image are identified according to the connected region; an L-M algorithm and S-component histogram of HSV color space are used to train cotton and background threshold and stray areaadaptive BP network, and the dynamic threshold region of background is obtained.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an image processing-based impurity detection method. Background technique [0002] my country is a big cotton planting and exporting country. It is difficult to control the source of impurities in the process of picking and purchasing cotton. If the cotton contains too many impurities, the grade and quality of cotton will be reduced, which will seriously affect the industrial efficiency and export. In recent years, image processing technology, machine vision technology and BP neural network algorithm have been widely used in cotton impurity detection process. For example, the RGB color space is used for image processing, and the threshold value is used to segment cotton and impurities; machine vision is used to enhance filter processing and segmentation processing of image input, and block detection of impurities and cotton background; etc. Use BP neural network to trai...

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 Applications(China)
IPC IPC(8): G06T7/00G06T7/136G06T7/194G06T7/62G06T5/00G01N21/94G01N21/88G06N3/08
CPCG06N3/084G06T7/0002G06T7/136G06T7/194G06T7/62G01N21/8851G01N21/94G01N2021/8887G06T2207/20032G06T2207/20081G06T5/70
Inventor 夏萍王飞涛樊春春
Owner ANHUI AGRICULTURAL UNIVERSITY
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
Eureka Blog
Learn More
PatSnap group products