JP2015052972A - Measuring computer program, measuring device, and measuring method - Google Patents

Measuring computer program, measuring device, and measuring method Download PDF

Info

Publication number
JP2015052972A
JP2015052972A JP2013186136A JP2013186136A JP2015052972A JP 2015052972 A JP2015052972 A JP 2015052972A JP 2013186136 A JP2013186136 A JP 2013186136A JP 2013186136 A JP2013186136 A JP 2013186136A JP 2015052972 A JP2015052972 A JP 2015052972A
Authority
JP
Japan
Prior art keywords
image
contour
images
container
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013186136A
Other languages
Japanese (ja)
Other versions
JP6255819B2 (en
Inventor
智広 福田
Tomohiro Fukuda
智広 福田
あきら 宮崎
Akira Miyazaki
あきら 宮崎
未実子 林
Mimiko Hayashi
未実子 林
中村 岳史
Takeshi Nakamura
岳史 中村
健一 杉谷
Kenichi Sugitani
健一 杉谷
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2013186136A priority Critical patent/JP6255819B2/en
Publication of JP2015052972A publication Critical patent/JP2015052972A/en
Application granted granted Critical
Publication of JP6255819B2 publication Critical patent/JP6255819B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Apparatus Associated With Microorganisms And Enzymes (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a computer program capable of identifying a quantity measuring target region of an object in a container from a plurality of images obtained by imaging the container in mutually different directions.SOLUTION: A computer program causes a computer to execute processes of: detecting at least a part of a profile of an upper edge of a sidewall and at least a part of a profile of a bottom surface from each of a plurality of images generated by imaging a container that has the bottom surface and the sidewall rising from the bottom surface in mutually different directions; generating a plurality of corrected images by performing an image correction process on each image so that a closed shape formed by the upper edge of the sidewall on the image or a shape of the bottom surface is identical to a shape viewed in a predetermined direction for each image; extracting a region in which a region surrounded by the profile of the upper edge of the sidewall overlaps a region surrounded by the bottom surface as a partial region of a content of the container for each corrected image; and identifying a region synthesized by aligning the partial regions of their respective corrected images as a quantity measuring target region of an object in the container.

Description

本発明は、画像に写った物体の量を計測するためのコンピュータプログラム、計測装置及び計測方法に関する。   The present invention relates to a computer program, a measuring apparatus, and a measuring method for measuring the amount of an object shown in an image.

微生物検査では、シャーレといった容器内で微生物を培養し、その微生物のコロニーの数を計測することが行われている。しかし、コロニー数の計測は検査者の負担が大きく、コロニー数を正確にカウントできないことがある。そこで、コロニー数をプロセッサで自動的にカウントできるようにするコントラストチャンバが提案されている(例えば、特許文献1を参照)。   In the microbiological examination, microorganisms are cultured in a container such as a petri dish, and the number of colonies of the microorganisms is measured. However, measurement of the number of colonies places a heavy burden on the inspector, and the number of colonies may not be accurately counted. Thus, a contrast chamber has been proposed that allows the number of colonies to be automatically counted by a processor (see, for example, Patent Document 1).

しかし、特許文献1に記載のコントラストチャンバのような、コロニー計測用の専用機材を用いるためには、検査者がその機材の操作に習熟することが求められる。また特許文献1に記載のコントラストチャンバは、容器を適切に照明するための光源、容器内のコロニーを計測するための読み取りヘッド及びその読み取りヘッドを駆動する機構などを有するため、比較的高価である。そのため、特許文献1に記載のコントラストチャンバのような専用機材を用いなくてもコロニー数を計測できることが好ましい。   However, in order to use a dedicated device for colony measurement, such as the contrast chamber described in Patent Document 1, it is required that an inspector becomes familiar with the operation of the device. The contrast chamber described in Patent Document 1 is relatively expensive because it has a light source for properly illuminating the container, a read head for measuring colonies in the container, a mechanism for driving the read head, and the like. . Therefore, it is preferable that the number of colonies can be measured without using dedicated equipment such as the contrast chamber described in Patent Document 1.

また、被写体を異なる方向から複数回撮影することによって得られた複数の撮影画像を合成する技術が提案されている(例えば、特許文献2を参照)。   In addition, a technique for combining a plurality of captured images obtained by capturing a subject a plurality of times from different directions has been proposed (see, for example, Patent Document 2).

特表平7−500505号公報JP 7-500505 gazette 特開2006−287504号公報JP 2006-287504 A

シャーレ撮影用の機材を用いる代わりに、特許文献2に開示された技術を利用して、シャーレ内の微生物のコロニー数を計測するには、シャーレを撮影した各画像からシャーレ内の領域を特定することが求められる。   In order to count the number of colonies of microorganisms in the petri dish using the technique disclosed in Patent Document 2 instead of using the petri dish equipment, the region in the petri dish is specified from each image taken of the petri dish. Is required.

一つの側面では、本発明は、容器を互いに異なる複数の方向から撮影して得られる複数の画像からその容器内の物体の量を計測する対象の領域を特定できるコンピュータプログラムを提供することを目的とする。   In one aspect, an object of the present invention is to provide a computer program capable of specifying a target region for measuring the amount of an object in a container from a plurality of images obtained by photographing the container from a plurality of different directions. And

一つの実施形態によれば、コンピュータプログラムが提供される。このコンピュータプログラムは、底面とその底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、側壁の上部の縁の輪郭の少なくとも一部及び底面の輪郭の少なくとも一部を検出し、複数の画像のそれぞれについて、その画像上の側壁の上部の縁により形成される閉形状または底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成し、生成した複数の補正画像のそれぞれについて、側面の上部の縁の輪郭に囲まれた領域と底面の輪郭に囲まれた領域とが重なる領域を、容器の内部の一部に相当する部分領域として抽出し、複数の補正画像のそれぞれの部分領域を位置合わせして合成される領域を、容器内の物体の量を計測する対象の領域として特定する処理をコンピュータに実行させる命令を有する。   According to one embodiment, a computer program is provided. The computer program stores at least a part of the contour of the upper edge of the side wall and the contour of the bottom surface from each of a plurality of images generated by photographing the container having the bottom surface and the side wall rising from the bottom surface from different directions. Detects at least a part of the image, and for each of the plurality of images, the image is corrected so that the closed shape or the shape of the bottom surface formed by the upper edge of the side wall on the image becomes a shape when viewed from a predetermined direction. A process is performed to generate a plurality of corrected images, and for each of the generated corrected images, an area surrounded by the outline of the upper edge of the side surface and an area surrounded by the outline of the bottom surface overlap each other. Extracted as a partial area corresponding to a part of the inside of the container, and aligned the respective partial areas of the plurality of corrected images, combined, and measured the amount of objects in the container. Comprising instructions for executing the processing of identifying the computer as an area of interest to be.

本発明の目的及び利点は、請求項において特に指摘されたエレメント及び組み合わせにより実現され、かつ達成される。
上記の一般的な記述及び下記の詳細な記述の何れも、例示的かつ説明的なものであり、請求項のように、本発明を限定するものではないことを理解されたい。
The objects and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims.
It should be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.

容器を互いに異なる複数の方向から撮影して得られる複数の画像からその容器内の物体の量を計測する対象の領域を特定できる。   A target region for measuring the amount of an object in the container can be specified from a plurality of images obtained by photographing the container from a plurality of different directions.

(a)は、容器の一例であるシャーレの画像の一例を示す図である。(b)は、シャーレの側壁近傍の培地の概略を示す図である。(A) is a figure which shows an example of the image of the petri dish which is an example of a container. (B) is a figure which shows the outline of the culture medium of the side wall vicinity of a petri dish. 一つの実施形態による計測装置の概略構成図である。It is a schematic block diagram of the measuring device by one embodiment. 処理部の機能ブロック図である。It is a functional block diagram of a processing part. シャーレが写った画像の一例を示す図である。It is a figure which shows an example of the image in which the petri dish was reflected. 位置合わせされた3枚の画像の各内部領域と検出されたコロニーの位置の関係を表す模式図である。It is a schematic diagram showing the relationship between each internal area | region of the image in which it was aligned, and the position of the detected colony. 計測処理の動作フローチャートである。It is an operation | movement flowchart of a measurement process. (a)は、斜め上方からシャーレを撮影した場合における、画像から検出されるエッジの一例を示す図である。(b)〜(e)は、それぞれ、(a)に示された画像からエッジの集合を楕円近似することによって検出される楕円の一例を示す図である。(A) is a figure which shows an example of the edge detected from an image at the time of image | photographing a petri dish from diagonally upward. (B)-(e) is a figure which shows an example of the ellipse detected by carrying out the ellipse approximation of the set of edges from the image shown by (a), respectively. 検出された楕円と天面及び底面の判別の可否との関係を表すテーブルを示す図である。It is a figure which shows the table showing the relationship between the detected ellipse and the possibility of discrimination | determination of a top | upper surface and a bottom face.

以下、図を参照しつつ、一つの実施形態による計測装置について説明する。
この計測装置は、シャーレといった、立体的な容器に収容された物体の所定量を、カメラによりその容器を互いに異なる方向から撮影して得られる複数の画像に基づいて計測する。
Hereinafter, a measurement apparatus according to an embodiment will be described with reference to the drawings.
This measuring apparatus measures a predetermined amount of an object housed in a three-dimensional container such as a petri dish based on a plurality of images obtained by photographing the container from different directions with a camera.

本実施形態では、容器は、円筒形状を有し、かつ上端が開口となっているシャーレである。一般にシャーレは円筒形で、正円の底面と、底面からほぼ垂直に立ち上がる側壁とを有する皿部と、皿部とほぼ同形で皿部よりも直径が大きく皿部に覆いかぶせることができる蓋部との2枚1組からなる。皿部の側壁の縁(底面と反対側の縁)は皿の底面と平行になるように切断加工されている。本実施形態で撮影対象とするのは、蓋を取り去った皿部のみであり、以下の説明においては、シャーレの皿部のみを指してシャーレと記載する場合がある。また計測対象となる物体は、シャーレ上に培養された微生物のコロニーである。そして計測する所定量はコロニーの数である。しかし容器は、シャーレでなくてもよく、天面と底面があり、天面が透明または開口となっている容器であればよい。容器の天面が開口となっている場合には、厳密には天面は存在しないが、容器側壁の縁(底面と反対側の縁)により形成される閉じた平面を、天面に相当するとみなすことができる。以下の説明においては、シャーレの皿部の側壁の縁(底面と反対側の縁)により形成される閉じた平面を、天面と記載する場合がある。また計測対象となる物体は、微生物のコロニーに限られない。さらに、所定量もコロニーの数に限られない。   In the present embodiment, the container is a petri dish having a cylindrical shape and an upper end being an opening. In general, the petri dish is cylindrical and has a plate part having a bottom surface of a perfect circle and a side wall that rises almost vertically from the bottom surface, and a lid part that is substantially the same shape as the plate part and has a diameter larger than that of the plate part. It consists of a pair of two. The edge of the side wall of the dish part (the edge opposite to the bottom surface) is cut so as to be parallel to the bottom surface of the dish. In this embodiment, the object to be imaged is only the dish part from which the lid is removed, and in the following description, only the dish part of the petri dish may be pointed and described as a petri dish. An object to be measured is a colony of microorganisms cultured on a petri dish. The predetermined amount to be measured is the number of colonies. However, the container may not be a petri dish, and may be any container that has a top surface and a bottom surface, and the top surface is transparent or open. Strictly speaking, when the top surface of the container is an opening, there is no top surface, but the closed plane formed by the edge of the container side wall (the edge opposite to the bottom surface) corresponds to the top surface. Can be considered. In the following description, the closed plane formed by the edge of the side wall of the dish portion of the petri dish (the edge opposite to the bottom surface) may be referred to as the top surface. The object to be measured is not limited to a microbial colony. Furthermore, the predetermined amount is not limited to the number of colonies.

図1(a)に、容器の一例であるシャーレの画像の一例を示し、図1(b)に、シャーレの側壁近傍の培地の概略を示す。
カメラがシャーレ110の真上に配置されない限り、図1(a)に示されるように、シャーレ110の側壁110aがシャーレ110の底面110bの一部を隠すことにより、カメラによって生成された画像100には底面110bの一部が写らない。また、図1(b)に示されるように、シャーレ110の側壁110aの近傍では、シャーレ110内に設けられた培地101が側壁110aに沿って盛り上がる。そのため、カメラがシャーレ110の真上に配置されたとしても、カメラは、側壁110a近傍の培地101を斜めから撮影することになる。したがって、側壁110a近傍の培地101上にコロニー102が複数存在する場合、複数のコロニー102がシャーレ110の真上に配置されたカメラからは重なって見えるので、画像上でもコロニー102が重なる。そのため、その画像に基づいてコロニー102の数を正確にカウントすることは困難である。
FIG. 1A shows an example of an image of a petri dish that is an example of a container, and FIG. 1B shows an outline of the culture medium in the vicinity of the side wall of the petri dish.
Unless the camera is arranged directly above the petri dish 110, the side wall 110a of the petri dish 110 hides a part of the bottom surface 110b of the petri dish 110 as shown in FIG. Does not show part of the bottom surface 110b. Further, as shown in FIG. 1B, in the vicinity of the side wall 110a of the petri dish 110, the culture medium 101 provided in the petri dish 110 rises along the side wall 110a. For this reason, even if the camera is arranged directly above the petri dish 110, the camera photographs the culture medium 101 near the side wall 110a from an oblique direction. Therefore, when there are a plurality of colonies 102 on the culture medium 101 in the vicinity of the side wall 110a, the plurality of colonies 102 appear to overlap with each other from the camera arranged directly above the petri dish 110, so that the colonies 102 also overlap on the image. Therefore, it is difficult to accurately count the number of colonies 102 based on the image.

そこで、本実施形態による計測装置は、シャーレを互いに異なる複数の方向から撮影することで得られる複数の画像のそれぞれについて、その画像上に写ったシャーレの天面の輪郭と底面の輪郭を検出する。またこの計測装置は、画像上での天面または底面の形状が所定の方向から見たときの形状となるように各画像を補正する。この計測装置は、天面と底面の位置関係から、天面の輪郭で囲まれた部分と底面の輪郭で囲まれた部分とが重なる領域を、コロニーが存在する可能性があるシャーレ内部の一部に相当する内部領域として求める。そしてこの計測装置は、各補正画像の内部領域を位置合わせする。これにより、この計測装置は、各画像の内部領域のうち、画像間で重複している共通部分と重複していない非共通部分を特定することで、各画像上でのシャーレ内の領域を特定する。そしてこの計測装置は、共通部分では、同じコロニーを2重にカウントしないように各画像の内部領域に含まれるコロニーの数を求める。   Therefore, the measuring apparatus according to the present embodiment detects the contours of the top and bottom surfaces of the petri dish on the images for each of a plurality of images obtained by photographing the petri dish from a plurality of different directions. . In addition, this measuring apparatus corrects each image so that the shape of the top surface or the bottom surface on the image becomes a shape when viewed from a predetermined direction. This measuring device is based on the positional relationship between the top surface and the bottom surface, and the region where the portion surrounded by the contour of the top surface overlaps the portion surrounded by the contour of the bottom surface is an area inside the petri dish where a colony may exist. It is obtained as an internal area corresponding to the part. And this measuring device aligns the internal area | region of each correction image. As a result, this measuring device identifies the region in the petri dish on each image by identifying the common region that overlaps between the images and the non-common portion that does not overlap among the internal regions of each image. To do. And this measuring device calculates | requires the number of the colonies contained in the internal area | region of each image so that the same colony may not be counted twice in a common part.

図2は、一つの実施形態による計測装置の概略構成図である。図2に示されるように、計測装置1は、インターフェース部11と、表示部12と、記憶部13と、処理部14と、記憶媒体アクセス装置15とを有する。計測装置1は、例えば、スタンドアロン型のコンピュータであってもよく、あるいは、通信ネットワークと接続されたサーバコンピュータであってもよい。そして計測装置1は、カメラ2から取得した、シャーレが写った画像に基づいて、シャーレ内の微生物のコロニーの数を計測する。   FIG. 2 is a schematic configuration diagram of a measuring apparatus according to one embodiment. As shown in FIG. 2, the measuring device 1 includes an interface unit 11, a display unit 12, a storage unit 13, a processing unit 14, and a storage medium access device 15. The measuring device 1 may be, for example, a stand-alone computer or a server computer connected to a communication network. The measuring apparatus 1 measures the number of colonies of microorganisms in the petri dish based on the image obtained from the camera 2 and showing the petri dish.

カメラ2は、例えばデジタルカメラであり、シャーレを互いに異なる方向から撮影することにより、同一のシャーレが写った複数の画像を生成する。そしてカメラ2は、その複数の画像を計測装置1へ出力する。なお、シャーレを撮影するカメラは1台でなく、複数台であってもよい。そして複数のカメラがそれぞれ互いに異なる方向からシャーレを撮影して、それぞれ同一のシャーレが写った画像を生成し、各カメラが画像を計測装置1へ出力してもよい。   The camera 2 is, for example, a digital camera, and generates a plurality of images showing the same petri dish by photographing the petri dish from different directions. The camera 2 outputs the plurality of images to the measuring device 1. In addition, the camera which image | photographs a petri dish may not be 1 unit | set but multiple units | sets may be sufficient. The plurality of cameras may capture the petri dish from different directions, generate images in which the same petri dish is captured, and each camera may output the image to the measuring apparatus 1.

インターフェース部11は、例えば、計測装置1を、カメラ2と接続するための通信インターフェース及びその制御回路を有する。そのような通信インターフェースは、例えば、Universal Serial Bus(ユニバーサル・シリアル・バス、USB)などの通信規格に従ったインターフェースとすることができる。   The interface unit 11 includes, for example, a communication interface for connecting the measuring device 1 to the camera 2 and its control circuit. Such a communication interface can be an interface in accordance with a communication standard such as Universal Serial Bus (USB).

あるいは、インターフェース部11は、イーサネット(登録商標)などの通信規格に従った通信ネットワークに接続するための通信インターフェース及びその制御回路を有してもよい。そして計測装置1は、カメラ2により同一のシャーレを互いに異なる方向から撮影して得られた複数の画像が保存された他の機器から、通信ネットワークを介して、その複数の画像を取得してもよい。
インターフェース部11は、シャーレが写った複数の画像を処理部14へ渡す。
Alternatively, the interface unit 11 may include a communication interface for connecting to a communication network in accordance with a communication standard such as Ethernet (registered trademark) and a control circuit thereof. Then, the measuring apparatus 1 may acquire the plurality of images via a communication network from another device in which a plurality of images obtained by photographing the same petri dish from different directions with the camera 2 are stored. Good.
The interface unit 11 passes a plurality of images showing the petri dish to the processing unit 14.

表示部12は、例えば、液晶ディスプレイなどの表示装置を有する。そして表示部12は、例えば、ビデオインターフェースを介して処理部14と接続され、処理部14による、微生物のコロニー数の計測結果を表示する。また表示部12は、処理部14により実行されたアプリケーションに関連する各種情報などを表示する。   The display unit 12 includes a display device such as a liquid crystal display, for example. The display unit 12 is connected to the processing unit 14 via a video interface, for example, and displays the measurement result of the number of microbial colonies by the processing unit 14. The display unit 12 displays various information related to the application executed by the processing unit 14.

記憶部13は、例えば、不揮発性の半導体メモリ及び揮発性の半導体メモリを有する。そして記憶部13は、処理部14で実行される計測処理用コンピュータプログラム及び計測処理で用いられる各種のデータを記憶する。さらに記憶部13は、カメラ2から受信した画像を記憶してもよい。   The storage unit 13 includes, for example, a nonvolatile semiconductor memory and a volatile semiconductor memory. The storage unit 13 stores a measurement processing computer program executed by the processing unit 14 and various types of data used in the measurement processing. Further, the storage unit 13 may store an image received from the camera 2.

記憶媒体アクセス装置15は、磁気ディスク、半導体メモリカード及び光記憶媒体といった記憶媒体16にアクセスする。そして記憶媒体アクセス装置15は、例えば、記憶媒体16に記憶された、処理部14上で実行される計測用のコンピュータプログラムを読み込み、そのコンピュータプログラムを記憶部13に記憶させる。   The storage medium access device 15 accesses a storage medium 16 such as a magnetic disk, a semiconductor memory card, and an optical storage medium. Then, for example, the storage medium access device 15 reads a computer program for measurement executed on the processing unit 14 stored in the storage medium 16 and stores the computer program in the storage unit 13.

処理部14は、1個または複数個のプロセッサ及びその周辺回路を有する。そして処理部14は、同一のシャーレを互いに異なる方向から撮影して得られた複数の画像に基づいてシャーレ内の微生物のコロニーの数の計測処理を実行する。   The processing unit 14 includes one or a plurality of processors and their peripheral circuits. And the process part 14 performs the measurement process of the number of colonies of the microorganisms in a petri dish based on the several image obtained by image | photographing the same petri dish from a mutually different direction.

図3は、処理部14の機能ブロック図である。処理部14は、輪郭検出部21と、形状補正部22と、内部領域抽出部23と、共通部分抽出部24と、計数部25とを有する。処理部14が有するこれらの各部は、例えば、処理部14が有するプロセッサ上で動作するコンピュータプログラムによって実現される機能モジュールである。なお、処理部14が有するこれらの各部は、処理部14が有するプロセッサとは別個の集積回路として計測装置1に実装されてもよい。   FIG. 3 is a functional block diagram of the processing unit 14. The processing unit 14 includes a contour detection unit 21, a shape correction unit 22, an internal region extraction unit 23, a common part extraction unit 24, and a counting unit 25. Each of these units included in the processing unit 14 is, for example, a functional module realized by a computer program that operates on a processor included in the processing unit 14. Note that these units included in the processing unit 14 may be mounted on the measurement apparatus 1 as an integrated circuit separate from the processor included in the processing unit 14.

輪郭検出部21は、各画像から、シャーレの底面の輪郭の少なくとも一部とシャーレの天面の輪郭の少なくとも一部を検出する。   The contour detection unit 21 detects at least part of the contour of the bottom surface of the petri dish and at least part of the contour of the top surface of the petri dish from each image.

図4は、シャーレが写った画像の一例を示す。
本実施形態では、上記のように、シャーレ401は上端が開放された円筒形状を有する。そのため、シャーレ401を斜め上方から撮影した場合の天面の輪郭401a及び底面の輪郭401bは、画像400上で楕円形状を持つ。また一般に、シャーレの側壁は低いので、シャーレを斜め方向から撮影することにより得られる画像では、シャーレの天面の輪郭401aと底面の輪郭401bは重なる。
FIG. 4 shows an example of an image showing a petri dish.
In the present embodiment, as described above, the petri dish 401 has a cylindrical shape with an open upper end. Therefore, the top surface outline 401 a and the bottom surface outline 401 b when the petri dish 401 is photographed obliquely from above are elliptical on the image 400. In general, since the side wall of the petri dish is low, in the image obtained by photographing the petri dish from an oblique direction, the top surface outline 401a of the petri dish overlaps with the bottom face outline 401b.

そこで輪郭検出部21は、各画像に対して、例えば、sobelフィルタまたはprewittフィルタといったエッジ検出フィルタを用いたエッジ検出処理を実行することにより、画像上でエッジが写っている画素であるエッジ画素を検出する。そして輪郭検出部21は、例えば、最小二乗法を用いてエッジ画素の集合を楕円方程式で近似する。輪郭検出部21は、その近似により得られた複数の楕円方程式のそれぞれで表された楕円のうち、画像上の垂直方向に沿って互いに重なる二つの楕円を検出する。そして輪郭検出部21は、検出した上側の楕円をシャーレの天面の輪郭とし、一方、検出した下側の楕円をシャーレの底面の輪郭とする。   Therefore, the contour detection unit 21 performs edge detection processing using an edge detection filter such as a sobel filter or a prewitt filter on each image, thereby obtaining an edge pixel that is a pixel in which an edge appears on the image. To detect. The contour detection unit 21 approximates a set of edge pixels with an elliptic equation using, for example, a least square method. The contour detection unit 21 detects two ellipses that overlap each other in the vertical direction on the image among the ellipses represented by the respective elliptic equations obtained by the approximation. The contour detection unit 21 sets the detected upper ellipse as the contour of the top of the petri dish, and the detected lower ellipse as the contour of the bottom of the petri dish.

なお、輪郭検出部21は、シャーレの天面の輪郭及びシャーレの底面の輪郭を他の輪郭検出方法に従って検出してもよい。例えば、輪郭検出部21は、シャーレの天面の輪郭を表すテンプレートと、エッジ画像のテンプレートマッチングにより、画像上でシャーレの天面の輪郭を検出してもよい。なお、エッジ画像は、例えば、上記のエッジ画素とエッジ以外の画素が異なる値を持つ2値画像とすることができる。同様に、輪郭検出部21は、シャーレの底面の輪郭を表すテンプレートとエッジ画像のテンプレートマッチングにより、画像上でシャーレの底面の輪郭を検出してもよい。なお、シャーレの底面に対する法線とカメラ2の光軸間の角度及びシャーレとカメラ2間の距離に応じて画像上の天面の形状及び底面の形状は変わる。そこで、想定されるシャーレの底面に対する法線とカメラ2の光軸間の想定角度及びシャーレとカメラ2間の想定距離ごとに、シャーレの天面及び底面のテンプレートが用意されることが好ましい。なおテンプレートは、例えば、予め記憶部13に記憶される。   The contour detection unit 21 may detect the contour of the top surface of the petri dish and the contour of the bottom surface of the petri dish according to another contour detection method. For example, the contour detection unit 21 may detect the contour of the top of the petri dish on the image by template matching between the template representing the contour of the top of the petri dish and the edge image. The edge image can be, for example, a binary image in which the above edge pixels and pixels other than the edges have different values. Similarly, the contour detection unit 21 may detect the contour of the bottom surface of the petri dish on the image by template matching between the template representing the contour of the bottom surface of the petri dish and the edge image. The shape of the top surface and the shape of the bottom surface on the image changes depending on the angle between the normal to the bottom surface of the petri dish and the optical axis of the camera 2 and the distance between the petri dish and the camera 2. Therefore, it is preferable to prepare templates for the top and bottom surfaces of the petri dish for each assumed angle between the normal to the bottom surface of the petri dish and the optical axis of the camera 2 and for each assumed distance between the petri dish and the camera 2. The template is stored in advance in the storage unit 13, for example.

輪郭検出部21は、各画像について、シャーレの天面の輪郭を表す楕円方程式及び底面の輪郭を表す楕円方程式を、形状補正部22及び内部領域抽出部23に通知する。   The contour detection unit 21 notifies the shape correction unit 22 and the internal region extraction unit 23 of the elliptic equation representing the contour of the top surface of the petri dish and the elliptic equation representing the contour of the bottom surface of each image.

形状補正部22は、シャーレの底面の形状または天面の形状が、その底面または天面を所定の方向から見たときの形状となるように各画像を補正する。本実施形態では、形状補正部22は、シャーレの真上もしくは真下からそのシャーレを見たときの天面または底面の形状、すなわち、正円となるように各画像を補正する。例えば、シャーレの底面の輪郭を表す楕円方程式における、長軸方向の半径をa、短軸方向の半径をbとする。このとき、形状補正部22は、底面を表す楕円の中心を原点として、画像の各画素について、原点からその画素までの距離を長軸方向に沿ってr/a倍し、かつ、短軸方向に沿ってr/b倍するように、画像を補正する。これにより、補正後の各画像上で底面の輪郭は、補正前の画像における底面の輪郭の中心と同じ位置を中心とする半径rの円の方程式で表される。同様に、シャーレの天面の輪郭も半径rの円の方程式で表される。ただし、補正後の画像での天面の輪郭の中心の位置は、補正前の画像における、底面の中心から天面の中心までのベクトルを底面の長軸方向にr/a倍し、短軸方向にr/b倍したベクトルに応じて、補正後の画像上の底面の中心から離れた位置となる。なお半径rは、補正後の各画像においてコロニーが検出可能なサイズとなるように、例えば、100〜300画素に設定される。   The shape correcting unit 22 corrects each image so that the shape of the bottom surface or the top surface of the petri dish becomes a shape when the bottom surface or the top surface is viewed from a predetermined direction. In the present embodiment, the shape correcting unit 22 corrects each image so as to have a top or bottom shape when the petri dish is viewed from directly above or below the petri dish, that is, a perfect circle. For example, in the elliptic equation representing the contour of the bottom of the petri dish, the radius in the major axis direction is a and the radius in the minor axis direction is b. At this time, the shape correcting unit 22 uses the center of the ellipse representing the bottom as the origin, and for each pixel of the image, the distance from the origin to the pixel is multiplied by r / a along the major axis direction, and the minor axis direction The image is corrected so as to be multiplied by r / b along. Thereby, the contour of the bottom surface on each image after correction is represented by an equation of a circle with a radius r centering on the same position as the center of the contour of the bottom surface in the image before correction. Similarly, the contour of the top of the petri dish is also expressed by a circle equation with a radius r. However, the position of the center of the contour of the top surface in the image after correction is calculated by multiplying the vector from the center of the bottom surface to the center of the top surface in the image before correction by r / a in the major axis direction of the bottom surface. According to the vector multiplied by r / b in the direction, the position is away from the center of the bottom surface on the corrected image. The radius r is set to, for example, 100 to 300 pixels so that a colony can be detected in each corrected image.

なお、本実施形態では、シャーレの底面の輪郭と天面の輪郭は相似している。そこで形状補正部22は、シャーレの底面の輪郭を表す楕円方程式の代わりに、シャーレの天面の輪郭を表す楕円方程式の長軸方向の半径a'と短軸方向の半径b'を、底面の輪郭を表す楕円方程式の長軸方向の半径aと短軸方向の半径bの代わりに利用してもよい。   In the present embodiment, the outline of the bottom surface of the petri dish is similar to the outline of the top surface. Therefore, instead of the elliptic equation representing the contour of the bottom surface of the petri dish, the shape correcting unit 22 determines the radius a ′ in the major axis direction and the radius b ′ in the minor axis direction of the elliptic equation representing the contour of the top surface of the petri dish, Instead of the radius a in the major axis direction and the radius b in the minor axis direction of the elliptic equation representing the contour, it may be used.

あるいは、形状補正部22は、各画像に対して視点変換処理を実行することで、シャーレの底面の形状または天面の形状が、底面または天面を所定の方向から見たときの形状となるように各画像を補正してもよい。例えば、形状補正部22は、画像上での長軸方向及び短軸方向と、長軸方向の半径と短軸方向の半径の比と、長軸方向の半径及びカメラ2の画角に基づいて、シャーレとカメラ2間の位置関係を推定できる。そこで形状補正部22は、その位置関係に基づいて、カメラ2の光軸がシャーレの底面の法線と平行になる位置でカメラ2がシャーレを撮影したときの画像となるように視点変換処理を行って、シャーレの底面の形状及び天面の形状が正円となるように各画像を補正する。   Or the shape correction | amendment part 22 performs a viewpoint conversion process with respect to each image, and the shape of the bottom face or top face of a petri dish becomes a shape when the bottom face or the top face is seen from a predetermined direction. In this way, each image may be corrected. For example, the shape correcting unit 22 is based on the major axis direction and the minor axis direction on the image, the ratio of the major axis direction radius to the minor axis direction radius, the major axis direction radius, and the angle of view of the camera 2. The positional relationship between the petri dish and the camera 2 can be estimated. Therefore, the shape correction unit 22 performs viewpoint conversion processing based on the positional relationship so that the image is obtained when the camera 2 captures the petri dish at a position where the optical axis of the camera 2 is parallel to the normal of the bottom surface of the petri dish. Then, each image is corrected so that the shape of the bottom surface of the petri dish and the shape of the top surface become a perfect circle.

形状補正部22は、補正後の各画像と、補正後の各画像での天面の輪郭に相当する円の方程式及び底面の輪郭に相当する円の方程式を内部領域抽出部23及び共通部分抽出部24へ渡す。なお、以下では、説明の便宜上、補正された画像を単に補正画像と呼ぶ。   The shape correcting unit 22 extracts the corrected image, the circle equation corresponding to the contour of the top surface and the circle equation corresponding to the contour of the bottom surface of each corrected image, and the internal region extracting unit 23 and the common part extracting unit. Pass to part 24. Hereinafter, for convenience of explanation, the corrected image is simply referred to as a corrected image.

内部領域抽出部23は、各補正画像から、それぞれ、シャーレの内部の一部に相当する領域である内部領域を抽出する。   The internal region extraction unit 23 extracts an internal region that is a region corresponding to a part of the interior of the petri dish from each corrected image.

再度図4を参照すると、画像上でシャーレの天面の輪郭401aに囲まれた領域と底面の輪郭401bに囲まれた領域とが重なる部分402が内部領域、すなわち、画像を撮影したカメラからシャーレ内の培地を直接見通せる領域であるので、コロニー数を計測する対象とすべき領域であることが分かる。なお、輪郭401aに囲まれた領域と輪郭401bに囲まれた領域の何れか一方にのみ含まれる部分は、シャーレの側壁に対応する。そして画像の補正の前後において、天面の輪郭と底面の輪郭の位置関係は変わらないので、補正画像上でも、天面の輪郭に囲まれた領域と底面の輪郭に囲まれた領域とが重なる部分が内部領域である。   Referring to FIG. 4 again, a portion 402 where an area surrounded by the contour 401a of the top surface of the petri dish and an area surrounded by the contour 401b of the bottom surface overlaps the inner area, that is, the petri dish from the camera that has captured the image. Since it is an area where the inside culture medium can be seen directly, it can be seen that it is an area to be counted. In addition, the part contained only in either one of the area | region enclosed by the outline 401a and the area | region enclosed by the outline 401b respond | corresponds to the side wall of a petri dish. Since the positional relationship between the top and bottom contours does not change before and after image correction, the region surrounded by the top contour overlaps the region surrounded by the bottom contour on the corrected image. The part is the inner area.

そこで内部領域抽出部23は、各補正画像において、天面の輪郭を表す円の方程式と底面の輪郭を表す円の方程式を参照して、天面の輪郭に囲まれた領域と底面の輪郭に囲まれた領域とが重なる部分を内部領域として抽出する。そして内部領域抽出部23は、補正画像ごとに、その補正画像の内部領域を表す情報を共通部分抽出部24に通知する。なお、内部領域を表す情報は、例えば、補正画像のサイズと同じサイズを持ち、かつ、内部領域に含まれる画素の値とその他の画素の値が異なる2値画像とすることができる。   Therefore, the internal region extraction unit 23 refers to the circle equation representing the contour of the top surface and the circle equation representing the contour of the bottom surface in each correction image, and determines the region surrounded by the top surface contour and the contour of the bottom surface. A portion that overlaps the enclosed area is extracted as an internal area. Then, the internal area extraction unit 23 notifies the common part extraction unit 24 of information indicating the internal area of the correction image for each correction image. Note that the information representing the internal area can be, for example, a binary image having the same size as the size of the corrected image and having different pixel values and other pixel values included in the internal area.

共通部分抽出部24は、各補正画像を位置合わせする。これにより、計測装置1は、同一のシャーレを撮影した複数枚の画像からシャーレ内に相当する領域を特定することができる。また共通部分抽出部24は、各補正画像の内部領域のうち、二つ以上の補正画像の内部領域が重なっている部分を共通部分として抽出する。   The common part extraction unit 24 aligns the corrected images. Thereby, the measuring device 1 can specify the area | region corresponded in a petri dish from the several image which image | photographed the same petri dish. Moreover, the common part extraction part 24 extracts the part which the internal area | region of two or more correction images overlaps among the internal area | regions of each correction image as a common part.

共通部分抽出部24は、各補正画像を位置合わせするための基準点とするために、例えば、補正画像ごとに、内部領域内で複数の特徴点を抽出する。例えば、共通部分抽出部24は、各補正画像の内部領域に対してコーナー検出フィルタなど、特徴点抽出用のフィルタを用いたフィルタ処理を行って特徴点を抽出する。あるいは、共通部分抽出部24は、所定のテンプレートと各補正画像の内部領域との間でテンプレートマッチングを行って正規化相互相関値を算出し、その正規化相互相関値が所定の閾値以上となる内部領域内の位置を特徴点として抽出してもよい。テンプレートは、例えば、コロニーの代表的な形状または輝度分布を持つ。あるいは、テンプレートは、シャーレの底面に設けられた特徴的な構造を表すものであってもよい。   For example, the common part extraction unit 24 extracts a plurality of feature points in the internal region for each correction image in order to use the correction images as reference points for aligning the correction images. For example, the common part extraction unit 24 performs a filtering process using a feature point extraction filter, such as a corner detection filter, on the internal region of each corrected image to extract feature points. Alternatively, the common part extraction unit 24 calculates a normalized cross-correlation value by performing template matching between a predetermined template and an internal region of each corrected image, and the normalized cross-correlation value is equal to or greater than a predetermined threshold value. A position in the internal region may be extracted as a feature point. For example, the template has a typical shape or luminance distribution of a colony. Alternatively, the template may represent a characteristic structure provided on the bottom surface of the petri dish.

次に、共通部分抽出部24は、例えば、各補正画像のうちの一つを基準画像とする。そして共通部分抽出部24は、基準画像以外の何れかの補正画像を対象画像とする。共通部分抽出部24は、例えば、基準画像の特徴点の一つを第1の基準特徴点として選択し、対象画像の特徴点の一つを第2の基準特徴点として選択する。そして共通部分抽出部24は、第2の基準特徴点と第1の基準特徴点が一致するように、対象画像を平行移動させる。その後、共通部分抽出部24は、対象画像を回転させながら、その二つの補正画像間で一致する特徴点の個数を求める。共通部分抽出部24は、第1の基準特徴点と第2の基準特徴点の組み合わせを変えつつ、上記の処理を繰り返して、一致する特徴点の個数と、その時の対象画像の平行移動量及び回転角度を求める。そして共通部分抽出部24は、一致する特徴点の個数が最大値となったときの平行移動量及び回転角度に応じて対象画像をアフィン変換する。これにより、共通部分抽出部24は、基準画像に対象画像を位置合わせする。   Next, the common part extraction unit 24 uses, for example, one of the corrected images as a reference image. Then, the common part extraction unit 24 sets any correction image other than the reference image as the target image. For example, the common part extraction unit 24 selects one of the feature points of the reference image as the first reference feature point, and selects one of the feature points of the target image as the second reference feature point. Then, the common part extraction unit 24 translates the target image so that the second reference feature point matches the first reference feature point. Thereafter, the common part extraction unit 24 calculates the number of feature points that match between the two corrected images while rotating the target image. The common part extraction unit 24 repeats the above processing while changing the combination of the first reference feature point and the second reference feature point, and the number of matching feature points, the amount of parallel movement of the target image at that time, and Find the rotation angle. Then, the common part extraction unit 24 affine-transforms the target image according to the parallel movement amount and the rotation angle when the number of matching feature points reaches the maximum value. As a result, the common part extraction unit 24 aligns the target image with the reference image.

あるいは、共通部分抽出部24は、基準画像と対象画像間の相対的な位置を変えつつパターンマッチングを行って、基準画像と対象画像が最も一致する対象画像の位置を検出してもよい。そして共通部分抽出部24は、その最も一致する位置へ対象画像を移動させることで、基準画像に対象画像を位置合わせしてもよい。   Alternatively, the common part extraction unit 24 may detect the position of the target image that most closely matches the reference image and the target image by performing pattern matching while changing the relative position between the reference image and the target image. And the common part extraction part 24 may align a target image with a reference | standard image by moving a target image to the position which most matches.

共通部分抽出部24は、対象画像を変えつつ、上記の処理を繰り返すことにより、全ての画像を位置合わせする。なお、共通部分抽出部24は、位置合わせされた対象画像を次の対象画像に対する基準画像としてもよい。そして共通部分抽出部24は、全ての補正画像が位置合わせされた状態で、画素ごとに、どの補正画像の内部領域に含まれるかを調べる。共通部分抽出部24は、画素ごとに、その画素が内部領域に含まれる補正画像の識別番号を対応付ける。複数の補正画像の識別番号が対応付けられた画素が、その複数の補正画像の共通部分に含まれる。   The common part extraction unit 24 aligns all the images by repeating the above processing while changing the target image. The common part extraction unit 24 may use the aligned target image as a reference image for the next target image. Then, the common part extraction unit 24 examines which correction image includes the internal region for each pixel in a state where all the correction images are aligned. The common part extraction unit 24 associates, for each pixel, the identification number of the corrected image in which the pixel is included in the internal region. Pixels associated with the identification numbers of a plurality of corrected images are included in the common part of the plurality of corrected images.

共通部分抽出部24は、画素ごとに対応付けられた、補正画像の識別番号を計数部25に通知する。   The common part extraction unit 24 notifies the counting unit 25 of the identification number of the corrected image associated with each pixel.

計数部25は、共通部分に含まれる物体が2以上の補正画像について重複して求められることがないように、各補正画像の内部領域のそれぞれから、容器内の物体の所定量を計測する。本実施形態では、計数部25は、共通部分に含まれる微生物のコロニーの数が2以上の補正画像について重複して求められることがないように、各補正画像の内部領域のそれぞれから、シャーレ内の微生物のコロニーの数を求める。   The counting unit 25 measures a predetermined amount of the object in the container from each of the internal regions of each correction image so that the object included in the common part is not obtained redundantly for two or more correction images. In the present embodiment, the counting unit 25 calculates the number of colonies of microorganisms included in the common part from each of the internal regions of each correction image so that the number of colonies of microorganisms included in the common part is not duplicated. Obtain the number of microbial colonies.

まず、計数部25は、各補正画像の内部領域から、それぞれコロニーを検出する。そのために、計数部25は、例えば、内部領域内で輝度が予め定められた所定値以上となる局所的なピークとなる点を抽出する。計数部25は、抽出されたピーク点のうち、予め規定された閾値より近くにあるピーク点の組み合わせを求め、その組み合わせごとに、ピーク点同士を結ぶ直線上の画素の輝度変化を求める。そして計数部25は、その輝度変化が所定の閾値未満であれば、その組み合わせに含まれるピーク点を一つのコロニーとして検出し、その組み合わせに含まれる各ピーク点の中心をコロニーの位置とする。一方、その輝度変化が所定の閾値以上であれば、計数部25は、その組み合わせに含まれる各ピーク点をそれぞれ別個のコロニーとして検出する。   First, the counting unit 25 detects colonies from the internal area of each correction image. For this purpose, the counting unit 25 extracts, for example, a point that becomes a local peak where the luminance is equal to or higher than a predetermined value in the internal region. The counting unit 25 obtains a combination of peak points that are closer than a predetermined threshold among the extracted peak points, and obtains a luminance change of a pixel on a straight line connecting the peak points for each combination. If the luminance change is less than a predetermined threshold, the counting unit 25 detects the peak point included in the combination as one colony, and sets the center of each peak point included in the combination as the colony position. On the other hand, if the luminance change is equal to or greater than a predetermined threshold, the counting unit 25 detects each peak point included in the combination as a separate colony.

あるいは、計数部25は、例えば、各補正画像の内部領域とコロニーを表すテンプレートとの間で相対的な位置を変えつつテンプレートマッチングを行って、内部領域内の各画素について正規化相互相関値を算出する。そして計数部25は、その正規化相互相関値が所定の検出閾値以上となる画素に、コロニーが存在すると判定する。あるいはまた、計数部25は、内部領域を複数のブロックに分割し、ブロックごとに輝度、色などに関する特徴量を求めてもよい。そして計数部25は、その特徴量を、サポートベクトルマシン、adaBoost識別器といった、コロニーが存在するか否かの判定結果を出力するように予め学習された識別器に入力することで、ブロックごとにコロニーが存在するか否かを判定してもよい。   Alternatively, for example, the counting unit 25 performs template matching while changing the relative position between the internal region of each corrected image and the template representing the colony, and calculates a normalized cross-correlation value for each pixel in the internal region. calculate. Then, the counting unit 25 determines that a colony exists in a pixel whose normalized cross-correlation value is equal to or greater than a predetermined detection threshold. Alternatively, the counting unit 25 may divide the internal region into a plurality of blocks and obtain a feature amount related to luminance, color, etc. for each block. And the counting part 25 inputs the feature-value into the discriminator learned beforehand so that it may output the determination result whether a colony exists, such as a support vector machine and an adaBoost discriminator, for every block. You may determine whether a colony exists.

計数部25は、各補正画像の内部領域からコロニーが検出されると、検出されたコロニーの数の合計を算出する。その際、計数部25は、各補正画像においてコロニーが有ると判定された画素が共通部分に含まれるか否か判定する。コロニーが有ると判定された画素が共通部分に含まれない場合、すなわち、何れかの一つの補正画像にのみ写っているコロニーである場合、計数部25は、コロニーの数を1インクリメントする。   When a colony is detected from the internal area of each correction image, the counting unit 25 calculates the total number of detected colonies. At that time, the counting unit 25 determines whether or not the pixel determined to have a colony in each corrected image is included in the common part. If the pixel determined to have a colony is not included in the common part, that is, if it is a colony that appears only in one of the corrected images, the counting unit 25 increments the number of colonies by one.

一方、計数部25は、共通部分に含まれると判定されたコロニーが検出された画素を、その画素について重なっている補正画像の組み合わせごとに分類する。そして計数部25は、補正画像の組み合わせごとに、その組み合わせに含まれる補正画像のうちでその共通部分から検出されたコロニー数の最大値を、その組み合わせの補正画像間の共通部分に写っているコロニーの数とする。   On the other hand, the counting unit 25 classifies the pixels in which the colonies determined to be included in the common part are detected for each combination of correction images overlapping with each other. For each combination of correction images, the counting unit 25 reflects the maximum value of the number of colonies detected from the common portion among the correction images included in the combination in the common portion between the correction images of the combination. The number of colonies.

図5を参照しつつ、コロニー数計測の例を示す。図5は、位置合わせされた3枚の補正画像の各内部領域と検出されたコロニーの位置の関係を表す模式図である。この例では、各補正画像の内部領域501〜503が位置合わせされている。このうち、共通部分511では、内部領域501と内部領域502とが重なっている。また共通部分512では、内部領域501と内部領域503とが重なっている。さらに共通部分513では、内部領域502と内部領域503とが重なっている。そして共通部分514では、内部領域501〜内部領域503の全てが重なっている。   An example of colony count measurement is shown with reference to FIG. FIG. 5 is a schematic diagram showing the relationship between the internal areas of the three aligned corrected images and the position of the detected colony. In this example, the internal areas 501 to 503 of each corrected image are aligned. Among these, in the common part 511, the internal region 501 and the internal region 502 overlap. In the common portion 512, the internal region 501 and the internal region 503 overlap. Further, in the common portion 513, the internal region 502 and the internal region 503 overlap. In the common portion 514, all of the internal region 501 to the internal region 503 overlap.

図5では、内部領域501から検出されたコロニー521は丸印で表される。同様に、内部領域502から検出されたコロニー522は菱形で表される。そして内部領域503から検出されたコロニー523は星印で表される。この例では、内部領域501〜503について、他の内部領域と重なっていない部分からは、それぞれ、2個、2個、1個のコロニーが検出されている。また、内部領域501と内部領域502とが重なった共通部分511では、内部領域501から2個のコロニーが検出され、一方、内部領域502から3個のコロニーが検出されている。したがって、計数部25は、共通部分511のコロニー数を3とする。   In FIG. 5, the colony 521 detected from the internal region 501 is represented by a circle. Similarly, the colony 522 detected from the internal region 502 is represented by a rhombus. A colony 523 detected from the internal region 503 is represented by an asterisk. In this example, two, two, and one colony are detected from the portions of the internal regions 501 to 503 that do not overlap with other internal regions, respectively. In the common portion 511 where the internal region 501 and the internal region 502 overlap, two colonies are detected from the internal region 501, while three colonies are detected from the internal region 502. Therefore, the counting unit 25 sets the number of colonies of the common portion 511 to 3.

同様に、内部領域501と内部領域503とが重なった共通部分512では、内部領域501から1個のコロニーが検出され、一方、内部領域503から2個のコロニーが検出されている。したがって、計数部25は、共通部分512のコロニー数を2とする。さらに、内部領域502と内部領域503とが重なった共通部分513では、内部領域502から2個のコロニーが検出され、一方、内部領域503からも2個のコロニーが検出されている。したがって、計数部25は、共通部分513のコロニー数を2とする。さらに、内部領域501〜503の全てが重なった共通部分514では、内部領域501〜503から、それぞれ、3個、1個、2個のコロニーが検出されている。したがって、計数部25は、共通部分514のコロニー数を3とする。
以上より、計数部25は、コロニー数の合計を、2+2+1(単独領域の個数)+3(共通部分511)+2(共通部分512)+2(共通部分513)+3(共通部分514)=15個とする。
上記のように、内部領域及び共通部分のコロニー数を求めることで、計数部25は、コロニーの検出漏れを抑制することができる。
Similarly, in the common portion 512 where the internal region 501 and the internal region 503 overlap, one colony is detected from the internal region 501, while two colonies are detected from the internal region 503. Therefore, the counting unit 25 sets the number of colonies of the common portion 512 to 2. Furthermore, in the common part 513 where the internal region 502 and the internal region 503 overlap, two colonies are detected from the internal region 502, while two colonies are also detected from the internal region 503. Therefore, the counting unit 25 sets the number of colonies of the common portion 513 to 2. Furthermore, in the common part 514 where all of the inner regions 501 to 503 are overlapped, three, one, and two colonies are detected from the inner regions 501 to 503, respectively. Therefore, the counting unit 25 sets the number of colonies of the common portion 514 to 3.
From the above, the counting unit 25 calculates the total number of colonies as 2 + 2 + 1 (the number of single regions) +3 (common portion 511) +2 (common portion 512) +2 (common portion 513) +3 (common) The portion 514) = 15.
As described above, the counting unit 25 can suppress colony detection omission by obtaining the number of colonies in the internal region and the common portion.

なお、計数部25は、共通部分に含まれるコロニーの個数を、その共通部分と重なる各補正画像の内部領域から検出されたコロニーの個数の平均値としてもよい。あるいは、計数部25は、共通部分に含まれるコロニーの個数を、その共通部分と重なる各補正画像の内部領域から検出されたコロニーの個数に、その内部領域に対応する補正前の画像の撮影方向に応じた重み係数を乗じた値の合計としてもよい。この場合、撮影時のカメラ2の位置がシャーレの真上に近いほど、すなわち、カメラ2の光軸とシャーレの底面の法線のなす角が小さいほど、側壁付近を除いては、画像上でコロニー同士が重なって見える可能性が小さくなると考えられる。したがって、重み係数は、カメラ2の光軸とシャーレの底面の法線のなす角が小さいほど大きくなることが好ましい。またシャーレの底面の法線とカメラ2の光軸となす角が小さいほど、画像上でのシャーレの底面の形状は正円に近づく。そこで計数部25は、共通部分と重なる各内部領域に対応する補正前の画像上でのシャーレの底面を表す楕円方程式の長軸の半径aに対する短軸の半径bの比(b/a)の合計Σ(b/a)で、各画像のその比(b/a)を割った値を重み係数としてもよい。このように、カメラの向きに応じてコロニーの個数を加重平均することで、計数部25は、共通部分に含まれるコロニーの個数を正確に算出できる。   Note that the counting unit 25 may use the number of colonies included in the common part as an average value of the number of colonies detected from the internal area of each correction image overlapping the common part. Alternatively, the counting unit 25 sets the number of colonies included in the common part to the number of colonies detected from the internal area of each corrected image overlapping the common part, and the photographing direction of the image before correction corresponding to the internal area It is good also as the sum total of the value which multiplied the weighting coefficient according to. In this case, as the position of the camera 2 at the time of shooting is closer to the top of the petri dish, that is, the smaller the angle between the optical axis of the camera 2 and the normal line of the bottom of the petri dish, The possibility that colonies appear to overlap each other is considered to be small. Therefore, it is preferable that the weighting factor increases as the angle formed by the normal line between the optical axis of the camera 2 and the bottom surface of the petri dish decreases. Further, the smaller the angle formed between the normal line of the bottom surface of the petri dish and the optical axis of the camera 2, the closer the shape of the bottom surface of the petri dish on the image is to a perfect circle. Therefore, the counting unit 25 calculates the ratio (b / a) of the radius b of the minor axis to the radius a of the major axis of the elliptic equation representing the bottom surface of the petri dish on the image before correction corresponding to each internal region overlapping with the common part. A value obtained by dividing the ratio (b / a) of each image by the total Σ (b / a) may be used as the weighting coefficient. In this way, by calculating the weighted average of the number of colonies according to the direction of the camera, the counting unit 25 can accurately calculate the number of colonies included in the common part.

あるいはまた、計数部25は、共通部分と重なる内部領域の一つから検出されたコロニーの位置が他の内部領域から検出されたコロニーの位置と一致する場合には、それらのコロニーは同じものとして、コロニー数を1だけインクリメントしてもよい。一方、共通部分と重なる複数の内部領域のそれぞれから検出されたコロニーの位置が互いに異なる場合には、計数部25は、それらのコロニーは別個のものとして、検出された数だけコロニー数をカウントしてもよい。例えば、図5において、共通部分513では、コロニー531は、内部領域502と内部領域503の両方から同じ位置で検出されているので、計数部25は、コロニー531を一つとしてカウントする。一方、コロニー532は、内部領域502からは検出されているが、内部領域503からは検出されていない。逆に、コロニー533は、内部領域503からは検出されているが、内部領域502からは検出されていない。したがって計数部25は、コロニー532、533を、それぞれ、別個のコロニーとしてカウントする。結果として、計数部25は、共通部分513に含まれるコロニー数を3個とする。
この変形例によれば、何れか一つの画像から検出されたコロニーは全てカウントされるので、計数部25は、本来のコロニー数よりもコロニー数を少なく推定してしまうことを抑制できる。
Alternatively, when the position of the colony detected from one of the internal areas overlapping with the common part matches the position of the colony detected from the other internal area, the counting unit 25 assumes that those colonies are the same. The colony number may be incremented by one. On the other hand, when the positions of the colonies detected from each of the plurality of internal regions overlapping the common part are different from each other, the counting unit 25 counts the number of colonies as the detected number, assuming that those colonies are separate. May be. For example, in FIG. 5, in the common portion 513, the colony 531 is detected at the same position from both the internal region 502 and the internal region 503, so the counting unit 25 counts the colony 531 as one. On the other hand, the colony 532 is detected from the inner area 502 but not detected from the inner area 503. Conversely, the colony 533 is detected from the inner region 503 but not from the inner region 502. Therefore, the counting unit 25 counts the colonies 532 and 533 as separate colonies. As a result, the counting unit 25 sets the number of colonies included in the common portion 513 to three.
According to this modification, all the colonies detected from any one of the images are counted, and therefore the counting unit 25 can suppress estimating the number of colonies less than the original number of colonies.

計数部25は、検出したコロニー数の合計を表示部12に出力する。あるいは、計数部25は、検出したコロニー数の合計を記憶部13に記憶させてもよい。   The counting unit 25 outputs the total number of detected colonies to the display unit 12. Alternatively, the counting unit 25 may store the total number of detected colonies in the storage unit 13.

図6は、計測処理の動作フローチャートである。
輪郭検出部21は、同一のシャーレを互いに異なる方向から撮影して得られた複数の画像のそれぞれから、シャーレの天面の輪郭の少なくとも一部及び底面の輪郭の少なくとも一部を検出する(ステップS101)。形状補正部22は、シャーレの底面の形状または天面の形状が、シャーレの真上から底面または天面を見たときの形状、すなわち、正円となるように各画像を補正する(ステップS102)。
FIG. 6 is an operation flowchart of the measurement process.
The contour detection unit 21 detects at least part of the contour of the top surface of the petri dish and at least part of the contour of the bottom surface from each of a plurality of images obtained by photographing the same petri dish from different directions (step S101). The shape correcting unit 22 corrects each image so that the shape of the bottom surface or top surface of the petri dish becomes a shape when the bottom surface or top surface is viewed from directly above the petri dish, that is, a perfect circle (step S102). ).

内部領域抽出部23は、各補正画像について底面の輪郭で囲まれた領域と天面の輪郭で囲まれた領域とが重なった領域を内部領域として抽出する(ステップS103)。そして共通部分抽出部24は、各補正画像の内部領域を位置合わせして、複数の補正画像の内部領域が重なった共通部分を抽出することでシャーレ内の領域を特定する(ステップS104)。
計数部25は、共通部分に含まれる微生物のコロニーの数が2以上の補正画像について重複して求められることがないように、図5を用いて説明したような方法により、各補正画像の内部領域のそれぞれから検出したコロニーの数に基づいて、シャーレ内の微生物のコロニーの数を求める(ステップS105)。そして計測装置1は、そのコロニー数を、例えば、表示部12に表示させる。その後、計測装置1は、計測処理を終了する。
The internal area extraction unit 23 extracts, as an internal area, an area where the area surrounded by the outline of the bottom surface and the area surrounded by the outline of the top surface overlap each correction image (step S103). Then, the common part extraction unit 24 aligns the internal areas of the respective correction images, and extracts the common part where the internal areas of the plurality of correction images overlap each other, thereby specifying the area in the petri dish (step S104).
The counting unit 25 uses the method described with reference to FIG. 5 so that the number of colonies of microorganisms included in the common part is not redundantly obtained for correction images of two or more. Based on the number of colonies detected from each of the regions, the number of microbial colonies in the petri dish is obtained (step S105). And the measuring device 1 displays the number of colonies on the display part 12, for example. Thereafter, the measuring device 1 ends the measurement process.

