JP6492501B2 - Determination apparatus, determination method, and computer program - Google Patents

Determination apparatus, determination method, and computer program Download PDF

Info

Publication number
JP6492501B2
JP6492501B2 JP2014204942A JP2014204942A JP6492501B2 JP 6492501 B2 JP6492501 B2 JP 6492501B2 JP 2014204942 A JP2014204942 A JP 2014204942A JP 2014204942 A JP2014204942 A JP 2014204942A JP 6492501 B2 JP6492501 B2 JP 6492501B2
Authority
JP
Japan
Prior art keywords
value
determination
detection
gradation
reference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014204942A
Other languages
Japanese (ja)
Other versions
JP2016073218A (en
Inventor
裕司 近藤
裕司 近藤
寿紀 末竹
寿紀 末竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nipro Corp
Original Assignee
Nipro Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nipro Corp filed Critical Nipro Corp
Priority to JP2014204942A priority Critical patent/JP6492501B2/en
Publication of JP2016073218A publication Critical patent/JP2016073218A/en
Application granted granted Critical
Publication of JP6492501B2 publication Critical patent/JP6492501B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Apparatus Associated With Microorganisms And Enzymes (AREA)
  • Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)
  • Image Analysis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

本発明は、複数のプローブが固定された試験片に対する検査対象物質の反応の有無を判定する方法に関し、特に、判定結果の精度を向上させることが可能な判定装置、判定方法及びコンピュータプログラムに関する。   The present invention relates to a method for determining the presence or absence of a reaction of a substance to be inspected with respect to a test piece to which a plurality of probes are fixed, and particularly relates to a determination apparatus, a determination method, and a computer program capable of improving the accuracy of a determination result.

検査対象の物質との間で特有の反応を起こした場合に変色するプローブと呼ばれる物質を複数種類固定した試験片に検体由来の液体を浸透させ、各プローブにおける反応の有無を発色によって判断し、複数のプローブにおける発色パターンによって検体を同定する検査が広く行なわれている。例えば、医療分野では尿検査、血液検査及び遺伝子検査、他の分野では水質検査等があり、試験片を用いた検査の対象は多岐にわたる。   The specimen-derived liquid is infiltrated into a test piece fixed with multiple types of substances called probes that change color when a specific reaction occurs with the substance to be examined, and the presence or absence of reaction in each probe is determined by color development. Tests for identifying specimens by color development patterns of a plurality of probes are widely performed. For example, in the medical field, there are urine tests, blood tests and genetic tests, and in other fields, water quality tests and the like.

なかでも医療分野においては、遺伝子の変異型を同定するための試験片を用いた遺伝子検査が行なわれており(特許文献1等)、特に結核菌群の薬剤感受性試験のための試験キットの活用により、高精度な検査の迅速化が期待されている(特許文献2等)。これらの遺伝子検査で用いられる試験片には多様な変異型遺伝子を識別するために多数のプローブが固定されており、発色パターンの種類も多数である。   In particular, in the medical field, a genetic test using a test piece for identifying a mutant form of a gene is performed (Patent Document 1, etc.), and in particular, use of a test kit for a drug susceptibility test for Mycobacterium tuberculosis group. Therefore, it is expected to speed up the highly accurate inspection (Patent Document 2 etc.). A large number of probes are fixed to the test pieces used in these genetic tests in order to identify various mutant genes, and there are many types of color development patterns.

試験片の各プローブに対する反応は化学的な変化である。検査環境の温度や検査手順等検査条件の細微な相違により、プローブの発色具合が変化し得る。また複数のプローブの特性は夫々、条件の相違によって発色が過剰に鮮明になるもの又は不鮮明となって判別が困難になるもの等、様々である。検査環境及び手順の細微な相違によっては、同時に発色させた他の試験片における同プローブの発色との比較によって、反応の有無を判断することが必要な場合もある。試験片の各プローブに対する発色の有無はこれまで、観察者の目視に基づいて判断するものとされてきた。しかしながら、目視による人為的な判断では、上述したような条件により変化し得る発色具合、並びにプローブ毎に異なる発色特性を考慮して多数のプローブの発色パターンを高精度に特定することが困難である。   The reaction of the specimen to each probe is a chemical change. The degree of color development of the probe can change due to minute differences in the inspection conditions such as the temperature of the inspection environment and the inspection procedure. Also, the characteristics of the plurality of probes are various, such as those in which the color development becomes excessively sharp due to the difference in conditions, or those that become unclear and difficult to discriminate. Depending on the subtle differences in the test environment and procedure, it may be necessary to determine the presence or absence of a reaction by comparison with the color of the probe in another test piece that has developed color at the same time. Until now, the presence or absence of color development on each probe of the test piece has been determined based on the visual observation of the observer. However, it is difficult to identify the color patterns of a large number of probes with high accuracy in consideration of the color development conditions that can change depending on the above-described conditions and the color development characteristics that differ from probe to probe. .

そこで、検査手順を経た試験片を撮像して得られる試験片画像のデータに対し、コンピュータが画像処理を行なうことによって各プローブの発色の有無を画一的に判定する方法が提案されている(特許文献3、4等)。特許文献3には、複数の試験片を順次撮像して発色の有無を支障なく判定することが可能な特有の搬送装置を備える測定装置が開示されている。特許文献4には、特許文献3に開示されているような特有の測定装置を用いることなしに、広く普及している撮像部付きの携帯型の端末装置を用いて試験片を撮像し、撮像画像データを端末装置からサーバ装置へ送信し、サーバ装置は撮像画像データに基づき分析を行ない、サーバ装置が分析結果を端末装置へ返信するシステムが開示されている。   In view of this, a method has been proposed in which a computer performs image processing on test piece image data obtained by imaging a test piece that has undergone an inspection procedure, thereby uniformly determining the presence or absence of coloration of each probe ( Patent Documents 3 and 4). Patent Document 3 discloses a measuring apparatus including a specific transport device that can sequentially image a plurality of test pieces and determine the presence or absence of color development without any problem. In Patent Document 4, a test piece is imaged by using a widely used portable terminal device with an imaging unit without using a specific measurement device as disclosed in Patent Document 3, and imaging is performed. A system is disclosed in which image data is transmitted from a terminal device to a server device, the server device performs analysis based on captured image data, and the server device returns an analysis result to the terminal device.

特開2007−064927号公報JP 2007-064927 A 特開2011−087465号公報JP 2011-087465 A 特開2007−212262号公報JP 2007-212262 A 特開2012−202989号公報JP 2012-202989 A

試験片を撮像して得られる試験片画像のデータにおける処理を行なうことによって判定する場合、目視による人為的な判断を行なう場合に比して正確性が高い。しかしながらその正確性の高さは、撮像片画像データが、均一な撮像条件下で得られたものであるという前提でのみ維持される。特許文献3で開示されているような特有の測定装置を用いる場合には撮像条件の均一性は満たされるが、特許文献4で開示されているような特有の測定装置を不要とするシステムでは、端末装置による撮像環境の照度又は照明の色温度、又は撮像素子の特性等の撮像条件の相違により、同一の物体を撮像した撮像片画像データであっても、撮像条件によって色の強弱、色バランス又は輝度等が異なり、誤判定を招く可能性がある。   When the determination is made by performing processing on the data of the test piece image obtained by imaging the test piece, the accuracy is higher than in the case of making an artificial judgment by visual observation. However, the high accuracy is maintained only on the assumption that the imaged piece image data is obtained under uniform imaging conditions. When using a specific measurement device as disclosed in Patent Document 3, the uniformity of the imaging conditions is satisfied, but in a system that does not require a specific measurement device as disclosed in Patent Document 4, Due to the difference in imaging conditions such as the illuminance of the imaging environment by the terminal device or the color temperature of the illumination, or the characteristics of the imaging device, even if it is imaged piece image data obtained by imaging the same object, the color strength and color balance depend on the imaging conditions. Or brightness etc. differ and may cause a misjudgment.

本発明は斯かる事情に基づいてなされたものであり、試験片測定用の専用装置を用いることなしに、試験片画像データに対する画像処理に基づき判定する場合に判定結果の精度を向上させることが可能な判定装置、判定方法及びコンピュータプログラムを提供することを目的とする。   The present invention has been made based on such circumstances, and it is possible to improve the accuracy of the determination result when determining based on image processing on test piece image data without using a dedicated device for measuring the test piece. An object is to provide a possible determination device, determination method, and computer program.

本発明に係る判定装置は、検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片を撮像した画像データを取得し、取得した画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定する判定装置において、前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定基準値を算定する基準値算定手段と、前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値を用いて相対値へ変換する変換手段と、前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較する比較手段と、前記比較手段による比較結果に基づいて、前記複数の検出体毎に反応の有無を判定する判定手段とを備えることを特徴とする。   The determination apparatus according to the present invention acquires image data obtained by imaging a test piece on which a plurality of detection bodies that develop color depending on whether or not there is a reaction with a substance to be inspected, and a plurality of images based on the acquired image data In the determination apparatus for determining presence / absence of a reaction in the plurality of detection bodies based on an image including pixels, based on a pixel value for each pixel in the image, a luminance value or a gradation value indicating one or a plurality of colors. Corresponding to a pixel value in each detection body region for each detection body region specified as a region where each of the plurality of detection bodies in the image is captured, and a reference value calculation means for calculating a determination reference value The conversion means for converting the gradation value indicating the level of brightness or the shade of one or more colors into a relative value using the determination reference value, and predetermined for each of the plurality of detection bodies for each detection body region. Threshold Comparing means for comparing the relative values, on the basis of the comparison result by the comparison means, characterized in that it comprises a determination means for determining presence or absence of reaction for each of the plurality of detector.

本発明に係る判定装置の前記変換手段は、前記階調値の前記判定基準値に対する割合を算出するようにしてあることを特徴とする。   The conversion means of the determination apparatus according to the present invention is characterized in that a ratio of the gradation value to the determination reference value is calculated.

本発明に係る判定装置の前記基準値算定手段は、前記検出体領域毎の前記階調値を特定する手段と、前記複数の検出体夫々の検出体領域から一部を抽出する抽出手段と、抽出された一部の検出体領域に対し特定された階調値を用いて前記判定基準値を算定する手段とを備えることを特徴とする。   The reference value calculation means of the determination device according to the present invention includes a means for specifying the gradation value for each of the detection object areas, an extraction means for extracting a part from the detection object areas of the plurality of detection objects, Means for calculating the determination reference value using the gradation value specified for the extracted part of the detected body region.

本発明に係る判定装置の前記抽出手段は、所定値以上の階調値が特定された検出体領域を抽出するようにしてあることを特徴とする。   The extraction means of the determination apparatus according to the present invention is characterized in that a detection body region in which a gradation value greater than a predetermined value is specified is extracted.

本発明に係る判定装置の前記基準値算定手段は、前記複数の検出体を複数のグループに分別し、分別したグループ毎に前記判定基準値を算定するようにしてあることを特徴とする。   The reference value calculation means of the determination apparatus according to the present invention is characterized in that the plurality of detection bodies are classified into a plurality of groups, and the determination reference value is calculated for each of the classified groups.

本発明に係る判定装置は、前記検出対象の物質は遺伝子検体であり、前記複数の検出体は前記遺伝子検体とハイブリダイズするオリゴヌクレオチドを含むプローブであることを特徴とする。   In the determination apparatus according to the present invention, the substance to be detected is a gene sample, and the plurality of detection bodies are probes including oligonucleotides that hybridize with the gene sample.

本発明に係る判定装置は、前記検出対象の物質は結核菌であり、前記複数の検出体は前記結核菌とハイブリダイズするオリゴヌクレオチドを含むプローブであることを特徴とする。   The determination apparatus according to the present invention is characterized in that the substance to be detected is Mycobacterium tuberculosis, and the plurality of detection bodies are probes including oligonucleotides that hybridize with the Mycobacterium tuberculosis.

本発明に係る判定方法は、撮像装置から情報を取得することが可能なコンピュータが、検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片の画像データを前記撮像装置から取得し、取得した画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定する判定方法において、前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定基準値を試験片毎に算定し、前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値を用いて相対値へ変換し、前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較し、比較結果に基づき、前記複数の検出体毎に反応の有無を判定することを特徴とする。   According to the determination method of the present invention, a computer capable of acquiring information from an imaging apparatus has image data of a test piece on which a plurality of detection bodies that develop color depending on the presence or absence of a reaction with a substance to be examined are fixed. In the determination method for determining whether or not there is a reaction in the plurality of detection bodies based on an image including a plurality of pixels based on the acquired image data, the luminance based on the pixel value for each pixel in the image A detection reference value for each test piece is calculated for each test piece, and a detection object that is specified as an area where each of the plurality of detection objects is imaged is calculated. For each region, a gradation value indicating the level of brightness corresponding to the pixel value in each detection body region or the shade of one or more colors is converted into a relative value using the determination reference value, and the detection body region Every, Compared serial with the plurality of detector separately predetermined in Aru threshold and the relative value, based on the comparison result, and judging the presence or absence of a reaction for each of the plurality of detector.

本発明に係るコンピュータプログラムは、撮像装置から情報を取得することが可能なコンピュータに、検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片の画像データを前記撮像装置から取得させ、取得された画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定させるコンピュータプログラムにおいて、前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定基準値を試験片毎に算定するステップ、前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値を用いて相対値へ変換するステップ、及び、前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較するステップを実行させることを特徴とする。   The computer program according to the present invention is an image data of a test piece in which a plurality of detection bodies that are colored according to the presence or absence of a reaction with a substance to be examined are fixed to a computer capable of acquiring information from an imaging device. In the computer program for determining the presence or absence of reaction in the plurality of detection bodies from an image composed of a plurality of pixels based on the acquired image data, based on the pixel value for each pixel in the image, A step of calculating a reference value for each test piece with respect to a gradation value indicating brightness level or gradation of one or a plurality of colors, and a region where each of the plurality of detectors in the image is captured. For each detection body region, a gradation value indicating the level of brightness corresponding to the pixel value in each detection body region or the shade of one or more colors is used as the determination reference value. The step of converting the relative value using, and, on the detector for each region, characterized in that to perform the step of comparing said plurality of detector separately predetermined in Aru threshold and the relative value.

本発明では、試験片を撮像して得られる撮像画像データに基づく画像中の画素値から、画像全体の明るさ、色バランス等の個々の画像データの撮像条件に応じた判定基準値が算定され、検出体領域夫々における画素値に基づく階調値を判定基準値に基づく相対値に変換してから閾値との比較が行なわれる。これにより、固定の閾値に基づいて判定するに際し、撮像素子又は撮像環境等が異なる個々の撮像装置の撮像条件による誤差の影響を低減して判定精度を向上させることができる。また本発明では、判定基準値によって変換された相対値に対し、1つの閾値ではなく検出体毎に定められた閾値と比較がされる。これにより、化学的な反応を起こす検出体夫々の特性に応じた個別の判定が可能となり、判定精度を向上させることができる。   In the present invention, a determination reference value corresponding to the imaging conditions of individual image data such as brightness and color balance of the entire image is calculated from pixel values in the image based on the captured image data obtained by imaging the test piece. The gradation value based on the pixel value in each of the detection body regions is converted into a relative value based on the determination reference value, and then compared with the threshold value. Thereby, when making a determination based on a fixed threshold value, it is possible to reduce the influence of errors due to the imaging conditions of individual imaging devices having different imaging elements or imaging environments, and improve the determination accuracy. In the present invention, the relative value converted by the determination reference value is compared with a threshold value determined for each detection object instead of a single threshold value. Thereby, individual determinations according to the characteristics of the respective detection bodies that cause a chemical reaction are possible, and the determination accuracy can be improved.

変換により得られる相対値は、判定基準値に対する割合でよい。なお、割合のみに限られず、算定された判定基準値に対する加減などであってもよい。   The relative value obtained by the conversion may be a ratio to the determination reference value. In addition, it is not restricted only to a ratio, The adjustment with respect to the calculated criterion value etc. may be sufficient.

本発明では、明らかに発色している検出体の検出体領域が抽出され、発色していると断定できる検出体の検出体領域における階調値に基づいて判定基準値が算定され、算定された判定基準値に基づいて各検出体における反応の有無が判定される。これにより、明らかに発色していない検出体の検出体領域における階調値の判定基準値への影響を低減し、判定精度を向上させることができる。   In the present invention, the detection region of the detection body that is clearly colored is extracted, and the determination reference value is calculated based on the gradation value in the detection body region of the detection body that can be determined to be colored. Based on the determination reference value, the presence or absence of a reaction in each detector is determined. Thereby, it is possible to reduce the influence of the gradation value on the determination reference value in the detection region of the detection body that is not clearly colored, and improve the determination accuracy.

明らかに発色しているか否かは、輝度の高低又は特定の色の濃淡を示す階調値が所定値以上であるか否か、即ち輝度が所定の輝度よりも高いか否か、又は特定の色が所定の濃さよりも濃いか否かで判断される。所定値は、どのような撮像条件であっても発色している場合には必ず上回る値として最低限の値が、予め経験的に定められてある。なお、所定値未満であるか否かで判断されてもよいし、輝度が所定の範囲内であるか否か、又は特定の色が所定の濃さの範囲内であるか否かで判断されるようにしてもよい。   Whether or not the color is clearly developed is determined by whether or not the gradation value indicating the level of luminance or the shade of a specific color is a predetermined value or more, that is, whether or not the luminance is higher than the predetermined luminance, Judgment is made based on whether the color is darker than a predetermined darkness. The predetermined value is empirically determined in advance as a minimum value as a value that must be exceeded when color is developed under any imaging condition. The determination may be made based on whether the luminance is less than the predetermined value, whether the luminance is within a predetermined range, or whether the specific color is within a predetermined darkness range. You may make it do.

本発明では、判定基準値はグループ毎に算定される。特性が類似する検出体の検出体領域毎に判定基準値を算定することができる。これにより、発色の特性が全く異なる他の検出体の検出体領域における輝度又は色に相互に影響されることを低減し、判定精度を向上させることができる。   In the present invention, the criterion value is calculated for each group. A determination reference value can be calculated for each detection object region of detection objects having similar characteristics. Thereby, it is possible to reduce the mutual influence of the luminance or color in the detection body region of another detection body having completely different color development characteristics, and to improve the determination accuracy.

本発明では、複数の検出体中に、特定の検出体(特殊な検出体)が設けられ、特定の検出体における反応の有無が判定される。これにより、多種類の判定結果を出力することができ、判定精度を向上させることができる。   In the present invention, a specific detection body (special detection body) is provided in the plurality of detection bodies, and the presence or absence of a reaction in the specific detection body is determined. Thereby, many types of determination results can be output, and determination accuracy can be improved.

本発明では、試験片は結核菌検査に使用される場合に、より優れた効果を発揮する。結核菌検査に使用される試験片は、その変異体の多さに応じて多数の検出体(プローブ)を有するものがあるために区別しなければならない発色パターンが多く、検査実施者が目視により判定する場合に誤判定を招きやすいものであった。撮像画像データに基づいて撮像条件によらない精度の良い判定が行なわれることにより、検査実施者が使用する既存の撮像装置を用いても正確な判定結果が得られる。   In this invention, when a test piece is used for a tuberculosis microbe test | inspection, the more excellent effect is exhibited. Test strips used for M. tuberculosis testing have many detectors (probes) depending on the number of mutants, so there are many color patterns that must be distinguished, and the tester can visually check them. When judging, it was easy to invite a false judgment. An accurate determination result can be obtained even by using an existing imaging device used by the inspector by performing a highly accurate determination based on the captured image data regardless of the imaging conditions.

勿論、試験片は結核菌検査に使用されるものに限られず、HPV(ヒトパピローマ)検査、HLA(ヒト白血球型抗原)検査、MRSA(メチシリン耐性黄色ブドウ球菌)検出、Staphylococcus(黄色ブドウ球菌)群検出、Helicobacter Pylori (ヘリコバクター・ピロリ)検出、Clostridium difficile (クロストリジウム属菌)検出、E.coli(大腸菌)検出等の遺伝子検査における検出体の発色で反応の有無を判定する種々のものであってよい。また、遺伝子検査に使用されるものに限られず、抗原抗体反応における検出体の発色で反応の有無を判定する種々のものであってもよい。例えばHIV(ヒト免疫不全ウィルス)検査、HCV(C型肝炎ウィルス)検査等が挙げられる。   Of course, the test pieces are not limited to those used for the tuberculosis test, HPV (human papilloma) test, HLA (human leukocyte antigen) test, MRSA (methicillin-resistant Staphylococcus aureus) detection, Staphylococcus (Staphylococcus aureus) group detection , Helicobacter Pylori (H. pylori) detection, Clostridium difficile (Clostridial spp.) Detection, E. coli (E. coli) detection, etc. Moreover, it is not restricted to what is used for a genetic test | inspection, The various thing which determines the presence or absence of reaction by the color development of the detection body in an antigen antibody reaction may be used. For example, HIV (human immunodeficiency virus) test, HCV (hepatitis C virus) test and the like can be mentioned.

本発明による場合、撮像条件による誤差の影響を低減し、更に、検出体夫々の特性に応じた個別の判定が可能となるので、撮像条件が異なる撮像装置により得られた撮像画像データを用いたとしても、撮像条件によらない高精度な判定結果が得られる。   In the case of the present invention, the influence of the error due to the imaging condition is reduced, and furthermore, individual determination according to the characteristics of each detection body is possible. Therefore, captured image data obtained by imaging apparatuses with different imaging conditions is used. However, a highly accurate determination result that does not depend on the imaging conditions can be obtained.

本発明の概要を説明するための説明図である。It is explanatory drawing for demonstrating the outline | summary of this invention. 実施の形態1における情報処理装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an information processing device in Embodiment 1. FIG. 情報処理装置の制御部により実行される処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence performed by the control part of information processing apparatus. 各プローブの陰性/陽性を判定する処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence which determines negative / positive of each probe. 判定基準値の算定例の1つを説明する説明図である。It is explanatory drawing explaining one of the calculation examples of a determination reference value. 相対値の算出例の1つを説明する説明図である。It is explanatory drawing explaining one of the calculation examples of a relative value. 変形例1における各プローブの陰性/陽性を判定する処理手順の一例を示すフローチャートである。10 is a flowchart illustrating an example of a processing procedure for determining negative / positive of each probe in Modification 1. 変形例2における各プローブの陰性/陽性を判定する処理手順の一例を示すフローチャートである。10 is a flowchart illustrating an example of a processing procedure for determining negative / positive of each probe in Modification 2. 実施の形態2における判定システムの構成を示すブロック図である。6 is a block diagram showing a configuration of a determination system in Embodiment 2. FIG. 中央装置の制御部により実行される処理手順の一例を示すフローチャートであるIt is a flowchart which shows an example of the process sequence performed by the control part of a central apparatus.

図1は、本発明の概要を説明するための説明図である。図1中、符号1は情報処理装置である。情報処理装置1は、撮像部、表示部13及び操作部14を備える所謂スマートフォンであり、本発明に係る判定装置としての機能の他に多様な機能を有した汎用的な装置である。   FIG. 1 is an explanatory diagram for explaining the outline of the present invention. In FIG. 1, reference numeral 1 denotes an information processing apparatus. The information processing apparatus 1 is a so-called smartphone including an imaging unit, a display unit 13, and an operation unit 14, and is a general-purpose device having various functions in addition to the function as a determination device according to the present invention.

