CN101890409A - Method for sorting substance particles based on colour space conversion - Google Patents

Method for sorting substance particles based on colour space conversion Download PDF

Info

Publication number
CN101890409A
CN101890409A CN2010102329034A CN201010232903A CN101890409A CN 101890409 A CN101890409 A CN 101890409A CN 2010102329034 A CN2010102329034 A CN 2010102329034A CN 201010232903 A CN201010232903 A CN 201010232903A CN 101890409 A CN101890409 A CN 101890409A
Authority
CN
China
Prior art keywords
sorting
substance particles
image
value
lower bound
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102329034A
Other languages
Chinese (zh)
Inventor
方茂雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HEFEI ANJINGLONG ELECTRIC CO Ltd
Original Assignee
HEFEI ANJINGLONG ELECTRIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HEFEI ANJINGLONG ELECTRIC CO Ltd filed Critical HEFEI ANJINGLONG ELECTRIC CO Ltd
Priority to CN2010102329034A priority Critical patent/CN101890409A/en
Publication of CN101890409A publication Critical patent/CN101890409A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Spectrometry And Color Measurement (AREA)
  • Sorting Of Articles (AREA)

Abstract

The invention discloses a method for sorting substance particles based on colour space conversion. The method comprises the following steps of: acquiring an RGB colour image of the substance particles; converting the RGB colour image to an HIS or HSV colour space for setting a sorting threshold value; displaying the acquired image of the substance particles; determining upper limits and lower limits of chromaticity, saturation degree and brightness (or luminosity) according to H, S, I (or V) value ranges of foreign color particles or impurities in the substance particles; after setting the sorting threshold value, marking the removed colour ranges with different colours; displaying the sorting result on a screen; and setting a size value according to the number of the marked points on the image of the substance particles of the sorting effect; after the displayed sorting effect reaches the ideal effect, downloading the threshold value and the size value to hardware equipment; on the basis of the hardware equipment for processing an image, converting the RGB colour image to the HIS or HSV colour image space, and comparing the RGB colour image and the threshold value input to the hardware equipment; and driving a valve to act according to the comparison result, and removing the foreign color particles from the substance particles so as to fulfill the aim of sorting.

Description

