[go: up one dir, main page]

CN113504250A - Peanut aflatoxin detection device and method based on prism type RGB color extraction - Google Patents

Peanut aflatoxin detection device and method based on prism type RGB color extraction Download PDF

Info

Publication number
CN113504250A
CN113504250A CN202110576648.3A CN202110576648A CN113504250A CN 113504250 A CN113504250 A CN 113504250A CN 202110576648 A CN202110576648 A CN 202110576648A CN 113504250 A CN113504250 A CN 113504250A
Authority
CN
China
Prior art keywords
peanut
image
aflatoxin
industrial camera
images
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.)
Granted
Application number
CN202110576648.3A
Other languages
Chinese (zh)
Other versions
CN113504250B (en
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.)
Hangzhou Huicui Intelligent Technology Co ltd
Hangzhou Dianzi University
Taizhou Vocational and Technical College
Original Assignee
Hangzhou Huicui Intelligent Technology Co ltd
Hangzhou Dianzi University
Taizhou Vocational and Technical College
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 Hangzhou Huicui Intelligent Technology Co ltd, Hangzhou Dianzi University, Taizhou Vocational and Technical College filed Critical Hangzhou Huicui Intelligent Technology Co ltd
Priority to CN202110576648.3A priority Critical patent/CN113504250B/en
Publication of CN113504250A publication Critical patent/CN113504250A/en
Application granted granted Critical
Publication of CN113504250B publication Critical patent/CN113504250B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Image Analysis (AREA)

Abstract

本发明公开了一种基于棱镜式RGB色彩提取的花生黄曲霉素检测装置及方法,其中装置包括控制箱和计算机,二者通过控制线缆连接,所述控制箱内设置工业相机和紫外灯光源,所述工业相机与所述计算机连接,所述控制箱内还设置载物台,载物台在工业相机的正下方,工业相机两侧分别设置紫外灯光源。本发明提取出花生的R‑G‑B色彩图像,与事先设定的判断阈值比较,即可检测出花生是否感染黄曲霉素,从而实现对花生是否感染黄曲霉素进行准确检测。

Figure 202110576648

The invention discloses a peanut aflatoxin detection device and method based on prism-type RGB color extraction, wherein the device comprises a control box and a computer, the two are connected by a control cable, and an industrial camera and an ultraviolet lamp are arranged in the control box A light source, the industrial camera is connected to the computer, a stage is also arranged in the control box, the stage is directly below the industrial camera, and ultraviolet light sources are respectively arranged on both sides of the industrial camera. The invention extracts the R-G-B color image of the peanut, and compares it with a pre-set judgment threshold to detect whether the peanut is infected with aflatoxin, thereby realizing accurate detection of whether the peanut is infected with aflatoxin.

Figure 202110576648

Description

