A rice quality detection method and system
Patent Information
- Application Number
- CN202611379687.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-10-27
AI Technical Summary
[0004]本发明的目的是为了解决现有技术中存在的难以区分检测结果中的异常颗粒究竟来源于当前批次样本还是来源于历史批次残留的缺点,而提出的一种大米质量检测方法及系统
[0019]1、本发明通过对待检大米样本实施分级松脱处理,将不同脱离阶段释放的颗粒分别构建为外释颗粒组、中释颗粒组和内释颗粒组,使历史残留颗粒在释放顺序上的差异得到显化表达,从颗粒脱离先后关系角度建立残留来源识别基础,避免将混入当前批次样本的历史残留颗粒直接纳入质量评价过程,提高样本来源判定的准确性。
Smart Images

Figure CN122982883A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent sensor technology, and in particular to a method and system for detecting the quality of rice. Background Technology
[0002] Rice quality testing is a crucial step in grain processing, storage, distribution, quality grading, and market quality supervision. It typically involves sampling, guiding, transporting, dispersing, and imaging of rice samples from the batch to be tested. The results are then used to evaluate the head rice rate, broken rice rate, yellow grains, discolored grains, moldy grains, and internal quality status. With the development of machine vision inspection, near-infrared detection, and multi-source image detection technologies, the ability of inspection equipment to identify minute abnormal particles, surface adhesions, and internal quality differences has continuously improved. Before entering the testing area, rice samples usually pass through components such as sampling probes, guide tubes, transport channels, material discharge structures, and testing carrying paths. Because these structures are constantly in a particle transport state, they contain weld gaps, misaligned joints, corner areas, splicing gaps, and localized small depressions. Small amounts of residual rice particles, bran, debris, and surface adhering substances from previous batches can remain in these spaces and be released and mixed into the current batch sample when subsequent batches pass through, thus affecting the subsequent quality testing process.
[0003] When faced with the problem of historical residual particles being mixed into the current batch of samples, existing technologies typically employ methods such as periodic equipment cleaning, channel purging, or direct detection of the entire sample. However, because residues may remain in tiny residual spaces in the form of layered coverage, layered accumulation, or gradual release, and the release process is both sequential and continuous, some historical residual particles and attached substances may still be mixed into the current batch of samples. Existing detection methods struggle to distinguish whether abnormal particles in the test results originate from the current batch or from historical batch residues. This can easily lead to historical residual particles being misjudged as quality defects in the current batch, resulting in a decrease in the authenticity, accuracy, and representativeness of the test results, and consequently affecting the reliability of the quality evaluation results for the current batch of rice. Summary of the Invention
[0004] The purpose of this invention is to address the shortcomings of existing technologies that make it difficult to distinguish whether abnormal particles in the test results originate from the current batch of samples or from residues of historical batches, and to propose a method and system for rice quality testing.
[0005] To address the problems existing in the prior art, the present invention adopts the following technical solution:
[0006] A method for testing rice quality, comprising:
[0007] S1. Apply the first loosening action, the second loosening action, and the third loosening action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules.
[0008] S2. Based on the externally released particle group, the intermediate-release particle group, and the internally released particle group, acquire the transcribing images on the first transparent receiver, the second transparent receiver, and the third transparent receiver, and form a flip-order unfolded array.
[0009] S3. Expand the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; generate the layer disconnection diagram based on the first interface imprint and the second interface imprint.
[0010] S4. Construct imprint corresponding units based on the interlayer discontinuity diagram, identify the boundary connections of the imprint corresponding units to obtain interlayer continuous imprints; remove the physical particles at the particle positions corresponding to the interlayer continuous imprints to obtain the current batch net sample.
[0011] S5. Test the current batch of net samples to generate test results.
[0012] To address the above problems, the present invention also provides a rice quality testing system, the system comprising:
[0013] The detachment module applies a first detachment action, a second detachment action, and a third detachment action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules.
[0014] The transcription module acquires transcription images from the first transparent slide, the second transparent slide, and the third transparent slide based on the exogenous particle group, the meso-released particle group, and the endogenous particle group, and forms a flip-order unfolded array.
[0015] The copying module expands the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; based on the first interface imprint and the second interface imprint, it generates a layer break diagram.
[0016] The clean sample module constructs the corresponding unit of the imprint based on the interlayer discontinuity diagram, identifies the boundary connection of the corresponding unit of the imprint to obtain the interlayer continuous imprint; and removes the physical particles at the particle positions corresponding to the interlayer continuous imprint to obtain the clean sample of the current batch.
[0017] The testing module performs tests on the current batch of net samples to generate test results.
[0018] Compared with the prior art, the beneficial effects of the present invention are:
[0019] 1. This invention implements graded loosening treatment on rice samples to be tested, and constructs the particles released at different stages into externally released particles, intermediately released particles, and internally released particles, respectively. This makes the differences in the release order of historical residual particles explicit, establishes a basis for identifying the source of residue from the perspective of the sequence of particle release, avoids directly including historical residual particles mixed into the current batch of samples in the quality evaluation process, and improves the accuracy of sample source determination.
[0020] 2. This invention constructs a flip-sequence unfolding array and generates a layer discontinuity map based on the first interface imprint and the second interface imprint to identify the continuity relationship between different layers of attachments. It transforms the continuous coverage traces formed during the historical residue process into traceable imprint association information, realizes the directional identification of residual particles carrying historical attachments, improves the ability to distinguish between historical residual particles and current batch particles, and reduces the impact of residual interference on the detection results.
[0021] 3. This invention completes particle position mapping based on interlayer continuous imprinting and removes the actual particles at the corresponding positions from the test sample to obtain a clean sample that can represent the true state of the current batch. Then, it combines visible light detection and near-infrared detection to evaluate the quality of the clean sample, thereby reducing false detection and misjudgment caused by historical residual particles from the source and improving the authenticity, stability and reliability of rice quality test results. Attached Figure Description
[0022] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0023] Figure 1 This is a flowchart illustrating a rice quality testing method according to an embodiment of the present invention. Detailed Implementation
[0024] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0025] Example 1: This example provides a method for testing the quality of rice. See [link to example]. Figure 1 Specifically, including:
[0026] S1. Apply the first loosening action, the second loosening action, and the third loosening action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules.
[0027] In embodiments of the present invention, the collection of exogenous particle groups, intermediate-release particle groups, and endogenous particle groups includes:
[0028] The rice sample to be tested is laid flat on the testing support surface, and the first loosening action is applied to the rice sample to be tested;
[0029] The first loosening action refers to the initial loosening and separation process applied to the rice sample to be tested. By applying a low-intensity mechanical disturbance to the testing surface, rice particles that have weaker contact with surrounding particles and are less constrained are preferentially detached from their original particle accumulation state and migrated to a new position.
[0030] Specifically, the testing surface is cleaned until there are no residual particles. The rice sample to be tested is slowly poured into the central area of the testing surface from the feed side. A flat scraper is used to push the rice sample along the length of the testing surface, causing the stacked rice particles to spread out along the testing surface. A soft paddle is used to disperse the rice particles that are still overlapping, so that the rice sample to be tested forms a single layer or a partially adjacent particle edge contact state. The testing surface is kept horizontal, and the vibration actuator drives the testing surface to reciprocate in the horizontal direction, so that the spread rice sample to be tested is subjected to the first loosening action. The first loosening action only causes the rice particles with weak contact constraints to slide or roll along the testing surface.
[0031] After the first detachment action is completed, the particles that will be separated from the rice sample to be tested and moved to the first collection area will be collected as the externally released particle group.
[0032] The first collection area refers to the spatial area located outside the detection bearing surface and used to receive rice particles that migrate after the first loosening action. This area forms a particle transfer path with the detection bearing surface and is used to collect the rice particles that detach first. The externally released particle group refers to the collection of rice particles that detach from the rice sample to be tested after the first loosening action and enter the first collection area. It corresponds to the group of rice particles that detached from the original particle contact state first.
[0033] After the first detachment action is completed, the detection bearing surface stops moving and remains stationary, leaving the particles still adjacent to the main particle group on the detection bearing surface. A smart photoelectric sensor is installed on the particle transfer path between the first collection area and the detection bearing surface. The smart photoelectric sensor detects rice particles passing through the particle transfer path. When a rice particle passes the detection position of the smart photoelectric sensor, a particle passage signal is generated, and the rice particles that have detached from the main particle group and entered the first collection area are determined based on the particle passage signal. The first collection area is set on the discharge side or edge side of the detection bearing surface. The inlet of the first collection container is connected to the first collection area. A guide plate is used to guide the rice particles that have been detected by the smart photoelectric sensor and entered the first collection area into the first collection container. The rice particles that have entered the first collection container are sealed and the corresponding particles are marked as the external release particle group. The external release particle group is a collection of particles that have detached from the rice sample to be tested after the first detachment action, passed the detection of the smart photoelectric sensor, and completed independent collection.
[0034] After removing the externally released granule group from the detection bearing surface, a second loosening action is applied to the remaining rice granules on the detection bearing surface;
[0035] The second loosening action refers to the process of separating the remaining rice particles on the detection bearing surface after the externally released particle group is removed. By further applying mechanical disturbance, the rice particles that still maintain a partial contact constraint relationship are detached from the remaining particle group and their positions are migrated.
[0036] After removing the released granules from the detection bearing surface, keep the remaining rice granules on the detection bearing surface in their original spread position, close the granule channel between the first collection area and the detection bearing surface, connect the second collection area to the edge side of the detection bearing surface, use a flexible pusher to approach the detection bearing surface and push the remaining rice granules along the same pushing direction, so that the remaining rice granules slide, roll and separate from each other on the detection bearing surface, thereby completing the second loosening action.
[0037] After the second loosening action is completed, the particles that will be separated from the remaining rice particles and moved to the second collection area will be collected as the intermediate-release particle group.
[0038] The second collection area refers to the space area used to receive the rice grains that have separated from the remaining rice grains after the second loosening action. This area is independent of the first collection area and is used to collect the rice grains that have separated in the second stage. The middle-released grain group refers to the collection of rice grains that have separated from the remaining rice grains after the second loosening action and entered the second collection area. It corresponds to the rice grain group that is more difficult to separate than the externally released grain group but less difficult than the internally released grain group.
[0039] After the second detachment action is completed, the flexible pusher is removed from the detection bearing surface and the remaining rice particles stop moving. The rice particles that have detached from the main body of the remaining rice particles and moved to the second collection area are introduced into the second collection container. The rice particles that are still on the detection bearing surface are left in their original positions. The guide plate is used to introduce the rice particles in the second collection area into the second collection container. The rice particles that enter the second collection container are sealed and marked as the intermediate-release particle group. The intermediate-release particle group is a collection of particles that have detached from the remaining rice particles and completed independent collection by the second detachment action.
[0040] After removing the mid-release granule group from the detection bearing surface, a third loosening action is applied to the remaining rice granules on the detection bearing surface;
[0041] The third loosening action refers to the further separation process of the remaining rice particles on the detection bearing surface after the middle-released particle group is removed. The contact constraints between the remaining rice particles are released by continuous mechanical disturbance, allowing the rice particles that have not been detached to continue to migrate. The third collection area refers to the spatial area used to receive the particles that have detached from the remaining rice particles after the third loosening action. This area is used to collect the rice particles that have detached in the final stage.
[0042] After removing the mid-release particle group from the detection support surface, keep the remaining rice particles on the detection support surface in the position after the second loosening action is completed. Close the particle channel between the second collection area and the detection support surface, connect the third collection area to the edge side of the detection support surface, and use a flexible brush to contact the upper surface of the remaining rice particles. Brush the remaining rice particles in the same direction along the detection support surface, so that the remaining rice particles roll, slide and separate from each other under the brushing action, thereby completing the third loosening action.
[0043] After the third loosening action is completed, the particles that will separate from the remaining rice grains and move to the third collection area will be collected as internal release particle groups.
[0044] The internal release granule group refers to the rice that has separated from the remaining rice granules and entered the third collection area after the third loosening action.
[0045] After the third loosening action is completed, the flexible brush is removed from the detection support surface and the remaining rice particles stop moving. The rice particles that have detached from the main body of the remaining rice particles and moved to the third collection area are introduced into the third collection container. The rice particles that are still on the detection support surface are left on the detection support surface. The guide plate is used to introduce the rice particles in the third collection area into the third collection container. The rice particles that enter the third collection container are sealed and marked as internal release particle group. The internal release particle group is a collection of particles that have detached from the remaining rice particles and completed independent collection by the third loosening action.
[0046] S2. Based on the externally released particle group, the intermediate-release particle group, and the internally released particle group, acquire the transcribing images on the first transparent receiver, the second transparent receiver, and the third transparent receiver, and form a flip-order unfolded array.
[0047] In an embodiment of the present invention, acquiring the transcribed images on the first transparent film, the second transparent film, and the third transparent film includes:
[0048] The exogenous particle group was spread on the first transparent receiving sheet, the intermediate-release particle group was spread on the second transparent receiving sheet, and the endogenous particle group was spread on the third transparent receiving sheet.
[0049] The first transparent receiving sheet refers to a transparent solid carrier used to hold rice particles from the externally released particle group and receive the transfer of adhering substances on the particle surface. It has light transmission capability and can maintain the positional relationship of the transfer traces. The second transparent receiving sheet refers to a transparent solid carrier used to hold rice particles from the intermediately released particle group and receive the transfer of adhering substances on the particle surface. It is set independently of the first transparent receiving sheet. The third transparent receiving sheet refers to a transparent solid carrier used to hold rice particles from the internally released particle group and receive the transfer of adhering substances on the particle surface. It is set independently of the first and second transparent receiving sheets.
[0050] Place the first transparent receiving sheet on a flat support platform. Introduce the externally released granules into the surface of the first transparent receiving sheet from the feed side. Use a straight scraper to push the externally released granules along the length of the first transparent receiving sheet, so that the rice particles in the externally released granules are dispersed on the surface of the first transparent receiving sheet. Spread the intermediate-release granules on the surface of the second transparent receiving sheet in the same way. Spread the internally released granules on the surface of the third transparent receiving sheet in the same way, so that the rice particles in the externally released granules are in direct contact with the first transparent receiving sheet, the rice particles in the intermediate-release granules are in direct contact with the second transparent receiving sheet, and the rice particles in the internally released granules are in direct contact with the third transparent receiving sheet.
[0051] Directional rolling transfer was performed on the exogenous particle group on the first transparent acceptor, the intermediate particle group on the second transparent acceptor, and the internal particle group on the third transparent acceptor, respectively.
[0052] Directional rolling transfer refers to the process of rolling rice grains along the same direction of movement on the surface of a transparent receiving sheet and maintaining continuous contact with the sheet, thereby causing the adhering substances on the grain surface to detach from the grain body and transfer to the surface of the transparent receiving sheet. The adhering substances refer to bran powder, dust, abrasion residues, oxidation residues, and other substances that can be transferred with the grains upon contact. The transfer traces refer to the continuous or discrete areas formed on the surface of the transparent receiving sheet after the adhering substances are transferred to the sheet, and these areas record the spatial distribution of the adhering substances on the transparent receiving sheet.
[0053] Specifically, a rolling element is used to contact and push the rice particles in the externally released particle group along the length of the first transparent receiving sheet, causing the rice particles in the externally released particle group to roll on the surface of the first transparent receiving sheet and transferring the adhering substances on the surface of the rice particles to the surface of the first transparent receiving sheet. The same rolling method is used to cause the rice particles in the internally released particle group to roll on the surface of the second transparent receiving sheet and transfer the adhering substances on the surface of the rice particles to the surface of the second transparent receiving sheet. The same rolling method is used to cause the rice particles in the internally released particle group to roll on the surface of the third transparent receiving sheet and transfer the adhering substances on the surface of the rice particles to the surface of the third transparent receiving sheet.
[0054] After the directional rolling transfer is completed, the transfer images on the first transparent film, the second transparent film, and the third transparent film are acquired.
[0055] A transfer image refers to the image data obtained after imaging a transparent substrate with transfer traces. This image data is used to characterize the location distribution, shape distribution, and extension state of the transfer traces.
[0056] After the directional rolling transfer is completed, the positions of the first, second, and third transparent films are kept unchanged. The first, second, and third transparent films are placed in the acquisition area of the image acquisition device. The transfer traces of the attached material on the surface of the first transparent film are imaged and a first transfer image is generated. The transfer traces of the attached material on the surface of the second transparent film are imaged and a second transfer image is generated. The transfer traces of the attached material on the surface of the third transparent film are imaged and a third transfer image is generated.
[0057] In an embodiment of the present invention, forming a flip-order expanded column includes:
[0058] The arrangement of the exogenous particle group was determined based on the transcribed image on the first transparent substrate;
[0059] Specifically, the transfer image on the first transparent substrate is displayed, and each transfer mark on the first transparent substrate corresponds to the position of a rice grain in the exogenous particle group. The center position of each transfer mark is marked sequentially along the direction of directional rolling transfer on the first transparent substrate. The center positions of each transfer mark are arranged according to the direction of directional rolling transfer to obtain the arrangement position of the exogenous particle group.
[0060] The arrangement of the intermediate-release particles was determined based on the transcribed image on the second transparent slide;
[0061] Specifically, the transfer image on the second transparent slide is displayed, and each transfer mark on the second transparent slide corresponds to the position of a rice grain in the intermediate-release particle group. The center position of each transfer mark is marked sequentially along the direction of directional rolling transfer on the second transparent slide. The center positions of each transfer mark are arranged according to the direction of directional rolling transfer to obtain the arrangement position of the intermediate-release particle group.
[0062] The arrangement of the internally released particles was determined based on the transcribed image on the third transparent slide.
[0063] Specifically, the transfer image on the third transparent substrate is displayed, and each transfer mark on the third transparent substrate corresponds to the position of a rice grain in the internal release particle group. The center position of each transfer mark is marked sequentially along the direction of directional rolling transfer on the third transparent substrate. The center positions of each transfer mark are arranged according to the direction of directional rolling transfer to obtain the arrangement position of the internal release particle group.
[0064] The arrangement positions of the internally released particles, the intermediate-release particles, and the externally released particles are connected sequentially to form a flip-order expansion column.
[0065] The flip-sequence unfolding sequence refers to the continuous arrangement sequence formed by connecting the arrangement positions of the internally released particle group, the intermediate-release particle group, and the externally released particle group in a predetermined order. This continuous arrangement sequence is used to characterize the positional succession relationship between different particle groups.
[0066] Specifically, the arrangement position of the internally released particles is taken as the starting segment of the flip-order expansion column, the arrangement position of the intermediate-release particles is followed by the arrangement position of the internally released particles, and the arrangement position of the externally released particles is followed by the arrangement position of the intermediate-release particles, so that the internally released particles, intermediate-release particles, and externally released particles form a continuous position sequence according to the directional rolling transfer direction, and the continuous position sequence is determined as the flip-order expansion column.
[0067] S3. Expand the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; generate the layer disconnection diagram based on the first interface imprint and the second interface imprint.
[0068] In embodiments of the present invention, obtaining a first interface imprint and a second interface imprint includes:
[0069] Provide a first receiving substrate and a second receiving substrate;
[0070] The first receiving substrate refers to a solid carrier used to carry rice grains in the flipping and unfolding process and to receive the transfer of adhering substances on the surface of the grains. Its surface can contact the rice grains and maintain the distribution state of the adhering substances after transfer. The second receiving substrate refers to a solid carrier used to carry rice grains after transfer by low-adhering-receptors and to receive the transfer of the remaining adhering substances. It is set independently from the first receiving substrate.
[0071] Place the first and second receiving substrates on a flat support platform, and remove any particulate residue, powder residue, and liquid residue from the surfaces of the first and second receiving substrates, so that the first and second receiving substrates respectively form substrate surfaces that can be contacted by particles and receive the transfer of attached substances.
[0072] The first substrate is subjected to a low-adhesion treatment to obtain a low-adhesion acceptor;
[0073] Low-adhesion treatment refers to the process of reducing the ability of the substrate surface to retain adhering substances, so that only a portion of the adhering substances on the particle surface are transferred to the substrate surface after contact; low-adhesion acceptor refers to the first substrate after low-adhesion treatment, which is used to receive the surface adhering substances on the surface of each particle in the flip-sequence unfolding column.
[0074] A peelable inert film is covered on the surface of the first receiving substrate, and the peelable inert film is bonded to the surface of the first receiving substrate to form a continuous contact surface. The exposed surface of the peelable inert film is used as a low adhesion receptor, so that when rice grains come into contact with the low adhesion receptor, the surface adhering substances can be transferred to the surface of the low adhesion receptor while the remaining adhering substances on the surface of the grains are retained.
[0075] Each particle in the flip-flop array is sequentially transferred to a low-adhesion acceptor, thereby transferring the surface deposits on the surface of each particle in the flip-flop array to the low-adhesion acceptor, thus obtaining the first interface imprint.
[0076] Surface deposits refer to the deposited substances located on the outer surface of rice grains that can detach from the grain body during the first contact; the first interface imprint refers to the deposit distribution area formed on the surface of the low-adhesion receptor after the surface deposits are transferred to the low-adhesion receptor.
[0077] According to the particle arrangement order in the flip-flop unfolding column, each rice particle is placed on the feed side of the low adhesion receptor. The rolling guide is used to push the rice particle to roll along the surface of the low adhesion receptor, so that the outer surface of the rice particle comes into contact with the surface of the low adhesion receptor and a transfer contact path is generated. The surface deposits on the surface of the rice particle are transferred to the surface of the low adhesion receptor along the transfer contact path, and the first interface imprint corresponding to the flip-flop unfolding column arrangement order is formed on the surface of the low adhesion receptor.
[0078] The second receiving substrate is subjected to micro-adsorption treatment to obtain a micro-adsorption acceptor;
[0079] Micro-adsorption treatment refers to the process of improving the ability of the substrate surface to retain the adhering material, so that the adhering material can be stably attached to the substrate surface after contact; micro-adsorption acceptor refers to the second substrate after micro-adsorption treatment, which is used to receive the remaining adhering material on the surface of rice grains after transfer by low adhesion acceptor.
[0080] A microporous adsorption membrane is fixed on the surface of the second receiving substrate, so that the microporous adsorption membrane is attached to the surface of the second receiving substrate to form a continuous receiving surface. The exposed surface of the microporous adsorption membrane is used as a micro-adsorption acceptor, so that when the rice particles after being transferred by the low-adhesion acceptor come into contact with the micro-adhesion acceptor, the remaining adhesion on the surface of the particles can be transferred to the surface of the micro-adhesion acceptor.
[0081] Following the flip-flop unfolding sequence, each particle after being transferred to the low-adhesion acceptor is sequentially transferred to the micro-adhesion acceptor, so that the remaining adhesion on the surface of each particle in the flip-flop unfolding sequence is transferred to the micro-adhesion acceptor, thus obtaining the second interface imprint.
[0082] Residual deposits refer to the deposited substances that remain on the surface of rice grains after the transfer of surface deposits; the second interface imprint refers to the deposit distribution area formed on the surface of the microadsorption acceptor after the residual deposits are transferred to the microadsorption acceptor.
[0083] Specifically, keeping the arrangement order of each particle in the flip-flop array unchanged, each rice particle after being transferred by the low-adhesion receptor is placed on the feed side of the micro-adhesion receptor. A rolling guide is used to push the rice particle to roll along the surface of the micro-adhesion receptor, so that the outer surface of the rice particle contacts the surface of the micro-adhesion receptor and forms a transfer contact path. The remaining adhesion on the surface of the rice particle is transferred to the surface of the micro-adhesion receptor along the transfer contact path, and a second interface imprint corresponding to the flip-flop array arrangement order is formed on the surface of the micro-adhesion receptor.
[0084] In an embodiment of the present invention, generating an interlayer disconnection diagram includes:
[0085] Image acquisition is performed on the first interface imprint to obtain an image of the first interface imprint;
[0086] Specifically, the low-adhesion receptor carrying the first interface imprint is placed on the support platform of the image acquisition device, with the surface of the first interface imprint facing the lens of the image acquisition device, and the edge of the low-adhesion receptor in contact with the positioning edge of the support platform. The position of the lens of the image acquisition device is adjusted so that the first interface imprint is entirely within the imaging field of view. The image acquisition device is then activated to image the first interface imprint on the surface of the low-adhesion receptor, thereby obtaining an image of the first interface imprint that includes the position and shape of the first interface imprint.
[0087] Image acquisition is performed on the second interface imprint to obtain an image of the second interface imprint;
[0088] The first interface imprint image refers to the image data obtained after imaging the receiving surface where the first interface imprint is located. This image data records the positional distribution, extension, and spatial relationship between adjacent imprints of the first interface imprint on the receiving surface. The second interface imprint image refers to the image data obtained after imaging the receiving surface where the second interface imprint is located. This image data records the positional distribution, extension, and spatial relationship between adjacent imprints of the second interface imprint on the receiving surface.
[0089] Specifically, the microadsorption acceptor carrying the second interface imprint is placed on the support platform of the image acquisition device, with the surface of the second interface imprint facing the lens of the image acquisition device, and the edge of the microadsorption acceptor aligned with the positioning edge of the support platform. The position of the lens of the image acquisition device is adjusted so that the entire second interface imprint is within the imaging field of view. The image acquisition device is then activated to image the second interface imprint on the surface of the microadsorption acceptor, resulting in an image of the second interface imprint that includes the position and morphology of the second interface imprint.
[0090] Based on the unfolded column, the particle positions of each first interface imprint in the first interface imprint image and each second interface imprint in the second interface imprint image are matched to obtain the interface imprint correspondence.
[0091] Particle position correspondence refers to the process of establishing a correspondence between the first interface imprint and the second interface imprint from the same rice particle based on the particle arrangement order in the flip-out unfolded column; interface imprint correspondence refers to the correspondence set formed between each first interface imprint in the first interface imprint image and each second interface imprint in the second interface imprint image. This correspondence set is used to characterize the imprint association relationship formed by the same particle on different contact surfaces.
[0092] The first interface imprint image and the second interface imprint image are placed under the same image coordinate direction. The particle arrangement order in the flip-flop unfolding column is taken as the corresponding order. The first interface imprints appearing in the first interface imprint image along the flip-flop unfolding column arrangement direction are numbered sequentially. The second interface imprints appearing in the second interface imprint image along the flip-flop unfolding column arrangement direction are numbered sequentially. The first interface imprints and second interface imprints with the same number are determined to be imprint combinations originating from the same particle, thus obtaining the interface imprint correspondence relationship.
[0093] Based on the correspondence of interface imprints, a layer discontinuity diagram is generated.
[0094] A layer discontinuity diagram refers to a relationship diagram constructed based on the correspondence of interface imprints. This diagram is used to represent the continuity, separation, and positional association states between different interface imprints.
[0095] Arrange the first and second interface imprints in each imprint combination under the same particle location node, connect adjacent particle location nodes in the order of flipping the column, mark the contact, extension, disconnection and overlap states between the first and second interface imprints in the corresponding particle location nodes, mark the imprint extension relationship between adjacent particle location nodes, and determine the relationship diagram after marking as the interlayer discontinuity diagram.
[0096] S4. Construct the corresponding unit of the imprint according to the interlayer discontinuity diagram, identify the boundary connection of the corresponding unit of the imprint to obtain the interlayer continuous imprint; remove the physical particles at the particle position corresponding to the interlayer continuous imprint to obtain the net sample of the current batch.
[0097] In embodiments of the present invention, obtaining interlayer continuation imprints includes:
[0098] Based on the interlayer discontinuity diagram, obtain the first and second imprint regions;
[0099] The attachment distribution area from the first interface imprint image in the interlayer discontinuity image is extracted as the first imprint area, and the attachment distribution area from the second interface imprint image in the interlayer discontinuity image is extracted as the second imprint area. The first imprint area corresponds to the imprint range formed by the surface attachment of the particles in the flip-order unfolding column, and the second imprint area corresponds to the imprint range formed by the remaining attachment of the particles in the flip-order unfolding column.
[0100] Based on the first and second imprint regions, construct corresponding imprint units;
[0101] The first imprint region refers to the distribution area of the attachment originating from the first interface imprint in the interlayer discontinuity diagram. This region corresponds to the spatial occupancy range formed by the surface attachment of rice grains on the bearing surface. The second imprint region refers to the distribution area of the attachment originating from the second interface imprint in the interlayer discontinuity diagram. This region corresponds to the spatial occupancy range formed by the remaining attachment of rice grains on the bearing surface. The imprint corresponding unit refers to the imprint set formed by the combination of the corresponding first imprint region and the second imprint region. This imprint set is used to represent the relationship between the two sets of imprints formed by the same grain.
[0102] Based on the established interface imprint correspondence in the interlayer discontinuity diagram, the first imprint region and the second imprint region originating from the same particle location are combined into the same imprint correspondence unit, so that each imprint correspondence unit contains a first imprint region and a second imprint region corresponding to the first imprint region.
[0103] Determine the first and second imprint boundaries within the corresponding imprint unit;
[0104] The first imprint boundary refers to the closed edge line formed around the outer edge of the first imprint region, which is used to define the spatial range of the first imprint region; the second imprint boundary refers to the closed edge line formed around the outer edge of the second imprint region, which is used to define the spatial range of the second imprint region.
[0105] Extract the edge line enclosing the first imprint area along the outer edge of the first imprint area in the corresponding unit of the imprint, and determine the edge line as the first imprint boundary. Extract the edge line enclosing the second imprint area along the outer edge of the second imprint area in the corresponding unit of the imprint, and determine the edge line as the second imprint boundary.
[0106] Based on the first imprint boundary and the second imprint boundary, boundary connection identification is performed on the corresponding units of the imprint to obtain candidate continuation imprint units.
[0107] Boundary connection identification refers to the process of determining the contact state, extension state, and connection state between the first imprint boundary and the second imprint boundary to determine whether a continuous association is formed between them; candidate continuation imprint unit refers to the imprint corresponding unit that is determined to have a boundary association relationship after boundary connection identification.
[0108] Within each imprint corresponding unit, the relative positions of the first imprint region and the second imprint region remain unchanged. The contact state between the first imprint boundary and the second imprint boundary is checked segment by segment along the complete outer edge of the first imprint boundary. The situations where the end of the first imprint boundary contacts the end of the second imprint boundary, the situations where the local edge of the first imprint boundary and the local edge of the second imprint boundary are mutually attached, and the situations where the first imprint boundary extends into the edge range of the second imprint region are all recorded as boundary connection states. The imprint corresponding units with boundary connection states are determined as candidate successor imprint units.
[0109] Obtain the arrangement order relationship between adjacent candidate consecutive imprint units;
[0110] The particle arrangement positions corresponding to the candidate successive imprint units are called, and each candidate successive imprint unit is rearranged along the arrangement direction of the flip-order unfolding column. Two candidate successive imprint units at adjacent particle arrangement positions are determined as adjacent candidate successive imprint units. The candidate successive imprint unit located at the front of the arrangement direction is recorded as the preceding candidate successive imprint unit, and the candidate successive imprint unit located at the back of the arrangement direction is recorded as the following candidate successive imprint unit. The connection relationship between the preceding candidate successive imprint unit and the following candidate successive imprint unit is recorded as the arrangement order relationship.
[0111] Based on the arrangement order relationship between adjacent candidate successive imprint units, the candidate successive imprint units are continuously arranged and merged to obtain interlayer successive imprints.
[0112] The arrangement order relationship refers to the sequential distribution relationship formed by adjacent candidate successive imprint units along the flip-order unfolding column direction. This relationship is used to represent the positional continuity state between multiple candidate successive imprint units. Continuous arrangement and merging refers to the process of continuously combining multiple adjacent candidate successive imprint units according to the arrangement order relationship. Layer-to-layer successive imprint refers to the imprint set formed by continuously merging multiple candidate successive imprint units with successive relationships. This imprint set is used to represent the continuous continuity state formed between different layers of attachments.
[0113] Candidate successive imprint units are sequentially extracted along the direction of the unfolded column. Candidate successive imprint units with sequential connection are included in the same successive imprint set. Candidate successive imprint units separated by non-candidate successive imprint units are included in different successive imprint sets. The candidate successive imprint units in each successive imprint set are arranged continuously according to their corresponding particle arrangement positions. The successive imprint set after continuous arrangement and merging is determined as the layer-to-layer successive imprint.
[0114] In an embodiment of the present invention, obtaining the current batch of clean samples includes:
[0115] Based on the correspondence of interface imprints in the interlayer discontinuity diagram, the particle positions of each particle in the flip-sequence expansion column are mapped to obtain the particle positions corresponding to the interlayer continuity imprints.
[0116] Particle position mapping refers to the process of mapping the position of interlayer continuous imprints in the interlayer discontinuity diagram to the position of rice particles in the flip-order unfolding column based on the correspondence of interface imprints; the particle position corresponding to the interlayer continuous imprint refers to the position of the rice particles in the flip-order unfolding column that have a corresponding relationship with the interlayer continuous imprint.
[0117] Extract the imprint combination corresponding to each candidate continuation imprint unit in the interlayer continuation imprint, retrieve the particle arrangement position corresponding to the imprint combination in the interface imprint correspondence, mark the retrieved particle arrangement position as the particle position corresponding to the interlayer continuation imprint, and gather all the marked particle arrangement positions into a set of particle positions to be removed.
[0118] From the physical particles corresponding to the flip-out unfolded column, remove the physical particles at the positions of the particles corresponding to the interlayer continuation imprints to obtain the remaining physical particles;
[0119] Hold the corresponding physical grains in the flip-and-expand column in the bearing position after the flip-and-expand column is arranged. Search for the rice grains at the corresponding bearing positions one by one according to the set of grains to be removed. Use the clamping or suction device to remove the rice grains at the corresponding bearing positions from the physical grains corresponding to the flip-and-expand column. Import the removed rice grains into an independent container. Keep the rice grains that have not been removed in the original bearing position to obtain the remaining physical grains.
[0120] Collect the remaining particles to obtain the net sample for the current batch.
[0121] Remaining physical particles refer to the rice particles that remain after removing the particles corresponding to the interlayer continuous imprint from the physical particles corresponding to the flip-sequence unfolding column; the current batch net sample refers to the rice sample formed by collecting the remaining physical particles, which is used for subsequent quality testing.
[0122] The remaining rice grains are introduced into the clean sample collection container along the direction of the flipping unfolding. The rice grains in the clean sample collection container are mixed into the same test sample, and this test sample is marked as the current batch clean sample. The current batch clean sample is used as the test object for subsequent rice quality testing.
[0123] S5. Test the current batch of net samples to generate test results.
[0124] In an embodiment of the present invention, generating a detection result includes:
[0125] The current batch of net sample is spread on the quality inspection bearing surface to form a layer of particles to be tested;
[0126] The quality inspection bearing surface refers to the flat support surface used to support the large rice grains in the current batch of net sample and to allow the image acquisition device to perform imaging observation; the particle layer to be inspected refers to the collection of rice grains spread on the quality inspection bearing surface, in which the rice grains are in a dispersed distribution and exposed to the image acquisition area.
[0127] The current batch of clean sample is introduced from the clean sample collection container into the feed side of the quality inspection bearing surface. A flat scraper is used to push the current batch of clean sample along the length of the quality inspection bearing surface, so that the rice particles in the current batch of clean sample are dispersed and spread out. The overlapping rice particles are separated with a soft scraper, so that the rice particles are exposed on the quality inspection bearing surface and form a layer of particles to be tested.
[0128] Visible light images of the particle layer to be tested were acquired to obtain visible light images of the clean sample;
[0129] The quality inspection bearing surface with the particle layer to be tested is placed in the acquisition area of the visible light imaging device, the visible light illumination element illuminates the particle layer to be tested, the lens of the visible light imaging device is oriented towards the particle layer to be tested, the lens position is adjusted so that the entire particle layer to be tested is within the imaging field of view, and the particle layer to be tested is imaged to obtain a visible light image of the clean sample.
[0130] Near-infrared images of the particle layer to be tested were acquired to obtain near-infrared images of the clean sample;
[0131] Visible light image acquisition refers to the imaging process of illuminating the particle layer to be detected with visible light and recording the reflected light information; a clean sample visible light image refers to the image data formed after the particle layer to be detected is acquired with visible light, and this image data is used to characterize the appearance of rice grains; near-infrared image acquisition refers to the imaging process of illuminating the particle layer to be detected with near-infrared light and recording the near-infrared response information; a clean sample near-infrared image refers to the image data formed after the particle layer to be detected is acquired with near-infrared image, and this image data is used to characterize the response state corresponding to the internal material composition of rice grains.
[0132] Keeping the spread of the particle layer to be tested on the quality inspection bearing surface unchanged, the quality inspection bearing surface on which the particle layer to be tested is formed is placed in the acquisition area of the near-infrared imaging device, the near-infrared illumination element illuminates the particle layer to be tested, the lens of the near-infrared imaging device is oriented towards the particle layer to be tested, the lens position is adjusted so that the entire particle layer to be tested is within the imaging field of view, and the particle layer to be tested is imaged to obtain a near-infrared image of the clean sample.
[0133] Based on the visible light image of the clean sample, the particle integrity, discolored particles, yellow rice grains and surface mold signs in the current batch of clean samples are detected to obtain the appearance inspection results of the clean sample;
[0134] Particle integrity refers to the state in which rice grains maintain their intact shape, reflecting whether there are any breaks, missing corners, or fragments; discolored grains refer to rice grains whose color differs from that of normal rice grains; yellow rice grains refer to rice grains with a yellow or yellowish-brown surface; surface mold signs refer to areas of abnormal color, adhesion, or morphological changes distributed on the surface of rice grains; net sample appearance inspection results refer to the inspection results of particle integrity, discolored grains, yellow rice grains, and surface mold signs obtained from the visible light image of the net sample;
[0135] Specifically, the image area corresponding to the particle layer to be detected in the visible light image of the clean sample is used as the appearance inspection area. Within the appearance inspection area, particle outline regions are delineated one by one along the outer edge of the rice particles. Each particle outline region is used as a particle appearance inspection unit. Within each particle appearance inspection unit, it is checked whether the outer edge of the particle forms a continuous closed boundary. Rice particles with gaps, broken edges, separated fragments, or missing outlines on their outer edges are recorded as particles with abnormal integrity. Within each particle appearance inspection unit, the color distribution on the particle surface is checked. Rice particles with gray, brown, black, or reddish-brown areas on their surfaces that are different from normal off-white are recorded as discolored particles. Rice particles with yellow or yellowish-brown areas on their surfaces are recorded as yellow rice. Within each particle appearance inspection unit, it is checked whether there are dark spots, spotted areas, flocculent areas, or irregular areas on the particle surface. Rice particles with the above areas are recorded as particles with signs of surface mold. The integrity inspection records, discolored particle inspection records, yellow rice inspection records, and surface mold inspection records corresponding to each particle appearance inspection unit are summarized into the clean sample appearance inspection results.
[0136] Based on the near-infrared image of the clean sample, the internal quality response of particles in the current batch of clean samples is detected, and the near-infrared detection results of the clean sample are obtained.
[0137] The internal quality response of rice grains refers to the absorption, reflection, or transmission state of the substances inside the rice grains under near-infrared irradiation; the near-infrared detection result of the clean sample refers to the detection result of the internal quality response of the grains obtained based on the near-infrared image of the clean sample.
[0138] Specifically, the particle outline regions in the visible light image of the clean sample are mapped to the near-infrared image of the clean sample. The image regions in the near-infrared image of the clean sample that are at the same position as each particle outline region are called near-infrared response regions. The reflection response, absorption response, or transmission response of the particles to near-infrared light is extracted in each near-infrared response region. The response distribution in the same near-infrared response region is used as the internal quality response record of the corresponding rice particle. The internal quality response record is bound to the particle position of the rice particle in the particle layer to be detected. The internal quality response records of the rice particles are sorted according to the particle position order in the particle layer to be detected, and all sorted internal quality response records are summarized into the near-infrared detection result of the clean sample.
[0139] The test results are generated based on the appearance test results and the near-infrared test results of the clean sample.
[0140] The test results refer to the quality evaluation results of the current batch of net samples formed based on the appearance test results and the near-infrared test results of the net samples.
[0141] Specifically, the integrity test record, discolored grain test record, yellow rice grain test record, and surface mold sign test record corresponding to each particle appearance test unit in the clean sample appearance test results are merged with the internal quality response record corresponding to the same particle position in the near-infrared test results of the clean sample to form a single particle quality record. The single particle quality records corresponding to all rice particles in the current batch of clean samples are summarized into the particle-level quality record of the current batch of clean samples. The particle-level quality records are classified according to particles with abnormal integrity, discolored particles, yellow rice grains, particles with surface mold signs, and internal quality responses to obtain the quality test record of the current batch of clean samples. The quality test record of the current batch of clean samples is used as the test result.
[0142] It should be explained that before entering the testing area, the rice sample of the current batch passes through a sampling probe, a sample guide tube, or a testing channel. The tiny residual cavities in these paths may trap rice grains, bran powder, and surface deposits from previous batches. When subsequent batches pass through, these residues may be mixed into the current sample in a manner where the outer layer detaches first and the inner layer detaches later. Therefore, this invention does not directly determine the quality of the original sample. Instead, it first separates particles with different detachment difficulties through graded loosening. Then, it exposes the layered attachment traces carried by the historical residual particles through transcription, copying, and interlayer disconnection relationships. This removes these historical particles carried out by the residual cavities from the current batch of samples. Finally, it only performs visible light and near-infrared detection on the clean sample of the current batch to avoid misjudging the abnormalities caused by historical residues as quality defects in the current batch of rice.
[0143] Example 2: Based on Example 1, a rice quality testing system is also provided; in this example, the functions of each module / unit are as follows:
[0144] The detachment module applies a first detachment action, a second detachment action, and a third detachment action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules.
[0145] The transcription module acquires transcription images from the first transparent slide, the second transparent slide, and the third transparent slide based on the exogenous particle group, the meso-released particle group, and the endogenous particle group, and forms a flip-order unfolded array.
[0146] The copying module expands the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; based on the first interface imprint and the second interface imprint, it generates a layer break diagram.
[0147] The clean sample module constructs the corresponding unit of the imprint based on the interlayer discontinuity diagram, identifies the boundary connection of the corresponding unit of the imprint to obtain the interlayer continuous imprint; and removes the physical particles at the particle positions corresponding to the interlayer continuous imprint to obtain the clean sample of the current batch.
[0148] The testing module performs tests on the current batch of net samples to generate test results.
[0149] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A method for detecting the quality of rice, characterized in that, Includes the following steps: S1. Apply the first loosening action, the second loosening action, and the third loosening action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules. S2. Based on the externally released particle group, the intermediate-release particle group, and the internally released particle group, acquire the transcribing images on the first transparent receiver, the second transparent receiver, and the third transparent receiver, and form a flip-order unfolded array. S3. Expand the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; generate the layer disconnection diagram based on the first interface imprint and the second interface imprint. S4. Construct corresponding units of imprints based on the interlayer discontinuity diagram, and identify the boundary connections of the corresponding units of imprints to obtain interlayer continuous imprints. Remove the physical particles at the particle positions corresponding to the interlayer continuous imprints to obtain the net sample of the current batch; S5. Test the current batch of net samples to generate test results.
2. The method for detecting rice quality according to claim 1, characterized in that, Collected exogenous, intermediate-release, and endogenous granule groups, including: The rice sample to be tested is laid flat on the testing support surface, and the first loosening action is applied to the rice sample to be tested; After the first detachment action is completed, the particles that will be separated from the rice sample to be tested and moved to the first collection area will be collected as the externally released particle group. After removing the externally released granule group from the detection bearing surface, a second loosening action is applied to the remaining rice granules on the detection bearing surface; After the second loosening action is completed, the particles that will be separated from the remaining rice particles and moved to the second collection area will be collected as the intermediate-release particle group. After removing the mid-release granule group from the detection bearing surface, a third loosening action is applied to the remaining rice granules on the detection bearing surface; After the third loosening action is completed, the particles that will separate from the remaining rice grains and move to the third collection area will be collected as internal release particle groups.
3. The method for detecting rice quality according to claim 1, characterized in that, The transfer images are acquired from the first transparent film, the second transparent film, and the third transparent film, including: The exogenous particle group was spread on the first transparent receiving sheet, the intermediate-release particle group was spread on the second transparent receiving sheet, and the endogenous particle group was spread on the third transparent receiving sheet. Directional rolling transfer was performed on the exogenous particle group on the first transparent acceptor, the intermediate particle group on the second transparent acceptor, and the internal particle group on the third transparent acceptor, respectively. After the directional rolling transfer is completed, the transfer images on the first transparent film, the second transparent film, and the third transparent film are acquired.
4. The method for detecting rice quality according to claim 1, characterized in that, To form a reverse-order expanded column, including: The arrangement of the exogenous particle group was determined based on the transcribed image on the first transparent substrate; The arrangement of the intermediate-release particles was determined based on the transcribed image on the second transparent slide; The arrangement of the internally released particles was determined based on the transcribed image on the third transparent slide. The arrangement positions of the internally released particles, the intermediate-release particles, and the externally released particles are connected sequentially to form a flip-order expansion column.
5. The method for detecting rice quality according to claim 1, characterized in that, Obtain the first interface imprint and the second interface imprint, including: Provide a first receiving substrate and a second receiving substrate; The first substrate is subjected to a low-adhesion treatment to obtain a low-adhesion acceptor; Each particle in the flip-flop array is sequentially transferred to a low-adhesion acceptor, thereby transferring the surface deposits on the surface of each particle in the flip-flop array to the low-adhesion acceptor, thus obtaining the first interface imprint. The second receiving substrate is subjected to micro-adsorption treatment to obtain a micro-adsorption acceptor; Following the flip-flop unfolding sequence, each particle after being transferred to the low-adhesion acceptor is sequentially transferred to the micro-adhesion acceptor, so that the remaining adhesion on the surface of each particle in the flip-flop unfolding sequence is transferred to the micro-adhesion acceptor, thus obtaining the second interface imprint.
6. The method for detecting rice quality according to claim 1, characterized in that, Generate a layer-to-layer disconnection diagram, including: Image acquisition is performed on the first interface imprint to obtain an image of the first interface imprint; Image acquisition is performed on the second interface imprint to obtain an image of the second interface imprint; Based on the unfolded column, the particle positions of each first interface imprint in the first interface imprint image and each second interface imprint in the second interface imprint image are matched to obtain the interface imprint correspondence. Based on the correspondence of interface imprints, a layer discontinuity diagram is generated.
7. The method for detecting rice quality according to claim 1, characterized in that, The resulting layer-to-layer continuum imprints include: Based on the interlayer discontinuity diagram, obtain the first and second imprint regions; Based on the first and second imprint regions, construct corresponding imprint units; Determine the first and second imprint boundaries within the corresponding imprint unit; Based on the first imprint boundary and the second imprint boundary, boundary connection identification is performed on the corresponding units of the imprint to obtain candidate continuation imprint units. Obtain the arrangement order relationship between adjacent candidate consecutive imprint units; Based on the arrangement order relationship between adjacent candidate successive imprint units, the candidate successive imprint units are continuously arranged and merged to obtain interlayer successive imprints.
8. The method for detecting rice quality according to claim 1, characterized in that, Obtain the current batch of net samples, including: Based on the correspondence of interface imprints in the interlayer discontinuity diagram, the particle positions of each particle in the flip-sequence expansion column are mapped to obtain the particle positions corresponding to the interlayer continuity imprints. From the physical particles corresponding to the flip-out unfolded column, remove the physical particles at the positions of the particles corresponding to the interlayer continuation imprints to obtain the remaining physical particles; Collect the remaining particles to obtain the net sample for the current batch.
9. The method for detecting rice quality according to claim 1, characterized in that, Generate detection results, including: The current batch of net sample is spread on the quality inspection bearing surface to form a layer of particles to be tested; Visible light images of the particle layer to be tested were acquired to obtain visible light images of the clean sample; Near-infrared images of the particle layer to be tested were acquired to obtain near-infrared images of the clean sample; Based on the visible light image of the clean sample, the particle integrity, discolored particles, yellow rice grains and surface mold signs in the current batch of clean samples are detected to obtain the appearance inspection results of the clean sample; Based on the near-infrared image of the clean sample, the internal quality response of particles in the current batch of clean samples is detected, and the near-infrared detection results of the clean sample are obtained. The test results are generated based on the appearance test results and the near-infrared test results of the clean sample.
10. A system for applying the rice quality detection method according to any one of claims 1-9, characterized in that, The system includes: The detachment module applies a first detachment action, a second detachment action, and a third detachment action to the rice sample to be tested in order to collect the externally released granules, the intermediate-release granules, and the internally released granules. The transcription module acquires transcription images from the first transparent slide, the second transparent slide, and the third transparent slide based on the exogenous particle group, the meso-released particle group, and the endogenous particle group, and forms a flip-order unfolded array. The copying module expands the columns according to the flipping order to obtain the first interface imprint and the second interface imprint; based on the first interface imprint and the second interface imprint, it generates a layer break diagram. The clean sample module constructs the corresponding unit of the imprint based on the interlayer discontinuity diagram, identifies the boundary connection of the corresponding unit of the imprint to obtain the interlayer continuous imprint; and removes the physical particles at the particle positions corresponding to the interlayer continuous imprint to obtain the clean sample of the current batch. The testing module performs tests on the current batch of net samples to generate test results.