A kind of method of substance particles being carried out sorting based on color space conversion
Technical field
The invention belongs to a kind of color selector method for separating, be specifically related to a kind ofly utilize photoelectric detecting technology that the substance particles image is shown and carry out color space conversion, can require be provided with the method for color selector sorting parameter according to different sortings.
Background technology
Along with the raising of industrial and agricultural products manufacture field quality and the development of technology, color selector more and more widely be used for processing industries such as rice, coarse cereals, seed, plastics and ore.Need the sorting parameter repeatedly be set according to different colours in some industry; the precision of the product selecting parameter of different brackets is also inequality; because these demands all have abundant colouring information; and the grey value difference that present most of color selector is based on granule materials is distinguished heterochromatic grain or impurity; this technology can't satisfy the sorting requirement of the close material of color, such as light yellow and green raisin.
Also occurred the colored color selector of a class in the market, its principle is to use the colour imaging device to gather the RGB color value of substance particles, determines the sorting parameter according to the scope of R (red), G (green), B (indigo plant) value again.This method with based on the color selection method of gray value certain improvement is arranged, but unsatisfactory by discovery in the practical application for the separating effect of the close material of color.Discover and similar color can not be included within the scope with RGB color value interval value, and carry out color space conversion, rgb value is converted to colourity (H), saturation degree (S) and brightness (I) (or shading value (V)) just can comprises similar color with the upper and lower bound of colourity, the upper and lower bound of saturation degree, the upper and lower bound of brightness (or lightness).
Use the occasion of color selector at some, such as reclaiming plastics, need select the plastic grain of different colours several times, the sorting of different batches requires also different, and this just requires the sorting state of operator's energy Real Time Observation color selector and requires color selector is adjusted to needed state according to sorting.
Summary of the invention
Technical problem solved by the invention is to provide a kind of satisfied enrich color material sorting requirement, the method for substance particles being carried out sorting based on color space conversion.
Technical problem solved by the invention realizes by the following technical solutions:
A kind of based on color space conversion to the method that substance particles carries out sorting, it is characterized in that, may further comprise the steps:
1. the RGB coloured image of gathering substance particles is transformed into HSI or the sorting threshold value setting is carried out in the HSV color space;
2. show the image of the substance particles of gathering in real time, click the coloured image on the display device, can see the value of colourity (H), saturation degree (S) and the brightness (I) (or shading value (V)) of pixel;
3. require to determine the upper and lower bound of colourity, the upper and lower bound of saturation degree, the upper and lower bound of brightness (or shading value) according to the upper and lower bound of the upper and lower bound of H, the S of heterochromatic grain that exists in the substance particles or impurity, upper and lower bound that I (or V) value scope is determined colourity, saturation degree, brightness (or shading value) or according to other sortings;
4. after setting the sorting threshold values, disallowable color gamut is marked as different colors, and shows the result of sorting on screen;
5. according to what of gauge point on the substance particles image on the separating effect, sizes values is set, sizes values is to calculate according to what of regional extent internal labeling point, when the number of regional internal labeling point during more than the sizes values of setting, just can be taken as bad particle disposal;
6., can continue to adjust threshold values and sizes values if the separating effect of Xian Shiing is improper;
7. after the separating effect of Xian Shiing reaches ideal effect, threshold values and sizes values are downloaded to hardware device;
8. the hardware device of handling based on image, the RGB coloured image is transformed into the threshold values of importing on HSI or HSV coloured image space and the hardware device compares,, drive valve event according to comparative result, reject the heterochromatic grain in the substance particles, reach the purpose of sorting.
Described hardware device is the color selector that has display device commonly used.
The beneficial effect that the present invention has is to sub-elect the close material of color, sharpness of separation for the less material of color distortion has also improved greatly, owing to have display device on the hardware device, can monitor the sorting state in real time, click the color value that display device just can display pixel point, just can determine the sorting parameter according to the sorting requirement again, and the darker color mark of just disallowable part use comes out, the effect of simulation sorting, operating process is directly perceived, simple, the degree of accuracy is high.
Description of drawings
Fig. 1 is the schematic diagram of display interface among the embodiment.
The specific embodiment
For technological means, creation characteristic that the present invention is realized, reach purpose and effect is easy to understand, below in conjunction with the specific embodiment, further set forth the present invention.
A kind of based on color space conversion to the method that substance particles carries out sorting, may further comprise the steps:
1. the RGB coloured image of gathering substance particles is transformed into HSI or the sorting threshold value setting is carried out in the HSV color space;
2. show the image of the substance particles of gathering in real time, click the coloured image on the display device, can see the value of colourity (H), saturation degree (S) and the brightness (I) (or shading value (V)) of pixel;
3. require to determine the upper and lower bound of colourity, the upper and lower bound of saturation degree, the upper and lower bound of brightness (or shading value) according to the upper and lower bound of the upper and lower bound of H, the S of heterochromatic grain that exists in the substance particles or impurity, upper and lower bound that I (or V) value scope is determined colourity, saturation degree, brightness (or shading value) or according to other sortings;
4. after setting the sorting threshold values, disallowable color gamut is marked as different colors, and shows the result of sorting on screen;
5. according to what of gauge point on the substance particles image on the separating effect, sizes values is set, sizes values is to calculate according to what of regional extent internal labeling point, when the number of regional internal labeling point during more than the sizes values of setting, just can be taken as bad particle disposal.
6., can continue to adjust threshold values and sizes values if the separating effect of Xian Shiing is improper;
7. after the separating effect of Xian Shiing reaches ideal effect, threshold values and sizes values are downloaded to hardware device;
8. the hardware device of handling based on image, the RGB coloured image is transformed into the threshold values of importing on HSI or HSV coloured image space and the hardware device compares,, drive valve event according to comparative result, reject the heterochromatic grain in the substance particles, reach the purpose of sorting.
Below just with reference to accompanying drawing 1, further specify for a specific embodiment, Represent button, display interface shown in the drawings mainly is divided into four zones, image display area, camera state area, display field and parameter setting area.The camera state area mainly is to show whether camera work is normal on the color selector.Needing the substance particles of sorting to put into color selector separation chamber, gather the coloured image of substance particles earlier.Can see the real-time color image of substance particles at " image display area " of display interface.Click the image on " image display area ", can see the data of " H, S, I/V " and " R, G, B " at " display field ".The value of the colourity of the heterochromatic substance particles of Ti Chuing (H), saturation degree (S) and brightness (I) (or shading value (V)) as required, set the upper and lower bound of colourity (H), the upper and lower bound of saturation degree (S), the upper and lower bound of brightness (I) (or shading value (V)) in " parameter setting area ", H, the S of its heterochromatic substance particles, I (or V) value are included in the scope of upper limit lower limit." parameter setting area " has five groups, be " or " relation, wherein one group of numerical value is effective as long as have, and separating effect is just arranged.These five groups of parameters are provided with, and can select, and are convenient to reject multiple heterochromatic substance particles like this.After setting the sorting threshold values, click " separating effect " button of " display field ", can see separating effect at " image display area ", disallowable heterochromatic substance particles is labeled darker color.The heterochromatic particle of Ti Chuing is less with normal coloured particles difference on color if desired, on separating effect, normal coloured particles also has the sub-fraction quilt than the dark colour mark, though such gauge point seldom, but also can be thought disallowable particle by color selector, disallowable for fear of normal coloured particles, can set " size " value in the parameter setting area.Sizes values is to calculate according to what of regional extent internal labeling point, when the number of regional internal labeling point during more than the sizes values of setting, just can be taken as bad particle disposal.After the setting of " size " value is finished,, can continue to adjust threshold values and sizes values if the separating effect that " image display area " shows is improper.After the separating effect that " image display area " shows reaches ideal effect, click " parameter downloads " button of " parameter setting area ", threshold values and sizes values are downloaded to hardware device.Hardware device based on image is handled is transformed into the threshold values of importing on HSI or HSV coloured image space and the hardware device with the RGB coloured image and compares, and according to comparative result, drives valve event, rejects heterochromatic particle, reaches the purpose of sorting.
More than show and described basic principle of the present invention and principal character and advantage of the present invention.The technical staff of the industry should understand; the present invention is not restricted to the described embodiments; that describes in the foregoing description and the specification just illustrates principle of the present invention; without departing from the spirit and scope of the present invention; the present invention also has various changes and modifications, and these changes and improvements all fall in the claimed scope of the invention.The claimed scope of the present invention is defined by appending claims and equivalent thereof.

Claims (2)

  1. One kind based on color space conversion to the method that substance particles carries out sorting, it is characterized in that, may further comprise the steps:
    A. the RGB coloured image of gathering substance particles is transformed into HSI or the sorting threshold value setting is carried out in the HSV color space;
    B. show the image of the substance particles of gathering in real time, click the coloured image on the display device, can see the value of colourity (H), saturation degree (S) and the brightness (I) (or shading value (V)) of pixel;
    C. require to determine the upper and lower bound of colourity, the upper and lower bound of saturation degree, the upper and lower bound of brightness (or shading value) according to the upper and lower bound of the upper and lower bound of H, the S of heterochromatic grain that exists in the substance particles or impurity, upper and lower bound that I (or V) value scope is determined colourity, saturation degree, brightness (or shading value) or according to other sortings;
    D. after setting the sorting threshold values, disallowable color gamut is marked as different colors, and shows the result of sorting on screen;
    E. according to what of gauge point on the substance particles image on the separating effect, sizes values is set, sizes values is to calculate according to what of regional extent internal labeling point, when the number of regional internal labeling point during more than the sizes values of setting, just can be taken as bad particle disposal;
    If f. the separating effect of Xian Shiing is improper, can continue to adjust threshold values and sizes values;
    G. after the separating effect of Xian Shiing reaches ideal effect, threshold values and sizes values are downloaded to hardware device;
    H. the hardware device of handling based on image is transformed into the threshold values of importing on HSI or HSV coloured image space and the hardware device with the RGB coloured image and compares, and according to comparative result, drives valve event, rejects the heterochromatic grain in the substance particles.
  2. According to claim 1 described based on color space conversion to the method that substance particles carries out sorting, it is characterized in that: described hardware device is the color selector that has display device commonly used.
CN2010102329034A 2010-07-16 2010-07-16 Method for sorting substance particles based on colour space conversion Pending CN101890409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102329034A CN101890409A (en) 2010-07-16 2010-07-16 Method for sorting substance particles based on colour space conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102329034A CN101890409A (en) 2010-07-16 2010-07-16 Method for sorting substance particles based on colour space conversion

Publications (1)

Publication Number Publication Date
CN101890409A true CN101890409A (en) 2010-11-24

Family

ID=43099844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102329034A Pending CN101890409A (en) 2010-07-16 2010-07-16 Method for sorting substance particles based on colour space conversion

Country Status (1)

Country Link
CN (1) CN101890409A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978740A (en) * 2015-05-10 2015-10-14 刘畅 Component automatic measurement method based on image color feature
CN105562361A (en) * 2015-12-23 2016-05-11 西安工程大学 Independent sorting method of fabric sorting robot
CN106156801A (en) * 2016-07-27 2016-11-23 合肥高晶光电科技有限公司 A kind of coloured particle system of selection based on image procossing
CN107046608A (en) * 2016-02-08 2017-08-15 富士施乐株式会社 Terminal installation, diagnostic system and diagnostic method
CN110639835A (en) * 2019-09-25 2020-01-03 武汉易视维科技有限公司 Online composite rod visual detection system
CN115382782A (en) * 2022-08-31 2022-11-25 哈尔滨工程大学 Rice color selection method based on improved center positioning method and HSV color model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05128225A (en) * 1991-11-08 1993-05-25 Fujitsu Ltd Device and method for color designating/extracting
CN2740303Y (en) * 2004-11-16 2005-11-16 许大红 Granular material color selector
CN101101629A (en) * 2006-07-04 2008-01-09 欧姆龙株式会社 Image processing device
CA2252871C (en) * 1997-02-20 2008-04-29 Sony Corporation Video signal processing device and method, image synthesizing device, and editing device
CN101279321A (en) * 2008-05-14 2008-10-08 许大红 Granular material optical color sorter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05128225A (en) * 1991-11-08 1993-05-25 Fujitsu Ltd Device and method for color designating/extracting
CA2252871C (en) * 1997-02-20 2008-04-29 Sony Corporation Video signal processing device and method, image synthesizing device, and editing device
CN2740303Y (en) * 2004-11-16 2005-11-16 许大红 Granular material color selector
CN101101629A (en) * 2006-07-04 2008-01-09 欧姆龙株式会社 Image processing device
CN101279321A (en) * 2008-05-14 2008-10-08 许大红 Granular material optical color sorter

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978740A (en) * 2015-05-10 2015-10-14 刘畅 Component automatic measurement method based on image color feature
CN105562361A (en) * 2015-12-23 2016-05-11 西安工程大学 Independent sorting method of fabric sorting robot
CN107046608A (en) * 2016-02-08 2017-08-15 富士施乐株式会社 Terminal installation, diagnostic system and diagnostic method
CN106156801A (en) * 2016-07-27 2016-11-23 合肥高晶光电科技有限公司 A kind of coloured particle system of selection based on image procossing
CN106156801B (en) * 2016-07-27 2019-04-19 合肥高晶光电科技有限公司 A kind of coloured particle selection method based on image procossing
CN110639835A (en) * 2019-09-25 2020-01-03 武汉易视维科技有限公司 Online composite rod visual detection system
CN115382782A (en) * 2022-08-31 2022-11-25 哈尔滨工程大学 Rice color selection method based on improved center positioning method and HSV color model
CN115382782B (en) * 2022-08-31 2023-11-10 哈尔滨工程大学 Rice color selection method based on improved center positioning method and HSV color model

Similar Documents

Publication Publication Date Title
CN101890409A (en) Method for sorting substance particles based on colour space conversion
US9676004B2 (en) Sorting system
EP2586873B1 (en) Methods and devices for detecting a microbial colony
Lino et al. Image processing techniques for lemons and tomatoes classification
KR100903704B1 (en) The White and Brown Rice Appearance Characteristics Measurement System and the Same Method
CN107144353B (en) A kind of textile chromatism measurement method based on digital camera
EP2807634B1 (en) Method for preparing a system which is used to optically identifying objects, laboratory image capturing system for carrying out such a method, and arrangement comprising the laboratory image capturing system and the system
CN104438135A (en) Colored double-CCD (Charge Coupled Device) color-sorting system for delinting cotton seeds and implementation method
CN1590988A (en) Particle colour sorting device with display controller
WO2015186708A1 (en) Method for creating grade discrimination standard in granular object appearance grade discrimination device
Loresco et al. Color space analysis using KNN for lettuce crop stages identification in smart farm setup
US20160364599A1 (en) Cell region display control device, method, and program
CN108480223A (en) A kind of workpiece sorting system and its control method
JP2016206760A (en) Color discrimination method and color discrimination device, as well as printer color tone control method
Chen et al. Real-time grain breakage sensing for rice combine harvesters using machine vision technology
CN102495067A (en) System for identifying impurities of edible funguses on line
JP2777509B2 (en) Color inspection method
CN102519971A (en) On-line identification apparatus and method for impurities in edible fungi
CN109100350B (en) Flour bran star detection method
CN103272783B (en) Colored CCD color selector color judges and separation method
CN112364780A (en) Method for identifying state of indicator lamp
CN103927544A (en) Machine vision grading method for ginned cotton rolling quality
CN106462964B (en) Method and digital microscope for being split to color image
CN111353432A (en) Rapid honeysuckle medicinal material cleaning method and system based on convolutional neural network
CN107671013A (en) Large scale material based on color sorting technology rejects technique

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101124