JP2017018152A - Color measuring device, color measuring method and program - Google Patents

Color measuring device, color measuring method and program Download PDF

Info

Publication number
JP2017018152A
JP2017018152A JP2015135835A JP2015135835A JP2017018152A JP 2017018152 A JP2017018152 A JP 2017018152A JP 2015135835 A JP2015135835 A JP 2015135835A JP 2015135835 A JP2015135835 A JP 2015135835A JP 2017018152 A JP2017018152 A JP 2017018152A
Authority
JP
Japan
Prior art keywords
tooth region
interdental
tooth
pixel
captured image
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
JP2015135835A
Other languages
Japanese (ja)
Other versions
JP6574112B2 (en
Inventor
寿昌 池田
Toshimasa Ikeda
寿昌 池田
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.)
Juki Corp
Original Assignee
Juki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Juki Corp filed Critical Juki Corp
Priority to JP2015135835A priority Critical patent/JP6574112B2/en
Publication of JP2017018152A publication Critical patent/JP2017018152A/en
Application granted granted Critical
Publication of JP6574112B2 publication Critical patent/JP6574112B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a device that recognizes each of multiple teeth and measures color individually.SOLUTION: A color measuring device that sets tooth areas to an image 55 with horizontal teeth captured and measures color of each tooth area comprises: a recognition unit 33 that recognizes the tooth area from the captured image; a setting unit 35 that sets a detection range of an interdental part in the captured image on the basis of the number of longitudinal pixels in the tooth area; and a detection unit 36 that detects the interdental part on the basis of luminosity of each pixel in the tooth area in the detection range of the interdental part. The recognition unit 33 again recognizes a new tooth area from the tooth area with the interdental part excluded.SELECTED DRAWING: Figure 3

Description

本発明は、歯科医院等で患者の歯牙を測色する測色装置、測色方法及びプログラムに関する。   The present invention relates to a color measurement device, a color measurement method, and a program for measuring the color of a patient's teeth in a dental clinic or the like.

歯科医院においては、歯牙のホワイトニング時や詰め物の補綴時にシェードガイドと呼ばれる色見本が使用されている。上記の治療時には、患者の歯牙とシェードガイドを目視で比較しながら、ホワイトニングの経過確認や詰め物の選定が行われている。また、目視で比較する代わりに、測色装置を用いて患者の歯牙の測色を行うこともある。この種の測色装置としては、歯牙を撮像して撮像画像から歯牙を認識しているが、複数の歯牙が1つの歯牙として認識されるという問題がある。従来、複数の歯牙を個別に認識する方法として、歯牙にレーザー光を照射して、反射光の輝度値の不連続な変化から歯牙の間の歯間部を特定する方法が知られている(例えば、特許文献1参照)。   In dental clinics, color samples called shade guides are used when teeth are whitened or when fillings are prosthetic. During the above-mentioned treatment, the progress of whitening and selection of fillings are performed while visually comparing the patient's teeth and the shade guide. In addition, instead of visual comparison, color measurement of a patient's teeth may be performed using a color measurement device. This type of colorimetric device captures a tooth and recognizes the tooth from the captured image, but there is a problem that a plurality of teeth are recognized as one tooth. Conventionally, as a method for individually recognizing a plurality of teeth, there is known a method of irradiating a tooth with laser light and identifying an interdental portion between teeth from a discontinuous change in luminance value of reflected light ( For example, see Patent Document 1).

特開2012−217762号公報JP 2012-217762 A

しかしながら、特許文献1に記載の方法では、歯間部以外でも歯牙の表面形状等によって反射光の輝度値が不連続になる場合があった。よって、歯牙の一部が歯間部として認識され、歯牙の認識に失敗するという不具合が生じていた。このように、従来の歯間部の特定方法を用いても、歯間部を適切に認識することができず、歯牙を1本ずつ認識して測色することが困難になっていた。   However, in the method described in Patent Document 1, the luminance value of reflected light sometimes becomes discontinuous due to the surface shape of the tooth other than the interdental part. Thus, a part of the teeth is recognized as an interproximal part, causing a problem that the recognition of the teeth fails. As described above, even if the conventional interdental identification method is used, the interproximal part cannot be properly recognized, and it is difficult to measure the color by recognizing the teeth one by one.

本発明はかかる点に鑑みてなされたものであり、複数の歯牙を個別に測色することができる測色装置、測色方法及びプログラムを提供することを目的とする。   The present invention has been made in view of such a point, and an object thereof is to provide a color measuring device, a color measuring method, and a program capable of individually measuring a plurality of teeth.

本発明の測色装置は、横並びの歯牙を撮像した撮像画像に対して歯牙領域を設定し、前記歯牙領域毎に測色する測色装置であって、前記撮像画像から歯牙領域を認識する認識部と、前記歯牙領域の縦列の画素数に基づいて、前記撮像画像に歯間部の検出範囲を設定する設定部と、前記歯間部の検出範囲における前記歯牙領域の各画素の明度に基づいて、前記歯間部を検出する検出部とを備え、前記認識部が、前記歯間部を除いた前記歯牙領域から新たな歯牙領域を再認識することを特徴とする。   The color measurement device of the present invention is a color measurement device that sets a tooth region for a captured image obtained by imaging side-by-side teeth and performs color measurement for each tooth region, and recognizes a tooth region from the captured image. A setting unit that sets a detection range of the interdental portion in the captured image based on the number of pixels in the column of the tooth portion and the tooth region, and based on the brightness of each pixel of the tooth region in the detection range of the interdental portion And a detection unit for detecting the interdental portion, wherein the recognition unit re-recognizes a new tooth region from the tooth region excluding the interdental portion.

本発明の測色方法は、横並びの歯牙を撮像した撮像画像に対して歯牙領域を設定し、前記歯牙領域毎に測色する測色装置による測色方法であって、前記撮像画像から歯牙領域を認識するステップと、前記歯牙領域の縦列の画素数に基づいて、前記撮像画像に歯間部の検出範囲を設定するステップと、前記歯間部の検出範囲における前記歯牙領域の各画素の明度に基づいて、前記歯間部を検出するステップと、前記歯間部を除いて、前記歯牙領域から新たな歯牙領域を再認識するステップとを有することを特徴とする。   The color measurement method of the present invention is a color measurement method by a color measurement device that sets a tooth region for a captured image obtained by imaging side-by-side teeth and performs color measurement for each tooth region, and includes a tooth region from the captured image. The step of recognizing, the step of setting a detection range of the interdental portion in the captured image based on the number of pixels in the column of the tooth region, and the brightness of each pixel of the tooth region in the detection range of the interdental portion And detecting the interproximal portion and re-recognizing a new tooth region from the tooth region excluding the interproximal portion.

これらの構成によれば、一般に歯牙は歯間部において縦方向で狭くなる傾向があるため、歯牙領域の縦列の画素数から歯間部を大まかに特定することができる。歯間部の大まかな位置を基準に歯間部の検出範囲が設定されるため、歯牙領域の各画素の明度を用いた歯間部の検出時に、実際には歯牙領域である画素が歯間部として誤って検出されることが抑えられる。歯間部を除いた歯牙領域から新たな歯牙領域を再認識することで、複数の歯牙からなる歯牙領域を歯間部で適切に分離させて歯牙領域毎に測色することができる。   According to these configurations, since teeth generally tend to narrow in the longitudinal direction in the interdental portion, the interdental portion can be roughly specified from the number of pixels in the column of the tooth region. Since the detection range of the interdental part is set based on the rough position of the interdental part, when detecting the interdental part using the brightness of each pixel of the tooth area, the pixel that is actually the tooth area is the interdental area. It is possible to suppress erroneous detection as a part. By re-recognizing a new tooth region from the tooth region excluding the interdental portion, a tooth region composed of a plurality of teeth can be appropriately separated at the interproximal portion, and color measurement can be performed for each tooth region.

上記の測色装置において、前記設定部は、前記撮像画像の横方向の座標毎に前記歯牙領域の縦列の画素数を示すヒストグラムを生成し、当該ヒストグラムで谷になる座標を基準に前記歯間部の検出範囲を設定する。この構成によれば、ヒストグラムの谷になる座標から歯間部を大まかに特定することができ、歯間部の検出範囲を適切に設定することができる。   In the color measurement device, the setting unit generates a histogram indicating the number of pixels in the column of the tooth region for each horizontal coordinate of the captured image, and the interdental spacing is based on the coordinates that are valleys in the histogram. Set the detection range of the part. According to this configuration, the interdental portion can be roughly specified from the coordinates that become the valleys of the histogram, and the detection range of the interdental portion can be appropriately set.