図1中、符号2は試験片の一例である。試験片2は、短冊状の基体20にプローブ21,22と呼ばれる検査対象の物質との間で特有の反応を起こす物質がライン状に物理的又は化学的に固定されて作製されたものである。各プローブ21,22は反応が起こった場合に所定の色に発色するようにしてあり、発色によって陰性/陽性の判定が可能である。例えば試験片2は、ポリエチレンテレフタレートを材料とした基体20に、夫々性質が異なる複数のオリゴヌクレオチドをプローブ21として固定したものであり、結核菌の多様な変異型遺伝子を識別する試験片である。試験片2は他に、紙製の基体20に夫々異なる検査対象の試験紙をプローブ21として貼付したものであって、尿検査に用いられるものであってもよい。試験片2は他に、血液検査又は水質検査等の種々の検査用のものであってよい。なお試験片2には、試験が適切に行なわれている場合に発色する特定のプローブ22が固定されている。また試験片2には、各プローブ21,22以外に、検査対象の物質を識別するためのマーカーが形成されている。該マーカーは例えば、複数のプローブ21,22間に所定の間隔で、プローブ21,22と同様のライン状に塗料を塗布して形成されてある。   In FIG. 1, reference numeral 2 is an example of a test piece. The test piece 2 is produced by physically or chemically fixing a substance that causes a specific reaction between the strip-shaped substrate 20 and the substance to be inspected called probes 21 and 22 in a line shape. . Each probe 21 and 22 develops a predetermined color when a reaction occurs, and negative / positive determination is possible by color development. For example, the test piece 2 is obtained by fixing a plurality of oligonucleotides having different properties as probes 21 to a substrate 20 made of polyethylene terephthalate as a material, and is a test piece for identifying various mutant genes of Mycobacterium tuberculosis. In addition, the test piece 2 may be one in which test papers to be inspected that are different from each other are affixed to a paper base 20 as a probe 21, and may be used for urinalysis. In addition, the test piece 2 may be for various tests such as a blood test or a water quality test. A specific probe 22 that develops a color when the test is properly performed is fixed to the test piece 2. In addition to the probes 21 and 22, the test piece 2 is formed with a marker for identifying the substance to be inspected. The marker is formed, for example, by applying paint in the same line shape as the probes 21 and 22 at a predetermined interval between the plurality of probes 21 and 22.

検査実施者は、必要に応じて検査対象の物質に対して試験に適した処置を行ない、該検査対象の物質由来の液体(又は気体)を作製し、該液体を試験片2上のプローブ21,22と接触させる。検査実施者は、情報処理装置1を用いて検査対象物質との接触後の試験片2を図1に示す如く撮像する操作を行なう。情報処理装置1にて撮像画像データに対して、接触後の試験片2上の各プローブ21,22における反応の有無(陰性/陽性)を判定する判定処理が実行され、該判定結果に基づく検査結果が表示部13に表示される。検査実施者は、特定の測定装置を用いることなく既存の情報処理装置1を用いて高精度な判定結果を得ることが可能となる。以下、高精度な判定結果を得ることを可能とするための情報処理装置1の構成について、詳細に説明する。   The inspection practitioner performs a treatment suitable for the test on the substance to be inspected as necessary, creates a liquid (or gas) derived from the substance to be inspected, and supplies the liquid to the probe 21 on the test piece 2. , 22. The inspection practitioner uses the information processing apparatus 1 to perform an operation of imaging the test piece 2 after contact with the inspection target substance as shown in FIG. The information processing apparatus 1 executes a determination process for determining the presence / absence (negative / positive) of the reaction of the probes 21 and 22 on the test piece 2 after contact with respect to the captured image data, and an inspection based on the determination result The result is displayed on the display unit 13. The examiner can obtain a highly accurate determination result using the existing information processing apparatus 1 without using a specific measuring apparatus. Hereinafter, the configuration of the information processing apparatus 1 for making it possible to obtain a highly accurate determination result will be described in detail.

(実施の形態1)
図2は、実施の形態1における情報処理装置の構成を示すブロック図である。情報処理装置1は、上述したように例えばスマートフォンを用いるが、タブレット型PC(Personal Computer )であってもよい。情報処理装置1は制御部10、記憶部11、一時記憶部12、表示部13、操作部14、撮像部15、及び通信部16を備える。
(Embodiment 1)
FIG. 2 is a block diagram illustrating a configuration of the information processing apparatus according to the first embodiment. As described above, the information processing apparatus 1 uses, for example, a smartphone, but may be a tablet PC (Personal Computer). The information processing apparatus 1 includes a control unit 10, a storage unit 11, a temporary storage unit 12, a display unit 13, an operation unit 14, an imaging unit 15, and a communication unit 16.

制御部10はCPU(Central Processing Unit )を用いる。制御部10は、記憶部11に記憶されている判定アプリプログラム1Pを読み出して実行することにより、情報処理装置1を本発明に係る判定装置として機能させる。   The control unit 10 uses a CPU (Central Processing Unit). The control unit 10 reads and executes the determination application program 1P stored in the storage unit 11, thereby causing the information processing apparatus 1 to function as the determination device according to the present invention.

記憶部11は、フラッシュメモリを用いる。記憶部11には、制御部10が読み出す判定アプリプログラム1Pを含む種々のコンピュータプログラムが書き換え可能に記憶されている。判定アプリプログラム1Pは、制御部10が通信部16を介して外部装置(例えばサーバ装置)から受信して記憶部11に記憶したものか、又は有線接続された外部装置から通信により制御部10が取得して記憶したものである。記憶部11には、撮影画像データが記憶される。なお記憶部11は、フラッシュメモリ以外の記憶装置を用いてもよいことは勿論である。   The storage unit 11 uses a flash memory. In the storage unit 11, various computer programs including the determination application program 1P read by the control unit 10 are stored in a rewritable manner. The determination application program 1P is received by the control unit 10 from an external device (for example, a server device) via the communication unit 16 and stored in the storage unit 11, or the control unit 10 communicates from a wired-connected external device. It is acquired and stored. The storage unit 11 stores captured image data. Of course, the storage unit 11 may use a storage device other than the flash memory.

記憶部11には、判定アプリプログラム1Pと共に、制御部10が判定アプリプログラム1Pに基づく処理を実行するに際して参照する情報が記憶されている。例えば、判定の基準とする設定値などの各種数値情報、あるいは試験片2の種類を特定するためのマーカーのパターンの情報、試験片2上の各プローブ21,22を識別するための試験片2毎の識別情報などである。なお、制御部10が判定アプリプログラム1Pに基づく処理を実行するに際して参照する情報は、通信部16を介して外部装置(例えばサーバ装置)から取得されるものであってもよい。   The storage unit 11 stores information to be referred to when the control unit 10 executes processing based on the determination application program 1P together with the determination application program 1P. For example, various numerical information such as a set value used as a reference for determination, information on a marker pattern for specifying the type of the test piece 2, and a test piece 2 for identifying the probes 21 and 22 on the test piece 2 Identification information for each. Note that information referred to when the control unit 10 executes processing based on the determination application program 1P may be acquired from an external device (for example, a server device) via the communication unit 16.

一時記憶部12は、DRAM(Dynamic Random Access Memory)等のRAMを用いる。一時記憶部12は、制御部10の処理によって生成される情報を一時的に記憶する。   The temporary storage unit 12 uses a RAM such as a DRAM (Dynamic Random Access Memory). The temporary storage unit 12 temporarily stores information generated by the processing of the control unit 10.

表示部13は、タッチパネル内蔵型ディスプレイを用いる。表示部13は、制御部10の制御処理に基づき、テキスト及びアイコン等のオブジェクトを含む各種操作画面を表示させる。なお表示部13は、タッチパネル内蔵型でなくともよい。   The display unit 13 uses a touch panel built-in display. The display unit 13 displays various operation screens including objects such as text and icons based on the control processing of the control unit 10. The display unit 13 may not be a touch panel built-in type.

操作部14は、表示部13のディスプレイに内蔵されるタッチパネル及び情報処理装置1の筐体に設けられるボタン群を用いる。操作部14は、タッチパネルにてユーザによる接触及び接触箇所の位置情報を制御部10へ通知する。また操作部14は、ボタンの押下及び押下時間等の情報を制御部10へ通知する。   The operation unit 14 uses a touch panel built in the display of the display unit 13 and a button group provided on the housing of the information processing apparatus 1. The operation unit 14 notifies the control unit 10 of the contact by the user and the position information of the contact location on the touch panel. The operation unit 14 notifies the control unit 10 of information such as button presses and press times.

撮像部15は、CMOS(Complementary Metal Oxide Semiconductor )イメージセンサを用いる。撮像部15はカラーの撮像画像データを制御部10へ出力する。撮影画像データは一時記憶部12又は記憶部11に記憶され、制御部10の制御により表示部13に表示される。撮像部15は、情報処理装置1の表示部13と反対側の広面の一端部に設けられている。なお撮像部15は、CMOSイメージセンサのみならず、CCD(Charge Coupled Device )イメージセンサを用いてもよい。   The imaging unit 15 uses a complementary metal oxide semiconductor (CMOS) image sensor. The imaging unit 15 outputs color captured image data to the control unit 10. The captured image data is stored in the temporary storage unit 12 or the storage unit 11 and displayed on the display unit 13 under the control of the control unit 10. The imaging unit 15 is provided at one end of the wide surface opposite to the display unit 13 of the information processing apparatus 1. The imaging unit 15 may use not only a CMOS image sensor but also a CCD (Charge Coupled Device) image sensor.

通信部16は、電話通信及び無線通信を実現する通信部を各有して構成される。制御部10は通信部15により、電話通信の基地局又は無線通信のアクセスポイントと通信が可能である。   The communication unit 16 includes a communication unit that implements telephone communication and wireless communication. The control unit 10 can communicate with a base station for telephone communication or an access point for wireless communication through the communication unit 15.

このように構成される情報処理装置1では、検査実施者の操作に従い制御部10が判定アプリプログラム1Pを記憶部11から読み出して起動し、図1に示したように判定アプリ操作画面30を表示部13に表示させる。判定アプリ操作画面30には、モニタ画面31及び撮像アイコン32が含まれており、モニタ画面31には撮像部15で撮像されているリアルタイム画像が順次表示されている。検査実施者は、モニタ画面31でリアルタイム画像を確認しながら撮像アイコン32をタップする操作が可能である。撮像アイコン32が検査実施者によりタップされた場合、制御部10は操作部14によりタップを検知し、撮像部15から出力される撮像画像データを取得し、以下に説明する処理を実行する。   In the information processing apparatus 1 configured as described above, the control unit 10 reads out and starts the determination application program 1P from the storage unit 11 in accordance with the operation of the examiner, and displays the determination application operation screen 30 as illustrated in FIG. Display on the unit 13. The determination application operation screen 30 includes a monitor screen 31 and an imaging icon 32, and real-time images captured by the imaging unit 15 are sequentially displayed on the monitor screen 31. The examiner can tap the imaging icon 32 while confirming the real-time image on the monitor screen 31. When the imaging icon 32 is tapped by the examiner, the control unit 10 detects the tap by the operation unit 14, acquires captured image data output from the imaging unit 15, and executes processing described below.

図3は、情報処理装置1の制御部10により実行される処理手順の一例を示すフローチャートである。以下に示す処理手順は上述したように、判定アプリプログラム1Pが起動している情報処理装置1において、表示部13に表示されている判定アプリ操作画面30内の撮像アイコン32のタップを操作部13により検知した場合に、制御部10が実行する。   FIG. 3 is a flowchart illustrating an example of a processing procedure executed by the control unit 10 of the information processing apparatus 1. As described above, in the information processing apparatus 1 in which the determination application program 1P is activated, the following processing procedure is performed by tapping the imaging icon 32 in the determination application operation screen 30 displayed on the display unit 13. When detected by the control unit 10, the control unit 10 executes.

制御部10は、撮像部15から撮像画像データを取得する(ステップS1)。制御部10は、取得した撮像画像データに基づく画像の内、試験片2が写っている試験片領域を抽出する(ステップS2)。ステップS2において制御部10は例えば、試験片2が載置されている台など背景に相当する領域を除外するトリミングを自動的に行なってもよい。   The control unit 10 acquires captured image data from the imaging unit 15 (step S1). The control part 10 extracts the test piece area | region where the test piece 2 is reflected among the images based on the acquired captured image data (step S2). In step S2, the control unit 10 may automatically perform trimming to exclude an area corresponding to the background such as a table on which the test piece 2 is placed.

次に制御部10は、抽出した試験片領域に含まれる各画素の画素値(RGB値)に基づき、試験片2の種類を特定する(ステップS3)。ステップS3において制御部10は例えば、試験片2に対応する範囲の画素値に対し、上述したマーカーのパターンの情報等を参照し、マッチしたパターンに対応付けて記憶されている試験片2の種類を示す識別情報、及び該種類の試験片2に含まれる各プローブ21,22の種類を特定する情報を記憶部11から読み出す。   Next, the control part 10 specifies the kind of the test piece 2 based on the pixel value (RGB value) of each pixel contained in the extracted test piece area | region (step S3). In step S3, the control unit 10 refers to, for example, the marker pattern information described above for the pixel values in the range corresponding to the test piece 2, and stores the type of the test piece 2 stored in association with the matched pattern. And information for identifying the type of each probe 21, 22 included in the type of test piece 2 is read from the storage unit 11.

制御部10は、特定した種類毎に試験片2の各プローブ21,22における陰性/陽性を各判定する処理を実行し(ステップS4)、各プローブ21,22における陰性/陽性のパターンに基づいて検査結果を特定する(ステップS5)。制御部10は、特定した検査結果を示す画像又は文字情報を表示部13に表示させ(ステップS6)、取得した撮像画像データと共に検査結果を記憶部11に記憶し(ステップS7)、処理を終了する。   The control unit 10 performs a process of determining negative / positive in each probe 21 and 22 of the test piece 2 for each specified type (step S4), and based on the negative / positive pattern in each probe 21 and 22 The inspection result is specified (step S5). The control unit 10 causes the display unit 13 to display an image or character information indicating the specified inspection result (step S6), stores the inspection result together with the acquired captured image data in the storage unit 11 (step S7), and ends the process. To do.

ステップS4における判定処理について詳細を説明する。図4は、各プローブ21,22の陰性/陽性を判定する処理手順の一例を示すフローチャートである。   Details of the determination processing in step S4 will be described. FIG. 4 is a flowchart illustrating an example of a processing procedure for determining negative / positive of the probes 21 and 22.

制御部10は、画像中の試験片領域から、試験片2上のプローブ21,22に各対応するプローブ領域を夫々、各プローブ21,22を識別する情報と対応付けて抽出する(ステップS401)。ステップS401において制御部10は例えば、各プローブ21,22に対応するプローブ領域の画素群のRGB値を、試験片2の種類から特定される各プローブ21,22の識別情報と対応付けて一時記憶部12に記憶する。   The control unit 10 extracts the probe areas corresponding to the probes 21 and 22 on the test piece 2 in association with the information for identifying the probes 21 and 22 from the test piece area in the image (step S401). . In step S <b> 401, for example, the control unit 10 temporarily stores the RGB values of the pixel group in the probe area corresponding to each probe 21, 22 in association with the identification information of each probe 21, 22 specified from the type of the test piece 2. Store in unit 12.

制御部10は、抽出したプローブ領域から、プローブ21,22毎の輝度(Luminance )の階調値を特定する(ステップS402)。ステップ402において制御部10は例えば、各プローブ21,22に対応するプローブ領域内の画素群におけるRGB値の平均値を各算出し、算出したR値の平均値、G値の平均値、B値の平均値を所定の変換式に適用して輝度の階調値を求め、該階調値を各プローブ21,22の識別情報に対応付けて一時記憶部12に記憶する。このとき、輝度の階調値は輝度が高いほど大きい数値である。なお制御部10はステップS402において、明度(Brightness)の階調値を特定するようにしてもよい。その他制御部10は、特定の色の発色を判断するために該特定色の彩度(Saturation)の階調値を特定してもよい。他の表現系による階調値など、異なる指標値による複数の階調値を各特定して用いてもよい。平均値に限らず、中央値、最頻値等の値であってもよい。   The control unit 10 specifies the gradation value of the luminance (Luminance) for each of the probes 21 and 22 from the extracted probe region (step S402). In step 402, for example, the control unit 10 calculates the average value of RGB values in the pixel group in the probe area corresponding to each of the probes 21 and 22, and calculates the average value of R values, the average value of G values, and the B value. Is applied to a predetermined conversion formula to obtain a luminance gradation value, and the gradation value is stored in the temporary storage unit 12 in association with the identification information of each probe 21, 22. At this time, the luminance gradation value is a larger numerical value as the luminance is higher. In step S402, the control unit 10 may specify a gradation value of brightness. In addition, the control unit 10 may specify the gradation value of the saturation of the specific color in order to determine the color development of the specific color. A plurality of gradation values with different index values, such as gradation values by other expression systems, may be specified and used. It is not limited to the average value, and may be a median value, a mode value, or the like.

制御部10は、ステップS402で特定した階調値の内、特定のプローブ22に対応する階調値が、所定値以上であるか否かを判断する(ステップS403)。特定のプローブ22は、試験が適切に行なわれている場合に所定の色に発色する。したがって、ステップS403では、制御部10は階調値が所定の色に発色していると判断できる値であるか否かを判断すればよく、所定の範囲以内であるか否か、又は所定値未満であるか否か等によって判断するようにしてもよい。   The control unit 10 determines whether or not the gradation value corresponding to the specific probe 22 among the gradation values specified in step S402 is equal to or greater than a predetermined value (step S403). The specific probe 22 develops a predetermined color when the test is properly performed. Therefore, in step S403, the control unit 10 may determine whether the gradation value is a value that can be determined to be a predetermined color, whether it is within a predetermined range, or a predetermined value. You may make it judge by whether it is less than.

ステップS403において、階調値が所定値未満であると判断された場合(S403:NO)、制御部10は、特定のプローブ22は陰性であると判定し(ステップS404)、即ち、試験が適切に行われていないとして判定処理を終了し、図3のフローチャートにおけるステップS5へ処理を戻す。   When it is determined in step S403 that the gradation value is less than the predetermined value (S403: NO), the control unit 10 determines that the specific probe 22 is negative (step S404), that is, the test is appropriate. Therefore, the determination process is terminated, and the process returns to step S5 in the flowchart of FIG.

ステップS403において、階調値が所定値以上であると判断された場合(S403:YES)、制御部10は、特定のプローブ22は陽性であると判定する(ステップS405)。制御部10はつまり、試験が適切に行なわれているとして、複数のプローブ21全てについて夫々、対応付けられている輝度の階調値を参照し、記憶部11に記憶されてある設定値以上である階調値を抽出する(ステップS406)。ステップS406において詳細には、制御部10は、一時記憶部12に記憶してある複数のプローブ21夫々の識別情報から1つずつ選択し、対応する輝度の階調値に対し、設定値以上であるか否かを判断し、設定値以上であると判断された階調値のみ記憶する。   If it is determined in step S403 that the gradation value is equal to or greater than the predetermined value (S403: YES), the control unit 10 determines that the specific probe 22 is positive (step S405). In other words, the control unit 10 refers to the gradation value of the brightness associated with each of the plurality of probes 21 and assumes that the test is properly performed, and the set value stored in the storage unit 11 is greater than or equal to the set value. A certain gradation value is extracted (step S406). Specifically, in step S406, the control unit 10 selects one by one from the identification information of each of the plurality of probes 21 stored in the temporary storage unit 12, and the corresponding luminance gradation value is greater than or equal to the set value. It is determined whether or not it exists, and only the gradation value determined to be greater than or equal to the set value is stored.

制御部10は、設定値以上である階調値が少なくとも1つ存在するか否かを判断する(ステップS407)。ステップS407にて、設定値以上である階調値が1つも存在しないと判断された場合(S407:NO)、制御部10は複数のプローブ21全てについて陰性であると判定し(ステップS408)、図3のフローチャートにおけるステップS5へ処理を戻す。   The control unit 10 determines whether there is at least one gradation value that is equal to or greater than the set value (step S407). When it is determined in step S407 that there is no gradation value that is equal to or greater than the set value (S407: NO), the control unit 10 determines that all of the plurality of probes 21 are negative (step S408). The process returns to step S5 in the flowchart of FIG.

ステップS406にて、設定値以上である階調値が1つでも存在すると判断された場合(S407:YES)、制御部10は、設定値以上の階調値に基づき判定基準値を算定する(ステップS409)。ステップS409において詳細には、設定値以上の階調値の平均値を算出し、該平均値を判定基準値と決定する。なお判定基準値の算定方法は、単に平均値を算出して決定する方法に限られず、外れ値を除外するなどの統計的処理を行なってから決定する方法であってもよいし、中央値、最頻値などを算出して決定する方法であってもよい。   When it is determined in step S406 that there is at least one gradation value that is equal to or greater than the set value (S407: YES), the control unit 10 calculates a determination reference value based on the gradation value that is equal to or greater than the set value ( Step S409). Specifically, in step S409, an average value of gradation values equal to or greater than a set value is calculated, and the average value is determined as a determination reference value. The calculation method of the determination reference value is not limited to a method of simply calculating and determining an average value, and may be a method of determining after performing statistical processing such as excluding outliers, or a median value, A method of calculating and determining a mode value or the like may be used.

次に制御部10は、複数のプローブ21全てについて、前記判定基準値を基準として階調値を相対値へ変換する(ステップS410)。ステップS410において詳細には、制御部10は、対応するプローブ領域について特定された階調値の前記判定基準値に対する割合(階調値/判定基準値)を算出する。その他制御部10はステップS410において、対応する階調値の前記判定基準値からの加減(階調値−判定基準値)を算出してもよい。   Next, the control unit 10 converts the gradation values into relative values with respect to all of the plurality of probes 21 using the determination reference value as a reference (step S410). Specifically, in step S410, the control unit 10 calculates a ratio (gradation value / determination reference value) of the gradation value specified for the corresponding probe region to the determination reference value. In addition, in step S410, the control unit 10 may calculate addition / subtraction (gradation value−determination reference value) of the corresponding gradation value from the determination reference value.

制御部10は、複数のプローブ21の内の1つを選択し(ステップS411)、選択したプローブ21に対応する相対値と、該選択したプローブ21の識別情報に予め記憶してある相対値に対する閾値とを比較し(ステップS412)、比較結果に基づき陰性/陽性を各判定する(ステップS413)。ステップS413にて詳細には、制御部10は例えば、選択したプローブ21の相対値が、予め記憶してある閾値以上であるか否かを判断する。閾値以上であると判断された場合、制御部10は選択中のプローブ21は陽性であると判定し、閾値未満であると判断された場合、制御部10は選択中のプローブ21は陰性であると判定する。   The control unit 10 selects one of the plurality of probes 21 (step S411), and compares the relative value corresponding to the selected probe 21 and the relative value stored in advance in the identification information of the selected probe 21. The threshold value is compared (step S412), and negative / positive is determined based on the comparison result (step S413). Specifically, in step S413, the control unit 10 determines, for example, whether or not the relative value of the selected probe 21 is greater than or equal to a threshold value stored in advance. When it is determined that the threshold value is greater than or equal to the threshold value, the control unit 10 determines that the selected probe 21 is positive, and when it is determined that the value is less than the threshold value, the control unit 10 is negative for the selected probe 21. Is determined.

次に制御部10は、全てのプローブ21について陰性/陽性を判定したか否かを判断する(ステップS414)。ステップS414にて全てのプローブについて判定していないと判断された場合(S414:NO)、制御部10は処理をステップS411へ戻し、残りのプローブ21についての処理を行なう。   Next, the control unit 10 determines whether negative / positive has been determined for all the probes 21 (step S414). If it is determined in step S414 that all the probes have not been determined (S414: NO), the control unit 10 returns the process to step S411 and performs the processes for the remaining probes 21.

ステップS414にて全てのプローブ21について陰性/陽性を判定したと判断された場合(S414:YES)、制御部10は、各プローブ21の陰性/陽性を判定する処理を終了し、図3のフローチャートにおけるステップS5へ処理を戻す。   When it is determined in step S414 that all the probes 21 have been determined to be negative / positive (S414: YES), the control unit 10 ends the process of determining the negative / positive of each probe 21, and the flowchart of FIG. The process returns to step S5.

次に、上述の判定処理で用いられた判定基準値、設定値、相対値及び閾値について詳細に説明する。図5は、判定基準値の算定例の1つを説明する説明図である。図5は、各プローブ21の階調値の例を数値及び棒グラフで示している。図5中の破線は、階調値に対する設定値の大きさを示している。図5中の棒グラフの内、ハッチングで示す棒グラフは設定値以上の階調値に対応する。図5の例では、「A」〜「E」の5つのプローブ21について特定された階調値が夫々、「100」、「200」、「150」、「50」、「10」である。図5に示した設定値の例は「60」である。上述のステップS409の詳細な説明では、制御部10は設定値以上の階調値の平均値を算出し、該平均値を判定基準値と決定するとした。図5に示す具体例の場合、制御部10は、「60」以上である「A」「B」「C」の3つのプローブ21の階調値「100」、「200」、「150」を抽出し、平均値「150」を算出して判定基準値として決定する。このような判定基準値の算定は、複数のプローブ21から、明らかに何らかの反応を起こして発色したプローブ21を抽出し、抽出したプローブのプローブ領域における階調値を用いることにより、明らかに陰性で発色していないプローブ21のプローブ領域における階調値の影響を低減するために行なう。例えば、検査対象の物質の種類によっては、多数のプローブ21が発色しないことが正しい場合がある。この場合、発色していないプローブ21の数が多いため、明らかに発色しているプローブ21を抽出することなしに、全体で平均値を算出して判定基準値と決定したときには、判定基準値が小さくなって誤判定を招く可能性がある。図5に示したように、設定値以上の階調値が特定されるプローブ21、即ち明らかに発色しているプローブ21を抽出し、抽出したプローブ21に対応する階調値から判定基準値を算定することにより、試験片2毎に異なる撮像条件に応じた判定が可能となる。   Next, the determination reference value, the set value, the relative value, and the threshold value used in the above determination process will be described in detail. FIG. 5 is an explanatory diagram for explaining one example of calculation of the determination reference value. FIG. 5 shows an example of the gradation value of each probe 21 by a numerical value and a bar graph. The broken line in FIG. 5 indicates the magnitude of the setting value with respect to the gradation value. Among the bar graphs in FIG. 5, the bar graphs indicated by hatching correspond to gradation values greater than or equal to the set value. In the example of FIG. 5, the gradation values specified for the five probes 21 “A” to “E” are “100”, “200”, “150”, “50”, and “10”, respectively. An example of the setting value shown in FIG. 5 is “60”. In the detailed description of step S409 described above, the control unit 10 calculates the average value of the gradation values that are equal to or greater than the set value, and determines the average value as the determination reference value. In the specific example shown in FIG. 5, the control unit 10 sets the gradation values “100”, “200”, and “150” of the three probes 21 of “A”, “B”, and “C” that are “60” or more. The average value “150” is calculated and determined as a determination reference value. The calculation of such a criterion value is clearly negative by extracting the probe 21 that has developed a certain color reaction from a plurality of probes 21 and using the gradation value in the probe region of the extracted probe. This is performed to reduce the influence of the gradation value in the probe region of the probe 21 that is not colored. For example, depending on the type of substance to be inspected, it may be correct that many probes 21 do not develop color. In this case, since the number of probes 21 that are not colored is large, the determination reference value is determined when the average value is calculated and determined as the determination reference value without extracting the probes 21 that are clearly colored. There is a possibility that it may become smaller and cause an erroneous determination. As shown in FIG. 5, a probe 21 whose gradation value is equal to or higher than a set value, that is, a probe 21 that is clearly colored is extracted, and a determination reference value is obtained from the gradation value corresponding to the extracted probe 21. By calculating, it is possible to make a determination according to different imaging conditions for each test piece 2.

図6は、相対値の算出例の1つを説明する説明図である。図6は、各プローブ21の階調値に基づき求められた相対値の例を棒グラフで示し、各相対値の下に、プローブ21毎に予め記憶してある閾値と判定結果の例とを示している。図6の例は、図5に示した各プローブ21の階調値に対応する。算定された判定基準値「150」に対し、図5に示した「A」〜「E」の5つのプローブ21の階調値「100」、「200」、「150」、「50」、「10」の割合(百分率)が、相対値として得られる。図6に示すように、「A」〜「E」の5つのプローブ21の相対値は夫々「67」、「133」、「100」、「33」、「6.7」であり、「A」〜「E」の5つのプローブ21夫々について、予め記憶してある閾値以上であるか否かにより、陰性/陽性が判定される。例えば「D」のプローブ21では、特定された階調値「50」は図5で示した設定値「60」よりも小さいが、相対値は閾値以上であって陽性(+)と判定されている。「D」のプローブ21は、少しでも発色している場合には陽性と判定されるべき特性を有しているからである。   FIG. 6 is an explanatory diagram for explaining one example of calculating a relative value. FIG. 6 shows an example of the relative value obtained based on the gradation value of each probe 21 in a bar graph, and shows a threshold value stored in advance for each probe 21 and an example of a determination result under each relative value. ing. The example of FIG. 6 corresponds to the gradation value of each probe 21 shown in FIG. For the calculated determination reference value “150”, the gradation values “100”, “200”, “150”, “50”, “50” of the five probes 21 “A” to “E” shown in FIG. A ratio (percentage) of 10 ”is obtained as a relative value. As shown in FIG. 6, the relative values of the five probes 21 of “A” to “E” are “67”, “133”, “100”, “33”, “6.7”, respectively. Negative / positive is determined depending on whether or not each of the five probes 21 of “E” to “E” is equal to or greater than a threshold value stored in advance. For example, in the probe 21 of “D”, the specified gradation value “50” is smaller than the set value “60” shown in FIG. 5, but the relative value is equal to or greater than the threshold value and is determined to be positive (+). Yes. This is because the probe 21 of “D” has a characteristic that should be determined to be positive when the color is even a little.

上述したように、各プローブ21について特定される階調値を相対値へ変換し、プローブ21毎に設定した閾値との比較によって、化学的な反応を起こすプローブ21毎の特性に応じて個別に陰性/陽性の判定が可能であり、また相対値へ変換するに際し、発色していると判定する基準となる判定基準値を、撮像条件に応じて変更することにより、各プローブ21を異なる情報処理装置1を用いて撮像したとしても撮像条件による誤差の影響を低減して判定精度を向上させることができる。   As described above, the gradation value specified for each probe 21 is converted into a relative value, and compared with the threshold value set for each probe 21, individually according to the characteristics of each probe 21 causing a chemical reaction. Negative / positive determination is possible, and when converting to a relative value, each probe 21 is subjected to different information processing by changing a determination reference value serving as a reference for determining color development according to imaging conditions. Even if the apparatus 1 is used for imaging, the influence of errors due to imaging conditions can be reduced and the determination accuracy can be improved.

(変形例1)
試験片2に固定されているプローブ21の特性によっては、1つの試験片2に対して1つの判定基準値で相対値へ変換して判定した場合、判定精度が良好でないときがある。したがって、試験片2上の複数のプローブ21を特性に応じて複数のグループに分別し、グループ毎に判定基準値を算定し、グループ毎に陰性/陽性を判定するようにしてもよい。
(Modification 1)
Depending on the characteristics of the probe 21 fixed to the test piece 2, the determination accuracy may not be good when one test piece 2 is converted to a relative value with one determination reference value. Therefore, the plurality of probes 21 on the test piece 2 may be classified into a plurality of groups according to the characteristics, the determination reference value may be calculated for each group, and negative / positive may be determined for each group.

変形例1では、試験片2毎に、プローブ21を複数のグループに分別する場合には各プローブ21の識別情報をグループ別に記憶部11に記憶しておく。詳細には、試験片2の種類毎に、グループを識別するグループ識別情報を記憶しておき、更に、試験片2毎のプローブ21の識別情報にグループ識別情報を対応付けて記憶部11に記憶しておく。   In Modification 1, when the probes 21 are classified into a plurality of groups for each test piece 2, the identification information of each probe 21 is stored in the storage unit 11 for each group. Specifically, group identification information for identifying a group is stored for each type of the test piece 2, and further, the group identification information is associated with the identification information of the probe 21 for each test piece 2 and stored in the storage unit 11. Keep it.

図7は、変形例1における各プローブ21,22の陰性/陽性を判定する処理手順の一例を示すフローチャートである。図7のフローチャートに示す処理手順の内、図4のフローチャートと共通する処理には同一のステップ番号を付して詳細な説明を省略する。   FIG. 7 is a flowchart illustrating an example of a processing procedure for determining negative / positive of each of the probes 21 and 22 in the first modification. Of the processing procedures shown in the flowchart of FIG. 7, the same step numbers are assigned to the processes common to the flowchart of FIG. 4, and detailed description thereof is omitted.

ステップS403において特定のプローブ22の階調値は所定値以上であると判断され(S403:YES)、制御部10が特定のプローブ22は陽性であると判定した場合(S405)、特定されてある試験片2の種類に応じて1つのグループを選択する(ステップS421)。制御部10は、選択したグループに対応付けられているプローブ21の階調値を参照し、設定値以上の階調値を抽出し(S406)、グループ毎に、設定値以上である階調値が少なくとも1つ存在するか否かを判断する(S407)。設定値以上である階調値が1つも存在しないと判断された場合(S407:NO)、制御部10は、選択中のグループに対応する複数のプローブ21全てについて陰性であると判定し(ステップS422)、処理をステップS425へ進める。   In step S403, it is determined that the gradation value of the specific probe 22 is greater than or equal to a predetermined value (S403: YES), and if the control unit 10 determines that the specific probe 22 is positive (S405), it is specified. One group is selected according to the type of the test piece 2 (step S421). The control unit 10 refers to the tone value of the probe 21 associated with the selected group, extracts a tone value equal to or greater than the set value (S406), and for each group, the tone value equal to or greater than the set value. It is determined whether or not there is at least one (S407). When it is determined that there is no gradation value that is equal to or greater than the set value (S407: NO), the control unit 10 determines that all of the plurality of probes 21 corresponding to the selected group are negative (Step S407). S422), the process proceeds to step S425.

ステップS407にて、設定値以上である階調値が1つ以上存在すると判断された場合(S407:YES)、制御部10は、選択中のグループにおける判定基準値を算定する(ステップS423)。ステップS423において制御部10は、選択中のグループに対応付けられているプローブ21の階調値の内、設定値以上の階調値の平均値を算出し、判定基準値として決定する。制御部10は、グループ毎に、相対値への変換(S410)、プローブ21毎の判定(S411〜S413)を行ない、判定後には選択中のグループ全てのプローブ21について判定を行なったか否かを判断する(ステップS424)。   When it is determined in step S407 that there is one or more gradation values that are equal to or greater than the set value (S407: YES), the control unit 10 calculates a determination reference value in the selected group (step S423). In step S423, the control unit 10 calculates an average value of gradation values equal to or higher than the set value among the gradation values of the probe 21 associated with the selected group, and determines the determination reference value. For each group, the control unit 10 performs conversion to a relative value (S410) and determination for each probe 21 (S411 to S413). After the determination, it is determined whether or not the determination has been made for all the probes 21 in the selected group. Judgment is made (step S424).

ステップS424にて、選択中のグループ全てのプローブ21について判定を行なっていないと判断された場合(S424:NO)、制御部10は、処理をステップS411へ戻し、選択中のグループの他のプローブ21を選択して判定処理を行なう(S411〜S413)。   If it is determined in step S424 that determination has not been made for all the probes 21 in the selected group (S424: NO), the control unit 10 returns the process to step S411, and other probes in the selected group. 21 is selected and a determination process is performed (S411 to S413).

ステップS424にて、選択中のグループ全てのプローブ21について判定を行なったと判断された場合(S424:YES)、制御部10は、全てのグループについて判定を行なったか否かを判断する(ステップS425)。   If it is determined in step S424 that determination has been made for all the probes 21 in the selected group (S424: YES), the control unit 10 determines whether determination has been performed for all groups (step S425). .

ステップS425にて、全てのグループについて判定を行なっていないと判断された場合(S425:NO)、制御部10は、ステップS421へ処理を戻し、他のグループを選択してグループ毎の判定処理(S406〜S424)を実行する。   If it is determined in step S425 that determination has not been made for all groups (S425: NO), the control unit 10 returns the process to step S421, selects another group, and performs determination processing for each group ( S406 to S424) are executed.

ステップS425にて、全てのグループについて判定を行なったと判断された場合(S425:YES)、制御部10は、各プローブ21の陰性/陽性を判定する処理を終了し、図3のフローチャートにおけるステップS5へ処理を戻す。   If it is determined in step S425 that determination has been made for all groups (S425: YES), the control unit 10 ends the process of determining negative / positive of each probe 21, and step S5 in the flowchart of FIG. Return processing to.

このように、試験片2上のプローブ21をグループに分別し、グループ毎に異なる判定基準値を算定することにより、プローブ21の特性の分類に応じて陰性/陽性を精度よく判定することが可能となる。   Thus, by classifying the probes 21 on the test piece 2 into groups and calculating different criteria for each group, it is possible to accurately determine negative / positive according to the classification of the characteristics of the probes 21. It becomes.

(変形例2)
試験片2が、結核菌の多様な変異型遺伝子を識別する試験片である場合、試験は遺伝子の増幅工程を含み、増幅工程中の異なる段階で検査することが必要なケースがある。この場合、試験片2には、増幅反応が正常に行なわれたか否かを判定するための特殊なプローブが更に固定されている。特殊なプローブの判定結果が陰性である場合、増幅工程に対する阻害要因が存在したことを示すが、検査対象の物質によっては、有効な検査結果が得られるときがあるので、このような試験片2に対しては特殊なプローブの陰性/陽性判定処理が必要となる。変形例2では、このような特殊なプローブを含む試験片2に対する判定処理手順の例を示す。
(Modification 2)
When the test strip 2 is a test strip that identifies various mutated genes of Mycobacterium tuberculosis, there are cases where the test includes a gene amplification process and needs to be examined at different stages in the amplification process. In this case, a special probe for determining whether or not the amplification reaction has been normally performed is further fixed to the test piece 2. If the determination result of the special probe is negative, it indicates that there is an inhibiting factor for the amplification process. However, depending on the substance to be inspected, an effective test result may be obtained. For this, special probe negative / positive determination processing is required. Modification 2 shows an example of a determination processing procedure for the test piece 2 including such a special probe.

図8は、変形例2における各プローブ21,22の陰性/陽性を判定する処理手順の一例を示すフローチャートである。図8のフローチャートに示す処理手順の内、図4のフローチャートと共通する処理には同一のステップ番号を付して詳細な説明を省略する。   FIG. 8 is a flowchart illustrating an example of a processing procedure for determining negative / positive of the probes 21 and 22 in the second modification. Of the processing procedures shown in the flowchart of FIG. 8, the same steps as those in the flowchart of FIG.

変形例2においては、ステップS407にて、設定値以上である階調値が1つも存在しないと判断された場合(S407:NO)、制御部10は上述した特殊なプローブに対して特定されている階調値は所定値以上であるか否かを判断する(ステップS431)。   In the second modification, when it is determined in step S407 that there is no gradation value equal to or greater than the set value (S407: NO), the control unit 10 is specified for the special probe described above. It is determined whether or not the gradation value is greater than or equal to a predetermined value (step S431).

ステップS431にて、階調値は所定値以上であると判断された場合(S431:YES)、制御部10は特殊なプローブは陽性であると判定し(ステップS432)、各プローブ21の陰性/陽性を判定する処理を終了し、図3のフローチャートにおけるステップS5へ処理を戻す。   When it is determined in step S431 that the gradation value is equal to or greater than the predetermined value (S431: YES), the control unit 10 determines that the special probe is positive (step S432), and the negative / insensitive of each probe 21 is determined. The process for determining positive is terminated, and the process returns to step S5 in the flowchart of FIG.

ステップS431にて、階調値は所定値未満であると判断された場合(S431:NO)、制御部10は特殊なプローブは陰性であると判定し(ステップS433)、各プローブ21の陰性/陽性を判定する処理を終了し、図3のフローチャートにおけるステップS5へ処理を戻す。   When it is determined in step S431 that the gradation value is less than the predetermined value (S431: NO), the control unit 10 determines that the special probe is negative (step S433), and negative / The process for determining positive is terminated, and the process returns to step S5 in the flowchart of FIG.

変形例2で示したように、全てのプローブ21が陰性であっても、特殊なプローブの陰性/陽性の判定結果に応じて有効な検査結果が得られる場合がある。特殊なプローブに対する陰性/陽性の判定を別個行なうことにより、誤判定を回避することができる。   As shown in the modified example 2, even if all the probes 21 are negative, an effective test result may be obtained depending on the negative / positive determination result of the special probe. Misjudgments can be avoided by making negative / positive judgments for special probes separately.

(実施の形態2)
実施の形態1では、判定処理は判定アプリプログラム1Pに基づいて情報処理装置1にて実行する構成とした。これに対し実施の形態2では、クライアントサーバシステムを用い、端末装置から撮像画像データを中央装置へ送信し、撮像画像データを受信した中央装置が判定プログラムに基づき判定処理を実行し、判定結果を端末装置へ送信し、端末装置にて判定結果が得られるようにしてある。
(Embodiment 2)
In the first embodiment, the determination process is executed by the information processing apparatus 1 based on the determination application program 1P. In contrast, in the second embodiment, a client server system is used to transmit captured image data from a terminal device to the central device, and the central device that has received the captured image data executes a determination process based on a determination program, and determines the determination result. The data is transmitted to the terminal device, and the determination result is obtained by the terminal device.

図9は、実施の形態2における判定システムの構成を示すブロック図である。システムは、端末装置3、中央装置4、及びネットワーク5で構成される。端末装置3は所謂スマートフォンである。端末装置3は、制御部30、記憶部31、一時記憶部32、表示部33、操作部34、撮像部35、及び通信部36を備える。   FIG. 9 is a block diagram illustrating a configuration of a determination system according to the second embodiment. The system includes a terminal device 3, a central device 4, and a network 5. The terminal device 3 is a so-called smartphone. The terminal device 3 includes a control unit 30, a storage unit 31, a temporary storage unit 32, a display unit 33, an operation unit 34, an imaging unit 35, and a communication unit 36.

制御部30はCPUを用いる。制御部30は、記憶部31に記憶されている判定アプリプログラム(図示せず)を読み出して実行することにより、端末装置3を中央装置4と通信して試験片2に対する判定結果を取得することが可能な装置として機能させる。   The control unit 30 uses a CPU. The control unit 30 reads the determination application program (not shown) stored in the storage unit 31 and executes it, thereby communicating the terminal device 3 with the central device 4 and acquiring the determination result for the test piece 2. Function as a device capable of

記憶部31は、フラッシュメモリを用いる。記憶部31には、制御部30が読み出す種々のコンピュータプログラムが書き換え可能に記憶されている。記憶部31には、撮影画像データが記憶される。なお記憶部31は、フラッシュメモリ以外の記憶装置を用いてもよいことは勿論である。一時記憶部32は、DRAM等のRAMを用いる。一時記憶部32は、制御部30の処理によって生成される情報を一時的に記憶する。   The storage unit 31 uses a flash memory. The storage unit 31 stores various computer programs read by the control unit 30 in a rewritable manner. The storage unit 31 stores captured image data. Of course, the storage unit 31 may use a storage device other than the flash memory. The temporary storage unit 32 uses a RAM such as a DRAM. The temporary storage unit 32 temporarily stores information generated by the processing of the control unit 30.

表示部33は、タッチパネル内蔵型ディスプレイを用いる。表示部33は、制御部30の制御処理に基づき、テキスト及びアイコン等のオブジェクトを含む各種操作画面を表示させる。なお表示部33は、タッチパネル内蔵型でなくともよい。   The display unit 33 uses a display with a built-in touch panel. The display unit 33 displays various operation screens including objects such as text and icons based on the control processing of the control unit 30. The display unit 33 may not be a touch panel built-in type.

操作部34は、表示部33のディスプレイに内蔵されるタッチパネル及び端末装置3の筐体に設けられるボタン群を用いる。操作部34は、タッチパネルにてユーザによる接触及び接触箇所の位置情報を制御部30へ通知する。また操作部34は、ボタンの押下及び押下時間等の情報を制御部30へ通知する。   The operation unit 34 uses a touch panel built in the display of the display unit 33 and a button group provided on the casing of the terminal device 3. The operation unit 34 notifies the control unit 30 of the contact information by the user and the position information of the contact location on the touch panel. The operation unit 34 notifies the control unit 30 of information such as button presses and press times.

撮像部35は、CMOSイメージセンサを用いる。撮像部35はカラーの撮像画像データを制御部30へ出力する。撮影画像データは一時記憶部32又は記憶部31に記憶され、制御部30の制御により表示部33に表示される。なお撮像部15は、CMOSイメージセンサのみならず、CCDイメージセンサを用いてもよい。   The imaging unit 35 uses a CMOS image sensor. The imaging unit 35 outputs color captured image data to the control unit 30. The captured image data is stored in the temporary storage unit 32 or the storage unit 31 and displayed on the display unit 33 under the control of the control unit 30. The imaging unit 15 may use not only a CMOS image sensor but also a CCD image sensor.

通信部36は、電話通信及び無線通信を実現する通信部を各有して構成される。制御部30は通信部35により、ネットワーク5における電話通信の基地局51又は無線通信のアクセスポイント52と接続し、中央装置4と通信することが可能である。   The communication unit 36 includes a communication unit that implements telephone communication and wireless communication. The control unit 30 can communicate with the central apparatus 4 by connecting to the telephone communication base station 51 or the wireless communication access point 52 in the network 5 by the communication unit 35.

このように構成される端末装置3では、検査実施者の操作に従い判定アプリプログラムが起動する。検査実施者は、端末装置3を操作して撮像部35により試験片2を撮像する操作を行ない、判定を実行させる操作を行なう。判定アプリプログラムに基づく制御部30の制御により、撮像部35から得られた撮像画像データが通信部36を介して中央装置4へ送信され、中央装置4にて後述するように実行される処理によって得られた検査結果が中央装置4から端末装置3へ送信される。端末装置3は、判定アプリプログラムに基づき、撮像画像データを送信し、これに応じて中央装置4から送信された検査結果を所定の形式で表示部33に表示させる。   In the terminal device 3 configured as described above, the determination application program is activated in accordance with the operation of the tester. The examiner operates the terminal device 3 to perform an operation of imaging the test piece 2 by the imaging unit 35, and performs an operation of executing the determination. By the control of the control unit 30 based on the determination application program, the captured image data obtained from the imaging unit 35 is transmitted to the central device 4 via the communication unit 36 and is executed by the central device 4 as described later. The obtained inspection result is transmitted from the central device 4 to the terminal device 3. The terminal device 3 transmits the captured image data based on the determination application program, and displays the inspection result transmitted from the central device 4 on the display unit 33 in a predetermined format in response thereto.

中央装置4はサーバコンピュータを用いる。中央装置4は、制御部40、記憶部41、一時記憶部42、及び通信部43を備える。   The central device 4 uses a server computer. The central device 4 includes a control unit 40, a storage unit 41, a temporary storage unit 42, and a communication unit 43.

制御部40はCPUを用い、記憶部41に記憶されている判定プログラム4Pを読み出して実行することにより、中央装置1を本発明に係る判定装置として機能させる。   The control unit 40 uses the CPU to read and execute the determination program 4P stored in the storage unit 41, thereby causing the central device 1 to function as the determination device according to the present invention.

記憶部41は、ハードディスクを用いる。記憶部41には、制御部40が読み出す判定プログラム4Pを含む種々のコンピュータプログラムが記憶されている。判定プログラム4Pは、制御部40が通信部43を介して外部装置から受信して記憶したものか、又は記録媒体から制御部40が読み出して記憶したものである。記憶部41には、撮影画像データが記憶される。なお記憶部41は、ハードディスク以外の記憶装置を用いてもよいことは勿論である。   The storage unit 41 uses a hard disk. The storage unit 41 stores various computer programs including the determination program 4P read by the control unit 40. The determination program 4P is a program that the control unit 40 receives and stores from an external device via the communication unit 43, or a program that is read and stored by the control unit 40 from a recording medium. The storage unit 41 stores captured image data. Of course, the storage unit 41 may use a storage device other than the hard disk.

記憶部41には、判定プログラム4Pと共に、制御部40が判定アプリプログラム1Pに基づく処理を実行するに際して参照する情報が記憶されている。例えば、判定の基準とする設定値などの各種数値情報、あるいは試験片2の種類を特定するためのマーカーのパターンの情報、試験片2上の各プローブ21,22を識別するための試験片2毎の識別情報などである。   The storage unit 41 stores information to be referred to when the control unit 40 executes a process based on the determination application program 1P together with the determination program 4P. For example, various numerical information such as a set value used as a reference for determination, information on a marker pattern for specifying the type of the test piece 2, and a test piece 2 for identifying the probes 21 and 22 on the test piece 2 Identification information for each.

一時記憶部42は、DRAM等のRAMを用いる。一時記憶部42は、制御部40の処理によって生成される情報を一時的に記憶する。   The temporary storage unit 42 uses a RAM such as a DRAM. The temporary storage unit 42 temporarily stores information generated by the processing of the control unit 40.

通信部43は、電話通信及び無線通信を実現する通信部を各有して構成される。制御部40は通信部43により、ネットワーク5における電話通信の基地局51又は無線通信のアクセスポイント52と接続し、端末装置3と通信することが可能である。   The communication unit 43 includes a communication unit that implements telephone communication and wireless communication. The control unit 40 can communicate with the terminal device 3 by connecting to the telephone communication base station 51 or the wireless communication access point 52 in the network 5 through the communication unit 43.

このように構成される中央装置4は、端末装置3との間で通信接続を確立すると、以下に示す処理を実行する。図10は、中央装置4の制御部40により実行される処理手順の一例を示すフローチャートである。   When the central device 4 configured in this way establishes a communication connection with the terminal device 3, the central device 4 executes the following processing. FIG. 10 is a flowchart illustrating an example of a processing procedure executed by the control unit 40 of the central apparatus 4.

制御部40は、通信部43により端末装置3から送信される撮像画像データを受信する(ステップS101)。制御部40は、受信により取得した撮像画像データに基づく画像の内、試験片2が写っている試験片領域を抽出する(ステップS102)。   The control unit 40 receives the captured image data transmitted from the terminal device 3 by the communication unit 43 (step S101). The control unit 40 extracts a test piece region in which the test piece 2 is captured from an image based on the captured image data acquired by reception (step S102).

制御部40は、抽出した試験片領域に含まれる各画素の画素値(RGB値)に基づき、試験片2の種類を特定する(ステップS103)。ステップS103において制御部40は例えば、試験片2に対応する範囲の画素値に対し、上述したマーカーのパターンの情報等を参照し、マッチしたパターンに対応付けて記憶されている試験片2の種類を示す識別情報、及び該種類の試験片2に含まれる各プローブ21,22の種類を特定する情報を記憶部41から読み出す。   The control unit 40 specifies the type of the test piece 2 based on the pixel value (RGB value) of each pixel included in the extracted test piece region (step S103). In step S103, the control unit 40 refers to, for example, the marker pattern information described above for the pixel values in the range corresponding to the test piece 2, and stores the type of the test piece 2 stored in association with the matched pattern. And identification information indicating the type of each probe 21, 22 included in the type of test piece 2 is read from the storage unit 41.

制御部40は、特定した種類毎に試験片2の各プローブ21,22における陰性/陽性を各判定する処理を実行し(ステップS104)、各プローブ21,22における陰性/陽性のパターンに基づいて検査結果を特定する(ステップS105)。ステップS104における判定処理は、実施の形態1にて情報処理装置1の制御部10により実行される判定処理の内容と同一であるから詳細な説明は省略する。ステップS104の処理の詳細な手順は、図4、図7又は図8のフローチャートに示した処理手順のいずれでもよい。   The control unit 40 performs a process of determining negative / positive in each of the probes 21 and 22 of the test piece 2 for each specified type (step S104), and based on the negative / positive pattern in each of the probes 21 and 22 The inspection result is specified (step S105). Since the determination process in step S104 is the same as the content of the determination process executed by the control unit 10 of the information processing apparatus 1 in the first embodiment, detailed description thereof is omitted. The detailed procedure of the processing in step S104 may be any of the processing procedures shown in the flowchart of FIG. 4, FIG. 7, or FIG.

制御部40は、特定した検査結果を通信部43により端末装置3へ送信し(ステップS106)、取得した撮像画像データと共に検査結果を記憶部41に記憶し(ステップS107)、処理を終了する。   The control unit 40 transmits the specified inspection result to the terminal device 3 via the communication unit 43 (step S106), stores the inspection result together with the acquired captured image data in the storage unit 41 (step S107), and ends the process.

実施の形態2にて示したように、端末装置3で撮像された撮像画像データを中央装置4へ送信し、中央装置4にて判定処理を実行する構成とすることにより、端末装置3における処理負荷を軽減することができ、端末装置3に記憶されるべき判定アプリプログラムのデータ量を削減することができる。また、中央装置4にて処理を一元化することにより、判定精度を共通に向上させることが可能である。   As shown in the second embodiment, the processing in the terminal device 3 is configured by transmitting the captured image data captured by the terminal device 3 to the central device 4 and executing the determination process in the central device 4. The load can be reduced, and the data amount of the determination application program to be stored in the terminal device 3 can be reduced. In addition, by centralizing the processing in the central device 4, it is possible to improve the determination accuracy in common.

今回開示した実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、特許請求の範囲内での全ての変更及び特許請求の範囲と均等の範囲が含まれることが意図される。   It should be thought that embodiment disclosed this time is an illustration and restrictive at no points. The scope of the present invention is intended to include all modifications within the scope of the claims and the scope equivalent to the scope of the claims.

1 情報処理装置(判定装置)
10 制御部
11 記憶部
12 一時記憶部
15 撮像部
1P 判定アプリプログラム(コンピュータプログラム)
2 試験片
20 基体
21 プローブ
22 特殊プローブ
3 端末装置
4 中央装置(判定装置)
40 制御部
41 記憶部
43 通信部
4P 判定プログラム(コンピュータプログラム)
1 Information processing device (judgment device)
DESCRIPTION OF SYMBOLS 10 Control part 11 Memory | storage part 12 Temporary memory | storage part 15 Imaging part 1P Judgment application program (computer program)
2 Test piece 20 Base 21 Probe 22 Special probe 3 Terminal device 4 Central device (judgment device)
40 control unit 41 storage unit 43 communication unit 4P determination program (computer program)

Claims (9)

検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片を撮像した画像データを取得し、取得した画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定する判定装置において、
前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定に用いられる判定基準値を、前記階調値の平均値、外れ値除外、中央値又は最頻値の算出のいずれかによって算定する基準値算定手段と、
前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値に対する割合又は前記判定基準値との差分である相対値へ変換する変換手段と、
前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較する比較手段と、
前記比較手段による比較の結果、前記複数の検出体毎に、前記相対値が閾値以上である場合に反応ありと判定し、前記相対値が閾値未満である場合に反応なし、又は前記相対値が閾値以上である場合に反応なしと判定し、前記相対値が閾値未満である場合に反応ありと判定する判定手段と
を備えることを特徴とする判定装置。
Acquire image data obtained by imaging a test piece on which a plurality of detection bodies that develop color depending on whether or not there is a reaction with a substance to be inspected, and the plurality of pixels based on an image composed of a plurality of pixels based on the acquired image data. In the determination device for determining the presence or absence of a reaction in the detection body,
Based on the pixel value for each pixel in the image, the determination reference value used for the determination of the gradation value indicating the level of brightness or the shade of one or more colors is the average value of the gradation value, outlier exclusion, A reference value calculation means for calculating by either median or mode calculation ;
For each detection body region that is specified as an area where the plurality of detection bodies in the image are respectively captured, the brightness level corresponding to the pixel value in each detection body region or the shade of one or more colors is displayed. Conversion means for converting the gradation value to be displayed into a relative value that is a ratio to the determination reference value or a difference from the determination reference value ;
Comparison means for comparing the relative value with a predetermined threshold value for each of the plurality of detection bodies for each detection body region;
As a result of comparison by the comparison means, for each of the plurality of detection bodies , it is determined that there is a reaction when the relative value is greater than or equal to a threshold value, and there is no response when the relative value is less than the threshold value, or the relative value is And a determination unit that determines that there is no response when the threshold value is equal to or greater than a threshold value, and that determines that there is a response when the relative value is less than the threshold value .
前記変換手段は、前記階調値の前記判定基準値に対する割合を算出するようにしてある
ことを特徴とする請求項1に記載の判定装置。
The determination device according to claim 1, wherein the conversion unit calculates a ratio of the gradation value to the determination reference value.
前記基準値算定手段は、
前記検出体領域毎の前記階調値を特定する手段と、
前記複数の検出体夫々の検出体領域から任意の一部を抽出する抽出手段と、
抽出された任意の一部の検出体領域に対し特定された階調値を用いて前記判定基準値を算定する手段と
を備えることを特徴とする請求項1又は2に記載の判定装置。
The reference value calculation means includes
Means for specifying the gradation value for each of the detection body regions;
Extraction means for extracting an arbitrary part from the detection body region of each of the plurality of detection bodies;
3. The determination apparatus according to claim 1, further comprising: a unit that calculates the determination reference value using a gradation value specified for an arbitrary part of the extracted detection body region.
前記抽出手段は、所定値以上の階調値が特定された検出体領域を抽出するようにしてある
ことを特徴とする請求項3に記載の判定装置。
The determination device according to claim 3, wherein the extraction unit is configured to extract a detection body region in which a gradation value greater than or equal to a predetermined value is specified.
前記基準値算定手段は、
前記複数の検出体を複数のグループに分別し、分別したグループ毎に前記判定基準値を算定するようにしてある
ことを特徴とする請求項1乃至4のいずれか1つに記載の判定装置。
The reference value calculation means includes
The determination apparatus according to claim 1, wherein the plurality of detection objects are classified into a plurality of groups, and the determination reference value is calculated for each of the classified groups.
前記検出対象の物質は遺伝子検体であり、前記複数の検出体は前記遺伝子とハイブリダイズするオリゴヌクレオチドを含むプローブである
ことを特徴とする請求項1乃至5のいずれか1つに記載の判定装置。
The determination apparatus according to claim 1, wherein the substance to be detected is a gene sample, and the plurality of detection bodies are probes including oligonucleotides that hybridize with the gene. .
前記検出対象の物質は結核菌であり、前記複数の検出体は前記結核菌とハイブリダイズするオリゴヌクレオチドを含むプローブである
ことを特徴とする請求項6に記載の判定装置。
The determination apparatus according to claim 6, wherein the substance to be detected is Mycobacterium tuberculosis, and the plurality of detection bodies are probes including oligonucleotides that hybridize with the Mycobacterium tuberculosis.
撮像装置から情報を取得することが可能なコンピュータが、検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片の画像データを前記撮像装置から取得し、取得した画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定する判定方法において、
前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定に用いられる判定基準値を、前記階調値の平均値、外れ値除外、中央値又は最頻値の算出のいずれかによって試験片毎に算定し、
前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値に対する割合又は前記判定基準値との差分である相対値へ変換し、
前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較し、
比較結果に基づき、前記複数の検出体毎に、前記相対値が閾値以上である場合に反応ありと判定し、前記相対値が閾値未満である場合に反応なし、又は前記相対値が閾値以上である場合に反応なしと判定し、前記相対値が閾値未満である場合に反応ありと判定する
ことを特徴とする判定方法。
A computer capable of acquiring information from the imaging device acquires image data of a test piece to which a plurality of detection bodies that develop color depending on the presence or absence of a reaction with a substance to be inspected is fixed from the imaging device, In the determination method of determining the presence or absence of reaction in the plurality of detection bodies by an image composed of a plurality of pixels based on the acquired image data,
Based on the pixel value for each pixel in the image, the determination reference value used for the determination of the gradation value indicating the level of brightness or the shade of one or more colors is the average value of the gradation value, outlier exclusion, Calculate for each specimen by either median or mode calculation,
For each detection body region that is specified as an area where the plurality of detection bodies in the image are respectively captured, the brightness level corresponding to the pixel value in each detection body region or the shade of one or more colors is displayed. The gradation value shown is converted into a relative value that is a ratio to the determination reference value or a difference from the determination reference value ,
For each of the detection body regions, the threshold value that is predetermined for each of the plurality of detection bodies is compared with the relative value,
Based on the comparison result, for each of the plurality of detection bodies , it is determined that there is a response when the relative value is equal to or greater than a threshold value, and there is no response when the relative value is less than the threshold value, or the relative value is equal to or greater than the threshold value. It is determined that there is no response in some cases, and it is determined that there is a response when the relative value is less than a threshold value .
撮像装置から情報を取得することが可能なコンピュータに、検査対象の物質との反応の有無に応じて発色する複数の検出体が固定されている試験片の画像データを前記撮像装置から取得させ、取得された画像データに基づく複数の画素からなる画像により前記複数の検出体における反応の有無を判定させるコンピュータプログラムにおいて、
前記画像中の画素毎の画素値に基づき、輝度の高低又は1若しくは複数の色の濃淡を示す階調値に対する判定に用いられる判定基準値を、前記階調値の平均値、外れ値除外、中央値又は最頻値の算出のいずれかによって試験片毎に算定するステップ、
前記画像中の前記複数の検出体が夫々撮像されている領域として特定されてある検出体領域毎に、各検出体領域内の画素値に対応する輝度の高低又は1若しくは複数の色の濃淡を示す階調値を、前記判定基準値に対する割合又は前記判定基準値との差分である相対値へ変換するステップ、及び、
前記検出体領域毎に、前記複数の検出体別に予め定められてある閾値と前記相対値とを比較するステップ、及び、
比較結果に基づき、前記複数の検出体毎に、前記相対値が閾値以上である場合に反応ありと判定し、前記相対値が閾値未満である場合に反応なし、又は前記相対値が閾値以上である場合に反応なしと判定し、前記相対値が閾値未満である場合に反応ありと判定するステップ
を実行させることを特徴とするコンピュータプログラム。
A computer capable of acquiring information from the imaging device causes the imaging device to acquire image data of a test piece on which a plurality of detection bodies that develop color depending on the presence or absence of a reaction with a substance to be examined are fixed, In a computer program for determining the presence or absence of reaction in the plurality of detection bodies by an image composed of a plurality of pixels based on the acquired image data,
Based on the pixel value for each pixel in the image, the determination reference value used for the determination of the gradation value indicating the level of brightness or the shade of one or more colors is the average value of the gradation value, outlier exclusion, Calculating for each specimen by either median or mode calculation ,
For each detection body region that is specified as an area where the plurality of detection bodies in the image are respectively captured, the brightness level corresponding to the pixel value in each detection body region or the shade of one or more colors is displayed. Converting the gradation value to be displayed into a relative value that is a ratio to the determination reference value or a difference from the determination reference value ; and
Comparing the relative value with a predetermined threshold for each of the plurality of detection bodies for each detection body region ; and
Based on the comparison result, for each of the plurality of detection bodies, it is determined that there is a response when the relative value is equal to or greater than a threshold value, and there is no response when the relative value is less than the threshold value, or the relative value is equal to or greater than the threshold value. A computer program for executing a step of determining that there is no response in some cases and determining that there is a response when the relative value is less than a threshold value .
JP2014204942A 2014-10-03 2014-10-03 Determination apparatus, determination method, and computer program Active JP6492501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014204942A JP6492501B2 (en) 2014-10-03 2014-10-03 Determination apparatus, determination method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014204942A JP6492501B2 (en) 2014-10-03 2014-10-03 Determination apparatus, determination method, and computer program

Publications (2)

Publication Number Publication Date
JP2016073218A JP2016073218A (en) 2016-05-12
JP6492501B2 true JP6492501B2 (en) 2019-04-03

Family

ID=55949253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014204942A Active JP6492501B2 (en) 2014-10-03 2014-10-03 Determination apparatus, determination method, and computer program

Country Status (1)

Country Link
JP (1) JP6492501B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018150787A1 (en) * 2017-02-14 2018-08-23 富士フイルム株式会社 Immunological test device
JP7008468B2 (en) * 2017-10-25 2022-01-25 オルガノ株式会社 Sample analyzer, sample analysis method, sample analysis system, and program
JP7263084B2 (en) * 2019-04-02 2023-04-24 オルガノ株式会社 SAMPLE ANALYSIS SYSTEM, SAMPLE ANALYSIS METHOD AND TERMINAL DEVICE
CN114585909A (en) * 2019-08-08 2022-06-03 特斯达卡有限公司 Body fluid testing method
JP7412589B2 (en) * 2020-10-16 2024-01-12 株式会社カネカ Automatic discrimination system, automatic discrimination method, and automatic discrimination program
CN116109815B (en) * 2023-04-11 2023-07-28 深圳市易瑞生物技术股份有限公司 Positioning method and device for test card calculation area and terminal equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2841866B2 (en) * 1992-03-06 1998-12-24 オムロン株式会社 Image processing apparatus and method and its application
CN100484252C (en) * 2001-12-29 2009-04-29 三星电子株式会社 Device and method for controlling image brightness
US20060292647A1 (en) * 2004-12-03 2006-12-28 Green Lawrence R Reflex supplemental testing - A rapid, efficient and highly accurate method to identify subjects with an infection, disease or other condition
US8446463B2 (en) * 2008-08-22 2013-05-21 Genprime, Inc. Apparatus, method and article to perform assays using assay strips
JP5522481B2 (en) * 2009-01-27 2014-06-18 国立大学法人大阪大学 Image analysis apparatus, image analysis method, image analysis program, and recording medium
JP5205354B2 (en) * 2009-09-30 2013-06-05 富士フイルム株式会社 Chromatographic measuring device
JP5452300B2 (en) * 2010-03-19 2014-03-26 富士フイルム株式会社 Electronic endoscope system, processor device for electronic endoscope, operation method of electronic endoscope system, pathological observation device, and pathological microscope device
TW201239360A (en) * 2011-03-25 2012-10-01 Middleland Sensing Technology Inc An analyzing system and method for a test strip
JP5895613B2 (en) * 2012-03-08 2016-03-30 東レ株式会社 Determination method, determination apparatus, determination system, and program
WO2013148498A1 (en) * 2012-03-27 2013-10-03 Ventana Medical Systems, Inc. Signaling conjugates and methods of use

Also Published As

Publication number Publication date
JP2016073218A (en) 2016-05-12

Similar Documents

Publication Publication Date Title
JP6492501B2 (en) Determination apparatus, determination method, and computer program
CN107615050B (en) Detection device and detection method
US6697509B2 (en) Method and apparatus for scoring the uptake of markers in cells
TWI795453B (en) Methods and devices for performing an analytical measurement based on a color formation reaction
CN104697938B (en) A kind of test paper read method and test pregnant and ovulation test method using this method
US10192306B2 (en) Cell recognition device, method, and program
CN104964973A (en) Test paper reading and analyzing method and system based on mobile terminal camera
EP3088511B1 (en) Image processing device, program, information storage medium, and image processing method
KR101624583B1 (en) Urine Examination Method and Related Devices
CN104198695A (en) Method for analyzing developing result of colloidal gold test strip
JP2014196926A (en) Method and apparatus for assessing deterioration of exterior material
JP6355082B2 (en) Pathological diagnosis support apparatus and pathological diagnosis support method
JP7127288B2 (en) Coloring reaction observation assistance system, coloration reaction observation assistance method and program
CN107796805A (en) A kind of detection method and detection means for analyzing Test paper data
TW202212787A (en) Method of evaluating the quality of a color reference card
KR101719032B1 (en) Smart mobile-based microbial image analysis and monitoring system and its method
JP2017175568A (en) Data processing device, color specifying method, program and color chart
Cross Observer accuracy in estimating proportions in images: implications for the semiquantitative assessment of staining reactions and a proposal for a new system
KR20130086690A (en) System for performing colorimetric analysis when running in a portable device and method of colorimetric analysis using the same
US11068695B2 (en) Image processing device, observation device, and program
WO2021014682A1 (en) Particle quantitative measurement device
JP2015231343A (en) Colony classification amending method, classification amending program, and classification amending apparatus
JP2018063588A (en) Color determination device, control method, and program
KR20140135921A (en) URINE STRIP FOR Urine EXAMINATION
RU2786271C2 (en) Method and devices for analytical measurement

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190218

R150 Certificate of patent or registration of utility model

Ref document number: 6492501

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250