JP2018106558A - Method for measuring color of object - Google Patents

Method for measuring color of object Download PDF

Info

Publication number
JP2018106558A
JP2018106558A JP2016254330A JP2016254330A JP2018106558A JP 2018106558 A JP2018106558 A JP 2018106558A JP 2016254330 A JP2016254330 A JP 2016254330A JP 2016254330 A JP2016254330 A JP 2016254330A JP 2018106558 A JP2018106558 A JP 2018106558A
Authority
JP
Japan
Prior art keywords
color
values
image
xyz
rgb
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.)
Pending
Application number
JP2016254330A
Other languages
Japanese (ja)
Inventor
誠也 越野
Seiya Koshino
誠也 越野
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.)
Shiseido Co Ltd
Original Assignee
Shiseido Co 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 Shiseido Co Ltd filed Critical Shiseido Co Ltd
Priority to JP2016254330A priority Critical patent/JP2018106558A/en
Publication of JP2018106558A publication Critical patent/JP2018106558A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for measuring color of an object, which can acquire and generate color information usable to reproduce a color closer to a color perceived by a person from a photographed image.SOLUTION: In a method for measuring the color of an object including acquiring an image of the object, acquiring RGB values from the image, converting the RGB values to XYZ values, and converting the XYZ values to Labvalues, the conversion from the RGB values to the XYZ values is performed by using a conversion formula [XYZ]=M[SS... S], [Mis a 3×n transformation matrix, S, S, ..., Sare input values based on the RGB values acquired from the image, and n=8 to 14].SELECTED DRAWING: Figure 1

Description

本発明は、対象物の色を測定する方法に関する。   The present invention relates to a method for measuring the color of an object.

近年、遠隔コミュニケーションや電子商取引が増加する中で、対象物の実際の色に忠実な色を再現することが求められている。そのためには、人が目で知覚した色により近い色を再現できる色情報を取得し、共有できるようにすることが必要である。   In recent years, with the increase in remote communication and electronic commerce, it is required to reproduce colors that are faithful to the actual colors of objects. For this purpose, it is necessary to acquire and share color information that can reproduce colors closer to colors perceived by human eyes.

色情報を比較的容易に取得できる手段としては、RGB表色系の撮像手段(カメラ等)を用いて画像を撮像し、RGB値を取得することが知られている。ここで、RGB表色系では等色関数に負の部分が生じ、色彩値計算時に不都合が生じる。そのため、画像から得られたRGB値を、等色関数に負の部分が生じないXYZ値に変換した後、他の表色系(L表色系等)へと変換して利用されることが多い(例えば、特許文献1)。 As means for obtaining color information relatively easily, it is known to obtain an RGB value by taking an image using an RGB colorimetric imaging means (camera or the like). Here, in the RGB color system, a negative part occurs in the color matching function, which causes inconvenience when calculating the color value. Therefore, after converting the RGB value obtained from the image into an XYZ value in which a negative part does not occur in the color matching function, it is converted into another color system (L * a * b * color system, etc.) Often used (for example, Patent Document 1).

特開2010−159230号公報JP 2010-159230 A

画像から得られたRGB値をXYZ値に変換する場合には、行列を用いて線形変換を行うことが知られている。しかし、化粧料、容器、服飾、塗料等、色調の相違が製品の評価に大きく関わるような分野においては、従来の色情報の取得、生成方法では、知覚した色に近い色の再現を十分に行えない場合もあった。   When converting RGB values obtained from an image into XYZ values, it is known to perform linear conversion using a matrix. However, in fields such as cosmetics, containers, clothing, paints, etc. where color differences greatly affect product evaluation, conventional color information acquisition and generation methods are sufficient to reproduce colors close to the perceived color. In some cases, this was not possible.

上記の点に鑑みて、本発明の一形態は、撮影された画像から、人が目で知覚した色により近い色を再現できる色情報を取得し、生成することができる、対象物の色を測定する方法を提供することを課題とする。   In view of the above points, according to one aspect of the present invention, the color of an object can be obtained by generating color information that can reproduce a color closer to the color perceived by human eyes from a captured image. It is an object to provide a method for measuring.