上記の測色装置において、前記検出部は、前記歯間部の検出範囲において明度が暗い画素から明るい画素に変化する画素を前記歯間部として検出する。この構成によれば、歯間部の画素は明度が低い傾向があるため、歯間部の検出範囲内の各画素の明度の変化から歯間部を検出することができる。   In the color measurement device, the detection unit detects, as the interdental portion, a pixel whose brightness changes from a dark pixel to a bright pixel in the detection range of the interdental portion. According to this configuration, since the interdental pixels tend to have low brightness, the interdental part can be detected from the change in the brightness of each pixel within the detection range of the interdental part.

上記の測色装置において、前記認識部は、基準値に対する前記撮像画像の各画素の色差が閾値より小さい連結画素に同じラベルを付して、当該ラベルに基づいて前記連結画素を前記歯牙領域として認識し、前記歯間部の検出後に、前記歯間部の画素を除いた連結画素に同じラベルを付して、当該ラベルに基づいて前記連結画素を前記新たな歯牙領域として再認識する。この構成によれば、歯牙領域において閾値で分離できない箇所を、歯間部を除外し分離して、新たな歯牙領域として再認識することができる。   In the color measurement device, the recognition unit attaches the same label to a connected pixel in which a color difference of each pixel of the captured image with respect to a reference value is smaller than a threshold value, and based on the label, uses the connected pixel as the tooth region. After the recognition and detection of the interdental part, the same label is attached to the connected pixels excluding the interdental pixel, and the connected pixel is re-recognized as the new tooth region based on the label. According to this configuration, a portion that cannot be separated with a threshold value in the tooth region can be separated by removing the interdental portion and re-recognized as a new tooth region.

上記の測色装置において、前記歯牙領域の輪郭を追跡して、前記歯牙領域の連結画素に付されたラベルで、前記輪郭の内側を塗潰す塗潰し部を備える。この構成によれば、歯牙領域内で部分的にラベルの欠損が生じる場合であっても、ラベルの欠損を埋めて歯牙領域として認識させることができる。   In the above colorimetric device, the device includes a paint unit that tracks the contour of the tooth region and paints the inside of the contour with a label attached to a connected pixel of the tooth region. According to this configuration, even if a label loss partially occurs in the tooth region, the label loss can be filled and recognized as a tooth region.

上記の測色装置において、前記歯間部の検出後に、前記歯牙領域に対してオープニング処理を実施するオープニング処理部を備える。この構成によれば、歯牙領域では無いにも関わらず、歯牙領域の一部として認識されるノイズを、オープニング処理で減らすことができる。   The colorimetric apparatus includes an opening processing unit that performs an opening process on the tooth region after the detection of the interdental part. According to this configuration, although it is not a tooth region, noise recognized as a part of the tooth region can be reduced by the opening process.

本発明のプログラムは、上記の測色方法を測色装置に実行させることを特徴とする。この構成によれば、測色装置にプログラムをインストールすることで、測色装置に対して個々の歯牙領域を適切に分離して、歯牙領域毎に測色させることができる。   A program according to the present invention causes a colorimetric apparatus to execute the above colorimetric method. According to this configuration, by installing a program in the color measurement device, it is possible to appropriately separate individual tooth regions from the color measurement device and perform color measurement for each tooth region.

本発明によれば、歯牙領域の縦列の画素数から歯間部の検出範囲を設定して、歯間部の検出範囲内で画素の明度に基づいて歯間部を検出することができる。歯間部を除いた歯牙領域から新たな歯牙領域を認識することで、複数の歯牙からなる歯牙領域を歯間部で適切に分離させて歯牙領域毎に測色することができる。   According to the present invention, it is possible to set the detection range of the interdental portion from the number of pixels in the column of the tooth region, and detect the interproximal portion based on the brightness of the pixel within the detection range of the interdental portion. By recognizing a new tooth region from the tooth region excluding the interdental portion, a tooth region composed of a plurality of teeth can be appropriately separated at the interproximal portion, and color measurement can be performed for each tooth region.

本実施の形態に係る測色装置の模式図である。It is a schematic diagram of the color measuring device according to the present embodiment. 本実施の形態に係る表色系変換処理の一例を示す図である。It is a figure which shows an example of the color system conversion process which concerns on this Embodiment. 本実施の形態に係る処理部の詳細構成のブロック図である。It is a block diagram of the detailed structure of the process part which concerns on this Embodiment. 本実施の形態に係る歯牙領域の自動認識処理のフローチャートである。It is a flowchart of the automatic recognition process of the tooth area | region which concerns on this Embodiment. 本実施の形態に係る色差算出処理の一例を示す図である。It is a figure which shows an example of the color difference calculation process which concerns on this Embodiment. 本実施の形態に係る初回のラベリング処理の一例を示す図である。It is a figure which shows an example of the first labeling process which concerns on this Embodiment. 本実施の形態に係る塗潰し処理の一例を示す図である。It is a figure which shows an example of the painting process which concerns on this Embodiment. 本実施の形態に係るヒストグラム処理の一例を示す図である。It is a figure which shows an example of the histogram process which concerns on this Embodiment. 本実施の形態に係る歯間部検出処理の一例を示す図である。It is a figure which shows an example of the interdental part detection process which concerns on this Embodiment. 本実施の形態に係る2度目以降のラベリング処理の一例を示す図である。It is a figure which shows an example of the labeling process after the 2nd which concerns on this Embodiment. 本実施の形態に係る2度目以降のヒストグラム処理、歯間部検出処理の一例を示す図である。It is a figure which shows an example of the histogram process after the 2nd time which concerns on this Embodiment, and an interdental part detection process. 本実施の形態に係るオープニング処理の一例を示す図である。It is a figure which shows an example of the opening process which concerns on this Embodiment. 本実施の形態に係るラベリング処理結果の一例を示す図である。It is a figure which shows an example of the labeling process result which concerns on this Embodiment. 本実施の形態に係る画像描画処理の一例を示す図である。It is a figure which shows an example of the image drawing process which concerns on this Embodiment. 本実施の形態に係るシェードガイド等級の判定処理の一例を示す図である。It is a figure which shows an example of the determination process of the shade guide grade which concerns on this Embodiment.

以下、添付図面を参照して本実施の形態に係る測色装置について説明する。図1は、本実施の形態に係る測色装置の模式図である。図2は、本実施の形態に係る表色系変換処理の一例を示す図である。なお、本実施の形態に係る測色装置は一例に過ぎず、適宜変更が可能である。また、図1に示す測色装置の模式図は、本発明を説明するために簡略化したものであり、測色装置が通常備える構成については備えているものとする。   Hereinafter, a color measuring device according to the present embodiment will be described with reference to the accompanying drawings. FIG. 1 is a schematic diagram of a colorimetric apparatus according to the present embodiment. FIG. 2 is a diagram showing an example of the color system conversion process according to the present embodiment. The color measurement device according to the present embodiment is merely an example, and can be changed as appropriate. In addition, the schematic diagram of the color measurement device shown in FIG. 1 is simplified for explaining the present invention, and it is assumed that the color measurement device normally includes a configuration.

図1に示すように、測色装置1は、患者の歯牙51を干渉フィルタ18による分光測色方式で測色し、シェードガイド等級の判定を行うものである。測色装置1は、照明光源11付きの積分半球12の反射面を歯牙51に向けて、歯牙51からの反射光をイメージセンサ15で取り込むように構成されている。照明光源11は、LED(Light Emitting Diode)であり、積分半球12に向けて照射するように設置されている。なお、照明光源11は、可視域全体に亘って発光して十分な光量の光源であればよく、ハロゲンランプ、キセノンランプのいずれでもよい。   As shown in FIG. 1, the colorimetric device 1 measures the color of a patient's teeth 51 by a spectral colorimetric method using an interference filter 18 and determines a shade guide grade. The color measuring device 1 is configured so that the reflection surface of the integrating hemisphere 12 with the illumination light source 11 faces the tooth 51 and the reflected light from the tooth 51 is captured by the image sensor 15. The illumination light source 11 is an LED (Light Emitting Diode) and is installed so as to irradiate the integrating hemisphere 12. The illumination light source 11 may be a light source that emits light over the entire visible range and has a sufficient amount of light, and may be either a halogen lamp or a xenon lamp.

積分半球12は、照明光源11からの光を反射面で乱反射することで、歯牙51に対してあらゆる方向から光を当てて、歯牙51の表面の凹凸の影響を少なくしている。積分半球12の後方には、イメージセンサ15の光軸上に歯牙51からの反射光を結像するレンズ13が設けられている。レンズ13の後方には、反射光を複数の波長に分光するフィルタ装置14が設けられている。フィルタ装置14は、レボルバ等のフィルタ切換機構16にフィルタ円板17を回転可能に支持して構成されている。フィルタ円板17には400nm〜700nmの範囲で20nm毎に透過波長を切換え可能な16枚の干渉フィルタ18が設けられている。   The integrating hemisphere 12 scatters light from the illumination light source 11 on the reflecting surface, so that light is applied to the tooth 51 from all directions to reduce the influence of the unevenness on the surface of the tooth 51. Behind the integrating hemisphere 12, a lens 13 that forms an image of the reflected light from the tooth 51 on the optical axis of the image sensor 15 is provided. Behind the lens 13 is a filter device 14 that splits the reflected light into a plurality of wavelengths. The filter device 14 is configured by rotatably supporting a filter disk 17 on a filter switching mechanism 16 such as a revolver. The filter disk 17 is provided with 16 interference filters 18 capable of switching the transmission wavelength every 20 nm in the range of 400 nm to 700 nm.

干渉フィルタ18を挟んでレンズ13の後方には、干渉フィルタ18を透過した反射光を受光するイメージセンサ15が設けられている。イメージセンサ15は、CCD(Charge Coupled Device)又はCMOS(Complementary Metal Oxide Semiconductor)カメラであり、干渉フィルタ18を切り替えながら撮像して、分光された反射光毎のセンサ値を制御部21に出力している。また、積分半球12には、照明光源11の時間による劣化や周囲条件による変動を常時監視する監視センサ19が設けられている。監視センサ19は、照明光源11による照明から得られたセンサ値を制御部21に出力している。   An image sensor 15 that receives reflected light transmitted through the interference filter 18 is provided behind the lens 13 with the interference filter 18 interposed therebetween. The image sensor 15 is a CCD (Charge Coupled Device) or CMOS (Complementary Metal Oxide Semiconductor) camera, picks up an image while switching the interference filter 18, and outputs a sensor value for each reflected reflected light to the control unit 21. Yes. Further, the integrating hemisphere 12 is provided with a monitoring sensor 19 that constantly monitors deterioration of the illumination light source 11 over time and fluctuation due to ambient conditions. The monitoring sensor 19 outputs a sensor value obtained from illumination by the illumination light source 11 to the control unit 21.

制御部21は、イメージセンサ15の撮像画像55から歯牙51を測色して、歯牙51毎にシェードガイド等級を表示するものであり、処理部22、記憶部23、判定部24、表示部25を備えている。処理部22は、歯牙51の撮像画像55に対して、分光反射率の算出処理、表色系への変換処理等の各種処理を実施する。記憶部23は、シェードガイド等級毎に表色系の値を記憶している。判定部24は、歯牙51とシェードガイドとの表色系の値を比較して、歯牙51のシェードガイド等級を判定する。表示部25は、歯牙51のリアルタイム画像、撮像画像55を表示する他、撮像画像55にシェードガイド等級を重ねて表示する。   The control unit 21 measures the color of the tooth 51 from the captured image 55 of the image sensor 15 and displays a shade guide grade for each tooth 51. The processing unit 22, the storage unit 23, the determination unit 24, and the display unit 25. It has. The processing unit 22 performs various processes such as a spectral reflectance calculation process and a color system conversion process on the captured image 55 of the tooth 51. The storage unit 23 stores color system values for each shade guide grade. The determination unit 24 compares the color system values of the tooth 51 and the shade guide to determine the shade guide grade of the tooth 51. The display unit 25 displays the real-time image of the tooth 51 and the captured image 55 and also displays the shade guide grade on the captured image 55 in an overlapping manner.

なお、測色装置1の制御部21は、各所処理を実行するプロセッサやメモリ等によって構成されている。メモリは、用途に応じてROM(Read Only Memory)、RAM(Random Access Memory)等の一つ又は複数の記憶媒体で構成されており、メモリには測色プログラムの他、後述する歯牙領域の自動認識プログラム等が記憶されている。また、測色装置1には、積分半球12に光量の変化を補正するための距離センサ(不図示)が設けられていてもよい。歯牙51と積分半球12の距離による光量の変化を考慮して、光量に基づく色の違いを補正するようにしてもよい。   Note that the control unit 21 of the color measurement device 1 is configured by a processor, a memory, and the like that execute various processes. The memory is composed of one or more storage media such as ROM (Read Only Memory) and RAM (Random Access Memory) depending on the application. A recognition program or the like is stored. Further, the colorimetric device 1 may be provided with a distance sensor (not shown) for correcting a change in the amount of light in the integrating hemisphere 12. The color difference based on the light amount may be corrected in consideration of a change in the light amount depending on the distance between the tooth 51 and the integrating hemisphere 12.

このように構成された測色装置1では、イメージセンサ15で歯牙51が撮像されると、例えば256×256画素の撮像画像55が処理部22に出力される。図2Aに示すように、処理部22(図1参照)では、イメージセンサ15からのセンサ値、予め校正処理を行って保持していた校正値、監視センサ19からのセンサ値の3つの値から干渉フィルタ18毎に各画素に対して分光反射率が算出される。また、図2Bに示すように、分光反射率からXYZ表色系のXYZ三刺激値が算出され、重価係数の乗算によりXYZ三刺激値がL*a表色系の値に変換されて物体色が表される。なお、Lは明度、aは赤−緑軸の色味、bは黄−青軸の色味を示している。 In the color measuring device 1 configured as described above, when the tooth 51 is imaged by the image sensor 15, for example, a captured image 55 of 256 × 256 pixels is output to the processing unit 22. As shown in FIG. 2A, the processing unit 22 (see FIG. 1) uses three values: a sensor value from the image sensor 15, a calibration value that has been held in advance by a calibration process, and a sensor value from the monitoring sensor 19. A spectral reflectance is calculated for each pixel for each interference filter 18. Further, as shown in FIG. 2B, the XYZ tristimulus value of the XYZ color system is calculated from the spectral reflectance, and the XYZ tristimulus value is converted to the value of the L * a * b * color system by multiplying the weight coefficient. The object color is expressed. In addition, L * indicates lightness, a * indicates a red-green axis color, and b * indicates a yellow-blue axis color.

判定部24(図1参照)において、撮像画像55に設定された測定範囲57(図2C参照)で、歯牙51のL*a表色系の値と各シェードガイド等級のL*a表色系の値の色差ΔEが算出される。色差ΔEが最も小さくなる等級が測定範囲におけるシェードガイド等級と判定される。そして、図2Cに示すように、表示部25(図1参照)において撮像画像55の歯牙51に重ね合わせるようにして、シェードガイド等級が表示される。なお、上記した分光反射率の算出処理、XYZ表色系への変換処理、L*a表色系への変換処理、色差ΔEの算出処理等の各種処理はJIS規格に基づいて実施される。 The determination unit 24 (see FIG. 1), the measurement range 57 set in the captured image 55 (see FIG. 2C), the tooth 51 L * a * b * color system value and the shade guide grade L * a * B * The color difference ΔE of the color system value is calculated. The grade with the smallest color difference ΔE is determined as the shade guide grade in the measurement range. Then, as shown in FIG. 2C, the shade guide grade is displayed so as to be superimposed on the tooth 51 of the captured image 55 on the display unit 25 (see FIG. 1). Various processes such as the above spectral reflectance calculation process, conversion process to XYZ color system, conversion process to L * a * b * color system, calculation process of color difference ΔE, etc. are performed based on JIS standards. Is done.

ところで、測色装置1(図1参照)の測定モードにはマニュアルモードとオートモードの2種類が設定されており、測色装置1の操作によってモード切替することが可能になっている。マニュアルモードでは、患者及び撮像条件等によってシェードガイド等級の測定範囲が調整可能になっている。一方で、オートモードでは、撮像画像55内の色差を用いて歯牙領域を自動で認識して、歯牙領域からシェードガイド等級の測定範囲が自動的に設定される。しかしながら、歯牙領域の自動認識時に複数の歯牙51が一体の歯牙領域61として認識され、歯牙51を個々の歯牙領域61として認識することが困難になっていた(図6C参照)。   By the way, the measurement mode of the color measurement device 1 (see FIG. 1) is set to two types, a manual mode and an auto mode, and the mode can be switched by operating the color measurement device 1. In the manual mode, the measurement range of the shade guide grade can be adjusted according to the patient and imaging conditions. On the other hand, in the auto mode, the tooth area is automatically recognized using the color difference in the captured image 55, and the measurement range of the shade guide grade is automatically set from the tooth area. However, when the tooth area is automatically recognized, the plurality of teeth 51 are recognized as the integrated tooth area 61, and it is difficult to recognize the teeth 51 as individual tooth areas 61 (see FIG. 6C).

これは、歯牙領域61において歯牙51と歯牙51の間の歯間部62を認識できないからであると考えられる。本件発明者が歯間部62の特徴について注意深く調査したところ、歯間部62では歯牙51と比較して明度が低くなる傾向にあり、さらに歯間部62によって歯牙領域61の縦列の画素数が少なくなることを発見した。そこで、本実施の形態に係る歯牙領域61の自動認識処理では、歯間部62の明度が低くなる条件と、歯牙領域61の縦列の画素数が少なくなる条件を満たす画素を歯間部62として検出し、歯牙51を一本ずつに分離して認識するようにしている。   This is considered because the interdental portion 62 between the tooth 51 and the tooth 51 cannot be recognized in the tooth region 61. When the present inventor carefully examined the characteristics of the interdental part 62, the interdental part 62 tends to have a lower brightness than the tooth 51, and the interdental part 62 allows the number of pixels in the column of the tooth region 61 to be reduced. I found it to be less. Therefore, in the automatic recognition processing of the tooth region 61 according to the present embodiment, a pixel that satisfies the condition that the lightness of the interdental portion 62 is low and the condition that the number of pixels in the column of the tooth region 61 is small is defined as the interdental portion 62. By detecting, the teeth 51 are separated and recognized one by one.

以下、図3から図14を参照して、歯牙領域の自動認識処理について詳細に説明する。図3は、本実施の形態に係る処理部の詳細構成のブロック図である。図4は、本実施の形態に係る歯牙領域の自動認識処理のフローチャートである。図5は、本実施の形態に係る色差算出処理の一例を示す図である。図6は、本実施の形態に係る初回のラベリング処理の一例を示す図である。図7は、本実施の形態に係る塗潰し処理の一例を示す図である。図8は、本実施の形態に係るヒストグラム処理の一例を示す図である。   Hereinafter, the automatic recognition processing of the tooth region will be described in detail with reference to FIGS. FIG. 3 is a block diagram of a detailed configuration of the processing unit according to the present embodiment. FIG. 4 is a flowchart of the automatic recognition process of the tooth area according to the present embodiment. FIG. 5 is a diagram showing an example of color difference calculation processing according to the present embodiment. FIG. 6 is a diagram illustrating an example of an initial labeling process according to the present embodiment. FIG. 7 is a diagram illustrating an example of a painting process according to the present embodiment. FIG. 8 is a diagram showing an example of histogram processing according to the present embodiment.

また、図9は、本実施の形態に係る歯間部検出処理の一例を示す図である。図10は、本実施の形態に係る2度目以降のラベリング処理の一例を示す図である。図11は、本実施の形態に係る2度目以降のヒストグラム処理、歯間部検出処理の一例を示す図である。図12は、本実施の形態に係るオープニング処理の一例を示す図である。図13は、本実施の形態に係るラベリング処理結果の一例を示す図である。図14は、本実施の形態に係る画像描画処理の一例を示す図である。なお、図4の説明においては、図3の符号を適宜使用して説明する。   Moreover, FIG. 9 is a figure which shows an example of the interdental part detection process which concerns on this Embodiment. FIG. 10 is a diagram illustrating an example of the second and subsequent labeling processes according to the present embodiment. FIG. 11 is a diagram illustrating an example of the second and subsequent histogram processing and interdental portion detection processing according to the present embodiment. FIG. 12 is a diagram illustrating an example of the opening process according to the present embodiment. FIG. 13 is a diagram illustrating an example of a labeling process result according to the present embodiment. FIG. 14 is a diagram illustrating an example of an image drawing process according to the present embodiment. In the description of FIG. 4, the description will be made using the reference numerals of FIG. 3 as appropriate.

図3に示すように、処理部22には、後述する表色系変換処理、色差算出処理、ラベリング処理、塗潰し処理、ヒストグラム処理、歯間部検出処理、オープニング処理、画像描画処理を実施する変換部31、算出部32、認識部33、塗潰し部34、設定部35、検出部36、オープニング部37、描画部38が設けられている。なお、以下の説明では、画素にラベルを付す処理に加えて、撮像画像55から歯牙領域を認識する処理を含めてラベリング処理と称する。また、ヒストグラムの生成に加えて、ヒストグラムから歯間部の検出範囲を設定する処理を含めてヒストグラム処理と称する。   As shown in FIG. 3, the processing unit 22 performs a color system conversion process, a color difference calculation process, a labeling process, a painting process, a histogram process, an interdental part detection process, an opening process, and an image drawing process, which will be described later. A conversion unit 31, a calculation unit 32, a recognition unit 33, a painting unit 34, a setting unit 35, a detection unit 36, an opening unit 37, and a drawing unit 38 are provided. In the following description, a labeling process including a process of recognizing a tooth region from the captured image 55 in addition to a process of labeling pixels is referred to. In addition to the generation of the histogram, the process including setting the detection range of the interdental part from the histogram is referred to as a histogram process.

図4に示すように、変換部31にて表色系変換処理が実施される(ステップS01)。表色系変換処理では、上記したように撮像画像55の画素毎に分光反射率が求められ、分光反射率からXYZ三刺激値が求められ、XYZ三刺激値に重価係数をかけ合わせることでL*a表色系の値に変換される(図2A、B参照)。次に、算出部32にて色差算出処理が実施される(ステップS02)。図5に示すように、色差算出処理では、撮像画像55から基準画素65が選択され、基準画素65のL*a表色系の基準値が設定される。基準値は基準画素65周辺のL*a表色系の値の平均値を使用してもよい。そして、撮像画像55の各画素にて、各画素のL*a表色系の値と基準画素65のL*a表色系の基準値との色差が算出される。 As shown in FIG. 4, the conversion unit 31 performs a color system conversion process (step S01). In the color system conversion process, as described above, the spectral reflectance is obtained for each pixel of the captured image 55, the XYZ tristimulus values are obtained from the spectral reflectances, and the XYZ tristimulus values are multiplied by the weight coefficient. It is converted into a value of L * a * b * color system (see FIGS. 2A and 2B). Next, a color difference calculation process is performed by the calculation unit 32 (step S02). As shown in FIG. 5, in the color difference calculation process, the reference pixel 65 is selected from the captured image 55, and the reference value of the L * a * b * color system of the reference pixel 65 is set. As the reference value, an average value of L * a * b * color system values around the reference pixel 65 may be used. Then, at each pixel of the captured image 55, the color difference between the reference value of the L * a * b * color system of L * a * b * color system value and the reference pixels 65 of each pixel is calculated.

次に、認識部33にてラベリング処理が実施される(ステップS03)。図6Aに示すように、初回のラベリング処理では、撮像画像55を対象として色差毎に画素数を示す色差ヒストグラムが作成され、色差ヒストグラムから判別分析法にて色差の閾値が設定される。図6Bに示すように、撮像画像55の各画素の色差が閾値よりも小さい連結画素に同じラベルが付される。認識部33では同じラベルが付された連結画素が歯牙領域61として認識される。なお、本実施の形態では、連結画素にはラベルとして番号が付されているが、アルファベット等の他のラベルが付されてもよい。   Next, a labeling process is performed in the recognition unit 33 (step S03). As shown in FIG. 6A, in the first labeling process, a color difference histogram indicating the number of pixels for each color difference is created for the captured image 55, and a color difference threshold is set from the color difference histogram by a discriminant analysis method. As shown in FIG. 6B, the same label is attached to the connected pixels in which the color difference between the pixels of the captured image 55 is smaller than the threshold value. The recognition unit 33 recognizes the connected pixels with the same label as the tooth region 61. In this embodiment, the connected pixels are numbered as labels, but other labels such as alphabets may be attached.

図6Cに示すように、ラベリング処理後の歯牙領域61は、歯牙51と歯牙51以外の部分が分離して認識されているが、歯牙51を1本ずつ認識できていない。すなわち、複数の歯牙51が1つの歯牙領域61として認識されてしまっている。これは歯間部62の色差が上記閾値よりも小さくなることで発生しているものと考えられる。この場合、単純に閾値を下げることも検討したが、歯間部62以外の歯牙領域61に対する影響が大きく歯牙領域61が部分的に欠損するおそれがある。このため、色差の閾値を用いて歯間部62を検出する代わりに、ヒストグラム処理及び歯間部検出処理の組み合わせで歯間部62が検出される。   As shown in FIG. 6C, in the tooth region 61 after the labeling process, the tooth 51 and the portion other than the tooth 51 are recognized separately, but the tooth 51 cannot be recognized one by one. That is, a plurality of teeth 51 are recognized as one tooth region 61. This is considered to occur because the color difference of the interdental portion 62 becomes smaller than the above threshold value. In this case, it has been considered to simply lower the threshold value, but the influence on the tooth region 61 other than the interdental portion 62 is great, and the tooth region 61 may be partially lost. Therefore, instead of detecting the interdental portion 62 using the color difference threshold, the interdental portion 62 is detected by a combination of histogram processing and interdental portion detection processing.

次に、塗潰し部34にて塗潰し処理が実施される(ステップS04)。図7に示すように、塗潰し処理では、歯牙領域61の輪郭が追跡されて、歯牙領域61の連結画素に付されたラベルで輪郭の内側が塗り潰される。この場合、撮像画像55がX方向(横方向)の1ライン毎に走査されて、歯牙領域61の輪郭から歯牙領域内部の欠損部分67が検出される。歯牙領域61の欠損部分67の各画素のラベルが、歯牙領域61のラベルに変更される。これにより、ラベリング処理後に歯牙領域61内で部分的にラベルの欠損が生じる場合であっても、ラベルの欠損を埋めて歯牙領域61として認識させることが可能になっている。   Next, a painting process is performed in the painting unit 34 (step S04). As shown in FIG. 7, in the filling process, the outline of the tooth region 61 is traced, and the inside of the outline is filled with a label attached to a connected pixel of the tooth region 61. In this case, the captured image 55 is scanned for each line in the X direction (lateral direction), and a defective portion 67 inside the tooth region is detected from the contour of the tooth region 61. The label of each pixel in the missing portion 67 of the tooth region 61 is changed to the label of the tooth region 61. As a result, even if a label loss partially occurs in the tooth region 61 after the labeling process, the label defect can be filled and recognized as the tooth region 61.

次に、設定部35にてヒストグラム処理が実施される(ステップS05)。図8Aに示すように、ヒストグラム処理では、撮像画像55のX座標毎に歯牙領域61の縦列の画素数を示すヒストグラムが生成され、ヒストグラムで谷となる座標68を基準に歯間部62の検出範囲が設定される。この場合、図8Bに示すように、撮像画像55がY方向の1ライン毎に走査されて、歯牙領域61の縦列の画素数が検出される。このとき、前段の塗潰し処理で歯牙領域61の内部の欠損部分67(図7参照)が塗潰されているため、歯牙領域61の縦列の画素数の検出精度が高められている。そして、撮像画像55においてヒストグラムで谷になる各画素を中心とした±5画素が歯間部62の検出範囲69に設定される。   Next, histogram processing is performed in the setting unit 35 (step S05). As shown in FIG. 8A, in the histogram processing, a histogram indicating the number of pixels in the column of the tooth region 61 is generated for each X coordinate of the captured image 55, and the interdental portion 62 is detected based on the coordinates 68 that are valleys in the histogram. A range is set. In this case, as shown in FIG. 8B, the captured image 55 is scanned for each line in the Y direction, and the number of pixels in the column of the tooth region 61 is detected. At this time, since the missing portion 67 (see FIG. 7) inside the tooth region 61 is painted by the previous painting process, the detection accuracy of the number of pixels in the column of the tooth region 61 is improved. Then, in the captured image 55, ± 5 pixels centering on each pixel that becomes a valley in the histogram is set in the detection range 69 of the interdental portion 62.

次に、検出部36にて歯間部検出処理が実施される(ステップS06)。図9に示すように、歯間部検出処理では、歯間部62の検出範囲69における歯牙領域61の各画素の明度に基づいて歯間部62が検出される。この場合、歯間部62の検出範囲69内において明度が暗い画素から明るい画素に変化する画素が歯間部62として検出される。例えば、あるY座標の明度波形において、傾きが0になるような座標が明度波形のピークになることを利用して、明度波形を1次微分して各画素の傾きを算出する。そして、検出範囲69内で傾きが正の値に極性変化する画素を歯間部62として検出している。なお、1次微分値の算出にはSG法(Savitzky-Golay法)が使用されてもよい。   Next, an interdental part detection process is implemented in the detection part 36 (step S06). As shown in FIG. 9, in the interdental part detection process, the interdental part 62 is detected based on the brightness of each pixel of the tooth region 61 in the detection range 69 of the interdental part 62. In this case, a pixel whose brightness changes from a dark pixel to a bright pixel in the detection range 69 of the interdental portion 62 is detected as the interdental portion 62. For example, in a lightness waveform at a certain Y coordinate, the lightness waveform is first-order differentiated to calculate the slope of each pixel by utilizing the fact that a coordinate having a slope of 0 is the peak of the lightness waveform. A pixel whose polarity changes to a positive value in the detection range 69 is detected as the interdental portion 62. Note that the SG method (Savitzky-Golay method) may be used to calculate the primary differential value.

この歯間部検出処理では、前段のヒストグラム処理によって歯間部62の検出範囲69が設定されているため、歯間部62の検出精度が向上されている。すなわち、一般に歯牙51は歯間部62において縦方向で狭くなる傾向があるため、ヒストグラム処理によって歯牙領域61の縦列の画素数から歯間部62の大まかな位置が特定されている。歯間部62の大まかな位置を含むように歯間部62の検出範囲69が設定されているため、歯間部検出処理にて検出範囲69外で歯間部62として検出されることを防止できる。例えば、図9の座標66は明度波形のピークを示しているが、検出範囲69外であるため、この座標66の画素が歯間部62として検出されることがない。   In this interdental part detection process, since the detection range 69 of the interdental part 62 is set by the previous histogram process, the detection accuracy of the interdental part 62 is improved. That is, since the tooth 51 generally tends to narrow in the interdental portion 62 in the vertical direction, the approximate position of the interdental portion 62 is specified from the number of pixels in the column of the tooth region 61 by histogram processing. Since the detection range 69 of the interdental part 62 is set so as to include the rough position of the interdental part 62, it is prevented from being detected as the interdental part 62 outside the detection range 69 in the interdental part detection processing. it can. For example, the coordinate 66 in FIG. 9 indicates the peak of the lightness waveform, but is outside the detection range 69, so that the pixel at this coordinate 66 is not detected as the interdental portion 62.

次に、認識部33にて再びラベリング処理が実施される(ステップS07)。この処理では、図10に示すように前回のラベリング処理によって認識された歯牙領域61から、歯間部62の画素を除いた連結画素に同じラベルが付されて、同じラベルが付された連結画素が新たな歯牙領域61として再認識される。   Next, the labeling process is performed again by the recognition unit 33 (step S07). In this process, as shown in FIG. 10, from the tooth region 61 recognized by the previous labeling process, the connected pixels excluding the interdental part 62 pixels are given the same label, and the connected pixels are given the same label. Is re-recognized as a new tooth region 61.

ところで、歯間部62の画素を除いてラベリング処理を実施しても、複数の歯牙51を完全に分離させることができない場合がある。例えば、図11Aに示すように、歯間部62が斜めに延びている場合には、破線で囲んだ箇所がヒストグラム処理において歯間部62の検出範囲69外となり、歯間部検出処理において歯間部62として認識されない。このため、本実施の形態では、ヒストグラム処理、歯間部検出処理、ラベリング処理を所定回数(例えば、3回以上)だけ繰り返して(ステップS08)、斜めに延びている歯間部62を検出するようにしている。   By the way, even if the labeling process is performed except for the pixels of the interdental portion 62, the plurality of teeth 51 may not be completely separated. For example, as shown in FIG. 11A, when the interdental portion 62 extends obliquely, the portion surrounded by the broken line is outside the detection range 69 of the interdental portion 62 in the histogram processing, and the tooth in the interdental portion detection processing It is not recognized as the intermediate part 62. For this reason, in the present embodiment, the histogram process, the interdental part detection process, and the labeling process are repeated a predetermined number of times (for example, three times or more) (step S08) to detect the interdental part 62 extending obliquely. I am doing so.

図11Bに示すように、ヒストグラム処理を繰り返すと、歯牙領域61から歯間部62が除かれて歯牙領域61の縦列の画素数が減少することで、ヒストグラムの谷となる座標68が変動して、歯間部62の検出範囲69が僅かにずれる。これにより、ヒストグラム処理を繰り返して検出範囲69をズラシながら、歯間部検出処理で斜めに延びた歯間部62を検出することが可能になっている。ヒストグラム処理が所定回数だけ繰り返されると(ステップS08でYes)、再び塗潰し部34にて再び塗潰し処理が実施される(ステップS09)。塗潰し処理では、上記したように、歯牙領域61の輪郭が追跡されて、歯牙領域61内に生じた欠損部分67(図7参照)が塗潰される。   As shown in FIG. 11B, when the histogram processing is repeated, the interdental portion 62 is removed from the tooth region 61, and the number of pixels in the column of the tooth region 61 is decreased, whereby the coordinates 68 that are the valleys of the histogram change. The detection range 69 of the interdental portion 62 is slightly shifted. Thereby, it is possible to detect the interdental portion 62 that extends obliquely by the interdental portion detection processing while shifting the detection range 69 by repeating the histogram processing. When the histogram process is repeated a predetermined number of times (Yes in step S08), the painting process is performed again in the painting unit 34 (step S09). In the filling process, as described above, the outline of the tooth region 61 is traced, and the defective portion 67 (see FIG. 7) generated in the tooth region 61 is filled.

次に、オープニング部37にてオープニング処理が実施される(ステップS10)。ここで、図12Aを参照してオープニング処理のイメージについて説明する。図12Aに示すように、左から順に、オープニング処理前の状態、収縮処理が実施された状態、膨張処理が実施された状態を示す。詳しく述べると、歯牙領域61に対して収縮が数回実施されると図12Aの中央の図の状態になり、その状態でラベリング処理を行う。さらに、歯牙領域61に対して膨張が収縮と同じ回数だけ実施されると図12Aの右端の図になる。図12BはステップS09まで行われた処理に、オープニング処理を実施したものである。オープニング処理によりステップS09までの処理で分離しきれなかった微細な連結部を分離できる。さらに、図12Bに示すように、歯牙領域61では無いにも関わらず、歯牙領域61の一部として認識されるノイズ71を減らすことができる。オープニング処理では、歯牙領域61内に欠損部分67(図7参照)が残っていると、欠損部分67を強調させてしまうが、前段の塗潰し処理で、歯牙領域61内の欠損部分67が塗潰されているため、歯牙領域61に欠損部分67が残ることがない。   Next, an opening process is performed in the opening part 37 (step S10). Here, an image of the opening process will be described with reference to FIG. 12A. As shown in FIG. 12A, in order from the left, a state before the opening process, a state where the contraction process is performed, and a state where the expansion process is performed are shown. More specifically, when the tooth region 61 is contracted several times, the state shown in the center of FIG. 12A is reached, and the labeling process is performed in this state. Further, when the tooth region 61 is expanded the same number of times as the contraction, the rightmost diagram of FIG. 12A is obtained. FIG. 12B is obtained by performing an opening process on the process performed up to step S09. By the opening process, it is possible to separate a fine connection part that could not be separated by the process up to step S09. Furthermore, as shown in FIG. 12B, noise 71 recognized as a part of the tooth region 61 can be reduced although it is not the tooth region 61. In the opening process, if the defect portion 67 (see FIG. 7) remains in the tooth region 61, the defect portion 67 is emphasized. However, the defect portion 67 in the tooth region 61 is applied in the previous painting process. Since it is crushed, the defect part 67 does not remain in the tooth region 61.

次に、認識部33にて最終的なラベリング処理が実施される(ステップS11)。上記したように、ラベリング処理では、現在の歯牙領域61から新たな歯牙領域61が再認識される。この結果、図13に示すように、複数の歯牙51の一本ずつが歯牙領域61として認識される。このように、歯牙領域61内の欠損を軽減しながら、複数の歯牙51からなる歯牙領域61を歯間部62で適切に分離させることが可能になっている。次に、描画部38にて画像描画処理が実施される(ステップS12)。図14に示すように、画像描画処理では、ラベリング処理で同じラベルが付された画素が同一色で着色されて歯牙領域61の着色画像が描画される。このようにして、複数の歯牙51を分離させて歯牙領域61が自動認識される。   Next, a final labeling process is performed in the recognition unit 33 (step S11). As described above, in the labeling process, a new tooth region 61 is re-recognized from the current tooth region 61. As a result, as shown in FIG. 13, each of the plurality of teeth 51 is recognized as a tooth region 61. As described above, the tooth region 61 composed of the plurality of teeth 51 can be appropriately separated by the interdental portion 62 while reducing the defect in the tooth region 61. Next, an image drawing process is performed in the drawing unit 38 (step S12). As shown in FIG. 14, in the image drawing process, pixels with the same label in the labeling process are colored with the same color, and a colored image of the tooth region 61 is drawn. In this way, the tooth region 61 is automatically recognized by separating the plurality of teeth 51.

図15を参照して、測色装置によるシェードガイド等級の判定処理について説明する。図15は、本実施の形態に係るシェードガイド等級の判定処理の一例を示す図である。なお、以下の説明では、測色装置がオートモードに設定されており、歯牙領域が自動認識されるものとする。   With reference to FIG. 15, the determination process of the shade guide grade by the color measuring device will be described. FIG. 15 is a diagram showing an example of a shade guide grade determination process according to the present embodiment. In the following description, it is assumed that the color measurement device is set to the auto mode and the tooth region is automatically recognized.

図15に示すように、測色装置1の測定ボタンが押下されると、患者の歯牙51が撮像される(ステップS21、図1参照)。次に、上記した歯牙領域61の自動認識処理によって、歯牙51の撮像画像55から歯牙領域61が自動認識される(ステップS22、図14参照)。これにより、複数の歯牙51を個別に分離させた状態で歯牙領域61が認識される。次に、各歯牙領域61に対してシェードガイド等級の測定範囲57が設定される(ステップS23、図14参照)。   As shown in FIG. 15, when the measurement button of the color measuring device 1 is pressed, the patient's tooth 51 is imaged (see step S21, FIG. 1). Next, the tooth region 61 is automatically recognized from the captured image 55 of the tooth 51 by the above-described automatic recognition processing of the tooth region 61 (step S22, see FIG. 14). Thereby, the tooth area | region 61 is recognized in the state which isolate | separated the several tooth 51 separately. Next, a shade guide grade measurement range 57 is set for each tooth region 61 (see step S23, FIG. 14).

次に、撮像画像55に設定された測定範囲57で、歯牙領域61のL*a表色系の値と各シェードガイド等級のL*a表色系の値の色差が算出される(ステップS24)。この色差が最も小さくなる等級が測定範囲57の歯牙51におけるシェードガイド等級と判定される(ステップS25)。そして、撮像画像55の歯牙51に重ね合わせるようにしてシェードガイド等級が表示される(ステップS26、図2C参照)。このように、患者の歯牙51に対して個々にシェードガイド等級が表示される。 Next, in the measurement range 57 set in the captured image 55, the color difference between the L * a * b * color system value of the tooth region 61 and the L * a * b * color system value of each shade guide grade is Calculated (step S24). The grade with the smallest color difference is determined as the shade guide grade for the tooth 51 in the measurement range 57 (step S25). Then, the shade guide grade is displayed so as to be superimposed on the tooth 51 of the captured image 55 (see step S26, FIG. 2C). Thus, shade guide grades are individually displayed for the patient's teeth 51.

以上のように、本実施の形態に係る測色装置1は、歯牙領域61の縦列の画素数から歯間部62を大まかに特定され、歯間部62の大まかな位置を基準に歯間部62の検出範囲69が設定される。このため、歯牙領域61の各画素の明度を用いた歯間部62の検出時に、実際には歯牙領域61である画素が歯間部62として誤って検出されることが抑えられる。また、歯間部62を除いた歯牙領域61から新たな歯牙領域61を再認識することで、複数の歯牙51からなる歯牙領域61を歯間部62で適切に分離させて、歯牙領域61毎に測色することができる。   As described above, the colorimetric device 1 according to the present embodiment roughly specifies the interdental part 62 from the number of pixels in the column of the tooth region 61, and determines the interdental part based on the rough position of the interdental part 62. 62 detection ranges 69 are set. For this reason, when the interdental part 62 is detected using the brightness of each pixel in the tooth region 61, it is possible to prevent the pixels that are actually the tooth area 61 from being erroneously detected as the interdental part 62. Further, by re-recognizing a new tooth region 61 from the tooth region 61 excluding the interdental portion 62, the tooth region 61 composed of a plurality of teeth 51 is appropriately separated by the interdental portion 62, and each tooth region 61 is separated. The color can be measured.

なお、本発明は上記実施の形態に限定されず、種々変更して実施することが可能である。上記実施の形態において、添付図面に図示されている大きさや形状などについては、これに限定されず、本発明の効果を発揮する範囲内で適宜変更することが可能である。その他、本発明の目的の範囲を逸脱しない限りにおいて適宜変更して実施することが可能である。   In addition, this invention is not limited to the said embodiment, It can change and implement variously. In the above-described embodiment, the size, shape, and the like illustrated in the accompanying drawings are not limited to this, and can be appropriately changed within a range in which the effect of the present invention is exhibited. In addition, various modifications can be made without departing from the scope of the object of the present invention.

例えば、本実施の形態において、認識部33がラベリング処理によって歯牙領域61を認識する構成にしたが、この構成に限定されない。認識部33は、歯牙領域61を認識可能であればよく、ラベリング処理以外の処理で歯牙領域61を認識するようにしてもよい。   For example, in the present embodiment, the recognition unit 33 is configured to recognize the tooth region 61 by the labeling process, but is not limited to this configuration. The recognition unit 33 only needs to recognize the tooth region 61 and may recognize the tooth region 61 by a process other than the labeling process.

また、本実施の形態において、設定部35が撮像画像55のX座標毎に歯牙領域61の縦列の画素数を示すヒストグラムを生成して、ヒストグラムの谷になる座標を基準に歯間部62の検出範囲69を設定したが、この構成に限定されない。設定部35は、歯牙領域61の縦列の画素数に基づいて、歯間部62の検出範囲69を設定可能であればよく、ヒストグラムを生成しなくてもよい。   Further, in the present embodiment, the setting unit 35 generates a histogram indicating the number of pixels in the column of the tooth region 61 for each X coordinate of the captured image 55, and the interdental portion 62 of the interdental portion 62 is based on the coordinates that become the valley of the histogram. Although the detection range 69 is set, the present invention is not limited to this configuration. The setting unit 35 only needs to be able to set the detection range 69 of the interdental part 62 based on the number of pixels in the column of the tooth region 61, and does not need to generate a histogram.

また、本実施の形態において、検出部36が歯間部62の検出範囲69において、明度波形の1次微分値を用いて明度が暗い画素から明るい画素に変化する画素を歯間部62として検出する構成にしたが、この構成に限定されない。検出部36は、歯間部62の検出範囲69における歯牙領域61の各画素の明度に基づいて、歯間部62を検出可能であればよく、明度波形の1次微分値を用いなくてもよい。   In the present embodiment, the detection unit 36 detects, as the interdental portion 62, a pixel whose lightness changes from a dark pixel to a bright pixel using the first-order differential value of the lightness waveform in the detection range 69 of the interdental portion 62. However, the present invention is not limited to this configuration. The detection unit 36 only needs to be able to detect the interdental portion 62 based on the brightness of each pixel of the tooth region 61 in the detection range 69 of the interdental portion 62, and does not need to use the primary differential value of the lightness waveform. Good.

また、本実施の形態において、ラベリング処理では、色差ヒストグラムから判別分析法にて算出した閾値を用いる構成にしたが、この構成に限定されない。ラベリング処理では、予め決定された固定の閾値が用いられてもよい。   In the present embodiment, the labeling process uses a threshold value calculated by the discriminant analysis method from the color difference histogram. However, the present invention is not limited to this configuration. In the labeling process, a predetermined fixed threshold value may be used.

また、本実施の形態において、色差算出処理では、撮像画像55の基準画素65から基準値を求める構成にしたが、この構成に限定されない。色差算出処理では、基準画素65から基準値を求める代わりに、予め記憶された基準値が使用されてもよい。   In the present embodiment, the color difference calculation process is configured to obtain the reference value from the reference pixel 65 of the captured image 55, but is not limited to this configuration. In the color difference calculation process, a reference value stored in advance may be used instead of obtaining the reference value from the reference pixel 65.

また、本実施の形態において、塗潰し処理、オープニング処理を実施したが、この構成に限定されない。塗潰し処理、オープニング処理をせずに、歯牙領域61を精度よく認識可能であれば、塗潰し処理、オープニング処理を省略することも可能である。   In the present embodiment, the painting process and the opening process are performed, but the present invention is not limited to this configuration. If the tooth region 61 can be accurately recognized without performing the painting process and the opening process, the painting process and the opening process can be omitted.

また、本実施の形態において、歯牙領域61の自動認識処理でヒストグラム処理、歯間部検出処理、ラベリング処理を所定回数繰り返す構成にしたが、この構成に限定されない。1度目の歯間部検出処理で歯間部62を適切に検出される場合には、ヒストグラム処理、歯間部検出処理、ラベリング処理が繰り返されなくてもよい。   In the present embodiment, the histogram process, the interdental part detection process, and the labeling process are repeated a predetermined number of times in the automatic recognition process of the tooth region 61. However, the present invention is not limited to this configuration. When the interdental part 62 is appropriately detected in the first interdental part detection process, the histogram process, the interdental part detection process, and the labeling process may not be repeated.

また、本実施の形態において、測色装置1は、歯牙51からの反射光を取り込む光学系と、歯牙領域の自動認識処理等の制御系とが一体になっていてもよいし、別体になっていてもよい。例えば、測色装置1は、光学系の装置とこの装置に接続されるコンピュータとで構成されていてもよい。   In the present embodiment, the colorimetric device 1 may be integrated with an optical system that captures the reflected light from the tooth 51 and a control system such as an automatic recognition process for the tooth region, or separately. It may be. For example, the color measuring device 1 may be composed of an optical device and a computer connected to the device.

以上説明したように、本発明は、複数の歯牙を個別に測色することができるという効果を有し、特に、歯科医院等で患者の歯牙を測色してシェードガイドと比較する測色装置、測色方法及びプログラムに有用である。   As described above, the present invention has an effect that it is possible to individually measure a plurality of teeth, and in particular, a color measuring device that measures a patient's teeth in a dental clinic or the like and compares it with a shade guide. Useful for colorimetric methods and programs.

1 測色装置
22 処理部
33 認識部
34 塗潰し部
35 設定部
36 検出部
37 オープニング部
51 歯牙
55 撮像画像
61 歯牙領域
62 歯間部
68 ヒストグラムの座標
69 検出範囲
DESCRIPTION OF SYMBOLS 1 Color measuring device 22 Processing part 33 Recognition part 34 Filling part 35 Setting part 36 Detection part 37 Opening part 51 Tooth 55 Captured image 61 Tooth area | region 62 Interdental part 68 Histogram coordinate 69 Detection range

Claims (8)

横並びの歯牙を撮像した撮像画像に対して歯牙領域を設定し、前記歯牙領域毎に測色する測色装置であって、
前記撮像画像から歯牙領域を認識する認識部と、
前記歯牙領域の縦列の画素数に基づいて、前記撮像画像に歯間部の検出範囲を設定する設定部と、
前記歯間部の検出範囲における前記歯牙領域の各画素の明度に基づいて、前記歯間部を検出する検出部とを備え、
前記認識部が、前記歯間部を除いた前記歯牙領域から新たな歯牙領域を再認識することを特徴とする測色装置。
A color measurement device that sets a tooth region for a captured image obtained by imaging teeth arranged side by side and performs color measurement for each tooth region,
A recognition unit for recognizing a tooth region from the captured image;
Based on the number of pixels in the column of the tooth region, a setting unit that sets a detection range of the interdental portion in the captured image;
A detection unit that detects the interdental part based on the brightness of each pixel of the tooth region in the detection range of the interdental part,
The color measuring apparatus, wherein the recognition unit re-recognizes a new tooth region from the tooth region excluding the interdental portion.
前記設定部は、前記撮像画像の横方向の座標毎に前記歯牙領域の縦列の画素数を示すヒストグラムを生成し、当該ヒストグラムで谷になる座標を基準に前記歯間部の検出範囲を設定することを特徴とする請求項1に記載の測色装置。   The setting unit generates a histogram indicating the number of pixels in the column of the tooth region for each horizontal coordinate of the captured image, and sets the detection range of the interdental portion based on coordinates that become valleys in the histogram. The colorimetric apparatus according to claim 1, wherein: 前記検出部は、前記歯間部の検出範囲において明度が暗い画素から明るい画素に変化する画素を前記歯間部として検出することを特徴とする請求項1又は請求項2に記載の測色装置。   The colorimetric apparatus according to claim 1, wherein the detection unit detects, as the interdental portion, a pixel whose brightness changes from a dark pixel to a bright pixel in the detection range of the interdental portion. . 前記認識部は、基準値に対する前記撮像画像の各画素の色差が閾値より小さい連結画素に同じラベルを付して、当該ラベルに基づいて前記連結画素を前記歯牙領域として認識し、
前記歯間部の検出後に、前記歯間部の画素を除いた連結画素に同じラベルを付して、当該ラベルに基づいて前記連結画素を前記新たな歯牙領域として再認識することを特徴とする請求項1から請求項3のいずれかに記載の測色装置。
The recognition unit attaches the same label to connected pixels in which the color difference of each pixel of the captured image with respect to a reference value is smaller than a threshold, and recognizes the connected pixel as the tooth region based on the label,
After detecting the interdental portion, the same label is attached to the connected pixels excluding the interdental pixels, and the connected pixel is re-recognized as the new tooth region based on the label. The colorimetric apparatus according to claim 1.
前記歯牙領域の輪郭を追跡して、前記歯牙領域の連結画素に付されたラベルで、前記輪郭の内側を塗潰す塗潰し部を備えることを特徴とする請求項4に記載の測色装置。   The colorimetric apparatus according to claim 4, further comprising a painting unit that tracks a contour of the tooth region and paints an inside of the contour with a label attached to a connected pixel of the tooth region. 前記歯間部の検出後に、前記歯牙領域に対してオープニング処理を実施するオープニング処理部を備えることを特徴とする請求項1から請求項5のいずれかに記載の測色装置。   The colorimetric apparatus according to claim 1, further comprising an opening processing unit that performs an opening process on the tooth region after the detection of the interdental part. 横並びの歯牙を撮像した撮像画像に対して歯牙領域を設定し、前記歯牙領域毎に測色する測色装置による測色方法であって、
前記撮像画像から歯牙領域を認識するステップと、
前記歯牙領域の縦列の画素数に基づいて、前記撮像画像に歯間部の検出範囲を設定するステップと、
前記歯間部の検出範囲における前記歯牙領域の各画素の明度に基づいて、前記歯間部を検出するステップと、
前記歯間部を除いて、前記歯牙領域から新たな歯牙領域を再認識するステップとを有することを特徴とする測色方法。
It is a color measurement method by a color measurement device that sets a tooth region for a captured image obtained by imaging side-by-side teeth and performs color measurement for each tooth region,
Recognizing a tooth region from the captured image;
Setting a detection range of an interdental portion in the captured image based on the number of pixels in a column of the tooth region;
Detecting the interdental part based on the brightness of each pixel of the tooth region in the detection range of the interdental part;
And re-recognizing a new tooth region from the tooth region except for the interdental portion.
請求項7に記載の測色方法を測色装置に実行させることを特徴とするプログラム。   A program for causing a colorimetric apparatus to execute the colorimetric method according to claim 7.
JP2015135835A 2015-07-07 2015-07-07 Color measuring device, color measuring method and program Active JP6574112B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015135835A JP6574112B2 (en) 2015-07-07 2015-07-07 Color measuring device, color measuring method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015135835A JP6574112B2 (en) 2015-07-07 2015-07-07 Color measuring device, color measuring method and program

Publications (2)

Publication Number Publication Date
JP2017018152A true JP2017018152A (en) 2017-01-26
JP6574112B2 JP6574112B2 (en) 2019-09-11

Family

ID=57888793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015135835A Active JP6574112B2 (en) 2015-07-07 2015-07-07 Color measuring device, color measuring method and program

Country Status (1)

Country Link
JP (1) JP6574112B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210109766A (en) * 2020-02-28 2021-09-07 김현삼 Artificial tooth color reproduction device using Deep Learning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004209244A (en) * 2002-12-28 2004-07-29 Samsung Electronics Co Ltd Method for extracting teeth region from teeth image and method and apparatus for identification using teeth image
JP2008228818A (en) * 2007-03-16 2008-10-02 Olympus Corp Contour detecting device, contour detecting method and program thereof
JP2010029645A (en) * 2008-06-30 2010-02-12 Olympus Corp Dental colorimetry apparatus, system, method and program
KR101145672B1 (en) * 2011-09-20 2012-05-24 원광대학교산학협력단 A smile analysis system for smile self-training
JP2012217762A (en) * 2011-04-13 2012-11-12 Olympus Corp Dental observation apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004209244A (en) * 2002-12-28 2004-07-29 Samsung Electronics Co Ltd Method for extracting teeth region from teeth image and method and apparatus for identification using teeth image
JP2008228818A (en) * 2007-03-16 2008-10-02 Olympus Corp Contour detecting device, contour detecting method and program thereof
JP2010029645A (en) * 2008-06-30 2010-02-12 Olympus Corp Dental colorimetry apparatus, system, method and program
JP2012217762A (en) * 2011-04-13 2012-11-12 Olympus Corp Dental observation apparatus
KR101145672B1 (en) * 2011-09-20 2012-05-24 원광대학교산학협력단 A smile analysis system for smile self-training

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210109766A (en) * 2020-02-28 2021-09-07 김현삼 Artificial tooth color reproduction device using Deep Learning
KR102318713B1 (en) 2020-02-28 2021-10-27 김현삼 Artificial tooth color reproduction device using Deep Learning

Also Published As

Publication number Publication date
JP6574112B2 (en) 2019-09-11

Similar Documents

Publication Publication Date Title
US8165351B2 (en) Method of structured light-based measurement
EP3179205B1 (en) Metal body shape inspection apparatus and metal body shape inspection method
KR101180027B1 (en) Optical sensor and sensing method using the same
KR101284268B1 (en) Color lighting control method for improving image quality of vision system
JP5073996B2 (en) Image processing device
JP5018653B2 (en) Image identification device
JP2010502280A (en) Caries detection method
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP2008209211A (en) Foreign matter inspection apparatus and method
JP2007047045A (en) Apparatus, method and program for image processing
JP2010532018A (en) Multicolor autofocus device and method
US20220313094A1 (en) Method for investigating optical element embedded in intraoral scanner, and system using same
JP2020094955A (en) Defect detecting device, and defect detecting method
US10823682B2 (en) Water measurement apparatus
JP6574112B2 (en) Color measuring device, color measuring method and program
JP5565998B2 (en) Optical fiber counting device
JP2007212364A (en) Method and device for determining surface abnormality
JP7034308B2 (en) Light source control device, endoscope system, and dimming control method
JP6184928B2 (en) Endoscope system, processor device
JP4820971B2 (en) Surface inspection method
US20220192470A1 (en) Endoscope system
JP2008026147A (en) Inspection device for color filter, and inspection method for the color filter
JP5459863B2 (en) Surface texture measuring device
JP2017191083A (en) Bright-spot image acquisition apparatus and bright-spot image acquisition method
JP5135899B2 (en) Periodic pattern unevenness inspection method and unevenness inspection apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190705

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190815

R150 Certificate of patent or registration of utility model

Ref document number: 6574112

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150