Peanut aflatoxin detection device and method based on prism type RGB color extraction
Technical Field
The invention belongs to the technical field of machine vision detection, and relates to a peanut aflatoxin detection device and method based on prism type RGB color extraction.
Background
Aflatoxins are classified as a naturally occurring carcinogen by the cancer research organization of the world health organization, and are extremely toxic and highly toxic substances. Peanuts are one of crops which are most easily infected with aflatoxin, and accurate detection on whether the peanuts are infected with the aflatoxin is a problem to be solved urgently.
At present, the existing peanut aflatoxin detection mainly adopts manual naked eyes for detection, peanuts are extracted manually and randomly, and only mildewed and rotten peanuts can be detected by detecting whether the peanuts are mildewed or not by naked eyes, but peanuts infected by a small amount of aflatoxin cannot be detected, so that the accuracy is low; because the visual fatigue is easy to generate after workers work for a long time, wrong sorting of the peanuts with problems is easy to generate, and the credit of the consumers to the merchants is easy to influence. In addition, the existing technology for detecting peanut mildew based on machine vision mainly adopts a white light LED light source to irradiate peanuts, gray values of different areas are analyzed through gray level images of the peanuts, whether the peanuts mildew or not is judged through comparison, when the peanuts are infected with a small amount of aflatoxin, the gray level images of the peanuts extracted under the irradiation of a common white light LED light source are not different from the gray level images of normal peanuts, the traditional CCD linear array industrial camera cannot perform high-quality imaging on slightly changed colors, and the peanuts infected with the small amount of aflatoxin cannot be detected.
Disclosure of Invention
In order to solve the problems, the technical scheme of the invention is as follows: a peanut aflatoxin detection device based on prism type RGB color extraction comprises a control box and a computer, wherein the control box and the computer are connected through a control cable, an industrial camera and an ultraviolet lamp light source are arranged in the control box, the industrial camera is connected with the computer, an object stage is further arranged in the control box, the object stage is arranged right below the industrial camera, and the ultraviolet lamp light source is respectively arranged on two sides of the industrial camera;
the control box is a lightproof black box body during photographing, an opening is formed in the side face of the control box, and peanuts are placed on the objective table through the opening;
the industrial camera is a prism type industrial R-G-B area array scanning camera;
the control cable comprises a GigE gigabit internet access digital connecting line for controlling the industrial camera to be connected with the computer and a control cable for controlling the ultraviolet lamp light source to be connected with the computer;
and the computer receives the image data of the peanuts collected by the industrial camera, processes and analyzes the image data and determines whether the peanuts are infected with the aflatoxin.
Preferably, the ultraviolet lamp light source comprises a lamp panel, and an ultraviolet lamp tube is embedded in the lamp panel through a groove formed in the lamp panel.
Preferably, the object stage is a glass sheet with both sides frosted.
Based on the purpose, the invention also provides a peanut aflatoxin detection method based on prism type RGB color extraction, and the peanut aflatoxin detection device based on the prism type RGB color extraction comprises the following steps:
s10, after a peanut aflatoxin detection device based on prism type RGB color extraction is built, an ultraviolet lamp light source is turned on, and an industrial camera collects color RGB images of peanuts;
s20, the industrial camera sends the collected color RGB images of the peanuts to a computer for filtering, and then background segmentation is carried out on the processed images to obtain images with background removed;
and S30, extracting R, G, B colors from the image with the background removed in the step S20, judging the similar colors of the aflatoxin on each peanut, and if the similar colors of the aflatoxin on each peanut exceed a set threshold value, judging that the peanut is infected by the aflatoxin.
Preferably, the filtering processing in S20 adopts wiener filtering, and the local mean of each pixel is:
Figure BDA0003084626370000021
the variance of each pixel is:
Figure BDA0003084626370000031
the wiener filter estimation equation is:
Figure BDA0003084626370000032
wherein S represents an M multiplied by N local neighborhood of each pixel point in the image; delta2Representing the noise variance, can be replaced by the mean of all local estimated variances.
Preferably, the background segmentation of the filtered peanut color RGB image in S20 includes the following steps:
s21, performing edge extraction, namely processing the peanut color RGB image after filtering by adopting a Canny edge detection operator and extracting edges to obtain a peanut edge extraction image;
s22, performing morphological filtering, namely removing image noise of the peanut edge extraction image by adopting the morphological filtering to obtain a peanut image subjected to morphological filtering;
s23, image filling and marking, namely marking the occupied area of the peanuts in the image by adopting a scanning line seed filling method for the peanut area in the peanut image after the morphological filtering processing to obtain a marked peanut image;
and S24, synthesizing images, namely taking the marked peanut images as masks, performing AND operation on the masks and R, G, B of the source images to obtain bit-sum operated R, G, B images, and combining the bit-sum operated R, G, B images to obtain background-segmented images.
Preferably, the processing and extracting the edge by using the Canny edge detection operator comprises the following steps:
s211, smoothing the image by using a Gaussian filter;
s212, calculating a gradient amplitude image and a gradient angle image;
s213, applying non-maximum suppression to the gradient amplitude image;
s214, detecting and connecting edges by using double threshold processing and connectivity.
Preferably, the morphological filtering in S22 includes expansion, erosion, opening operation and closing operation.
Preferably, when R, G, B color extraction is performed on the image in S30, the following determination rules are adopted for R, G, B three colors: when the difference value between one color component and the other two color components in R, G, B is greater than a set value, a certain pixel point is judged to be a certain color, and the color of the judgment condition is controlled by setting a judgment threshold value.
Preferably, the threshold in S30 is a value of the color area of the image after the judgment R, G, B color extraction, and if the value is beyond a set range of the value, the peanut is judged to be infected with aflatoxin.
Compared with the prior art, the invention has the following beneficial effects:
the invention adopts an ultraviolet lamp light source, if the peanuts are infected with the aflatoxin, a specific fluorescent reaction can occur under the irradiation of the light source; the invention adopts a prism type industrial R-G-B area array scanning camera which is provided with three CMOS sensors, each sensor is responsible for one color, and compared with a single CMOS sensor, the camera is more sensitive to the color and can provide better color fidelity and spatial resolution; when peanut image acquisition is carried out, an ultraviolet lamp light source is turned on, the computer controls the industrial camera to synchronously trigger, the industrial camera sends the image of the peanut under the irradiation of the ultraviolet lamp light source to the computer, the aflatoxin can generate a fluorescence reaction under the irradiation of the ultraviolet lamp, the peanut infected by the aflatoxin can also generate the fluorescence reaction, and the fluorescence reaction can not occur under the normal occurrence of the peanut not infected by the aflatoxin. The computer extracts the R-G-B color image of the peanut and compares the R-G-B color image with a preset judgment threshold value to detect whether the peanut is infected with the aflatoxin, so that whether the peanut is infected with the aflatoxin is accurately detected.
Drawings
Fig. 1 is a schematic diagram of the overall structure of a peanut aflatoxin detection device based on prism-type RGB color extraction provided by an embodiment of the present invention;
fig. 2 is a schematic diagram of an internal structure of a control box in the peanut aflatoxin detection device based on prism-type RGB color extraction provided by the embodiment of the invention;
fig. 3 is a schematic structural diagram of an ultraviolet lamp light source in a peanut aflatoxin detection device based on prism-type RGB color extraction provided by an embodiment of the invention;
fig. 4 is a flowchart of a peanut aflatoxin detection method based on prism-type RGB color extraction provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
On the contrary, the invention is intended to cover alternatives, modifications, equivalents and alternatives which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, certain specific details are set forth in order to provide a better understanding of the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details.
The applicant carries out deep research on the structure of the traditional broadband high-efficiency power amplifier in the prior art aiming at the defects in the prior art, and finds that the traditional broadband high-efficiency power amplifier in the prior art is relatively single in mode, relatively complex in structure, relatively high in implementation difficulty, relatively large in overall circuit volume and relatively high in cost.
In order to overcome the defects of the prior art, referring to fig. 1-3, the structural block diagram of the peanut aflatoxin detection device based on prism type RGB color extraction is shown, the device comprises a computer 1 and a control box 2, an industrial camera 5 is arranged in the control box 1, the industrial camera 5 is connected with the computer 1, an object stage 8 is arranged right below the industrial camera in the control box 2, ultraviolet lamp light sources 6 and 7 are respectively arranged on two sides of the industrial camera 5 in the control box 2, and a control cable 4 for connecting the computer and the control box is arranged.
The control box 2 is a lightproof black box body used for isolating the interference of an external light source when in shooting; and the control box 2 is provided with an opening 3 for putting peanuts on the object stage 8.
The industrial camera 5 is a prism type industrial R-G-B area array scanning camera and can acquire peanut images with better color fidelity and spatial resolution.
The ultraviolet lamp light sources 6 and 7 comprise lamp panels 9, ultraviolet lamp tubes 10 are embedded in the lamp panels through grooves formed in the lamp panels, and the lamp panels are matched with the industrial camera 5 for use.
The object stage 8 is a glass sheet with both sides frosted.
The control cable 4 comprises a GigE gigabit internet access digital connecting line for controlling the connection of the industrial camera 5 and the computer 1 and a control cable for controlling the connection of the ultraviolet lamp light sources 6 and 7 and the computer 1, and is matched with the industrial camera 5 and the computer 1 for use.
The computer 1 is used for receiving the image data of the peanuts collected by the industrial camera 5, and the computer 1 processes and analyzes the image data to determine whether the peanuts are infected with the aflatoxin.
Referring to fig. 4, the invention also provides a peanut aflatoxin detection method based on prism type RGB color extraction, and the peanut aflatoxin detection device based on prism type RGB color extraction comprises the following steps:
s10, after a peanut aflatoxin detection device based on prism type RGB color extraction is built, an ultraviolet lamp light source is turned on, and an industrial camera collects color RGB images of peanuts;
s20, the industrial camera sends the collected color RGB images of the peanuts to a computer for filtering, and then background segmentation is carried out on the processed images to obtain images with background removed;
and S30, extracting R, G, B colors from the image with the background removed in the step S20, judging the similar colors of the aflatoxin on each peanut, and if the similar colors of the aflatoxin on each peanut exceed a set threshold value, judging that the peanut is infected by the aflatoxin.
Aflatoxins G1 and G2 emit green fluorescence under the irradiation of an ultraviolet lamp light source, aflatoxins B1 and B2 emit blue fluorescence under the irradiation of the ultraviolet lamp light source, and if aflatoxins are infected in S10, the color RGB images of peanuts collected by an industrial camera under the irradiation of the ultraviolet lamp light source also show fluorescence reaction. In the S20, filtering processing adopts wiener filtering, and the local mean value of each pixel point is as follows:
Figure BDA0003084626370000061
the variance of each pixel is:
Figure BDA0003084626370000062
the wiener filter estimation equation is:
Figure BDA0003084626370000063
wherein S represents an M multiplied by N local neighborhood of each pixel point in the image; delta2Representing the noise variance, can be replaced by the mean of all local estimated variances.
The background segmentation of the peanut color RGB image after the filtering processing in the S20 comprises the following steps:
s21, performing edge extraction, namely processing the peanut color RGB image after filtering by adopting a Canny edge detection operator and extracting edges to obtain a peanut edge extraction image;
s22, performing morphological filtering, namely removing image noise of the peanut edge extraction image by adopting the morphological filtering to obtain a peanut image subjected to morphological filtering;
s23, image filling and marking, namely marking the occupied area of the peanuts in the image by adopting a scanning line seed filling method for the peanut area in the peanut image after the morphological filtering processing to obtain a marked peanut image;
and S24, synthesizing images, namely taking the marked peanut images as masks, performing AND operation on the masks and R, G, B of the source images to obtain bit-sum operated R, G, B images, and combining the bit-sum operated R, G, B images to obtain background-segmented images.
The method for processing and extracting the edge by adopting the Canny edge detection operator comprises the following steps:
s211, smoothing the image by using a Gaussian filter;
s212, calculating a gradient amplitude image and a gradient angle image;
s213, applying non-maximum suppression to the gradient amplitude image;
s214, detecting and connecting edges by using double threshold processing and connectivity.
The morphological filtering in S22 includes dilation, erosion, open and close operations.
When R, G, B color extraction is performed on the image in S30, the following discrimination rules are adopted for R, G, B three colors: when the difference value between one color component and the other two color components in R, G, B is greater than a set value, a certain pixel point is judged to be a certain color, and the color of the judgment condition is controlled by setting a judgment threshold value.
And the threshold value in the S30 is the value of the image color area after the judgment R, G, B color extraction, and if the value is beyond the set range of the value, the peanut is judged to be infected with the aflatoxin.
In a specific embodiment, when R, G, B color extraction is performed on the image in S30, the following determination rules are adopted for R, G, B three colors: when the difference value between a certain color component and the other two color components in R, G, B is greater than a preset value, that is, a certain pixel point is judged to be a certain color, and the color of the judgment condition is controlled by setting a judgment threshold, the specific operation steps are as follows: setting R, G, B three color extraction thresholds, extract _ R0, extract _ G0, and extract _ B0, wherein the color extraction threshold is set to zero in advance, and the larger the color extraction threshold is set, the smaller the extraction range, then extracting R, G, B three colors respectively, the red extraction condition is that the difference between the R component and the G, B component is greater than the setting, the green extraction condition is that the difference between the G component and the R, B component is greater than the setting, and the green extraction condition is that the difference between the G component and the R, B component is greater than the setting.
However, that no matter how detailed the foregoing appears, or how many embodiments of the invention may be practiced, the present invention is described in detail as illustrative embodiments thereof. All equivalent changes and modifications made according to the spirit of the present invention should be covered within the protection scope of the present invention.
The foregoing detailed description of the embodiments of the invention is not intended to be exhaustive or to limit the invention to the precise form disclosed. While specific embodiments of, and examples for, the invention are described above for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize.
While the above description describes certain embodiments of the invention and describes the best mode contemplated, no matter how detailed the above appears in text, the invention can be practiced in many ways. The details of the above-described circuit configuration and manner of controlling the same may vary considerably in its implementation details, yet still be encompassed by the invention disclosed herein.
As noted above, it should be noted that the use of particular terminology when describing certain features or aspects of the invention should not be taken to imply that the terminology is being re-defined herein to be restricted to certain specific characteristics, features, or aspects of the invention with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the invention to the specific embodiments disclosed in the specification, unless the above detailed description section explicitly defines such terms. Accordingly, the actual scope of the invention encompasses not only the disclosed embodiments, but also all equivalent ways of practicing or implementing the invention under the claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A peanut aflatoxin detection device based on prism type RGB color extraction is characterized by comprising a control box and a computer, wherein the control box and the computer are connected through a control cable, an industrial camera and an ultraviolet lamp light source are arranged in the control box, the industrial camera is connected with the computer, an object stage is further arranged in the control box, the object stage is arranged right below the industrial camera, and the ultraviolet lamp light source is respectively arranged on two sides of the industrial camera;
the control box is a lightproof black box body during photographing, an opening is formed in the side face of the control box, and peanuts are placed on the objective table through the opening;
the industrial camera is a prism type industrial R-G-B area array scanning camera;
the control cable comprises a GigE gigabit internet access digital connecting line for controlling the industrial camera to be connected with the computer and a control cable for controlling the ultraviolet lamp light source to be connected with the computer;
and the computer receives the image data of the peanuts collected by the industrial camera, processes and analyzes the image data and determines whether the peanuts are infected with the aflatoxin.
2. The peanut aflatoxin detection device based on prismatic RGB color extraction of claim 1, wherein the ultraviolet lamp light source comprises a lamp panel, and an ultraviolet lamp tube is inlaid on the lamp panel through a groove arranged on the lamp panel.
3. The prismatic RGB color extraction-based peanut aflatoxin detection device of claim 1 wherein the stage is a glass sheet with both sides frosted.
4. A peanut aflatoxin detection method based on prism type RGB color extraction, which adopts the peanut aflatoxin detection device based on prism type RGB color extraction as claimed in any one of claims 1-3, and is characterized by comprising the following steps:
s10, after a peanut aflatoxin detection device based on prism type RGB color extraction is built, an ultraviolet lamp light source is turned on, and an industrial camera collects color RGB images of peanuts;
s20, the industrial camera sends the collected color RGB images of the peanuts to a computer for filtering, and then background segmentation is carried out on the processed images to obtain images with background removed;
and S30, extracting R, G, B colors from the image with the background removed in the step S20, judging the similar colors of the aflatoxin on each peanut, and if the similar colors of the aflatoxin on each peanut exceed a set threshold value, judging that the peanut is infected by the aflatoxin.
5. The peanut aflatoxin detection method based on prismatic RGB color extraction of claim 4, wherein the filtering process in S20 adopts wiener filtering, and the local mean value of each pixel point is:
Figure FDA0003084626360000021
the variance of each pixel is:
Figure FDA0003084626360000022
the wiener filter estimation equation is:
Figure FDA0003084626360000023
wherein S represents an M multiplied by N local neighborhood of each pixel point in the image; delta2Representing the noise variance, can be replaced by the mean of all local estimated variances.
6. The method for detecting peanut aflatoxin based on prismatic RGB color extraction of claim 4, wherein the step of performing background segmentation on the filtered peanut color RGB image in S20 comprises the following steps:
s21, performing edge extraction, namely processing the peanut color RGB image after filtering by adopting a Canny edge detection operator and extracting edges to obtain a peanut edge extraction image;
s22, performing morphological filtering, namely removing image noise of the peanut edge extraction image by adopting the morphological filtering to obtain a peanut image subjected to morphological filtering;
s23, image filling and marking, namely marking the occupied area of the peanuts in the image by adopting a scanning line seed filling method for the peanut area in the peanut image after the morphological filtering processing to obtain a marked peanut image;
and S24, synthesizing images, namely taking the marked peanut images as masks, performing AND operation on the masks and R, G, B of the source images to obtain bit-sum operated R, G, B images, and combining the bit-sum operated R, G, B images to obtain background-segmented images.
7. The method for detecting peanut aflatoxins based on prismatic RGB color extraction as claimed in claim 6, wherein the step of processing and extracting edges by using Canny edge detection operator comprises the following steps:
s211, smoothing the image by using a Gaussian filter;
s212, calculating a gradient amplitude image and a gradient angle image;
s213, applying non-maximum suppression to the gradient amplitude image;
s214, detecting and connecting edges by using double threshold processing and connectivity.
8. The method for detecting peanut aflatoxin based on prismatic RGB color extraction of claim 6, wherein the morphological filtering in S22 includes expansion, corrosion, opening and closing operations.
9. The peanut aflatoxin detection method based on prismatic RGB color extraction of claim 4, wherein when R, G, B color extraction is performed on the image in S30, the following judgment rules are adopted for R, G, B three colors: when the difference value between one color component and the other two color components in R, G, B is greater than a set value, a certain pixel point is judged to be a certain color, and the color of the judgment condition is controlled by setting a judgment threshold value.
10. The method for detecting peanut aflatoxin based on prismatic RGB color extraction of claim 9, wherein the threshold value in S30 is a value for distinguishing the color area of the image after R, G, B color extraction, and if the threshold value is beyond the set range of the value, the peanut is judged to be infected with aflatoxin.
CN202110576648.3A 2021-05-26 2021-05-26 Peanut aflatoxin detection device and method based on prism type RGB color extraction Active CN113504250B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110576648.3A CN113504250B (en) 2021-05-26 2021-05-26 Peanut aflatoxin detection device and method based on prism type RGB color extraction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110576648.3A CN113504250B (en) 2021-05-26 2021-05-26 Peanut aflatoxin detection device and method based on prism type RGB color extraction