上記課題を解決するため、本発明の一形態によれる対象物の色を測定する方法は、対象物の画像を取得し、前記画像からRGB値を取得し、前記RGB値をXYZ値に変換し、前記XYZ値をL値に変換することを含み、前記RGB値から前記XYZ値への変換を、変換式 In order to solve the above problems, a method for measuring the color of an object according to an embodiment of the present invention acquires an image of the object, acquires RGB values from the image, and converts the RGB values to XYZ values. And converting the XYZ values into L * a * b * values, and converting the RGB values into the XYZ values using a conversion formula

Figure 2018106558
Figure 2018106558

〔前記M3×nが、3×nの変換行列であり、前記S、S、・・・、Sは、前記画像から取得されたRGB値に基づく入力値であり、n=8〜14である〕
を用いて行う。
[Wherein M 3 × n is a 3 × n transformation matrix, and S 1 , S 2 ,..., S n are input values based on RGB values acquired from the image, and n = 8 ~ 14]
To do.

本発明の一形態によれば、撮影された画像から、人が目で知覚した色により近い色を再現できる色情報を取得し、生成することができる。   According to an embodiment of the present invention, color information that can reproduce colors closer to colors perceived by human eyes from captured images can be acquired and generated.

本発明の一形態による方法を示すフロー図である。FIG. 6 is a flow diagram illustrating a method according to an aspect of the present invention. 本発明の一形態を行うための装置の概略図である。1 is a schematic view of an apparatus for carrying out an embodiment of the present invention.

図1に、本発明の一形態による対象物の色を測定する方法のフロー図を示す。また、図2に、本形態による方法を実施するための装置の概略図を示す。図2には、測定対象物14、測定対象物14に光を照射するための光源10、測定対象物14の画像を撮影するための撮像手段12、撮像手段12により得られたデータを処理するための計算手段18が示されている。   FIG. 1 shows a flow diagram of a method for measuring the color of an object according to one aspect of the present invention. FIG. 2 shows a schematic diagram of an apparatus for carrying out the method according to the present embodiment. In FIG. 2, the measurement object 14, the light source 10 for irradiating the measurement object 14 with light, the imaging means 12 for taking an image of the measurement object 14, and the data obtained by the imaging means 12 are processed. The calculation means 18 for this is shown.

図2は、装置を上から見た図であり、光源10、撮像手段12、測定対象物14は、ほぼ水平に配置されている。そして、撮像手段12は、測定対象物14の正面に設けられており、光源10は、光源10からの光が測定対象物14の表面に対して角度をなして照射されるように配置されている。光源10は、撮像手段12による測定対象物14の撮像を妨げない位置であれば、図示のものとは別の角度で光が照射されるように配置されていてよい。   FIG. 2 is a view of the apparatus as viewed from above, and the light source 10, the imaging means 12, and the measurement object 14 are arranged substantially horizontally. The imaging means 12 is provided in front of the measurement object 14, and the light source 10 is arranged so that light from the light source 10 is irradiated at an angle with respect to the surface of the measurement object 14. Yes. The light source 10 may be arranged so that light is irradiated at an angle different from that shown in the figure as long as it does not interfere with the imaging of the measurement object 14 by the imaging means 12.

なお、光源10としては、演色性の高いものを用いることが好ましい。具体的には、光源10の、JIS Z 8726に基づき求めた平均演色評価数Raが90以上であると好ましく、95以上であるとより好ましい。また、光源10は、測定対象物14から50cm以下の距離だけ離して配置することが好ましい。   Note that it is preferable to use a light source 10 having high color rendering properties. Specifically, the average color rendering index Ra obtained based on JIS Z 8726 of the light source 10 is preferably 90 or more, and more preferably 95 or more. Further, the light source 10 is preferably arranged at a distance of 50 cm or less from the measurement object 14.

本形態による方法では、まず、撮像装置12によって、色を測定したい対象物の画像を取得する(S1)。撮像装置12は、対象物の色情報を取得することのできるものであれば特に限定されないが、ノイズが少ないことから冷却CCDカメラを用いることが好ましく、例えば、BITRAN社製のBU−55C等を用いることができる。   In the method according to this embodiment, first, an image of an object whose color is to be measured is acquired by the imaging device 12 (S1). The imaging device 12 is not particularly limited as long as it can acquire color information of an object. However, it is preferable to use a cooled CCD camera because there is little noise. For example, a BU-55C manufactured by BITRAN is used. Can be used.