以上に説明してきたように、この計測装置は、計数対象の物体を収容する容器を互いに異なる方向から撮影して得られる複数の画像のそれぞれから、容器の天面と底面が重なった領域を内部領域として抽出する。そしてこの計測装置は、各内部領域を位置合わせして、複数の内部領域が重なる共通部分を特定した上で、共通部分に含まれる物体の所定量を2重計上しないように、各内部領域に含まれる物体の所定量をカウントすることで、容器内の物体の所定量を求める。そのため、この計測装置は、容器撮影用の専用機材を用いなくても、その容器を異なる方向から撮影した複数の画像から、計測対象とすべき領域を特定することができる。また、そのような画像を用いて容器内の物体の所定量を求めることができる。またこの計測装置は、容器を斜め方向から撮影して得られる画像を利用できるので、容器の側壁近傍などにおいて検出対象の物体が垂直方向に重なって存在する場合でも、物体の所定量を正確に計数できる。   As described above, this measuring device includes an area in which the top surface and the bottom surface of the container overlap each other from each of a plurality of images obtained by photographing the container containing the object to be counted from different directions. Extract as a region. And this measuring device aligns each internal area, specifies a common part where a plurality of internal areas overlap, and then avoids double counting a predetermined amount of an object included in the common part. The predetermined amount of the object in the container is obtained by counting the predetermined amount of the contained object. Therefore, this measuring apparatus can specify a region to be measured from a plurality of images obtained by photographing the container from different directions without using dedicated equipment for container photographing. In addition, a predetermined amount of an object in the container can be obtained using such an image. In addition, since this measuring device can use an image obtained by photographing the container from an oblique direction, even when the object to be detected is present in the vertical direction in the vicinity of the side wall of the container, the predetermined amount of the object is accurately determined. Can count.

なお、輪郭検出部21は、楕円近似によって容器の一例であるシャーレの天面の輪郭及び底面の輪郭を検出する場合、天面の輪郭の一部及び底面の輪郭の一部に沿った楕円が検出されることもある。   In addition, when detecting the outline of the top surface and the bottom surface of the petri dish that is an example of the container by the ellipse approximation, the contour detection unit 21 detects an ellipse along a part of the top surface contour and a part of the bottom surface contour. It may be detected.

図7(a)は、斜め上方からシャーレを撮影した場合における、画像から検出されるエッジの集合の一例を示す図である。また図7(b)〜図7(e)は、それぞれ、図7(a)に示された画像からエッジの集合を楕円近似することによって検出される楕円の一例を示す図である。   FIG. 7A is a diagram illustrating an example of a set of edges detected from an image when a petri dish is photographed from diagonally above. FIGS. 7B to 7E are diagrams showing examples of ellipses detected by elliptically approximating a set of edges from the image shown in FIG. 7A.

図7(a)に示されるように、画像700では、天面の輪郭に相当するエッジの集合701と底面の輪郭に相当するエッジの集合702が、垂直方向に沿って互いに重なって検出される。ここで、画像700のエッジの集合を楕円近似すると、図7(b)及び図7(c)に示される、天面の輪郭を表す楕円711及び底面の輪郭を表す楕円712が得られることが好ましい。しかし、実際には、図7(d)に示される、底面の輪郭の画像上で上側のエッジと、天面の輪郭の画像上で下側のエッジを近似する楕円713、あるいは、図7(e)に示される、天面の輪郭の画像上で上側のエッジと底面の輪郭の画像上で下側のエッジを近似する楕円714が得られることがある。楕円713は、内部領域の輪郭を表し、楕円714は、シャーレの外形を表す。   As shown in FIG. 7A, in the image 700, a set of edges 701 corresponding to the contour of the top surface and a set of edges 702 corresponding to the contour of the bottom surface overlap each other along the vertical direction. . Here, when an edge set of the image 700 is approximated by an ellipse, an ellipse 711 representing the contour of the top surface and an ellipse 712 representing the contour of the bottom surface shown in FIGS. 7B and 7C may be obtained. preferable. However, actually, an ellipse 713 that approximates the upper edge on the bottom contour image and the lower edge on the top contour image shown in FIG. 7D, or FIG. An ellipse 714 approximating the upper edge on the top contour image and the lower edge on the bottom contour image shown in e) may be obtained. An ellipse 713 represents the outline of the inner region, and an ellipse 714 represents the outline of the petri dish.

エッジの集合を楕円近似することにより、この4種類の楕円のうちの一つ以上が検出される可能性が高い。そこで輪郭検出部21は、検出された楕円の数及び位置関係に基づいて、天面の輪郭及び底面の輪郭を決定してもよい。   By ellipse approximation of a set of edges, there is a high possibility that one or more of these four types of ellipses will be detected. Therefore, the contour detection unit 21 may determine the contour of the top surface and the contour of the bottom surface based on the number of ellipses detected and the positional relationship.

図8は、検出された楕円と天面及び底面の判別の可否との関係を表すテーブルを示す図である。
テーブル800において、各行は、それぞれ、検出された楕円の一つの組み合わせに対応する。左端の列801の各欄には、それぞれ、便宜的に付した、検出された楕円の組み合わせの識別番号が示される。列802〜805の各欄は、それぞれ、天面の輪郭、底面の輪郭、内部領域の輪郭、シャーレの外形に相当する楕円のうち、検出されたものを丸印で表す。列806は、輪郭検出部21が天面の輪郭と底面の輪郭を識別できる場合の天面の輪郭に相当する楕円と底面の輪郭に相当する楕円を示す。一方、列807は、輪郭検出部21が天面の輪郭と底面の輪郭の少なくとも一方を識別できるか否かを示す。
FIG. 8 is a diagram showing a table representing the relationship between the detected ellipse and whether or not the top and bottom surfaces can be distinguished.
In the table 800, each row corresponds to one combination of detected ellipses. Each column of the leftmost column 801 shows an identification number of a combination of detected ellipses attached for convenience. Each column in columns 802 to 805 represents a detected one of the ellipses corresponding to the contour of the top surface, the contour of the bottom surface, the contour of the internal area, and the contour of the petri dish with circles. A column 806 indicates an ellipse corresponding to the contour of the top surface and an ellipse corresponding to the contour of the bottom surface when the contour detection unit 21 can identify the contour of the top surface and the contour of the bottom surface. On the other hand, a column 807 indicates whether or not the contour detection unit 21 can identify at least one of the top surface contour and the bottom surface contour.

テーブル800に示されるように、互いに交差する2個の楕円を含む、2個以上の楕円が検出された場合には、輪郭検出部21は、交差する二つの楕円のうちの画像上で上側の楕円を天面の輪郭と識別し、下側の楕円を底面の輪郭と識別できる。また、3個の楕円が検出され、そのうちの二つの楕円の何れの組み合わせについても互いに交差しない場合には、内部領域の輪郭及びシャーレの外形に相当する楕円と、天面の輪郭または底面の輪郭の何れか一方に相当する楕円が検出されている。この場合において、最も外側の楕円がシャーレの外形に相当し、最も内側の楕円が内部領域の輪郭に相当する。そして、それら二つ以外の楕円(以下では、便宜上、着目楕円と呼ぶ)の画像上で上側がシャーレの外形に相当する楕円と接し、下側が内部領域の輪郭に相当する楕円と接する場合、着目楕円は天面の輪郭に相当する。一方、着目楕円の画像上で上側が内部領域の輪郭に相当する楕円と接し、下側がシャーレの外形に相当する楕円と接する場合、着目楕円は底面の輪郭に相当する。   As shown in the table 800, when two or more ellipses including two ellipses intersecting each other are detected, the contour detection unit 21 sets the upper side on the image of the two intersecting ellipses. The ellipse can be identified from the contour of the top surface, and the lower ellipse can be identified from the contour of the bottom surface. In addition, when three ellipses are detected and none of the combinations of the two ellipses intersect with each other, an ellipse corresponding to the contour of the inner region and the petri dish and the contour of the top surface or the bottom surface An ellipse corresponding to either one of these has been detected. In this case, the outermost ellipse corresponds to the outline of the petri dish, and the innermost ellipse corresponds to the outline of the inner region. If the upper side touches an ellipse corresponding to the outline of the petri dish and the lower side touches an ellipse corresponding to the outline of the internal region on the image of an ellipse other than these two (hereinafter referred to as the target ellipse for convenience), The ellipse corresponds to the contour of the top surface. On the other hand, when the upper side touches an ellipse corresponding to the outline of the internal region on the image of the target ellipse and the lower side touches an ellipse corresponding to the outline of the petri dish, the target ellipse corresponds to the outline of the bottom surface.

検出された楕円の組み合わせが上記以外の場合には、輪郭検出部21は、天面の輪郭及び底面の輪郭を識別できない。   If the detected combination of ellipses is other than the above, the contour detection unit 21 cannot identify the top surface contour and the bottom surface contour.

ただし、二つの楕円が検出され、そのうちの一方の楕円に他方の楕円全体が含まれる場合には、外側の楕円はシャーレの外形に相当し、内側の楕円は内部領域に相当する。この場合には、輪郭検出部21は、内側の楕円の画像上で上半分に相当するエッジと外側の楕円の画像上で下半分に相当するエッジを再度楕円近似することで、底面の輪郭に相当する楕円を検出できる。   However, when two ellipses are detected and one of the ellipses includes the whole of the other ellipse, the outer ellipse corresponds to the outline of the petri dish, and the inner ellipse corresponds to the inner region. In this case, the contour detection unit 21 re-ellipses the edge corresponding to the upper half on the inner ellipse image and the edge corresponding to the lower half on the outer ellipse image to obtain the contour of the bottom surface. The corresponding ellipse can be detected.

輪郭検出部21は、テーブル800に従って、画像から検出された楕円に基づいて天面の輪郭及び底面の輪郭のうちの少なくとも一方と内部領域を識別できる場合、その画像を計測処理の以降の処理に利用する。一方、画像から検出された楕円に基づいて天面の輪郭及び底面の輪郭のうちの何れも識別できない場合、輪郭検出部21は、その画像を以降の処理に利用せず、破棄してもよい。   When the contour detection unit 21 can identify at least one of the contour of the top surface and the contour of the bottom surface and the internal region based on the ellipse detected from the image according to the table 800, the image is used for the subsequent processing of the measurement processing. Use. On the other hand, if neither the top surface contour nor the bottom surface contour can be identified based on the ellipse detected from the image, the contour detection unit 21 may discard the image without using it for the subsequent processing. .

また変形例によれば、容器の外形が円筒状でなく、他の形状、例えば、直方体の形状を有していることがある。この場合、輪郭検出部21は、容器の天面の輪郭形状及び底面の輪郭形状に応じてエッジの集合を近似すればよい。例えば、容器の外形が直方体であれば、輪郭検出部21は、エッジの集合を台形で近似すればよい。そして形状補正部22は、天面の輪郭に相当する台形及び底面の輪郭に相当する台形が長方形となるように画像を補正すればよい。   Further, according to the modification, the outer shape of the container is not cylindrical, and may have another shape, for example, a rectangular parallelepiped shape. In this case, the contour detection unit 21 may approximate a set of edges according to the contour shape of the top surface and the contour shape of the bottom surface of the container. For example, if the outer shape of the container is a rectangular parallelepiped, the contour detection unit 21 may approximate the set of edges with a trapezoid. The shape correcting unit 22 may correct the image so that the trapezoid corresponding to the contour of the top surface and the trapezoid corresponding to the contour of the bottom surface are rectangular.

さらに他の変形例によれば、共通部分抽出部24は、各画像から検出された有効部分領域を位置合わせして、同じ位置の画素の値(輝度値または赤、緑、青の各色の値)をそれぞれ平均することによって合成画像を生成してもよい。そして計数部25は、その合成画像における内部領域から、コロニーを検出し、そのコロニー数の合計を求めてもよい。   According to still another modification, the common part extraction unit 24 aligns the effective partial areas detected from the respective images, and values of the pixels at the same position (luminance values or values of each color of red, green, and blue) ) May be averaged to generate a composite image. And the counting part 25 may detect a colony from the internal area | region in the synthesized image, and may obtain | require the sum total of the number of colonies.

さらに他の変形例によれば、計数部25は、補正前の各画像の内部領域から、検出対象の物体が写っている画素を検出してもよい。例えば、シャーレの側壁近傍の培地のコロニーのように、検出対象の物体が容器の底面に対して斜め方向に並んでいる場合では、補正画像よりも、補正前の画像の方が、画像上での物体の分離が容易である。このような場合、計数部25は、補正前の画像の内部領域から検出対象の物体が写っている画素を検出することが好ましい。   According to still another modification, the counting unit 25 may detect a pixel in which an object to be detected appears from the internal area of each image before correction. For example, when the objects to be detected are arranged in an oblique direction with respect to the bottom surface of the container, such as a culture colony near the side wall of the petri dish, the image before the correction is more on the image than the correction image. It is easy to separate the objects. In such a case, it is preferable that the counting unit 25 detects a pixel in which an object to be detected is captured from the internal region of the image before correction.

この場合、計数部25は、形状補正部22による処理と同様の処理を物体が検出された画素に対して行うことで、補正画像上での物体が検出された画素の位置を特定できる。さらに、計数部25は、位置合わせの際に求められた画像の平行移動量及び回転量に従って、物体が検出された画素の位置を移動させることで、位置合わせ後の補正画像上での物体が検出された画素の位置を特定できる。   In this case, the counting unit 25 can specify the position of the pixel where the object is detected on the corrected image by performing the same process as the process performed by the shape correcting unit 22 on the pixel where the object is detected. Further, the counting unit 25 moves the position of the pixel where the object is detected according to the parallel movement amount and the rotation amount of the image obtained at the time of alignment, so that the object on the corrected image after alignment is displayed. The position of the detected pixel can be specified.

さらに他の変形例によれば、形状補正部22は、容器の天面または底面の形状が、容器の天面または底面を真上以外の他の方向から見たときの形状となるように各画像を補正してもよい。特に、容器の側壁の複数個所に特徴的な構造がある場合、形状補正部22は、例えば、テンプレートマッチングにより画像上でその構造の何れかを検出する。そして形状補正部22は、検出した構造の位置から画像上での容器の天面または底面の輪郭の上端または下端までの回転角を求めることで、底面に平行な面における撮影方向を特定できる。また上記のように、容器が円筒形状を有していれば、形状補正部22は、容器の底面の輪郭を近似する楕円の長軸の長さと短軸の長さの比で、その底面の法線に対する撮影方向の傾きを特定できる。そして形状補正部22は、各画像について、容器の底面に平行な面における撮影方向及びその底面の法線に対する撮影方向の傾きが一致するように、視点変換処理を行えばよい。   According to still another modification, the shape correction unit 22 is configured so that the shape of the top surface or bottom surface of the container is the shape when the top surface or bottom surface of the container is viewed from a direction other than directly above. The image may be corrected. In particular, when there are characteristic structures at a plurality of locations on the side wall of the container, the shape correction unit 22 detects any of the structures on the image by template matching, for example. Then, the shape correcting unit 22 can specify the photographing direction on the plane parallel to the bottom surface by obtaining the rotation angle from the detected position of the structure to the upper end or lower end of the contour of the top surface or the bottom surface of the container on the image. Further, as described above, if the container has a cylindrical shape, the shape correction unit 22 determines the ratio of the major axis length of the ellipse that approximates the contour of the bottom surface of the container to the length of the minor axis. The inclination of the shooting direction with respect to the normal can be specified. Then, the shape correction unit 22 may perform viewpoint conversion processing for each image so that the shooting direction on a plane parallel to the bottom surface of the container matches the inclination of the shooting direction with respect to the normal line of the bottom surface.

さらに他の変形例によれば、計数部25は、容器内の物体の所定量として、容器内の物体の数以外のその物体に関する量、例えば、容器内に占める物体の面積を求めてもよい。そして容器内に占める物体は、例えば、シャーレ内の培地、あるいは微生物のコロニーとすることができる。この場合、計数部25は、位置合わせされた各補正画像の内部領域のうちで検出対象となる物体が写っている画素の数の合計を物体の面積とすればよい。ただしこの場合も、共通部分では、検出対象となる物体が写っている画素の数が2重計上されないように、計数部25は、その共通部分において物体が検出された画素の数を、例えば、上記の実施形態と同様の手法に従って決定すればよい。   According to still another modification, the counting unit 25 may obtain an amount related to the object other than the number of objects in the container, for example, the area of the object in the container, as the predetermined amount of the object in the container. . The object occupying the container can be, for example, a medium in a petri dish or a colony of microorganisms. In this case, the counting unit 25 may set the area of the object as the total number of pixels in which the object to be detected is shown in the internal regions of the aligned corrected images. However, also in this case, in the common part, the counting unit 25 determines the number of pixels in which the object is detected in the common part, for example, so that the number of pixels in which the object to be detected is reflected is not doubled. What is necessary is just to determine according to the method similar to said embodiment.

ここに挙げられた全ての例及び特定の用語は、読者が、本発明及び当該技術の促進に対する本発明者により寄与された概念を理解することを助ける、教示的な目的において意図されたものであり、本発明の優位性及び劣等性を示すことに関する、本明細書の如何なる例の構成、そのような特定の挙げられた例及び条件に限定しないように解釈されるべきものである。本発明の実施形態は詳細に説明されているが、本発明の精神及び範囲から外れることなく、様々な変更、置換及び修正をこれに加えることが可能であることを理解されたい。   All examples and specific terms listed herein are intended for instructional purposes to help the reader understand the concepts contributed by the inventor to the present invention and the promotion of the technology. It should be construed that it is not limited to the construction of any example herein, such specific examples and conditions, with respect to showing the superiority and inferiority of the present invention. Although embodiments of the present invention have been described in detail, it should be understood that various changes, substitutions and modifications can be made thereto without departing from the spirit and scope of the present invention.

以上説明した実施形態及びその変形例に関し、更に以下の付記を開示する。
(付記1)
底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出し、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成し、
生成した前記複数の補正画像のそれぞれについて、前記側面の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出し、
前記複数の補正画像のそれぞれの部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する、
処理をコンピュータに実行させるコンピュータプログラム。
(付記2)
前記物体の量は、前記容器内に収容されている前記物体の数であり、
前記物体の量を計測することは、二つ以上の前記補正画像の前記部分領域が重なる共通部分及び前記部分領域のそれぞれから検出した前記物体の数に基づいて、前記容器内の前記物体の数を求める、付記1に記載のコンピュータプログラム。
(付記3)
前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体の数のうちの最大値を当該共通部分に含まれる物体の数とする、付記2に記載のコンピュータプログラム。
(付記4)
前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体の数について、対応する画像についての撮影方向が前記容器の底面の法線に近いほど大きくなる重み係数を用いて加重平均することにより得られた数を当該共通部分に含まれる物体の数とする、付記2に記載のコンピュータプログラム。
(付記5)
前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体のうち、当該二つ以上の前記部分領域を位置合わせしたときに同じ位置となる物体を同一の物体とし、一方、前記部分領域のそれぞれから検出された物体のうち、当該二つ以上の前記部分領域を位置合わせしたときに異なる位置となる物体をそれぞれ別個の物体として当該共通部分に含まれる物体の数を求める、付記2に記載のコンピュータプログラム。
(付記6)
前記容器はシャーレであり、前記物体の数は、前記容器内で培養された微生物のコロニーの数である、付記2〜5の何れかに記載のコンピュータプログラム。
(付記7)
前記所定の方向は、前記容器の底面の法線方向である、付記1〜6の何れかに記載のコンピュータプログラム。
(付記8)
前記側壁の上部の縁により形成される閉形状の輪郭及び底面の輪郭は円であり、
前記閉形状の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出することは、前記複数の画像のそれぞれについて、当該画像からエッジを検出し、該エッジの集合を楕円近似することによって前記閉形状の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出する、付記1〜7の何れかに記載のコンピュータプログラム。
(付記9)
前記閉形状の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出することは、前記複数の画像の何れかにおいて、前記エッジの集合を楕円近似することによって3個以上の楕円が検出され、検出された楕円のうちの二つが交差している場合、該交差している楕円のうちの画像上で上側の楕円を前記閉形状の輪郭とし、一方、該交差している楕円のうちの下側の楕円を前記底面の輪郭とする、付記8に記載のコンピュータプログラム。
(付記10)
底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出する輪郭検出部と、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成する形状補正部と、
生成した前記複数の補正画像のそれぞれについて、前記側壁の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出する内部領域抽出部と、
前記複数の補正画像のそれぞれの前記部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する共通部分抽出部と、
を有する計測装置。
(付記11)
底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出し、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成し、
生成した前記複数の補正画像のそれぞれについて、前記側壁の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出し、
前記複数の補正画像のそれぞれの前記部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する、
ことを含む計測方法。
The following supplementary notes are further disclosed regarding the embodiment described above and its modifications.
(Appendix 1)
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface Part
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. Generate multiple corrected images,
For each of the plurality of generated correction images, a region where the region surrounded by the outline of the upper edge of the side surface overlaps the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. Extract as a partial area,
An area to be synthesized by aligning the partial areas of the plurality of correction images is specified as an area to be measured for the amount of the object in the container.
A computer program that causes a computer to execute processing.
(Appendix 2)
The amount of the object is the number of the object contained in the container;
Measuring the amount of the object is based on the number of the objects in the container based on the number of objects detected from each of the partial area and the partial area where the partial areas of the two or more corrected images overlap. The computer program according to attachment 1, wherein
(Appendix 3)
Measuring the amount of the object includes, in the common part, the maximum value of the number of objects detected from the part overlapping the common part in each of the partial regions of two or more images. The computer program according to attachment 2, wherein the number of objects is the number of objects.
(Appendix 4)
Measuring the amount of the object means that the number of objects detected from a portion overlapping each common portion of each of the partial regions of two or more images, and the shooting direction of the corresponding image is the container. The computer program according to appendix 2, wherein the number obtained by weighted averaging using a weighting factor that increases as it approaches the normal of the bottom surface is the number of objects included in the common part.
(Appendix 5)
Measuring the amount of the object includes aligning the two or more partial regions among the objects detected from a portion overlapping the common portion of each of the partial regions of the two or more images. When the two or more partial areas are aligned with each other, the objects that are in the same position are set as the same object. The computer program according to attachment 2, wherein the number of objects included in the common part is obtained as a separate object.
(Appendix 6)
The computer program according to any one of appendices 2 to 5, wherein the container is a petri dish, and the number of the objects is the number of colonies of microorganisms cultured in the container.
(Appendix 7)
The computer program according to any one of appendices 1 to 6, wherein the predetermined direction is a normal direction of a bottom surface of the container.
(Appendix 8)
The closed contour and the bottom contour formed by the upper edge of the side wall are circles,
Detecting at least a part of the contour of the closed shape and at least a part of the contour of the bottom surface is obtained by detecting an edge from the image for each of the plurality of images and approximating the set of edges to an ellipse. The computer program according to any one of appendices 1 to 7, wherein at least a part of the contour of the closed shape and at least a part of the contour of the bottom surface are detected.
(Appendix 9)
Detecting at least a part of the contour of the closed shape and at least a part of the contour of the bottom surface means that three or more ellipses are detected by ellipse approximation of the set of edges in any of the plurality of images. If two of the detected ellipses intersect, the upper ellipse on the image of the intersecting ellipses is defined as the closed shape outline, The computer program according to appendix 8, wherein the lower ellipse is defined as the contour of the bottom surface.
(Appendix 10)
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface A contour detection unit for detecting a part;
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. A shape correction unit that generates a plurality of corrected images;
For each of the plurality of generated correction images, a region where the region surrounded by the contour of the upper edge of the side wall and the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. An internal region extraction unit for extracting as a partial region;
A common part extraction unit that identifies a region synthesized by aligning the partial regions of the plurality of correction images as a target region for measuring the amount of an object in the container;
Measuring device.
(Appendix 11)
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface Part
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. Generate multiple corrected images,
For each of the plurality of generated correction images, a region where the region surrounded by the contour of the upper edge of the side wall and the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. Extract as a partial area,
An area to be synthesized by aligning the partial areas of the plurality of correction images is specified as an area to be measured for the amount of the object in the container.
A measuring method including that.

1 計測装置
2 カメラ
11 インターフェース部
12 表示部
13 記憶部
14 処理部
15 記憶媒体アクセス装置
16 記憶媒体
21 輪郭検出部
22 形状補正部
23 内部領域抽出部
24 共通部分抽出部
25 計数部
DESCRIPTION OF SYMBOLS 1 Measuring apparatus 2 Camera 11 Interface part 12 Display part 13 Storage part 14 Processing part 15 Storage medium access apparatus 16 Storage medium 21 Contour detection part 22 Shape correction part 23 Internal area extraction part 24 Common part extraction part 25 Counting part

Claims (7)

底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出し、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成し、
生成した前記複数の補正画像のそれぞれについて、前記側面の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出し、
前記複数の補正画像のそれぞれの部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する、
処理をコンピュータに実行させるコンピュータプログラム。
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface Part
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. Generate multiple corrected images,
For each of the plurality of generated correction images, a region where the region surrounded by the outline of the upper edge of the side surface overlaps the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. Extract as a partial area,
An area to be synthesized by aligning the partial areas of the plurality of correction images is specified as an area to be measured for the amount of the object in the container.
A computer program that causes a computer to execute processing.
前記物体の量は、前記容器内に収容されている前記物体の数であり、
前記物体の量を計測することは、二つ以上の前記補正画像の前記部分領域が重なる共通部分及び前記部分領域のそれぞれから検出した前記物体の数に基づいて、前記容器内の前記物体の数を求める、請求項1に記載のコンピュータプログラム。
The amount of the object is the number of the object contained in the container;
Measuring the amount of the object is based on the number of the objects in the container based on the number of objects detected from each of the partial area and the partial area where the partial areas of the two or more corrected images overlap. The computer program according to claim 1, wherein:
前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体の数のうちの最大値を当該共通部分に含まれる物体の数とする、請求項2に記載の計測用コンピュータプログラム。   Measuring the amount of the object includes, in the common part, the maximum value of the number of objects detected from the part overlapping the common part in each of the partial regions of two or more images. The measurement computer program according to claim 2, wherein the computer program is the number of objects. 前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体の数について、対応する画像についての撮影方向が前記容器の底面の法線に近いほど大きくなる重み係数を用いて加重平均することにより得られた数を当該共通部分に含まれる物体の数とする、請求項2に記載のコンピュータプログラム。   Measuring the amount of the object means that the number of objects detected from a portion overlapping each common portion of each of the partial regions of two or more images, and the shooting direction of the corresponding image is the container. The computer program according to claim 2, wherein a number obtained by performing weighted averaging using a weighting factor that increases as it approaches the normal line of the bottom surface is defined as the number of objects included in the common part. 前記物体の量を計測することは、二つ以上の前記画像の前記部分領域のそれぞれのうちの前記共通部分と重なる部分から検出された物体のうち、当該二つ以上の前記部分領域を位置合わせしたときに同じ位置となる物体を同一の物体とし、一方、前記部分領域のそれぞれから検出された物体のうち、当該二つ以上の前記部分領域を位置合わせしたときに異なる位置となる物体をそれぞれ別個の物体として当該共通部分に含まれる物体の数を求める、請求項2に記載のコンピュータプログラム。   Measuring the amount of the object includes aligning the two or more partial regions among the objects detected from a portion overlapping the common portion of each of the partial regions of the two or more images. When the two or more partial areas are aligned with each other, the objects that are in the same position are set as the same object. The computer program according to claim 2, wherein the number of objects included in the common part is obtained as a separate object. 底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出する輪郭検出部と、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成する形状補正部と、
生成した前記複数の補正画像のそれぞれについて、前記側壁の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出する内部領域抽出部と、
前記複数の補正画像のそれぞれの前記部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する共通部分抽出部と、
を有する計測装置。
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface A contour detection unit for detecting a part;
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. A shape correction unit that generates a plurality of corrected images;
For each of the plurality of generated correction images, a region where the region surrounded by the contour of the upper edge of the side wall and the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. An internal region extraction unit for extracting as a partial region;
A common part extraction unit that identifies a region synthesized by aligning the partial regions of the plurality of correction images as a target region for measuring the amount of an object in the container;
Measuring device.
底面と該底面から立ち上がる側壁とを有する容器を互いに異なる方向から撮影することにより生成された複数の画像のそれぞれから、前記側壁の上部の縁の輪郭の少なくとも一部及び前記底面の輪郭の少なくとも一部を検出し、
前記複数の画像のそれぞれについて、当該画像上の前記側壁の上部の縁により形成される閉形状または前記底面の形状が所定の方向から見たときの形状となるように画像補正処理を実行して複数の補正画像を生成し、
生成した前記複数の補正画像のそれぞれについて、前記側壁の上部の縁の輪郭に囲まれた領域と前記底面の輪郭に囲まれた領域とが重なる領域を、前記容器の内部の一部に相当する部分領域として抽出し、
前記複数の補正画像のそれぞれの前記部分領域を位置合わせして合成される領域を、前記容器内の物体の量を計測する対象の領域として特定する、
ことを含む計測方法。
From each of a plurality of images generated by photographing a container having a bottom surface and a side wall rising from the bottom surface from different directions, at least a part of the contour of the upper edge of the side wall and at least one of the contour of the bottom surface Part
For each of the plurality of images, image correction processing is executed so that the closed shape formed by the upper edge of the side wall on the image or the shape of the bottom surface is a shape when viewed from a predetermined direction. Generate multiple corrected images,
For each of the plurality of generated correction images, a region where the region surrounded by the contour of the upper edge of the side wall and the region surrounded by the contour of the bottom surface corresponds to a part of the inside of the container. Extract as a partial area,
An area to be synthesized by aligning the partial areas of the plurality of correction images is specified as an area to be measured for the amount of the object in the container.
A measuring method including that.
JP2013186136A 2013-09-09 2013-09-09 COMPUTER PROGRAM FOR MEASUREMENT, MEASUREMENT DEVICE AND MEASUREMENT METHOD Expired - Fee Related JP6255819B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013186136A JP6255819B2 (en) 2013-09-09 2013-09-09 COMPUTER PROGRAM FOR MEASUREMENT, MEASUREMENT DEVICE AND MEASUREMENT METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013186136A JP6255819B2 (en) 2013-09-09 2013-09-09 COMPUTER PROGRAM FOR MEASUREMENT, MEASUREMENT DEVICE AND MEASUREMENT METHOD

Publications (2)

Publication Number Publication Date
JP2015052972A true JP2015052972A (en) 2015-03-19
JP6255819B2 JP6255819B2 (en) 2018-01-10

Family

ID=52701943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013186136A Expired - Fee Related JP6255819B2 (en) 2013-09-09 2013-09-09 COMPUTER PROGRAM FOR MEASUREMENT, MEASUREMENT DEVICE AND MEASUREMENT METHOD

Country Status (1)

Country Link
JP (1) JP6255819B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2018061928A1 (en) * 2016-09-30 2019-07-25 日本電気株式会社 INFORMATION PROCESSING APPARATUS, COUNTING SYSTEM, COUNTING METHOD, AND COMPUTER PROGRAM
CN117495851A (en) * 2023-12-29 2024-02-02 陕西中医药大学 Image contour processing-based water environment microorganism detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003276963A (en) * 2003-02-03 2003-10-02 Toshiba Corp Elevator controller by use of image monitoring device
JP2007011667A (en) * 2005-06-30 2007-01-18 Matsushita Electric Ind Co Ltd Iris authentication device and iris authentication method
JP2008295424A (en) * 2007-06-04 2008-12-11 N Tech:Kk Method for counting number of colony
JP2012212249A (en) * 2011-03-30 2012-11-01 Fujitsu Ltd Meal image analysis method, meal image analysis program and meal image analysis device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003276963A (en) * 2003-02-03 2003-10-02 Toshiba Corp Elevator controller by use of image monitoring device
JP2007011667A (en) * 2005-06-30 2007-01-18 Matsushita Electric Ind Co Ltd Iris authentication device and iris authentication method
JP2008295424A (en) * 2007-06-04 2008-12-11 N Tech:Kk Method for counting number of colony
JP2012212249A (en) * 2011-03-30 2012-11-01 Fujitsu Ltd Meal image analysis method, meal image analysis program and meal image analysis device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2018061928A1 (en) * 2016-09-30 2019-07-25 日本電気株式会社 INFORMATION PROCESSING APPARATUS, COUNTING SYSTEM, COUNTING METHOD, AND COMPUTER PROGRAM
JP7007280B2 (en) 2016-09-30 2022-01-24 日本電気株式会社 Information processing equipment, counting system, counting method and computer program
CN117495851A (en) * 2023-12-29 2024-02-02 陕西中医药大学 Image contour processing-based water environment microorganism detection method
CN117495851B (en) * 2023-12-29 2024-04-05 陕西中医药大学 Image contour processing-based water environment microorganism detection method

Also Published As

Publication number Publication date
JP6255819B2 (en) 2018-01-10

Similar Documents

Publication Publication Date Title
WO2019200837A1 (en) Method and system for measuring volume of parcel, and storage medium and mobile terminal
WO2020010945A1 (en) Image processing method and apparatus, electronic device and computer-readable storage medium
WO2019080229A1 (en) Chess piece positioning method and system based on machine vision, storage medium, and robot
US7554575B2 (en) Fast imaging system calibration
CN107749268B (en) Screen detection method and equipment
TWI485650B (en) Method and arrangement for multi-camera calibration
US10909719B2 (en) Image processing method and apparatus
CN109100363B (en) Method and system for distinguishing defects of attached foreign matters from dust
WO2017076106A1 (en) Method and device for image splicing
US10586321B2 (en) Automatic detection, counting, and measurement of lumber boards using a handheld device
US20130170756A1 (en) Edge detection apparatus, program and method for edge detection
EP3093822A1 (en) Displaying a target object imaged in a moving picture
CN111209870A (en) Binocular living body camera rapid registration method, system and device thereof
US10091490B2 (en) Scan recommendations
JP2012209895A (en) Stereo image calibration method, stereo image calibration device and stereo image calibration computer program
US11216905B2 (en) Automatic detection, counting, and measurement of lumber boards using a handheld device
CN109451298A (en) Angle of deviation detection method, device and the equipment of dual camera
JP6255819B2 (en) COMPUTER PROGRAM FOR MEASUREMENT, MEASUREMENT DEVICE AND MEASUREMENT METHOD
WO2024012463A1 (en) Positioning method and apparatus
WO2021195873A1 (en) Method and device for identifying region of interest in sfr test chart image, and medium
CN115880643B (en) Social distance monitoring method and device based on target detection algorithm
CN107527323B (en) Calibration method and device for lens distortion
CN117218633A (en) Article detection method, device, equipment and storage medium
JP2006101025A (en) Photographic apparatus, and image processing method and program thereof
CN108353143A (en) Image is projected on irregular shape display surface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170619

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: 20171107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171120

R150 Certificate of patent or registration of utility model

Ref document number: 6255819

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees