The disclosure relates to a testing unit, a sample analyzer including the testing unit, and a testing method.
There has heretofore been known a method of determining a color condition of a reagent section (indicator section) provided in a test specimen (test piece) by image processing in the case of analyzing concentrations of components contained in a sample such as urine (for example, Japanese Patent No. 3559975 (Patent Literature 1)).
One or more embodiments of a testing unit to test a liquid sample applied on a measurement surface in an indicator section on a test piece by using a brightness distribution may comprise: (a) an irradiation part that irradiates a reference surface and the measurement surface on the test piece with light; (b) an imaging part that obtains images of the reference surface and the measurement surface on the test piece; (c) a generating part that generates a determination index based on the imaging data obtained by the imaging part; and (d) a determination part that executes determination, using the determination index, on a measurement item associated with the indicator section, wherein the generating part includes: (c-1) a first calculator that calculates a brightness, as a reference brightness, of the reference surface on the test piece, and calculates a brightness, as a first sample brightness, of the measurement surface, (c-2) a decision part that determines whether or not the imaging data concerning the measurement surface includes a specular reflection region on the basis of a relationship between a first rate calculated as a ratio of the first sample brightness to the reference brightness and a standard deviation or dispersion of a brightness distribution on the measurement surface, and (c-3) a second calculator that calculates a brightness, as a second sample brightness, of a remnant region of the measurement surface excluding the specular reflection region, when the decision part determines that the specular reflection region is present, and the determination part executes the determination on the measurement item associated with the indicator section, (i) using the determination index based on the second sample brightness, when it is determined that the specular reflection region is present, and (ii) using the determination index based on the first sample brightness, when it is determined that the specular reflection region is not present.
One or more embodiments of a testing method for testing a liquid sample applied on a measurement surface in an indicator section on a test piece by using a brightness distribution may comprise: irradiating a reference surface and the measurement surface on the test piece with light; obtaining images of the reference surface and the measurement surface on the test piece; generating a determination index based on the imaging data obtained; and executing determination on a measurement item associated with the indicator section by using the determination index, wherein the generating the determination index includes: (a) calculating a brightness, as a reference brightness, of the reference surface on the test piece, and calculating a brightness, as a first sample brightness, of the measurement surface, (b) determining whether or not the imaging data concerning the measurement surface includes a specular reflection region on the basis of a relationship between a first rate calculated as a ratio of the first sample brightness to the reference brightness and a standard deviation or dispersion of a brightness distribution on the measurement surface, and (c) calculating a brightness, as a second sample brightness, of a remnant region of the measurement surface excluding the specular reflection region, when it is determined that the specular reflection region is present, and the executing the determination on the measurement item includes: (i) executing the determination on the measurement item by using the determination index based on the second sample brightness, when it is determined that the specular reflection region is present, and (ii) executing the determination on the measurement item by using the determination index based on the first sample brightness, when it is determined that the specular reflection region is not present.
With reference to the drawings, an embodiment is described in detail below.
Note that an XYZ orthogonal coordinate system with a Z-axis direction being a vertical direction and an XY plane being a horizontal plane is attached, as needed, to each of
Transport unit 3 transports one or more Spitz tubes 5 from a loading position of transport stage 6 to an unloading position of transport stage 6 through a collection position below sample processing unit 10. Here, each of Spitz tubes 5 is a storage part that stores a sample. As illustrated in
Display unit 8 includes a liquid crystal display, for example, and has a function of “touch panel” that enables specification of a position on a screen by touching the screen with a finger or a dedicated pen. Therefore, a user of sample analyzer 1 (hereinafter simply referred to as the “user”) can cause sample analyzer 1 to execute predetermined processing (for example, to start analyzing the sample stored in Spitz tube 5) by giving instructions using the “touch panel” function of display unit 8 based on contents displayed on display unit 8. Thus, display unit 8 can be used as an input unit that receives an input operation from the user.
Warning light 9 is a notification unit for notifying the user of an operational status of sample analyzer 1, and is made of a transparent body such as an acrylic bar, for example. As illustrated in
Sample processing unit 10 delivers the sample aspirated into nozzle 11 from Spitz tube 5 to a desired position (for example, each of indicator sections 7a of test piece 7 placed in transfer unit 40, or the like). As illustrated in
Nozzle 11 is a cylindrical body made of a conductive material. An aspirated sample or cleaning liquid can be delivered from a tip of nozzle 11. Elevator 15 moves nozzle 11 in an up-and-down direction (arrow AR3 direction) with respect to a liquid level of the sample stored in Spitz tube 5. Advance/retreat part 20 moves elevator 15 in a back-and-forth direction (arrow AR2 direction) between a position above Spitz tube 5 and a position above transfer unit 40.
Therefore, nozzle 11 can be moved between a sample aspiration position and a delivery position where the sample is delivered onto test piece 7 by driving elevator 15 and advance/retreat part 20, as illustrated in
Transfer unit 40 transfers test piece 7 with the sample supplied in indicator sections 7a from sample processing unit 10 to testing unit 70. As illustrated in
Testing unit 70 executes determination of a measurement item associated with each indicator section 7a by taking an image of indicator section 7a of test piece 7 and performing image processing on the acquired imaging data. Note that the configuration of testing unit 70 is described in detail later.
Control unit 90 is electrically connected to sample processing unit 10, transfer unit 40, and testing unit 70 through signal line 99. Control unit 90 controls operations of sample processing unit 10, transfer unit 40, and testing unit 70. Note that the configuration of control unit 90 is described in detail later.
Testing unit 70 tests a liquid sample based on a brightness distribution in indicator section 7a provided in test piece 7. As illustrated in
Here, “brightness” represents the lightness of an object surface. In this embodiment, the values of pixels in an image taken by imaging part 80 serve as brightness values, and a distribution of the values of the pixels (that is, imaging data) serves as the brightness distribution. When imaging part 80 takes an RGB (Red, Green, and Blue) color image, for example, three brightness distributions can be acquired based on R pixels, G pixels, and B pixels.
Shifting part 71, or a shifting device, moves imaging part 80 and irradiation part 85 in an arrangement direction (arrow AR2 direction) of indicator sections 7a during imaging. In other words, shift part 71 is configured to move imaging part 80 and irradiation part 85 in a longitudinal direction of test piece 7. As illustrated in
Fixing frame 72 is a frame body for fixing imaging part 80 and irradiation part 85. As illustrated in
Pulleys 74 (74a and 74b) rotates about its axial center approximately parallel to the arrow AR3 direction. Also, belt 75 is wound around the outer circumference of pulleys 74 (74a and 74b). Moreover, the axial center of pulley 74a is connected to a rotation axis of transfer motor 77. Furthermore, shifting part 71 is fixed to belt 75 with fixture 78.
Thus, shifting part 71 is moved in the back-and-forth direction (arrow AR2 direction) by rotating transfer motor 77 in a positive direction or a negative direction. Thus, imaging part 80 can be moved to immediately above indicator section 7a.
Imaging part 80, or an imaging device, takes an image of each indicator section 7a by being moved in the back-and-forth direction by shifting part 71. More specifically, imaging part 80 obtains images of reference surface 7d and measurement surface 7c on test piece 7. As illustrated in
Lens system 83 focuses light reflected by test piece 7, for example, onto imaging element 81. As illustrated in
Imaging element 81 includes light receiving elements, and converts the light focused by lens system 83 into an electric signal depending on the intensity of the light. Here, a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal-Oxide Semiconductor) image sensor, for example, may be employed as imaging element 81. Alternatively, one having light receiving elements one-dimensionally or two-dimensionally arranged therein may be employed as imaging element 81. Still alternatively, one capable of acquiring a gray-scale image or a color image may be employed as imaging element 81.
Irradiation part 85, or an irradiation device, irradiates indicator section 7a in test piece 7 with diffused light, for example. More specifically, irradiation part 85 irradiates reference surface 7d and measurement surfaces 7c on test piece 7 with light. As illustrated in
Light source 86 is a point light source including LEDs (Light Emitting Diodes), for example. As illustrated in
Diffuser 88 transmits light emitted from light source 86 therethrough, thereby converting the emitted light into diffused light. As illustrated in
Light guide 87 guides the light emitted from light source 86 to diffuser 88. As illustrated in
Moreover, as illustrated in
As described above, imaging part 80 and irradiation part 85 in testing unit 70 are moved relative to test piece 7 placed on installation part 41 in transfer unit 40. Therefore, imaging part 80 can acquire imaging data concerning respective measurement surfaces 7c (see
Indicator sections 7a are associated with specific measurement items (for example, specific components dissolved in the sample), respectively. As illustrated in
When the liquid sample is supplied onto measurement surface 7c on each indicator section 7a, brightness on each measurement surface 7c varies depending on the concentration of the associated measurement item (component). To be more specific, when the sample is supplied onto measurement surface 7c on indicator section 7a, the brightness on the entire or a part of measurement surface 7c is decreased depending on the sample absorption condition of measurement surface 7c and the components in the sample.
Base section 7b is a support for disposing indicator sections 7a, and the color of base section 7b is set to one with a high brightness (for example, white). In determination of each measurement item, an index of brightness on reference surface 7d on base section 7b is used as a reference value of brightness.
Here, in
R0=C0/Ca (1)
Moreover, decrease rate D or a change rate used for the method of determining a measurement item is obtained as follows. Specifically, when it is defined that an average value of a brightness distribution on reference surface 7d of base section 7b is BSave and an average value of a brightness distribution on measurement surface 7c is Bave, decrease rate D is calculated by Equation (2).
D=Bave/BSave (2)
Note that, when one capable of acquiring an RGB color image is employed as imaging element 81 in imaging part 80, the brightness distributions used in Equation (2) may be based on any of R pixels, G pixels, and B pixels or may be based on a gray scale image obtained by converting the RGB image.
Furthermore, in the following description, the average value of the brightness distribution on reference surface 7d is referred to as “reference brightness” and the average value of the brightness distribution on measurement surface 7c is referred to as “first sample brightness”.
First, description is given of a brightness distribution on normal measurement surface 7c.
Next, description is given of a brightness distribution when imaging data on measurement surface 7c includes a specular reflection region.
As described above, imaging data concerning the specular reflection region is obtained by taking an image of the light regularly reflected on the droplet. In this imaging data, an image of measurement surface 7c that should normally be taken is not properly recorded. Therefore, in order to properly perform determination of a measurement item associated with each indicator section 7a, the specular reflection region needs to be removed from the imaging data.
Here, examples of a method of removing pixels corresponding to the specular reflection region include
(1) a method of removing all pixels with the accumulation ratio “AR”≧“Re” from the imaging data and
(2) a method of removing all pixels with the brightness value “B”≧“Bth” from the imaging data.
However, the following problem arises when the method (1) is employed. Specifically, when there is no specular reflection region as in the case of
On the other hand, the method (2) is effective when the brightness values “B” of the pixels without any decrease in brightness within measurement surface 7c are smaller than “Bth” as in the case of
Here,
Therefore, when the method (2) is employed, the region that should normally be used for calculation of decrease rate D by Equation (2) is removed if the brightness on measurement surface 7c is not decreased even when the sample is supplied onto indicator section 7a, for example (see
Therefore, in this embodiment, focusing attention on a relationship between a standard deviation of a brightness distribution on measurement surface 7c and a decrease rate, a determination method that solves the problems of the methods (1) and (2) is employed. Specifically, a standard deviation of a brightness distribution when there is a specular reflection region (case of
Determining the magnitude of the standard deviation of the brightness distribution as described above makes it possible to determine whether or not the imaging data includes a specular reflection region. In order to enable this determination, determination curves DC illustrated in
For example, as illustrated in
Here,
(A) as illustrated in
(B) regions F1 to F4 are previously empirically defined as corresponding to component concentration ranges A1 to A4, respectively. In this case, the decrease rate “D”=“D1” is included in region F3 as illustrated in
On the other hand, when a plotted point of the standard deviation and decrease rate calculated from the imaging data concerning measurement surface 7c is on or above determination curve DC such as point P21 (D21, SD2), it is determined that the imaging data includes a specular reflection region. Then, determination of a measurement item is executed based on a second sample brightness in a remnant region of the imaging data concerning measurement surface 7c from which the specular reflection region is excluded.
To be more specific, when it is determined that the imaging data includes a specular reflection region, a remnant region is set by excluding pixels with the brightness value “B” within the range of “Bth” to “Bmax” from the imaging data concerning measurement surface 7c. Next, an average value of brightness in the remnant region is calculated as the second sample brightness, and the decrease rate “D”=“D22” is calculated, using Equation (2), from the second sample brightness and the reference brightness.
The determination of the measurement item is executed based on the decrease rate “D22” (second decrease rate or second change rate) at point P22 rather than point P21. Specifically, the decrease rate “D”=“D22” is included in region F3 rather than region F2 as illustrated in
Note that determination curve DC may be previously obtained by experiment or the like for each of the components contained in the sample or may be obtained using a predetermined calculation formula.
CPU (Central Processing Unit) 91 executes operation control and data processing in accordance with program 92a in memory 92. Also, calculation functions executed by blocks (denoted by reference numerals 95 (95a, 95b, and 95c) and 96) in CPU 91 in
Generating part 95 generates a determination index to be used by determination part 96, based on imaging data acquired by imaging part 80. As illustrated in
First calculator 95a calculates a reference brightness as an index of brightness on reference surface 7d (see
Decision part 95b uses Equation (2) to calculate a first decrease rate that is a ratio of the first sample brightness to the reference brightness. Also, decision part 95b determines whether or not imaging data concerning measurement surface 7c includes a specular reflection region, based on a relationship (see
When it is determined by decision part 95b that the specular reflection region is present, second calculator 95c calculates a second sample brightness as an index of brightness in a remnant region of measurement surface 7c from which the specular reflection region is excluded. Furthermore, second calculator 95c calculates a second decrease rate that is a ratio of the second sample brightness to the reference brightness. Here, as the remnant region, part of the imaging data from which data with the brightness value “B” not less than a threshold “Bth” is excluded may be employed, as illustrated in
Determination part 96 execute determination on the measurement item associated with measurement surface 7c using the determination index generated by generating part 95. More specifically, determination part 96 determines quality or quantity in terms of the measurement item corresponding to measurement surface 7c. For example, when it is determined by decision part 95b that there is a specular reflection region on measurement surface 7c, determination part 96 uses the determination index (for example, the second decrease rate) based on the second sample brightness to determine the measurement item associated with measurement surface 7c.
On the other hand, when it is determined by decision part 95b that there is no specular reflection region, determination part 96 uses the determination index (for example, the first decrease rate) based on the first sample brightness to determine the measurement item associated with measurement surface 7c.
Communication controller 94 can transmit control signals to transfer motor 77, imaging element 81, light source 86, and the like connected through signal line 99 (see
Next, with reference to
In this determination procedure, first, imaging part 80 takes an image of reference surface 7d of test piece 7 (S101) and a reference brightness is calculated using imaging data thus obtained (S102).
Subsequently, imaging part 80 and irradiation part 85 are moved to immediately above measurement surface 7c adjacent to reference surface 7d, and an image of measurement surface 7c is taken (S103). Then, a first sample brightness is calculated based on imaging data thus obtained (S104). Thereafter, a standard deviation of a brightness distribution on measurement surface 7c and a first decrease rate are calculated (S105).
Here, when it is determined that a point (D, SD) plotted on the graph of
On the other hand, when it is determined that a point (D, SD) plotted on the graph of
In this determination procedure, Steps S103 to S109 are executed until determination of all the measurement items to be measured is finished (S110).
As described above, testing unit 70 according to this embodiment determines the measurement item associated with indicator section 7a by
(1) using the determination index (that is, the second decrease rate) based on the second sample brightness, when it is determined that the imaging data includes a specular reflection region, and
(2) using the determination index (that is, the first decrease rate) based on the first sample brightness, when it is determined that the imaging data includes no specular reflection region.
Therefore, even when the imaging data includes a specular reflection region, the specular reflection region can be successfully removed while leaving a region to be used for calculation of the determination index. Thus, erroneous determination of the measurement item attributable to the specular reflection region can be prevented.
Moreover, the light emitted from light source 86 reaches diffuser 88 while being reflected on inner peripheral wall 87c of straight advance hole 87b and light guiding hole 87a having its width increased toward diffuser 88 from light source 86. This makes it possible to successfully irradiate indicator section 7a of test piece 7 with the diffused light from irradiation part 85, and to inhibit a phenomenon in which light specularly reflected on a droplet on indicator section 7a enters imaging part 80. Therefore, the number of determinations based on the second sample brightness can be reduced. Also, calculation cost required for the determination of the measurement items, that is, processing time and calculation hardware cost can be reduced.
While an embodiment is described above, the invention is not limited to the embodiment described above, and various modifications can be made.
(1) In the embodiment described above, the description is given assuming that shifting part 71 moves imaging part 80 and irradiation part 85 relative to test piece 7. In one or more embodiments, for example, test piece 7 may be moved relative to imaging part 80 and irradiation part 85, or test piece 7, imaging part 80, and irradiation part 85 may be moved, respectively. Specifically, shifting part 71 moves imaging part 80 and irradiation part 85 relative to test piece 7 in the arrangement direction of indicator sections 7a during imaging.
(2) Moreover, in the embodiment described above, the description is given assuming that first calculator 95a calculates the average value of the brightness distribution on reference surface 7d as the reference brightness and calculates the average value of the brightness distribution on measurement surface 7c as the first sample brightness. In one or more embodiments, for example, the reference brightness may be a median of the brightness distribution on reference surface 7d. Also, the first sample brightness may be a median of the brightness distribution on measurement surface 7c.
Likewise, the description is given assuming that second calculator 95c calculates the average value of the brightness distribution in the remnant region of measurement surface 7c from which the specular reflection region is excluded as the second sample brightness. In one or more embodiments, for example, the second sample brightness may be a median of the brightness distribution in the remnant region of measurement surface 7c from which the specular reflection region is excluded.
(3) Moreover, in the embodiment described above, the description is given assuming that the determination of whether or not the imaging data includes the specular reflection region is executed based on the relationship (see
(4) Furthermore, in the embodiment described above, the description is given assuming that generating part 95 and determination part 96 are realized in a software manner by CPU 91 based on the program stored in memory 92. In one or more embodiments, for example, generating part 95 and determination part 96 may be realized in a hardware manner using an electronic circuit.
In the case of taking an image of an indicator section where a liquid sample is supplied and testing the sample using imaging data thus obtained, the following problem arises depending on a sample absorption condition on the indicator section.
Specifically, a part of the liquid sample is not absorbed and left on the indicator section in some cases, and light emitted from a lighting unit is specularly reflected on the sample on the indicator section, and reaches an imaging unit. In this case, imaging data of a region where the light is specularly reflected is of an image where the light regularly reflected on a droplet is taken. This imaging data does not record the proper image of the measurement surface that should be taken essentially. This results in the problem that the imaging data of the specular reflection region adversely affects testing of the sample.
According to the embodiments described above, it can provide a testing unit capable of successfully testing a sample even when imaging data includes a specular reflection region, and a sample analyzer including the testing unit.
According to the embodiments described above, the measurement item associated with the indicator section is determined by
(1) using the determination index based on the second sample brightness, when it is determined that the imaging data includes a specular reflection region, and
(2) using the determination index based on the first sample brightness, when it is determined that the imaging data includes no specular reflection region.
Therefore, even when the imaging data includes a specular reflection region, the specular reflection region can be successfully removed while leaving a region to be used for calculation of the determination index. Thus, erroneous determination of the measurement item attributable to the specular reflection region can be prevented.
Particularly, in the configuration including the light source and the configuration in which the imaging part and the irradiation part are moved, light emitted from the light source reaches the diffuser while being reflected on an inner wall of a light guiding hole having its width increased toward the diffuser from the light source. This enables the indicator section to be successfully irradiated with the diffused light from the irradiation part, and inhibits a phenomenon in which light specularly reflected on a droplet on the indicator section enters the imaging part. Therefore, the number of determinations based on the second sample brightness can be reduced. Also, calculation cost required for the determination of the measurement items, that is, processing time and calculation hardware cost can be reduced.
The invention includes other embodiments in addition to the above-described embodiments without departing from the spirit of the invention. The embodiments are to be considered in all respects as illustrative, and not restrictive. The scope of the invention is indicated by the appended claims rather than by the foregoing description. Hence, all configurations including the meaning and range within equivalent arrangements of the claims are intended to be embraced in the invention.
Number | Date | Country | Kind |
---|---|---|---|
2014-192042 | Sep 2014 | JP | national |
This application is a continuation application of International Application No. PCT/JP2015/076712, filed on Sep. 18, 2015, entitled “TESTING UNIT, SAMPLE ANALYZER, AND TESTING METHOD”, which claims priority based on the Article 8 of Patent Cooperation Treaty from prior Japanese Patent Applications No. 2014-192042, filed on Sep. 20, 2014, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2015/076712 | Sep 2015 | US |
Child | 15461745 | US |