撮像手段12としてカメラを用いた場合、撮像に際し、いわゆる暗ノイズ除去をしておくことが好ましい。具体的には、カメラのレンズにキャップをした状態で画像(ダーク画像)を取得し、その後、ダーク画像の画素値がゼロとなるように、カメラのRGBの各チャンネルを調整することができる。   When a camera is used as the image pickup means 12, it is preferable to remove so-called dark noise at the time of image pickup. Specifically, an image (dark image) is acquired with the camera lens capped, and then each RGB channel of the camera can be adjusted so that the pixel value of the dark image becomes zero.

さらに、輝度ムラ補正を行って、均質な明るさの画像を取得することが好ましい。具体的には、反射率18%のグレー板(グレーカード)をLED光源下にて画像(グレー画像)を撮影し、画面全域の画素値が所定値になるよう、RGBの各チャンネルを調整する。例えば、画素値(輝度)のレンジが0〜65535のカメラであれば、取得したグレー画像の画素値が11796となるように調整する。   Furthermore, it is preferable to perform luminance unevenness correction to obtain an image with uniform brightness. Specifically, an image (gray image) is taken on a gray plate (gray card) with a reflectance of 18% under an LED light source, and each channel of RGB is adjusted so that the pixel values of the entire screen become a predetermined value. . For example, if the camera has a pixel value (luminance) range of 0 to 65535, the acquired gray image is adjusted to have a pixel value of 11796.

また、上記の暗ノイズ除去及び輝度ムラ補正に加え、カラーチャートを用いた補正を行うこともできる。カラーチャートには、X−rite社製のColor Checker Passport(24色)等を利用することができる。カラーチャートを撮像し、画像(カラーチャート画像)を得て、上記の暗ノイズ除去及び輝度ムラ補正を行った後、最終的に、カラーチャート画像の輝度が0.18倍未満、好ましくは0.15倍以上0.18倍未満となるよう調整する。グレー画像の反射率は18%であるため、本来であれば0.18倍とするところ、バッファを持たせることで、より見た目の色に近い色情報を得ることができる。   Further, in addition to the above-described dark noise removal and luminance unevenness correction, correction using a color chart can also be performed. For the color chart, Color Checker Passport (24 colors) manufactured by X-rite can be used. After the color chart is imaged to obtain an image (color chart image), the dark noise removal and the luminance unevenness correction are performed, the luminance of the color chart image is finally less than 0.18 times, preferably 0. Adjust to 15 times or more and less than 0.18 times. Since the reflectance of the gray image is 18%, it is originally set to 0.18 times, but by providing a buffer, color information closer to the apparent color can be obtained.

測定対象14は、撮像手段12に向けられた側に、測定対象表面14aを有しており、測定対象表面14aには色を測定したい対象物を配置又は塗布することができる。測定対象物14としては、色を有するあらゆる全ての物を用いることができるが、本形態による方法は、化粧料、塗料等の有色の組成物を塗布した面を測定対象物として、色情報を得るために好適に用いられる。特に、微妙な色差が製品の選定や評価に大きく影響し、精度の高い色測定が必要とされている化粧料において好適に用いられる。中でも、口紅、アイシャドー、頬紅、ファンデーション等の化粧料、とりわけ、口紅及びアイシャドーの色の測定に好適に使用することができる。   The measurement object 14 has a measurement object surface 14a on the side directed to the imaging means 12, and an object whose color is to be measured can be arranged or applied to the measurement object surface 14a. Although all objects having color can be used as the measurement object 14, the method according to the present embodiment uses the surface on which a colored composition such as cosmetics or paint is applied as the measurement object, and provides color information. It is preferably used for obtaining. In particular, the subtle color difference greatly affects the selection and evaluation of products and is suitably used in cosmetics that require highly accurate color measurement. Especially, it can use suitably for the measurement of the color of cosmetics, such as a lipstick, an eye shadow, a blusher, and a foundation, especially a lipstick and an eye shadow.

なお、色測定を行いたい対象物が、口紅等の化粧料のように、投影面積の小さい半固体である場合には、測定対象表面14aに対象物を塗布することが好ましい。その場合、疑似皮膚を準備し、測定対象表面14aに疑似皮膚を被着し、その上に化粧料を塗布したものを利用することができる。また、化粧料が施された人の顔を測定対象物とすることもできる。   In addition, when the target object which performs a color measurement is a semi-solid with a small projected area like cosmetics, such as a lipstick, it is preferable to apply a target object to the measurement target surface 14a. In that case, it is possible to use a material in which pseudo skin is prepared, pseudo skin is applied to the measurement target surface 14a, and cosmetics are applied thereon. Moreover, the face of the person to whom cosmetics were given can also be made into a measuring object.

図2の装置を用いて画像を撮影した後(S1)、撮影された画像からRGB値を取得する(S2)。得られたRGB値は、最終的には、知覚的な均等性の高い(色値の変化量と人間が感じる変化の量とが等しい)L値(CIE1976L表色系)へ変換するが、上述のような色彩値計算時の不都合を回避するため、一旦、RGB値を、デバイスに依存しないXYZ値(CIE1931XYZ表色系)に変換する(S3)。 After taking an image using the apparatus of FIG. 2 (S1), RGB values are acquired from the taken image (S2). The resulting RGB values is finally (equal to the amount of the color value variation and human feel change) perceptual high homogeneity L * a * b * values (CIE1976L * a * b * However, in order to avoid the inconvenience at the time of color value calculation as described above, the RGB values are once converted into XYZ values (CIE 1931 XYZ color system) that do not depend on the device (S3).

本形態では、RGB値からXYZ値への変換に際し、以下の行列変換式   In the present embodiment, the following matrix conversion formula is used for conversion from RGB values to XYZ values.

Figure 2018106558
Figure 2018106558

〔前記M3×nは、3×nの変換行列であり、前記S、S、・・・、Sは、前記画像から取得されたRGB値に基づく入力値であり、n=8〜14である〕
を用いる。
[M 3 × n is a 3 × n transformation matrix, and S 1 , S 2 ,..., S n are input values based on RGB values acquired from the image, and n = 8 ~ 14]
Is used.

RGB値からXYZ値への変換に関しては、典型的には、R、G、Bの各値を入力値とし、3×3の変換行列(マトリクス)を用いて変換を行うことが知られている。しかし、本形態では、従来のものとは異なる上記の変換行列を利用することによって、人が目で認識する色により近い色を再現できる(色再現性の高い)色情報を獲得することが可能となる。   Regarding conversion from RGB values to XYZ values, it is typically known to perform conversion using a 3 × 3 conversion matrix (matrix) with R, G, and B values as input values. . However, in this embodiment, it is possible to acquire color information (high color reproducibility) that can reproduce colors closer to the color recognized by human eyes by using the above conversion matrix different from the conventional one. It becomes.

上記の入力値S、S、・・・、Sは、多次項を含んでいてよく、例えば、2次項を含み得る。また、入力値としてR、G、Bを含んでいてよく、RG、GB、BRを含んでいてよい。 The input values S 1 , S 2 ,..., S n may include multi-order terms, and may include secondary terms, for example. Further, R 2 , G 2 , and B 2 may be included as input values, and RG, GB, and BR may be included.

さらに、3次項として、R、G及びBの各値を乗じたもの、つまりRGBを含んでいることが好ましい。また、R、G及びBの各値の3乗値、すなわち、R、G及びBを含んでいることが好ましい。これは、3乗項を設けることで暗部のRGB値のズレが強調されて補正がかるためと考えられる。 Further, it is preferable that the third order term includes a product obtained by multiplying each value of R, G, and B, that is, RGB. Moreover, it is preferable to include the cube value of each value of R, G, and B, that is, R 3 , G 3, and B 3 . This is considered to be because correction of the dark portion RGB value is emphasized by providing the cube term.

入力値は、0〜3次項を全て含んでいることが好ましい。特に、入力値S、S、・・・、Sは、1、R、G、B、R、G、B、RG、GB、BR、R、G、B、RGBを含んでおり、Mが3×14の変換行列であることが好ましい。 The input value preferably includes all 0th to 3rd order terms. In particular, the input values S 1 , S 2 ,..., Sn are 1, R, G, B, R 2 , G 2 , B 2 , RG, GB, BR, R 3 , G 3 , B 3 , It is preferable that the conversion matrix includes RGB and M is 3 × 14.

なお、入力値S、S、・・・、Sは、5次以上の項を含んでいないことが好ましく、4次以上の項を含んでいないことがより好ましい。 In addition, it is preferable that the input values S 1 , S 2 ,..., S n do not include a fifth or higher order term, and more preferably do not include a fourth or higher order term.

3×nの生成においては、図2に示した計算手段18、例えばパソコン等に搭載されたソフトを利用することができる。具体的には、M3×nを生成するには、複数の所定の色についてそれぞれ撮像によりRGB値を取得し、同じ各色についてのXYZ値の真値を準備する。真値としては、例えば、人の視覚に極めて近い色情報が得られると評価されている分光放射輝度計の計測値から得たXYZ値を用いることができる。複数の色は、カラーチャート等を用いることによって、24色以上、好ましくは140色以上の色を用いることが好ましい。 In the generation of M 3 × n , software installed in the calculation means 18 shown in FIG. 2, for example, a personal computer or the like can be used. Specifically, in order to generate M 3 × n , RGB values are acquired by imaging for a plurality of predetermined colors, and true values of XYZ values for the same colors are prepared. As the true value, for example, an XYZ value obtained from a measurement value of a spectral radiance meter evaluated that color information very close to human vision can be obtained can be used. The plurality of colors are preferably 24 colors or more, preferably 140 colors or more by using a color chart or the like.

さらに、各色について得られたRGB値(撮像により取得)とXYZ値の真値とのデータを上式(1)に導入し、最適化を行うことによってM3×nを求めることができる。最適化は、例えば、パソコン18上でソフトウェアを用いて行うことができる。例えば、MathWorks社の最適化ソフトウェアであるMATLAB(登録商標)や、Microsoft社のOffice Excel(登録商標)のソルバー機能等を用いることができる。 Furthermore, M 3 × n can be obtained by introducing the RGB value (obtained by imaging) obtained for each color and the true value of the XYZ value into the above equation (1) and performing optimization. The optimization can be performed using software on the personal computer 18, for example. For example, MATLAB software (registered trademark), which is optimization software of MathWorks, or solver function of Office Excel (registered trademark) of Microsoft Corporation can be used.

上述のようにして得られたM3×nを含む式(1)に基づき、S2で取得したRGB値をXYZ値に変換する(S3)。さらに、XYZ値をL値に変換する(S4)。変換に際しては、公知の変換式を用いることができる。 Based on the equation (1) including M 3 × n obtained as described above, the RGB values acquired in S2 are converted into XYZ values (S3). Further, the XYZ value is converted into an L * a * b * value (S4). In the conversion, a known conversion formula can be used.

なお、近年、分光放射輝度計を用いて色度と輝度を測定することによって、色再現性の高い色情報を得ることは可能である。しかし、分光放射輝度計での測定には時間がかかること等から実用には向いていない。一方、本形態によれば、RGB値の色情報を利用できるので、カメラ等の撮像手段を用いることができる。そのため、短い測定時間で容易に、再現性の高い色情報を取得することができる。   In recent years, it is possible to obtain color information with high color reproducibility by measuring chromaticity and luminance using a spectral radiance meter. However, measurement with a spectral radiance meter is not suitable for practical use because it takes time. On the other hand, according to the present embodiment, since color information of RGB values can be used, an imaging means such as a camera can be used. Therefore, highly reproducible color information can be acquired easily in a short measurement time.

以下、本発明の一形態を、実施例、比較例に基づきさらに詳説する。   Hereinafter, an embodiment of the present invention will be described in more detail based on examples and comparative examples.

図1を参照して説明した装置において、測定対象物14の測定対象面14aに、カラーチャートを配置した。カラーチャートとしては、X−rite社製のColor Checker DIGITAL SG(140色)を用いた。また、光源10としては、Rich Color No.11(シャープ株式会社製、演色評価指数Ra=96)を用い、カメラ12としては、BITRAN社製冷却CCDカメラ、BU−55C(−10℃設定)を用いた。   In the apparatus described with reference to FIG. 1, a color chart is arranged on the measurement target surface 14 a of the measurement target 14. As the color chart, Color Checker DIGITAL SG (140 colors) manufactured by X-rite was used. In addition, as the light source 10, Rich Color No. 11 (manufactured by Sharp Corporation, color rendering index Ra = 96) was used. As the camera 12, a cooled CCD camera manufactured by BITRAN, BU-55C (set at −10 ° C.) was used.

光源10からの光を測定対象面14a上のカラーチャートに当て、カラーチャート全体の画像をカメラ12によって撮影し、得られた画像から、カラーチャートの全140色それぞれについてRGB値を取得した。   Light from the light source 10 was applied to the color chart on the measurement target surface 14a, an image of the entire color chart was taken by the camera 12, and RGB values were obtained for all 140 colors of the color chart from the obtained image.

一方、カラーチャートの色彩値を分光放射輝度計でも計測し、その計測に基づき、各色についてXYZ値を得て、これを真値(X、Y、Z)とした。分光放射輝度計は、測定対象物の反射スペクトルにおける波長ごとの反射率に基づいて色情報を取得するため、一般に、人の視覚に極めて近い色情報が得られると評価されている。本検討においては、分光放射輝度計として、KONICA MINOLTA社製のCS−2000分光放射輝度計を用いた。 On the other hand, the color value of the color chart was also measured with a spectral radiance meter, and based on the measurement, an XYZ value was obtained for each color, and this was regarded as a true value (X 0 , Y 0 , Z 0 ). Since the spectral radiance meter acquires color information based on the reflectance for each wavelength in the reflection spectrum of the measurement object, it is generally evaluated that color information very close to human vision can be obtained. In this study, a CS-2000 spectral radiance meter manufactured by KONICA MINOLTA was used as the spectral radiance meter.

次に、RGB値からXYZ値への変換のための変換行列を作成した。RGB値からXYZ値への変換のための変換式としては、次式を用いた。   Next, a conversion matrix for converting RGB values into XYZ values was created. As a conversion formula for conversion from RGB values to XYZ values, the following formula was used.

Figure 2018106558
Figure 2018106558

但し、式中、M3×nは、3×nの変換行列(マトリクス)であり、 Where M 3 × n is a 3 × n transformation matrix (matrix),

Figure 2018106558
Figure 2018106558

である。式(2)の右側の行列において、各成分の左側のアルファベットa、b、cは行を表す符号であり、右側の数字1、2、・・・、nは列を表す符号である。また、式(1)中のS、S、・・・、Sは、RGB値に基づく入力値である。 It is. In the matrix on the right side of Expression (2), the alphabets a, b, and c on the left side of each component are codes representing rows, and the numbers 1, 2,..., N on the right side are codes representing columns. Further, S 1, S 2 in formula (1), ···, S n is an input value based on the RGB values.

式(1)のnを変化させた数種の変換行列を作成し、XYZの真値とどの程度の差が生じるかを検証した。   Several types of transformation matrices in which n in Equation (1) was changed were created, and the degree of difference from the true value of XYZ was verified.

具体的には、上述のようにカラーチャート140色についてそれぞれ得られたRGB値(カメラ12から取得)と真値X、Y、Z(分光放射輝度計の計測値から取得)とを上式(1)に入力し、さらに最適化を行うことで、変換行列M3×nを求めた。最適化には、MathWorks社の最適化ソフトウェアであるMATLAB(登録商標)を用いた。 Specifically, the RGB values (obtained from the camera 12) and true values X 0 , Y 0 , Z 0 (obtained from the measured values of the spectral radiance meter) respectively obtained for the color chart 140 colors as described above are obtained. The transformation matrix M 3 × n was obtained by inputting into the above equation (1) and further performing optimization. For optimization, Matlab (registered trademark), which is optimization software of MathWorks, was used.

(実施例1)
同様にして、式(1)においてn=8とし、変換行列として以下の式を用いた。
Example 1
Similarly, n = 8 in equation (1), and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

表1の列(a〜c)は、上式(2)における行を表し、行(1〜8)は、上式(2)における列を表している。   Columns (a to c) in Table 1 represent rows in the above formula (2), and rows (1 to 8) represent columns in the above formula (2).

(実施例2)
同様にして、式(1)においてn=11とし、変換行列として以下の式を用いた。
(Example 2)
Similarly, n = 11 in equation (1), and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

(実施例3)
同様にして、式(1)においてn=14とし、変換行列として以下の式を用いた。
(Example 3)
Similarly, in equation (1), n = 14, and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

(比較例1)
式(1)においてn=3とし、変換行列として以下の式を用いた。
(Comparative Example 1)
In Equation (1), n = 3, and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

(比較例2)
同様にして、式(1)においてn=17とし、変換行列として以下の式を用いた。
(Comparative Example 2)
Similarly, n = 17 in equation (1), and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

(比較例3)
同様にして、式(1)においてn=20とし、変換行列として以下の式を用いた。
(Comparative Example 3)
Similarly, n = 20 in equation (1), and the following equation was used as the transformation matrix.

Figure 2018106558
Figure 2018106558

上述の最適化を行い、下表に示す変換行列が得られた。   The above-mentioned optimization was performed, and the conversion matrix shown in the following table was obtained.

Figure 2018106558
Figure 2018106558

実施例1〜3及び比較例1〜3の各例において、得られた変換行列を用いて、上記のカラーチャートの各色についてカメラ12から取得されたRGB値をXYZ値に変換した。さらに、換算により得られたXYZ値(X、Y、Z)と上述の真値(X、Y、Z)との差をとり、差の絶対値をそれぞれE、E、Eとした。 In each example of Examples 1 to 3 and Comparative Examples 1 to 3, RGB values acquired from the camera 12 for each color of the color chart were converted into XYZ values using the obtained conversion matrix. Further, the difference between the XYZ values (X, Y, Z) obtained by the conversion and the above-mentioned true values (X 0 , Y 0 , Z 0 ) is taken, and the absolute values of the differences are respectively expressed as E X , E Y , E Z.

、E、Eの値が大きい程、真値(分光放射輝度計により測定されたXYZ値)との隔たりが大きいことになり、真値から遠く、色の再現性が低いということになる。逆に、E、E、Eの値が小さい程、実際の色に忠実な色情報が得られていることになる。 The larger the values of E X , E Y , and E Z , the greater the distance from the true value (XYZ values measured by a spectral radiance meter), and the farther from the true value, the lower the color reproducibility. become. Conversely, the smaller the values of E X , E Y , and E Z , the more accurate color information is obtained.

、E、Eは、カラーチャートの各色について求められているので、代表値として、最大値及び平均値を求めて、比較を行った。結果を表7に示す。 Since E X , E Y , and E Z are obtained for each color of the color chart, the maximum value and the average value were obtained as representative values and compared. The results are shown in Table 7.

Figure 2018106558
Figure 2018106558

表7によれば、実施例1〜3(n=8〜14)の場合には、E、E、Eの最大値の平均は5.5以下であり、またE、E、Eの平均値の平均も1.6以下であり、分光放射輝度計を用いて取得された色情報により近い色情報が得られていることが分かる。特に3×14のマトリクスを用いた場合には、E、E、Eの最大値、平均値が共に低く、より真値に近い結果が得られている。 According to Table 7, in the case of Examples 1 to 3 (n = 8 to 14), the average of the maximum values of E X , E Y , E Z is 5.5 or less, and E X , E Y The average of the average values of EZ is 1.6 or less, and it can be seen that color information closer to the color information obtained using the spectral radiance meter is obtained. In particular, when a 3 × 14 matrix is used, the maximum values and average values of E X , E Y and E Z are all low, and a result closer to the true value is obtained.

以上のように、本形態によって、人が目で知覚した色により近い色を再現できる色情報を取得し、生成することが可能となるので、的確な色情報を共有することができる。本形態の方法は、化粧料の調製、カウンセリング等に役立てることができる。   As described above, according to the present embodiment, it is possible to acquire and generate color information that can reproduce colors closer to colors perceived by human eyes, and thus accurate color information can be shared. The method of this embodiment can be used for preparation of cosmetics, counseling, and the like.

10 光源
12 撮像手段
14 測定対象
14a 測定対象面
18 計算手段
DESCRIPTION OF SYMBOLS 10 Light source 12 Imaging means 14 Measurement object 14a Measurement object surface 18 Calculation means

Claims (4)

対象物の画像を取得し、
前記画像からRGB値を取得し、
前記RGB値をXYZ値に変換し、
前記XYZ値をL値に変換することを含み、
前記RGB値から前記XYZ値への変換を、変換式
Figure 2018106558
〔前記M3×nは、3×nの変換行列であり、前記S、S、・・・、Sは、前記画像から取得されたRGB値に基づく入力値であり、n=8〜14である〕
を用いて行う、対象物の色を測定する方法。
Get an image of the object,
Obtain RGB values from the image,
Converting the RGB values into XYZ values;
Converting the XYZ values into L * a * b * values,
Conversion from the RGB value to the XYZ value
Figure 2018106558
[M 3 × n is a 3 × n transformation matrix, and S 1 , S 2 ,..., S n are input values based on RGB values acquired from the image, and n = 8 ~ 14]
A method for measuring the color of an object using
前記S、S、・・・、Sが、前記RGB値のR値、G値及びB値それぞれの3乗値を含む、請求項1に記載の対象物の色を測定する方法。 Wherein said S 1, S 2, · · ·, is S n, the R value of the RGB values, including G and B values each of the three squares, measuring the color of an object according to claim 1. 前記nが14である、請求項2に記載の対象物の色を測定する方法。   The method of measuring a color of an object according to claim 2, wherein the n is 14. 4. 前記画像を取得することが、光源及び撮像手段を用いて画像を撮影することを含み、
前記光源の平均演色評価数Raが95以上である、請求項1から3のいずれか一項に記載の対象物の色を測定する方法。
Acquiring the image includes capturing the image using a light source and an imaging means;
The method for measuring the color of an object according to any one of claims 1 to 3, wherein an average color rendering index Ra of the light source is 95 or more.
JP2016254330A 2016-12-27 2016-12-27 Method for measuring color of object Pending JP2018106558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016254330A JP2018106558A (en) 2016-12-27 2016-12-27 Method for measuring color of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016254330A JP2018106558A (en) 2016-12-27 2016-12-27 Method for measuring color of object

Publications (1)

Publication Number Publication Date
JP2018106558A true JP2018106558A (en) 2018-07-05

Family

ID=62785758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016254330A Pending JP2018106558A (en) 2016-12-27 2016-12-27 Method for measuring color of object

Country Status (1)

Country Link
JP (1) JP2018106558A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220082124A (en) * 2020-12-09 2022-06-17 오승현 A method of correcting a foundation color on a display device and a method of recommending a foundation using thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220082124A (en) * 2020-12-09 2022-06-17 오승현 A method of correcting a foundation color on a display device and a method of recommending a foundation using thereof
KR102459646B1 (en) 2020-12-09 2022-10-31 오승현 A method of correcting a foundation color on a display device and a method of recommending a foundation using thereof

Similar Documents

Publication Publication Date Title
JP6974397B2 (en) measuring device
CN103905803B (en) A kind of color calibration method of image and device
Zheng et al. Qualitative and quantitative comparisons of multispectral night vision colorization techniques
Farrell et al. Digital camera simulation
CN108020519B (en) Virtual multi-light-source spectrum reconstruction method based on color constancy
US9111150B2 (en) Authentication system, and method for registering and matching authentication information
US10638968B2 (en) Skin gloss evaluation device, skin gloss evaluation method, and skin gloss evaluation program
Molada‐Tebar et al. Camera characterization for improving color archaeological documentation
Milotta et al. Challenges in automatic Munsell color profiling for cultural heritage
JP6323097B2 (en) Color measuring device, color measuring system, color measuring method, and program
Qin et al. 31‐2: See‐through image blurring of transparent OLED display: diffraction analysis and oled pixel optimization
Khan et al. Multispectral camera as spatio-spectrophotometer under uncontrolled illumination
JP2018106558A (en) Method for measuring color of object
JP2018205037A (en) Evaluation device, evaluation program, and method for evaluation
JP4174707B2 (en) Spectroscopic measurement system, color reproduction system
Le Moan et al. A database for spectral image quality
Guo et al. Multispectral photometric stereo for spatially-varying spectral reflectances: A well posed problem?
Singhal et al. Smartphone-based colorimetric detection to measure Blood Glucose Levels
KR102350164B1 (en) Multispectral imaging conversion method
Zhu et al. Color calibration for colorized vision system with digital sensor and LED array illuminator
JP2017173300A (en) Texture evaluation device, texture evaluation method, and program
Beneducci et al. Dental shade matching assisted by computer vision techniques
Ambalathankandy et al. Warm-cool color-based high-speed decolorization: an empirical approach for tone mapping applications
Shrestha Multispectral imaging: Fast acquisition, capability extension, and quality evaluation
Sutkowski et al. Research of digital camera dynamic range on the imaging processing basis

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200915

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20210309