Publications (2)

Publication Number Publication Date
CN113504250A true CN113504250A (en) 2021-10-15
CN113504250B CN113504250B (en) 2024-05-17

Family

ID=78008772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110576648.3A Active CN113504250B (en) 2021-05-26 2021-05-26 Peanut aflatoxin detection device and method based on prism type RGB color extraction

Country Status (1)

Country Link
CN (1) CN113504250B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114240807A (en) * 2022-02-28 2022-03-25 山东慧丰花生食品股份有限公司 A kind of peanut aflatoxin detection method and system based on machine vision

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218507A (en) * 2005-05-05 2008-07-09 拉维·凯尼佩耶 System for rapid analysis of microbiological materials in a liquid sample
CN102066906A (en) * 2008-04-18 2011-05-18 杰夫·Q·徐 High-throughput spectral imaging and spectroscopy device and method
CN104471379A (en) * 2012-05-09 2015-03-25 生命技术公司 Systems and method for fluorescence imaging
CN105139408A (en) * 2015-09-08 2015-12-09 江苏大学 Plant green feature identification method based on Kinect sensor
CN109146895A (en) * 2018-08-10 2019-01-04 安徽大学 Effective segmentation method for solar panel infrared image under condition of uneven color

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101218507A (en) * 2005-05-05 2008-07-09 拉维·凯尼佩耶 System for rapid analysis of microbiological materials in a liquid sample
CN102066906A (en) * 2008-04-18 2011-05-18 杰夫·Q·徐 High-throughput spectral imaging and spectroscopy device and method
CN104471379A (en) * 2012-05-09 2015-03-25 生命技术公司 Systems and method for fluorescence imaging
CN105139408A (en) * 2015-09-08 2015-12-09 江苏大学 Plant green feature identification method based on Kinect sensor
CN109146895A (en) * 2018-08-10 2019-01-04 安徽大学 Effective segmentation method for solar panel infrared image under condition of uneven color

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Matlab图像处理-RGB色彩提取原理方法", 百度经验, pages 1 - 5 *
张楠楠: "基于嵌入式系统的粮食霉变检测装置研究", 中国优秀硕士学位论文全文数据库 农业科技辑, pages 60 - 21 *
王侨等: "基于机器视觉的定向播种用玉米种粒精选装置研究", 农业机械学报, pages 27 - 37 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114240807A (en) * 2022-02-28 2022-03-25 山东慧丰花生食品股份有限公司 A kind of peanut aflatoxin detection method and system based on machine vision
CN114240807B (en) * 2022-02-28 2022-05-17 山东慧丰花生食品股份有限公司 Peanut aflatoxin detection method and system based on machine vision

Also Published As

Publication number Publication date
CN113504250B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN108876768B (en) Shadow defect detection method for light guide plate
CN110445921A (en) A kind of Mobile phone screen backlight foreign matter defect diagnostic method and device based on machine vision
CN104637064A (en) Defocus blurred image definition detection method based on edge intensity weight
CN110378902B (en) Scratch detection method under high noise background
CN105718931B (en) System and method for determining clutter in acquired images
CN117437219A (en) Magnetic glue inductance irregular appearance defect detection method based on computer vision
CN108921858A (en) A kind of recognition methods of automatic detection lifting lug position
CN109472788B (en) A method for detecting flaws on the surface of aircraft rivets
JP7223840B2 (en) Systems, methods, and apparatus for autonomous diagnostic verification of optical components of vision-based inspection systems
JP6598850B2 (en) Image processing apparatus, image processing method, and image processing program
CN105678245A (en) Target position identification method based on Haar features
CN112419261B (en) Visual acquisition method and device with abnormal point removing function
CN113686869A (en) A device for identifying micro-defects in insulating blankets
CN113706461A (en) Micro-defect identification system of insulating blanket based on image identification
CN115980065B (en) Wall construction quality detection method for multi-angle polishing
CN109544535B (en) Peeping camera detection method and system based on optical filtering characteristics of infrared cut-off filter
CN117011291A (en) Watch shell quality visual detection method
CN110148125A (en) Adaptive skin oil and fat detection method based on color detection
CN113504250B (en) Peanut aflatoxin detection device and method based on prism type RGB color extraction
CN109785290B (en) Steel plate defect detection method based on local illumination normalization
CN111209782B (en) A method and system for identifying abnormal lights of equipment in a computer room
CN111563869B (en) Stain test method for quality inspection of camera module
JP6603709B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005326323A (en) Image quality inspection device
CN114155179A (en) Light source defect detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant