JP2010068138A - Color-difference discriminating device and color-difference discriminating program - Google Patents

Color-difference discriminating device and color-difference discriminating program Download PDF

Info

Publication number
JP2010068138A
JP2010068138A JP2008231299A JP2008231299A JP2010068138A JP 2010068138 A JP2010068138 A JP 2010068138A JP 2008231299 A JP2008231299 A JP 2008231299A JP 2008231299 A JP2008231299 A JP 2008231299A JP 2010068138 A JP2010068138 A JP 2010068138A
Authority
JP
Japan
Prior art keywords
color
color difference
coordinate value
image
color system
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
JP2008231299A
Other languages
Japanese (ja)
Other versions
JP5412774B2 (en
Inventor
Koji Yoshimoto
浩二 吉本
Tomoyuki Ito
智之 伊藤
Ken Suginome
謙 杉妻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008231299A priority Critical patent/JP5412774B2/en
Publication of JP2010068138A publication Critical patent/JP2010068138A/en
Application granted granted Critical
Publication of JP5412774B2 publication Critical patent/JP5412774B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve such a problem that a color-blind person cannot discriminate whether colors of two images are the same or not. <P>SOLUTION: A color-difference discriminating device has: an image acquisition part 34 that acquires first coordinate values 32 of a first image specified by a first color system in an image displayed on a display part and second coordinate values of a second image specified by the first color system in the image displayed on the display part; a color system converting part 36 that converts the first coordinate values and the second coordinate values into a third coordinate values and fourth coordinate values specified by coordinate values of a second color system; a color difference calculating part for calculating a color difference between the third coordinate values and the fourth coordinate values; and a color difference discriminating part 38 which discriminates that the first image and the second image have similar colors when the color difference is smaller than a prescribed threshold. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本出願は、色差識別装置、及び色差識別プログラムに関する。   The present application relates to a color difference identification device and a color difference identification program.

近年、撮像素子を用いたデジタルカメラやカメラ付き携帯電話の普及により手軽に様々な場面でカラー画像の撮影が行えるようになってきた。   In recent years, with the widespread use of digital cameras and camera-equipped mobile phones using image sensors, it has become possible to easily take color images in various situations.

しかしながら、デジタルカメラ等にあっては、カラー画像を表示することはできるが、色覚異常者は、画像に映し出されている物体の色が、具体的に何色であるかということを認識することができない。
視覚障害者や色覚異常者は、色が分からないということで日常の不便を経験している。例えば、色覚異常者へのインタビュー結果によれば、日常生活において以下のような不都合が生じている。
左右の靴下の色を間違えてしまうことがある。人の肌を薄い黄緑色に塗ってしまったことがある。葬儀参列の日に薄い緑のワイシャツを着て外出しそうになった。洋服を買うときは色を覚えているが、時間が立つと忘れてしまう。道案内の際に”赤色”の看板がある建物と言われても分からないときがある。
However, a digital camera or the like can display a color image, but a color blind person recognizes the specific color of an object displayed in the image. I can't.
Visually impaired and color blind people experience daily inconvenience because they do not know the color. For example, according to the results of interviews with persons with color blindness, the following inconveniences occur in daily life.
The colors of the right and left socks may be mistaken. I have painted human skin light yellowish green. She was about to go out wearing a light green shirt on the day of the funeral. I remember the color when I buy clothes, but I forget it when I have time. There are times when it is not known even if it is said that the building has a “red” signboard when it comes to directions.

カラー画像の色名を通知する下記のような装置が提案されている。
カラー画像上の色名を知りたい点のRGB表色系の座標値を均等色空間であるL*a*b表色系の座標値に変換し、その座標値と最短距離となる座標に相当する色名を通知するカメラ付き携帯装置がある。
また、画像データのRGB表色系の座標値を取得して、その座標値が、色名が関係付けられたRGB表色系の座標範囲内に含まれる場合、その関係付けられた色名を通知する装置がある。
The following apparatuses for notifying the color name of a color image have been proposed.
Converts the RGB color system coordinate value of the point where you want to know the color name on the color image to the coordinate value of the L * a * b color system, which is a uniform color space, and corresponds to the coordinate that is the shortest distance from the coordinate value There is a camera-equipped mobile device that notifies the color name to be performed.
Further, when the coordinate value of the RGB color system of the image data is acquired and the coordinate value is included within the coordinate range of the RGB color system to which the color name is related, the related color name is There is a device to notify.

これらの装置によれば、色覚異常者であっても対象物体を撮像した画像データにすることで、その物体の色名を知ることが出来る。しかし、2つ以上の物体の色が同一か否かを知るためには、使用者が装置を用いて各物体を撮影し、物体の色名を知った後で、使用者が自ら色明の同一性を判断する必要がある。   According to these devices, even a color blind person can know the color name of the object by using the image data obtained by imaging the target object. However, in order to know whether or not two or more objects have the same color, the user takes a picture of each object using the device, and after the user knows the color name of the object, It is necessary to judge identity.

特許公開2005−004495号Patent Publication 2005-004495 特許公開2005−202452号Patent Publication No. 2005-202452

本出願は、2つ以上の物体/画像の色が同一か否かを識別する装置を提供することを目的とする。   The present application aims to provide an apparatus for identifying whether two or more objects / images have the same color.

上記課題を解決するために、色の差を識別する色差識別装置が提供される。上記色差識別装置は、表示部に表示された画像内の第1の表色系で規定された第1の画像の第1の座標値と、該表示部に表示された画像内の第1の表色系で規定された第2の画像の第2の座標値とを取得する画像取得部と、上記第1の座標値及び上記第2の座標値を、第2の表色系の座標値で規定された第3の座標値及び第4の座標値にそれぞれ変換する表色系変換部と、上記第3の座標値と上記第4の座標値との色差を算出する色差算出部と、上記色差が所定の閾値未満の場合、上記第1の画像と上記第2の画像とが同系色であると識別する色差識別部と、を有する。   In order to solve the above-described problem, a color difference identification device for identifying a color difference is provided. The color difference identification device includes a first coordinate value of a first image defined by a first color system in an image displayed on the display unit, and a first coordinate in the image displayed on the display unit. An image acquisition unit that acquires the second coordinate value of the second image defined in the color system, the first coordinate value, and the second coordinate value as the coordinate value of the second color system. A color system conversion unit that respectively converts the third coordinate value and the fourth coordinate value specified in the above, a color difference calculation unit that calculates a color difference between the third coordinate value and the fourth coordinate value; A color difference identifying unit that identifies that the first image and the second image are similar in color when the color difference is less than a predetermined threshold;

本色差識別装置は、2つ以上の物体/画像の色が同一か否かを識別することが出来る。   This color difference identification device can identify whether two or more objects / images have the same color.

以下、図面を参照して、実施形態を説明する。
図1を用いて、色差識別装置を実現することが可能なカメラ機能付き携帯端末のハードウェア構成の一例を説明する。
携帯端末10は、CPU(Central Processing Unit)11、CCD(Charge Coupled Device)12、RAM(Random Access Memory)13、TG(Timing Generator)14、ユニット回路15、ROM(Read Only Memory)16を有する。携帯端末10は、さらに、入力部18、アンテナ19、送受信部21、スピーカ22と、マイク23、音声処理部24、ディスプレイ25、カードI/F26、振動モータ27を有する。なお、図示しないが、携帯端末10はCCD12の撮像素子に結像するためのレンズを有する。
なお、携帯端末(携帯型情報処理機器)は、携帯電話機又はPDA(Personal Digital Assistant)又はデジタルカメラ又はゲーム機器などであっても良い。
Hereinafter, embodiments will be described with reference to the drawings.
An example of a hardware configuration of a mobile terminal with a camera function capable of realizing a color difference identification device will be described with reference to FIG.
The mobile terminal 10 includes a CPU (Central Processing Unit) 11, a CCD (Charge Coupled Device) 12, a RAM (Random Access Memory) 13, a TG (Timing Generator) 14, a unit circuit 15, and a ROM (Read Only Memory) 16. The mobile terminal 10 further includes an input unit 18, an antenna 19, a transmission / reception unit 21, a speaker 22, a microphone 23, an audio processing unit 24, a display 25, a card I / F 26, and a vibration motor 27. Although not shown, the mobile terminal 10 has a lens for forming an image on the image sensor of the CCD 12.
The mobile terminal (portable information processing device) may be a mobile phone, a PDA (Personal Digital Assistant), a digital camera, a game device, or the like.

カードI/F26は、携帯端末10のカードスロットに着脱可能に装着されたメモリカード17とデータ接続出来る。
RAM13又はROM16には、後述する色差識別装置の機能構成を規定するプログラムや画像データが格納される。なお、携帯端末10は、アンテナ19を介してインターネットに接続出来る。上記プログラムや、画像データは、RAM13、ROM16、又はメモリカード17に格納される。上記プログラムは、最初からRAM13、ROM16、又はメモリカード17に格納しておいても、図示しないウェブサーバからインターネットを介してダウンロードを利用してRAM13等に格納しても良い。
The card I / F 26 can perform data connection with the memory card 17 detachably attached to the card slot of the mobile terminal 10.
The RAM 13 or the ROM 16 stores programs and image data that define the functional configuration of the color difference identification device described later. The mobile terminal 10 can be connected to the Internet via the antenna 19. The program and image data are stored in the RAM 13, ROM 16, or memory card 17. The program may be stored in the RAM 13, the ROM 16, or the memory card 17 from the beginning, or may be stored in the RAM 13 or the like using a download from a web server (not shown) via the Internet.

CCD12は、投影された被写体を光電変換し、撮像信号としてユニット回路15に出力する。また、CCD12はTG14によって生成された所定周波数のタイミング信号に従って駆動される。TG14にはユニット回路15が接続されている。ユニット回路15は、CCD12から出力される撮像信号を相関二重サンプリングして保持するCDS(Correlated Double sampling)回路、その撮像信号を増幅するゲイン調整アンプ、増幅後の撮像信号をデジタル信号に変換するA/D変換器を有する。また、CCD12の出力信号はユニット回路15を介してデジタル信号としてCPU11に送られる。   The CCD 12 photoelectrically converts the projected subject and outputs it to the unit circuit 15 as an imaging signal. The CCD 12 is driven according to a timing signal having a predetermined frequency generated by the TG 14. A unit circuit 15 is connected to the TG 14. The unit circuit 15 is a CDS (Correlated Double Sampling) circuit that holds the imaging signal output from the CCD 12 by correlated double sampling, a gain adjustment amplifier that amplifies the imaging signal, and converts the amplified imaging signal into a digital signal. It has an A / D converter. The output signal of the CCD 12 is sent to the CPU 11 as a digital signal via the unit circuit 15.

ディスプレイ25はカラーLCDとその駆動回路を含み、記録された画像データをディスプレイ25に表示する。入力部18は、ユーザのキー操作に応じた操作信号をCPU11に出力する。
RAM13は、CCD12によって撮像された後、デジタル化された被写体の画像データを一時記憶するバッファメモリとして使用されるとともに、CPU11によってワーキングメモリとして使用される。
The display 25 includes a color LCD and its driving circuit, and displays recorded image data on the display 25. The input unit 18 outputs an operation signal corresponding to the user's key operation to the CPU 11.
The RAM 13 is used as a buffer memory for temporarily storing image data of a digitized subject after being imaged by the CCD 12 and also used as a working memory by the CPU 11.

音声処理部24は、アンプ、A/D変換器、D/A変換器を含み、音声を出力するときは、CPU11から受信した後述する色差識別結果を音声信号に変換してスピーカ22から出力する。   The audio processing unit 24 includes an amplifier, an A / D converter, and a D / A converter. When outputting audio, the audio processing unit 24 converts a color difference identification result (described later) received from the CPU 11 into an audio signal and outputs the audio signal from the speaker 22. .

CPU11は、画像ファイルの圧縮・伸張の処理を含む各種のデジタル信号処理機能を有し、携帯端末10の各部を制御するワンチップマイコンである。CPU11は、メモリカード17に記録されている画像データの中から、ユーザの入力部18の操作により再生したい画像データの選択があったか否かを判断する。そして、CPU11は、画像データの選択があると判断すると、画像データをカードI/F26を介して読み出し、読み出した画像データを伸張して画像をディスプレイ25に表示する。   The CPU 11 is a one-chip microcomputer that has various digital signal processing functions including image file compression / decompression processing and controls each part of the mobile terminal 10. The CPU 11 determines whether image data to be reproduced has been selected from the image data recorded on the memory card 17 by the user's operation of the input unit 18. When the CPU 11 determines that image data is selected, the CPU 11 reads the image data via the card I / F 26, expands the read image data, and displays the image on the display 25.

図2を用いて、カメラ機能付き携帯端末に実装される場合の色差識別装置の機能構成の一例を説明する。
携帯端末10に実装される色差識別装置30は、画像選択部31、画像取得部32、表色系変換部34、色差算出部36、色差識別部38、識別結果出力制御部39の機能構成部を有する。色差識別装置30は、携帯端末10のCPU11で実装される。これら機能構成部のCPU11による実装は、CPU11が色差識別装置の機能構成を規定するプログラムを実行することによってなされる。これらの機能構成は、例えば、JAVA(登録商標)のメソッドとしてプログラムで規定されても良い。その場合、JAVA(登録商標)プログラムを実行することによって、プログラムとしてコードされたメソッドに基づいてスレッドが生成し、CPU11がスレッドを実行し、スレッドへの入出力情報は、CPU11やRAM13にキャッシュされる。
An example of the functional configuration of the color difference identification device when mounted on a mobile terminal with a camera function will be described with reference to FIG.
The color difference identification device 30 implemented in the mobile terminal 10 includes an image selection unit 31, an image acquisition unit 32, a color system conversion unit 34, a color difference calculation unit 36, a color difference identification unit 38, and a functional configuration unit of the identification result output control unit 39. Have The color difference identification device 30 is implemented by the CPU 11 of the mobile terminal 10. The implementation of these functional components by the CPU 11 is performed by the CPU 11 executing a program that defines the functional configuration of the color difference identification device. These functional configurations may be defined by a program as a JAVA (registered trademark) method, for example. In this case, by executing a JAVA (registered trademark) program, a thread is generated based on a method coded as a program, and the CPU 11 executes the thread. Input / output information for the thread is cached in the CPU 11 and the RAM 13. The

画像選択部31は、ディスプレイ25に表示されたカラー画像に対して、ユーザ操作によりキーパッドで選択された基準画像を取得する。なお、選択される画像は、選択された1つの画素でも良いし、選択された画素とその画素の周囲を取り囲む複数画素の平均値でも良い。複数画素の平均値とした場合、カラー画像上のノイズの影響を軽減することが出来る。
画像取得部32は、ディスプレイ25に表示された画像からポインタで選択された基準画像のRGB座標値と、比較画像のRGB座標値を取得する。
The image selection unit 31 acquires a reference image selected with a keypad by a user operation for the color image displayed on the display 25. Note that the selected image may be one selected pixel or an average value of the selected pixel and a plurality of pixels surrounding the pixel. When the average value of a plurality of pixels is used, the influence of noise on the color image can be reduced.
The image acquisition unit 32 acquires the RGB coordinate value of the reference image selected by the pointer from the image displayed on the display 25 and the RGB coordinate value of the comparison image.

表色系変換部34は、画像取得部32により取得されたRGB表色系の2つの座標値をYCbCr表色系の座標値に変換する。なお、座標値を「色値」とも言う。
変換は以下の数式1によりなされる。
[数式1]
Y=0.29891×R+0.58661×G+0.11448×B
Cb(U)=−0.16874×R−0.33126×G+0.50000×B
Cr(V)=0.50000×R−0.41869×G−0.08131×B
The color system conversion unit 34 converts the two coordinate values of the RGB color system acquired by the image acquisition unit 32 into the coordinate values of the YCbCr color system. The coordinate value is also referred to as “color value”.
The conversion is performed by the following Equation 1.
[Formula 1]
Y = 0.29891 × R + 0.58661 × G + 10.1448 × B
Cb (U) = − 0.16874 × R−0.33126 × G + 0.50000 × B
Cr (V) = 0.0000 × R−0.41869 × G−0.0811 × B

なお、従来技術であるカメラ付き携帯装置では、RGB表色系の座標値を均等色空間であるL*a*b表色系の座標値に変換していたが、上記表色系変換部34は、RGB表色系の座標値をYCbCr表色系の座標値に変換する。RGB表色系の座標値からL*a*b表色系の座標値への変換は、sRGB規格(IEC61966-2-1, FIRST EDITION1999-10, multimedia systems and equipment-Colour measurement and management INTERNATIONAL STANDARDの5.3 Transformation from CIE1931 XYZ values to RGB valuesの式(7)))に従い下記数式2及び3に示すより行われる。   In the conventional camera-equipped mobile device, the coordinate values of the RGB color system are converted into the coordinate values of the L * a * b color system, which is a uniform color space, but the color system conversion unit 34 described above. Converts the coordinate values of the RGB color system to the coordinate values of the YCbCr color system. Conversion from RGB color coordinate system coordinates to L * a * b color system coordinate values is based on the sRGB standard (IEC61966-2-1, FIRST EDITION 1999-10, multimedia systems and equipment-Colour measurement and management INTERNATIONAL STANDARD). 5.3 Transformation from CIE1931 According to the equation (7))) of XYZ values to RGB values.

数式2及び3に示すように、RGB表色系の座標値から均等色空間であるL*a*b表色系の座標値への変換は、まず座標値をRGB表色系からXYZ表色系に変換し、次にXYZ表色系の座標値をL*a*b表色系の座標値に変換する。このように、RGB表色系からL*a*b表色系への座標値変換は、RGB表色系からYCbCr表色系への座標値変換と比して、複数の座標変換を伴う。このように、RGB表色系からL*a*b表色系への座標値変換は、RGB表色系からYCbCr表色系への座標値変換より多くの計算ステップを必要とする。そのため、RGB表色系からYCbCr表色系への座標値変換を行う表色系変換部34は、従来のRGB表色系からYCbCr表色系への座標値変換と比して座標値変換をより迅速に行うことが出来る。   As shown in Equations 2 and 3, the conversion from the RGB color coordinate system coordinate value to the L * a * b color coordinate system which is a uniform color space is performed by first converting the coordinate value from the RGB color system to the XYZ color system. Next, the coordinate value of the XYZ color system is converted to the coordinate value of the L * a * b color system. As described above, the coordinate value conversion from the RGB color system to the L * a * b color system involves a plurality of coordinate conversions as compared to the coordinate value conversion from the RGB color system to the YCbCr color system. Thus, the coordinate value conversion from the RGB color system to the L * a * b color system requires more calculation steps than the coordinate value conversion from the RGB color system to the YCbCr color system. Therefore, the color system conversion unit 34 that performs coordinate value conversion from the RGB color system to the YCbCr color system performs coordinate value conversion as compared with the coordinate value conversion from the conventional RGB color system to the YCbCr color system. It can be done more quickly.

色差識別装置30が携帯端末に実装される場合、携帯端末のCPUの処理速度はパ−ソナルコンピュータなどの情報処理装置と比して低い。さらに、携帯端末のアプリケーションは、JAVA(登録商標)言語のようなC言語のようなネイティブ言語と比べてリソースを多く使用するプログラミング言語で実装されることが多い。そのため、色差識別装置30が携帯端末に実装される場合、上記のようなRGB表色系からYCbCr表色系への座標値変換処理の計算ステップの簡易化は、座標値変換の処理速度を大きく向上させ、ユーザに対する色差識別装置の使用感を向上させることが出来る。   When the color difference identification device 30 is mounted on a mobile terminal, the processing speed of the CPU of the mobile terminal is lower than that of an information processing apparatus such as a personal computer. Furthermore, the application of the mobile terminal is often implemented in a programming language that uses more resources than a native language such as C language such as JAVA (registered trademark) language. Therefore, when the color difference identification device 30 is mounted on a portable terminal, the simplification of the calculation step of the coordinate value conversion process from the RGB color system to the YCbCr color system as described above increases the processing speed of the coordinate value conversion. It is possible to improve the user's feeling of using the color difference identification device.

色差算出部36は、基準画像のYCbCr値と、比較画像のYCbCr値との色差を算出する。YCbCr表色系は、L*a*b表色系と異なり均等色空間ではないが、計算の簡易化のためにYCbCr表色系の色空間のデータ間距離を色差とみなす。そのため、基準画像のYCbCr値(Y1,Cb1,Cr1)と比較画像のYCbCr値(Y2,Cb2,Cr2)の色差は、下記数式4により計算する。   The color difference calculation unit 36 calculates the color difference between the YCbCr value of the reference image and the YCbCr value of the comparison image. The YCbCr color system is not a uniform color space unlike the L * a * b color system, but the distance between data in the color space of the YCbCr color system is regarded as a color difference in order to simplify the calculation. Therefore, the color difference between the YCbCr value (Y1, Cb1, Cr1) of the reference image and the YCbCr value (Y2, Cb2, Cr2) of the comparative image is calculated by the following formula 4.

色差算出部36は、YCbCr表色系の色空間のデータ間距離による色差判別と共に、或いは、単独で、下記数式5〜8により、明るさY、青みCb、赤みCr、色味Cb、Cr毎に基準画像と比較画像との色差を算出することが出来る。   The color difference calculation unit 36 determines brightness Y, bluish Cb, reddish Cr, tint Cb, Cr by the following formulas 5 to 8 together with color difference determination based on the distance between data in the color space of the YCbCr color system. In addition, the color difference between the reference image and the comparison image can be calculated.

色差識別部38は、色差算出部36により算出された色差と、所定の閾値とを比較する。比較の結果、色差が所定の閾値未満の場合、比較画像の色が基準画像の色と同一であることを識別する。また、色差識別部38は、色差が所定の閾値以上の場合、比較画像が基準画像の色情報と相違すると識別する。
この所定の閾値は、色覚が正常な者が設定しても良い。このような閾値は、全色共通の値としても良い。また閾値は、赤、黄、緑、水色、青、紫などの基準色それぞれについてのYCbCr値と、色覚正常者が凡そそれらの色と同系色と認められるYCbCr値との色差を求め、求めた基準色毎の色差の平均値としても良い。
The color difference identifying unit 38 compares the color difference calculated by the color difference calculating unit 36 with a predetermined threshold value. As a result of the comparison, when the color difference is less than a predetermined threshold, it is identified that the color of the comparison image is the same as the color of the reference image. Further, the color difference identifying unit 38 identifies that the comparison image is different from the color information of the reference image when the color difference is equal to or greater than a predetermined threshold.
This predetermined threshold may be set by a person with normal color vision. Such a threshold may be a value common to all colors. In addition, the threshold value was obtained by calculating the color difference between the YCbCr value for each of the reference colors such as red, yellow, green, light blue, blue, and purple and the YCbCr value that the color-blind person is recognized as a color similar to those colors. The average value of the color differences for each reference color may be used.

このように、色差識別部38が、色の同一性判断をユーザが設定可能な閾値により決定するため、色差算出部36により算出される色差の精度が低くても閾値設定で調整することで同一性精度を向上させることが出来る。そのため、色差算出部36は、色差算出計算の精度を犠牲にして色差をYCbCr空間の空間距離とし、色差計算を簡易化することができる。
そのため、色差識別装置30が携帯端末に実装される場合、上記したように、同一性判断の計算の簡易化は、色差算出及び色差識別の処理速度を大きく向上させるため、ユーザに対する色差識別装置の使用感を向上させることが出来る。
As described above, since the color difference identification unit 38 determines the color identity determination based on a threshold that can be set by the user, even if the accuracy of the color difference calculated by the color difference calculation unit 36 is low, it is the same by adjusting the threshold setting. Accuracy can be improved. Therefore, the color difference calculation unit 36 can simplify the color difference calculation by using the color difference as the spatial distance of the YCbCr space at the expense of the accuracy of the color difference calculation calculation.
Therefore, when the color difference identification device 30 is mounted on a portable terminal, as described above, the simplification of the identity determination calculation greatly improves the processing speed of color difference calculation and color difference identification. Usability can be improved.

色差識別部38は、識別結果を識別結果出力制御部39にデータ送信する。
識別結果出力制御部39は、色差識別部38によりデータ送信された識別結果を、スピーカ22を介して音声出力したり、ディスプレイ25に画面表示したり、振動モータ27で振動を発生することにより、ユーザに通知することが出来る。また、識別結果出力制御部39は、色差の種別に応じて、異なる内容の画像を出力したり、異なる音量や異なる音声内容の音声を出力したり、異なる振動レベルや振動時間などの振動出力にそれぞれ制御する。
The color difference identifying unit 38 transmits the identification result to the identification result output control unit 39.
The identification result output control unit 39 outputs the identification result transmitted by the color difference identification unit 38 as audio through the speaker 22, displays it on the display 25, or generates vibration by the vibration motor 27. Users can be notified. In addition, the identification result output control unit 39 outputs images with different contents, outputs sounds with different sound volumes and different sound contents according to the type of color difference, and outputs vibrations such as different vibration levels and vibration times. Control each one.

なお、色差識別部38による算出色差と、所定の閾値との比較処理は、図3に示す色差識別用参照データを参照して行っても良い。
色差識別用参照データ70は、第1列に色差の種類である、YCbCr、Y、CbCr、Cb、Crが示される。第1列で指定される色差識別用の種類に従って、第2列目以降のデータ種類が決定される。第2列は、色差閾値である。第1列の色差種類に従って色差閾値が規定される。第4列は識別結果である。算出した色差と閾値との比較結果が第3列に結果となった場合、第4列に示す色差結果が、第5列に示す画面表示及び/又は音声によって出力される。第4列に示す色差結果は、ユーザの居る環境が音声出力できない状況である等の場合は、振動によってユーザに通知される。
The comparison process between the calculated color difference by the color difference identifying unit 38 and the predetermined threshold value may be performed with reference to the color difference identifying reference data shown in FIG.
In the color difference identification reference data 70, YCbCr, Y, CbCr, Cb, and Cr, which are types of color differences, are shown in the first column. The data types in the second column and thereafter are determined according to the color difference identification type specified in the first column. The second column is a color difference threshold. A color difference threshold is defined according to the color difference type in the first column. The fourth column is the identification result. When the comparison result between the calculated color difference and the threshold value is the result in the third column, the color difference result shown in the fourth column is output by the screen display and / or sound shown in the fifth column. The color difference results shown in the fourth column are notified to the user by vibration when the user's environment is in a situation where voice output is not possible.

色差識別部38が、第3行に示すYCbCr表色系で算出された色差が所定の閾値を超えると識別した場合、識別結果出力制御部39は画面及び/又は音声用の「違う色です」という識別結果及び/又は振動時間を決定する。また、色差識別部38が、YCbCr色差が第2行に示す所定の閾値内であると識別した場合、識別結果出力制御部39は、画面及び/又は音声用の「同系色です」という識別結果及び/又は振動時間を決定する。
このように、色差識別部38は、2つ以上の物体の色が同一か否かを識別することが出来る。
When the color difference identifying unit 38 identifies that the color difference calculated in the YCbCr color system shown in the third row exceeds a predetermined threshold, the identification result output control unit 39 is “different color” for screen and / or sound. The identification result and / or the vibration time are determined. In addition, when the color difference identifying unit 38 identifies that the YCbCr color difference is within the predetermined threshold shown in the second row, the identification result output control unit 39 identifies “same color” for the screen and / or sound. And / or determine the vibration time.
As described above, the color difference identifying unit 38 can identify whether two or more objects have the same color.

また、色差識別部38が、第3行に示すYCbCr表色系で算出された色差が所定の閾値を超え、且つ第4行に示す明るさ色素Yも閾値を越えると識別した場合、識別結果出力制御部39は、画面及び/又は音声用の「違う色です。明るさが違います」という識別結果及び/又は振動時間を決定する。また、色差識別部38が、YCbCr色差が第2行に示す所定の閾値内であるが、明るさ色差Yのみが閾値を超える場合、識別結果出力制御部39は画面及び/又は音声用の「同系色です。明るさが違います。」という識別結果及び/又は振動時間を出力する。   Further, when the color difference identifying unit 38 identifies that the color difference calculated in the YCbCr color system shown in the third row exceeds a predetermined threshold and the brightness pigment Y shown in the fourth row also exceeds the threshold, the identification result The output control unit 39 determines the identification result and / or vibration time of “different color. Brightness is different” for the screen and / or sound. In addition, when the color difference identifying unit 38 has the YCbCr color difference within the predetermined threshold value shown in the second row, but only the brightness color difference Y exceeds the threshold value, the identification result output control unit 39 displays the screen and / or audio “ Outputs the identification result and / or vibration time.

このように、YCbCrの識別に加えて、Y、CbCr、Cb、Cr単独の識別を行うことで、比較画像が基準画像と色が相違する場合の原因を特定し、又は、同色結果であっても相違する要素を通知することができる。そのため、ユーザに対して色判別に関する詳細な情報を提供することが出来る。   In this way, by identifying Y, CbCr, Cb, Cr alone in addition to identifying YCbCr, the cause when the comparison image differs in color from the reference image is specified, or the same color result is obtained. Can also notify different elements. Therefore, detailed information regarding color discrimination can be provided to the user.

図4を用いて、コンピュータに実装される場合の色差識別装置の機能構成の一例を説明する。
コンピュータ50に実装される色差識別装置30は、上述した画像取得部32、表色系変換部34、色差算出部36、色差識別部38の機能構成部を有する。色差識別装置30は、コンピュータ50のCPU51で実装される。これら機能構成部のCPU51による実装は、CPU51が色差識別装置の機能構成を規定するプログラムを実行することによってなされる。これらの機能構成は、例えば、JAVA(登録商標)のメソッドとしてプログラムで規定されても良い。その場合、JAVA(登録商標)プログラムを実行することによって、プログラムとしてコードされたメソッドに基づいてスレッドが生成し、CPU11がスレッドを実行し、スレッドへの入出力情報は、CPU51やRAM63にキャッシュされる。
このように、インターネットを用いたコンピュータ50により色差識別装置の一部の機能構成を実装することで、色差識別装置の機能構成の一部をウェブサービスの形式で提供することが出来る。
An example of a functional configuration of the color difference identification device when mounted on a computer will be described with reference to FIG.
The color difference identification device 30 mounted on the computer 50 includes the functional components of the image acquisition unit 32, the color system conversion unit 34, the color difference calculation unit 36, and the color difference identification unit 38 described above. The color difference identification device 30 is implemented by the CPU 51 of the computer 50. The implementation of these functional components by the CPU 51 is performed by the CPU 51 executing a program that defines the functional configuration of the color difference identification device. These functional configurations may be defined by a program as a JAVA (registered trademark) method, for example. In that case, by executing a JAVA (registered trademark) program, a thread is generated based on a method coded as a program, and the CPU 11 executes the thread. Input / output information for the thread is cached in the CPU 51 and the RAM 63. The
In this way, by implementing a part of the functional configuration of the color difference identification device by the computer 50 using the Internet, a part of the functional configuration of the color difference identification device can be provided in the form of a web service.

上述した画像選択部31は、携帯端末10のCPU11により実装される。画像選択部31により選択された画像は、送受信機21、アンテナ19、インターネット59を介して、コンピュータ50の受信部61に送信される。
コンピュータ50で受信された画像は、CPU51で実行される画像取得部32、表色系変換部34、色差算出部36、色差識別部38により、上記説明したように処理されて、色差結果を生成する。生成した色差結果は、送受信部61を介して、携帯端末10の送受信部21に送信される。携帯端末10の識別出力制御部39は、上記説明したように色差結果を出力する。
The image selection unit 31 described above is implemented by the CPU 11 of the mobile terminal 10. The image selected by the image selection unit 31 is transmitted to the reception unit 61 of the computer 50 via the transceiver 21, the antenna 19, and the Internet 59.
The image received by the computer 50 is processed as described above by the image acquisition unit 32, the color system conversion unit 34, the color difference calculation unit 36, and the color difference identification unit 38 executed by the CPU 51 to generate a color difference result. To do. The generated color difference result is transmitted to the transmission / reception unit 21 of the mobile terminal 10 via the transmission / reception unit 61. The identification output control unit 39 of the mobile terminal 10 outputs the color difference result as described above.

このように、色差識別装置の機能は、携帯端末機10の上でスタンドアローンとして実装することも出来るし、インターネットを用いたウェブサービスの形式でコンピュータ50により実装することも出来る。   As described above, the function of the color difference identification device can be implemented as a stand-alone on the mobile terminal 10 or can be implemented by the computer 50 in the form of a web service using the Internet.

図5〜図11を用いて、色差識別装置を実装するカメラ付き携帯端末による色差判別処理のフローの一例を説明する。
図5は、色差識別装置を実装するカメラ付き携帯端末による色差判別処理のフローチャートである。色差判別処理を開始すると最初のステップとして、ユーザが使用者属性及び周囲環境を設定する(S101)。この処理は、例えば、携帯端末10の色差識別装置の機能を規定するプログラムを起動した後に、入力画面でユーザが使用者属性及び周囲環境を入力することにより行われる。使用者属性の入力とは、例えば、視覚障害者又は色覚異常者であるか否かである。入力が視覚障害者又は色覚異常者である場合は、識別結果の出力方法を、画面表示ではなく音声出力及び/又は振動で通知することが出来る。また、周囲環境の入力は、例えば、音が出せる環境か否かの入力である。この入力によって、識別結果の出力方法を、音声出力ではなく画面表示及び/又は振動で通知することが出来る。
次に、ユーザが、携帯端末のCCD12で対象物を撮影する(S102)。そして、ユーザが撮影した対象物のカラー画像から、画像取得部32により提供されるポインタ機能を用いて対象物から色比較において基準となる色の基準画像を選択する(S103)。このようにして取得された基準画像は、画像取得部32により保持される。
なお、このように基準画像は、対象物撮影(S102)で撮影した画像から選択されたが、RAMやメモリカード等に記憶され予め撮影しておいた画像から基準画像を取得しても良い。
An example of the flow of color difference determination processing by a camera-equipped mobile terminal in which the color difference identification device is mounted will be described with reference to FIGS.
FIG. 5 is a flowchart of the color difference discrimination process by the camera-equipped mobile terminal in which the color difference identification device is mounted. When the color difference determination process is started, the user sets the user attribute and the surrounding environment as the first step (S101). This process is performed, for example, when the user inputs the user attribute and the surrounding environment on the input screen after starting a program that defines the function of the color difference identification device of the mobile terminal 10. The input of the user attribute is, for example, whether or not a visually impaired person or a color blind person. When the input is a visually impaired person or a color blind person, the output method of the identification result can be notified by voice output and / or vibration instead of screen display. Further, the input of the surrounding environment is, for example, an input as to whether or not the environment can output sound. With this input, the output method of the identification result can be notified by screen display and / or vibration instead of voice output.
Next, the user photographs the object with the CCD 12 of the portable terminal (S102). Then, from the color image of the object photographed by the user, the reference image of the color that becomes the reference in the color comparison is selected from the object using the pointer function provided by the image acquisition unit 32 (S103). The reference image acquired in this way is held by the image acquisition unit 32.
Note that the reference image is selected from the images photographed in the object photographing (S102) as described above, but the reference image may be acquired from an image photographed in advance stored in a RAM or a memory card.

図6A及び図6Bに、対象物である「靴下」から基準画像を選択する画面の一例を示す。なお、図面ではカラー画像がわからないので、図6A及び図6Bに示す斜線部分が緑色、白抜き部分が赤色を示すものとする。
図6Aに示されるように、ディスプレイ25aに表示される画面では、対象物が表示され十字ポインタ32aで対象物を選択することができる。25aの表示33aに示すように、色差算出部36は、選択した対象物の色を識別して、ディスプレイに識別した色である「明るい緑」と表示することも出来る。また、25aの表示35aに示すように、色差算出部36は、選択した色がYCbCr表色系のCbCr面においてどの位置にあるかを表示することも出来る。
この対象物の識別機能は、画像取得部32により取得されたRGB表色系の座標値を、表色系変換部34によりYCbCr表色系に変換し、色差算出部36が対象物の座標値との色差が最も少ない色名を選択することによって対象物の色名を識別することが出来る。
なお、色名は、色名と色名の座標値をRAM等に記憶させておくことで、色差算出部36が対象物と色名との色差計算を行うことが出来る。また、上記したように色差算出部36は、表色系変換部34により表色系変換により、対象物のYCbCr表色系で色名との色差を算出することが出来るため、高速に色名識別を行うことが出来る。
FIG. 6A and FIG. 6B show an example of a screen for selecting a reference image from “socks” that are objects. In addition, since a color image is not understood in drawing, the shaded part shown to FIG. 6A and 6B shall show green, and a white part shall show red.
As shown in FIG. 6A, on the screen displayed on the display 25a, the object is displayed, and the object can be selected with the cross pointer 32a. As shown in the display 33a of 25a, the color difference calculation unit 36 can identify the color of the selected object and display “bright green” as the identified color on the display. Further, as shown in the display 35a of 25a, the color difference calculation unit 36 can also display the position of the selected color on the CbCr surface of the YCbCr color system.
This object identification function converts the RGB color system coordinate values acquired by the image acquisition unit 32 into a YCbCr color system by the color system conversion unit 34, and the color difference calculation unit 36 uses the coordinate values of the object. The color name of the object can be identified by selecting the color name with the smallest color difference from the object.
The color name is stored in a RAM or the like by storing the color name and the coordinate value of the color name, so that the color difference calculation unit 36 can calculate the color difference between the object and the color name. Further, as described above, the color difference calculation unit 36 can calculate the color difference with the color name in the YCbCr color system of the target object by the color system conversion by the color system conversion unit 34, so that the color name can be calculated at high speed. Identification can be performed.

また、図7に示すように、識別される色名の表現は、複数規定されていても良い。図7には、画面41aに示す「系統色名モード」、画面41bに示す「簡単色名モード」、画面41cに示す「詳細色名モード」の3つのモードが設定される。「系統色名モード」は、あざやかな緑、明るい緑など、色の印象を含めて表示するモードである。「簡単色名モード」赤系や緑系など、色合いを簡易に表示するモードである。「詳細色名モード」は、若竹色、新橋色など、歴史や文化が感じられる200種色名を表示するモードである。なお、このモード指定は、設定ステップ(S101)で入力部を介してユーザが設定しても良い。このように、ユーザの理解が容易なモードを複数設けることにより、色覚異常者がユーザであっても、色名表現により直感的な色の理解を援助することが出来る。   Further, as shown in FIG. 7, a plurality of color name expressions to be identified may be defined. In FIG. 7, three modes of “system color name mode” shown on the screen 41a, “simple color name mode” shown on the screen 41b, and “detailed color name mode” shown on the screen 41c are set. The “system color name mode” is a mode in which a color impression such as bright green or bright green is displayed. “Easy color name mode” In this mode, colors such as red and green are simply displayed. The “detailed color name mode” is a mode for displaying 200 kinds of color names such as Wakatake color, Shinbashi color, etc. that can feel history and culture. This mode designation may be set by the user via the input unit in the setting step (S101). In this way, by providing a plurality of modes that are easy for the user to understand, even if the color blind person is a user, intuitive color understanding can be assisted by the color name expression.

また、図8に示すように、対象物の識別された色を、表色系の座標値で計量的に表示により示すことも出来る。画面42aは色相環表示、画面42bはRGB表示、画面42cはCMYK表示である。画面42bに示されるように、表色系変換部34がRGB表色系の座標値をそのまま表示し、又は、表色系変換が極めて簡単に行えるRGB表色系からCMYK表色系に変換した座標値を表示することも出来る。色覚異常者は色を直感的に「知覚」することが困難であるため、直感的な「知覚」を補うために数値と計量値で色を表現することも出来る。このような計量表示により、色覚異常者に対象物の色がどんな色か想像、理解してとらえることを援助することが出来る。   In addition, as shown in FIG. 8, the identified color of the object can also be indicated quantitatively by the coordinate value of the color system. The screen 42a is a hue ring display, the screen 42b is an RGB display, and the screen 42c is a CMYK display. As shown in the screen 42b, the color system conversion unit 34 displays the coordinate values of the RGB color system as they are, or converted from the RGB color system to the CMYK color system, which can perform the color system conversion very easily. Coordinate values can also be displayed. It is difficult for a person with color blindness to intuitively “perceive” the color, and therefore it is also possible to express the color with a numerical value and a measured value in order to supplement the intuitive “perception”. Such a measurement display can help a color blind person to imagine and understand the color of the object.

さらに、図9に示すように、色合い調整を行うことで、より色差識別の精度を向上させることが出来る。特に、光量が不足する場合、色が鮮明に表示されない場合がある。このような場合、色合い調整をすることにより色差識別精度を維持及び向上させることが出来る。
色合い調整をするために、対象物撮影(S102)で画面43aに示すように対象物を、白い紙など、白い物と一緒に撮影する。撮影した画面43a上から、画面43bに示すように、十字ポインタで「白い」物体を選択する。「白い」物体の選択により、色差算出部36は、光量不足により「灰色」に表示される「白い」物体を「白」の色に表示されるように画質調整を行う。これにより、画面43cに示すように基準物及び対象物ともに鮮明な色で表示される。
Furthermore, as shown in FIG. 9, the color difference identification accuracy can be further improved by adjusting the hue. In particular, when the amount of light is insufficient, the color may not be displayed clearly. In such a case, color difference identification accuracy can be maintained and improved by adjusting the hue.
In order to adjust the hue, the object is photographed together with a white object such as white paper as shown on the screen 43a in the object photographing (S102). From the photographed screen 43a, a “white” object is selected with the cross pointer as shown on the screen 43b. By selecting the “white” object, the color difference calculation unit 36 performs image quality adjustment so that the “white” object displayed in “gray” due to insufficient light amount is displayed in “white” color. Thereby, as shown on the screen 43c, both the reference object and the object are displayed in clear colors.

このように、色差算出部36は、色合い調整を行うことでより精度の高い色差識別を可能にするように画質調整することができる。そのため、十分な光量無いために、基準物及び対象物の色地が変わる等の悪条件においても、色合い調整により基準物及び対象物の本来の色値を正確に検出することが出来るため、後述の色差識別部38により色差識別精度を向上させることが出来る。   In this way, the color difference calculation unit 36 can adjust the image quality so as to enable more accurate color difference identification by adjusting the hue. Therefore, since there is not a sufficient amount of light, the original color values of the reference object and the object can be accurately detected by adjusting the hue even under adverse conditions such as changes in the color background of the reference object and the object. The color difference identification unit 38 can improve the color difference identification accuracy.

図6Aに示す画面25a上でのポインタ32aの移動は、入力部18を用いて行うことが出来る。十字ポインタ32aを動かして基準画像を選択するために、入力部18のキー操作で決定入力となるボタンを押下する。例えば、電話番号ボタンの「7」ボタンが決定入力ボタンである場合、「7」ボタンを押下することで、基準画像が選択される。
「7」ボタンを押下すると、図6Bに示すように次のアクションである比較画像の選択をユーザに指示する画面25bを表示することが出来る。画面25bに示す「OK」ボタンを押下すれば、次のS104に進むことが出来る。
The movement of the pointer 32 a on the screen 25 a shown in FIG. 6A can be performed using the input unit 18. In order to select the reference image by moving the crosshair pointer 32a, a button that is a decision input is pressed by a key operation of the input unit 18. For example, when the “7” button of the telephone number button is a decision input button, the reference image is selected by pressing the “7” button.
When the “7” button is pressed, a screen 25b for instructing the user to select a comparison image, which is the next action, can be displayed as shown in FIG. 6B. If the "OK" button shown on the screen 25b is pressed, the process can proceed to the next S104.

S104では、画像取得部32により提供されるポインタ機能を用いてユーザが色の比較対象となる色の比較画像を選択する(S104)。なお、この比較画像は、対象物撮影(S102)で撮影した画像から選択しても良い。また、RAMやメモリカード等に記憶され予め撮影しておいた基準画像が既に取得された画像又は基準画像が取得されていない画像から比較画像を選択しても良い。また、S104で、対象物撮影(S102)で取得した画像と異なる画像を新たに撮影して、その新たに撮影した画像から比較画像を選択しても良い。
図10Aに、比較画像を選択する画面の一例を示す。図10Aの画面25cに示すように、十字ポインタ32bで比較画像を選択することができる。なお、画面25c上での十字ポインタ32bの移動は、入力部18を用いて行うことが出来る。十字ポインタ32bを動かして比較画像を選択するために、入力部18のキー操作で決定入力となるボタンを押下する。例えば、図6Bの画面25bに示されていたように、電話番号ボタンの「8」ボタンを決定入力ボタンとして、その「8」ボタンを押下することで、比較画像が選択される。このようにして取得された基準画像は、画像取得部32により保持される。
In S104, the user selects a color comparison image as a color comparison target using the pointer function provided by the image acquisition unit 32 (S104). Note that this comparison image may be selected from images captured in object shooting (S102). In addition, a comparison image may be selected from an image in which a reference image stored in a RAM or a memory card or the like and previously captured is acquired or an image in which a reference image is not acquired. Further, in S104, an image different from the image acquired in the object photographing (S102) may be newly photographed, and a comparison image may be selected from the newly photographed image.
FIG. 10A shows an example of a screen for selecting a comparison image. As shown in the screen 25c of FIG. 10A, the comparison image can be selected with the cross pointer 32b. The movement of the cross pointer 32b on the screen 25c can be performed using the input unit 18. In order to select the comparison image by moving the crosshair pointer 32b, a button that is a decision input is pressed by a key operation of the input unit 18. For example, as shown in the screen 25b of FIG. 6B, the “8” button of the telephone number button is used as the decision input button, and the “8” button is pressed to select the comparison image. The reference image acquired in this way is held by the image acquisition unit 32.

「8」ボタンを押下すると、色差算出部36は基準画像と比較画像との色差を計算する(S105)。次に、S101で設定された使用者属性に従って識別結果の通知方法を判断する(S106)。この判断により、通知方法が、画面表示、音声出力、及び振動の少なくとも1つ選択される。次に、色差計算の結果から、色差識別部38は、色差が閾値未満か否かを判断する(S107)。色差が閾値未満の場合(S107 Yes)、色差識別部38は比較画像が基準画像と「同系色」と判断し、識別結果出力制御部39が「同系色」という結果をS105で判断した通知方法でユーザに通知する(S108)。色差が閾値以上の場合(S107 No)、色差識別部38は比較画像が基準画像と「違う色」であると判断し、識別結果出力制御部39が「違う色」という結果をS105で判断した通知方法でユーザに通知する(S109)。   When the “8” button is pressed, the color difference calculation unit 36 calculates the color difference between the reference image and the comparison image (S105). Next, the notification method of the identification result is determined according to the user attribute set in S101 (S106). Based on this determination, at least one of the notification method, screen display, audio output, and vibration is selected. Next, from the result of the color difference calculation, the color difference identification unit 38 determines whether or not the color difference is less than a threshold value (S107). When the color difference is less than the threshold (S107 Yes), the color difference identification unit 38 determines that the comparison image is “similar color” to the reference image, and the identification result output control unit 39 determines the result “same color” in S105. (S108). When the color difference is equal to or larger than the threshold (No in S107), the color difference identification unit 38 determines that the comparison image is “different color” from the reference image, and the identification result output control unit 39 determines the result “different color” in S105. The user is notified by the notification method (S109).

図10A及び図10Bに、識別結果を表示する画面の一例を示す。例えば、通知方法の1つが画面表示である場合、図10Aでは、ディスプレイ画面に、識別結果である「違う色です」という表示を示す表示34aを表示することが出来る。識別結果である表示34aと共に表示36aに示すように比較対象に対して色識別した結果である「あざやかな赤」を表示することも出来る。
図10Bでは、ディスプレイ画面に、識別結果である「同系色です」という表示を示す表示34bが表示される。識別結果である表示34bと共に表示36bに示すように比較対象に対して色識別した結果である「明るい緑」を表示することも出来る。
FIG. 10A and FIG. 10B show an example of a screen displaying the identification result. For example, when one of the notification methods is screen display, in FIG. 10A, a display 34a showing a display of “different color” as an identification result can be displayed on the display screen. As shown in the display 36a together with the display 34a that is the identification result, it is also possible to display "bright red" that is the result of color identification for the comparison target.
In FIG. 10B, a display 34b showing a display of “same color” as the identification result is displayed on the display screen. As shown in the display 36b together with the display 34b that is the identification result, "bright green" that is the result of color identification with respect to the comparison target can also be displayed.

なお、S101で設定された使用者属性に従って識別結果の通知方法を判断により(S106)、識別結果の出力方法が音声出力に選択された場合、図10A及び図10Bの表示36a及びbに示す識別結果が音声出力される。また、識別結果の通知方法を判断により(S106)、識別結果の出力方法が振動出力に選択された場合、色差識別用参照データ70に示される振動時間に従って携帯端末が振動する。
このように識別結果がユーザに通知されて、カメラ付き携帯端末による色差判別処理のフローは終了する。
なお、図11Aに示すように、撮影画像及び色差識別結果は、ディスプレイ25から選択することで、RAM13等の記憶手段に保存することが出来る。また、図11Bに示すように、保存された撮影画像及び色差識別結果は、再度ディスプレイ25に表示させることが出来る。このように、撮影画像及び色差識別結果を端末10に記憶させ且つ再表示することができるため、色覚異常者は、対象物の色がどんな色と識別されていたのかを撮影後にも確認する機会を提供出来る。
When the identification result notification method is determined according to the user attribute set in S101 (S106), and the output method of the identification result is selected as voice output, the identification shown in the displays 36a and 10b in FIGS. 10A and 10B. The result is output as audio. If the identification result notification method is determined (S106) and the output method of the identification result is selected as vibration output, the mobile terminal vibrates according to the vibration time indicated in the color difference identification reference data 70.
Thus, the identification result is notified to the user, and the flow of the color difference determination processing by the camera-equipped mobile terminal ends.
As shown in FIG. 11A, the photographed image and the color difference identification result can be saved in a storage means such as the RAM 13 by being selected from the display 25. Further, as shown in FIG. 11B, the stored captured image and the color difference identification result can be displayed on the display 25 again. As described above, since the photographed image and the color difference identification result can be stored in the terminal 10 and redisplayed, the color blind person has an opportunity to confirm what color the object is identified after photographing. Can be provided.

以上述べた実施態様は、以下の付記の通りである。
[付記1]
色の差を識別する色差識別装置であって、
表示部に表示された画像内の第1の表色系で規定された第1の画像の第1の座標値と、該表示部に表示された画像内の第1の表色系で規定された第2の画像の第2の座標値とを取得する画像取得部と、
前記第1の座標値及び前記第2の座標値を、第2の表色系の座標値で規定された第3の座標値及び第4の座標値にそれぞれ変換する表色系変換部と、
前記第3の座標値と前記第4の座標値との色差を算出する色差算出部と、
前記色差が所定の閾値未満の場合、前記第1の画像と前記第2の画像とが同系色であると識別する色差識別部と、
を有することを特徴とする色差識別装置。
[付記2]
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸、Cb軸、Cr軸の差をそれぞれ二乗した数値の和の平方根を算出することにより前記色差を算出することを特徴とする付記1に記載の色差識別装置。
[付記3]
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸の差、Cb軸の差、Cr軸の差の少なくとも1つを用いて前記色差を算出することを特徴とする付記1に記載の色差識別装置。
[付記4]
前記識別結果の種類に応じた画像出力又は音声出力又は振動出力を制御する識別結果出力制御部をさらに有することを特徴とする付記1〜3のいずれか1項に記載の色差識別装置。
[付記5]
前記色差識別部は、前記色差に基づいて、明るさ、色み、青み、赤みの少なくとも1つ以上の相違を識別することを特徴とする付記1〜4のいずれか1項に色差識別装置。
[付記6]
付記1〜5に記載の色差識別装置を有する携帯電話機。
[付記7]
付記1〜5に記載の色差識別装置を有する情報処理装置。
[付記8]
色の差を識別する色差識別プログラムであって、コンピュータを、
表示部に表示された画像内の第1の画像の第1の座標値と、該表示部に表示された画像内の第2の画像の第2の座標値とを取得する画像取得部と、
第1の表色系の座標値で規定された前記第1の座標値及び第2の座標値を、第2の表色系の座標値に変換する表色系変換部をさらに有し、
前記第2の表色系に変換された第1の座標値と前記第2の座標値との色差を算出する色差算出部と、
前記色差が所定の閾値未満の場合、前記第1の座標値と前記第2の座標値とが同系色であると識別する色差識別部と、として機能させることを特徴とする色差識別プログラム。
[付記9]
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸、Cb軸、Cr軸の差をそれぞれ二乗した数値の和の平方根を算出することにより前記色差を算出することを特徴とする付記8に記載の色差識別プログラム。
[付記10]
色の差を識別する色差識別方法であって、
表示部に表示された画像内の第1の画像の第1の座標値と、該表示部に表示された画像内の第2の画像の第2の座標値とを取得し、
第1の表色系の座標値で規定された前記第1の座標値及び第2の座標値を、第2の表色系の座標値に変換し、
前記第2の表色系に変換された第1の座標値と前記第2の座標値との色差を算出し、
前記色差が所定の閾値未満の場合、前記第1の座標値と前記第2の座標値とが同系色であると識別することを特徴とする色差識別方法。
The embodiment described above is as follows.
[Appendix 1]
A color difference identifying device for identifying a color difference,
The first coordinate value of the first image defined in the first color system in the image displayed on the display unit and the first color system in the image displayed on the display unit An image acquisition unit for acquiring a second coordinate value of the second image;
A color system conversion unit that converts the first coordinate value and the second coordinate value into a third coordinate value and a fourth coordinate value respectively defined by the coordinate value of the second color system;
A color difference calculation unit for calculating a color difference between the third coordinate value and the fourth coordinate value;
A color difference identifying unit that identifies that the first image and the second image are similar colors when the color difference is less than a predetermined threshold;
A color difference identification apparatus characterized by comprising:
[Appendix 2]
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference by calculating a square root of the sum of numerical values obtained by squaring the differences of the Y-axis, Cb-axis, and Cr-axis between the third coordinate value and the fourth coordinate value. The color difference identification apparatus according to Supplementary Note 1, wherein:
[Appendix 3]
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference using at least one of a Y-axis difference, a Cb-axis difference, and a Cr-axis difference between the third coordinate value and the fourth coordinate value. The color-difference identifying apparatus according to Supplementary Note 1.
[Appendix 4]
The color difference identification device according to any one of appendices 1 to 3, further comprising an identification result output control unit that controls image output, audio output, or vibration output according to a type of the identification result.
[Appendix 5]
The color difference identification apparatus according to any one of appendices 1 to 4, wherein the color difference identification unit identifies at least one difference among brightness, color, blue, and red based on the color difference.
[Appendix 6]
A mobile phone having the color difference identification device according to any one of appendices 1 to 5.
[Appendix 7]
An information processing apparatus having the color difference identification apparatus according to any one of appendices 1 to 5.
[Appendix 8]
A color difference identification program for identifying a color difference, comprising:
An image acquisition unit that acquires a first coordinate value of a first image in the image displayed on the display unit and a second coordinate value of a second image in the image displayed on the display unit;
A color system conversion unit that converts the first coordinate value and the second coordinate value defined by the coordinate values of the first color system into coordinate values of the second color system;
A color difference calculation unit that calculates a color difference between the first coordinate value converted into the second color system and the second coordinate value;
When the color difference is less than a predetermined threshold value, a color difference identification program that functions as a color difference identification unit that identifies that the first coordinate value and the second coordinate value are similar colors.
[Appendix 9]
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference by calculating a square root of the sum of numerical values obtained by squaring the differences of the Y-axis, Cb-axis, and Cr-axis between the third coordinate value and the fourth coordinate value. The color difference identification program according to appendix 8, characterized by:
[Appendix 10]
A color difference identification method for identifying a color difference,
Obtaining the first coordinate value of the first image in the image displayed on the display unit and the second coordinate value of the second image in the image displayed on the display unit;
Converting the first coordinate value and the second coordinate value defined by the coordinate values of the first color system to coordinate values of the second color system;
Calculating a color difference between the first coordinate value converted to the second color system and the second coordinate value;
A color difference identification method, wherein when the color difference is less than a predetermined threshold, the first coordinate value and the second coordinate value are identified as similar colors.

図1は、色差識別装置を実現することが可能なカメラ機能付き携帯端末のハードウェア構成の一例を示す図である。FIG. 1 is a diagram illustrating an example of a hardware configuration of a mobile terminal with a camera function capable of realizing a color difference identification device. 図2は、カメラ機能付き携帯端末に実装される場合の色差識別装置の機能構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of the color difference identification device when mounted on a mobile terminal with a camera function. 図3は、色差識別用参照データの一例を示す図である。FIG. 3 is a diagram illustrating an example of color difference identification reference data. 図4は、コンピュータに実装される場合の色差識別装置の機能構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of a functional configuration of the color difference identification device when mounted on a computer. 図5は、色差識別装置を実装するカメラ付き携帯端末による色差判別処理のフローチャートである。FIG. 5 is a flowchart of the color difference discrimination process by the camera-equipped mobile terminal in which the color difference identification device is mounted. 図6Aは、対象物から基準画像を選択する画面の一例を示す図である。FIG. 6A is a diagram illustrating an example of a screen for selecting a reference image from an object. 図6Bは、対象物から基準画像を選択した画面の一例を示す図である。FIG. 6B is a diagram illustrating an example of a screen in which a reference image is selected from an object. 図7は、対象物の色名を表示した画面の一例を示す図である。FIG. 7 is a diagram illustrating an example of a screen displaying the color name of the object. 図8は、対象物の色を表色系で計量表示した画面の一例を示す図である。FIG. 8 is a diagram illustrating an example of a screen on which the color of an object is measured and displayed in a color system. 図9は、撮影画像の色合い調整を示した画面の一例を示す図である。FIG. 9 is a diagram illustrating an example of a screen showing the color adjustment of the captured image. 図10Aは、識別結果を表示する画面の一例を示す図である。FIG. 10A is a diagram illustrating an example of a screen displaying the identification result. 図10Bは、識別結果を表示する画面の一例を示す図である。FIG. 10B is a diagram illustrating an example of a screen displaying the identification result. 図11Aは、撮影画像及び色差識別結果の保存を示した画面の一例を示す図である。FIG. 11A is a diagram illustrating an example of a screen showing storage of captured images and color difference identification results. 図11Bは、保存した撮影画像及び色差識別結果の再表示を示した画面の一例を示す図である。FIG. 11B is a diagram illustrating an example of a screen showing a redisplay of the stored captured image and the color difference identification result.

符号の説明Explanation of symbols

10 携帯端末
11、51 CPU
12 CCD
13、63 RAM
14 TG
15 ユニット回路
16 ROM
17 メモリカード
18 入力部
19、69 アンテナ
21、61 送受信部
22 スピーカ
23 マイク
24 音声処理部
25 ディスプレイ
26 カードI/F
27 振動モータ
30 色差識別装置
31 画像選択部
32 画像取得部
34 表色系変換部
36 色差算出部
38 色差識別部
39 識別結果出力制御部
50 コンピュータ
59 インターネット
10 Mobile terminal 11, 51 CPU
12 CCD
13, 63 RAM
14 TG
15 Unit circuit 16 ROM
17 Memory Card 18 Input Unit 19, 69 Antenna 21, 61 Transmission / Reception Unit 22 Speaker 23 Microphone 24 Audio Processing Unit 25 Display 26 Card I / F
27 Vibrating motor 30 Color difference identification device 31 Image selection unit 32 Image acquisition unit 34 Color system conversion unit 36 Color difference calculation unit 38 Color difference identification unit 39 Identification result output control unit 50 Computer 59 Internet

Claims (7)

色の差を識別する色差識別装置であって、
表示部に表示された画像内の第1の表色系で規定された第1の画像の第1の座標値と、該表示部に表示された画像内の第1の表色系で規定された第2の画像の第2の座標値とを取得する画像取得部と、
前記第1の座標値及び前記第2の座標値を、第2の表色系の座標値で規定された第3の座標値及び第4の座標値にそれぞれ変換する表色系変換部と、
前記第3の座標値と前記第4の座標値との色差を算出する色差算出部と、
前記色差が所定の閾値未満の場合、前記第1の画像と前記第2の画像とが同系色であると識別する色差識別部と、
を有することを特徴とする色差識別装置。
A color difference identifying device for identifying a color difference,
The first coordinate value of the first image defined in the first color system in the image displayed on the display unit and the first color system in the image displayed on the display unit An image acquisition unit for acquiring a second coordinate value of the second image;
A color system conversion unit that converts the first coordinate value and the second coordinate value into a third coordinate value and a fourth coordinate value respectively defined by the coordinate value of the second color system;
A color difference calculation unit for calculating a color difference between the third coordinate value and the fourth coordinate value;
A color difference identifying unit that identifies that the first image and the second image are similar colors when the color difference is less than a predetermined threshold;
A color difference identification apparatus characterized by comprising:
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸、Cb軸、Cr軸の差をそれぞれ二乗した数値の和の平方根を算出することにより前記色差を算出することを特徴とする請求項1に記載の色差識別装置。
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference by calculating a square root of the sum of numerical values obtained by squaring the differences of the Y-axis, Cb-axis, and Cr-axis between the third coordinate value and the fourth coordinate value. The color difference identification device according to claim 1.
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸の差、Cb軸の差、Cr軸の差の少なくとも1つを用いて前記色差を算出することを特徴とする請求項1に記載の色差識別装置。
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference using at least one of a Y-axis difference, a Cb-axis difference, and a Cr-axis difference between the third coordinate value and the fourth coordinate value. The color difference identification device according to claim 1.
前記識別結果の種類に応じた画像出力又は音声出力又は振動出力を制御する識別結果出力制御部をさらに有することを特徴とする請求項1〜3のいずれか1項に記載の色差識別装置。   The color difference identification device according to claim 1, further comprising an identification result output control unit that controls image output, audio output, or vibration output according to a type of the identification result. 前記色差識別部は、前記色差に基づいて、明るさ、色み、青み、赤みの少なくとも1つ以上の相違を識別することを特徴とする請求項1〜4のいずれか1項に記載の色差識別装置。   5. The color difference according to claim 1, wherein the color difference identifying unit identifies at least one or more of brightness, color, blue, and red based on the color difference. Identification device. 色の差を識別する色差識別プログラムであって、コンピュータを、
表示部に表示された画像内の第1の画像の第1の座標値と、該表示部に表示された画像内の第2の画像の第2の座標値とを取得する画像取得部と、
第1の表色系の座標値で規定された前記第1の座標値及び第2の座標値を、第2の表色系の座標値に変換する表色系変換部をさらに有し、
前記第2の表色系に変換された第1の座標値と前記第2の座標値との色差を算出する色差算出部と、
前記色差が所定の閾値未満の場合、前記第1の座標値と前記第2の座標値とが同系色であると識別する色差識別部と、として機能させることを特徴とする色差識別プログラム。
A color difference identification program for identifying a color difference, comprising:
An image acquisition unit that acquires a first coordinate value of a first image in the image displayed on the display unit and a second coordinate value of a second image in the image displayed on the display unit;
A color system conversion unit that converts the first coordinate value and the second coordinate value defined by the coordinate values of the first color system into coordinate values of the second color system;
A color difference calculation unit that calculates a color difference between the first coordinate value converted into the second color system and the second coordinate value;
When the color difference is less than a predetermined threshold value, a color difference identification program that functions as a color difference identification unit that identifies that the first coordinate value and the second coordinate value are similar colors.
前記第1の表色系は、RGB表色系であり、
前記第2の表色系は、YCbCr表色系であり、
前記色差算出部は、前記第3の座標値と前記第4の座標値とのY軸、Cb軸、Cr軸の差をそれぞれ二乗した数値の和の平方根を算出することにより前記色差を算出することを特徴とする請求項6に記載の色差識別プログラム。
The first color system is an RGB color system;
The second color system is a YCbCr color system,
The color difference calculation unit calculates the color difference by calculating a square root of the sum of numerical values obtained by squaring the differences of the Y-axis, Cb-axis, and Cr-axis between the third coordinate value and the fourth coordinate value. The color difference identification program according to claim 6.
JP2008231299A 2008-09-09 2008-09-09 Color difference identification device and color difference identification program Expired - Fee Related JP5412774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008231299A JP5412774B2 (en) 2008-09-09 2008-09-09 Color difference identification device and color difference identification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008231299A JP5412774B2 (en) 2008-09-09 2008-09-09 Color difference identification device and color difference identification program

Publications (2)

Publication Number Publication Date
JP2010068138A true JP2010068138A (en) 2010-03-25
JP5412774B2 JP5412774B2 (en) 2014-02-12

Family

ID=42193344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008231299A Expired - Fee Related JP5412774B2 (en) 2008-09-09 2008-09-09 Color difference identification device and color difference identification program

Country Status (1)

Country Link
JP (1) JP5412774B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012227914A (en) * 2011-04-15 2012-11-15 Tektronix Inc System and method for natural language assessment of relative color quality
JP2015097370A (en) * 2013-10-07 2015-05-21 日本放送協会 Device, method and program for outputting color name
JP2017229064A (en) * 2016-06-21 2017-12-28 キヤノン株式会社 Information processing apparatus, information processing method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05177826A (en) * 1991-05-29 1993-07-20 Hiyuutec:Kk Detecting method and device of irregular color of printed matter
JP2004234133A (en) * 2003-01-28 2004-08-19 Matsushita Electric Works Ltd Image processor
JP2006184631A (en) * 2004-12-28 2006-07-13 Casio Comput Co Ltd Display controller, program for display control processing, and image communications system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05177826A (en) * 1991-05-29 1993-07-20 Hiyuutec:Kk Detecting method and device of irregular color of printed matter
JP2004234133A (en) * 2003-01-28 2004-08-19 Matsushita Electric Works Ltd Image processor
JP2006184631A (en) * 2004-12-28 2006-07-13 Casio Comput Co Ltd Display controller, program for display control processing, and image communications system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012227914A (en) * 2011-04-15 2012-11-15 Tektronix Inc System and method for natural language assessment of relative color quality
JP2015097370A (en) * 2013-10-07 2015-05-21 日本放送協会 Device, method and program for outputting color name
JP2017229064A (en) * 2016-06-21 2017-12-28 キヤノン株式会社 Information processing apparatus, information processing method, and program

Also Published As

Publication number Publication date
JP5412774B2 (en) 2014-02-12

Similar Documents

Publication Publication Date Title
KR100678101B1 (en) Method for menu screen constructing display hue using picture color information of mobile terminal thereof
US10200663B2 (en) Image processing device, imaging device, image processing method, and program
KR102180962B1 (en) Display system, display terminal, display method and computer readable recording medium having program thereof
CN109844804B (en) Image detection method, device and terminal
US20150332636A1 (en) Image display device and method
CN109670445B (en) Low-vision-aiding intelligent glasses system
CN108932696B (en) Signal lamp halo suppression method and device
JP2005267146A (en) Method and device for creating email by means of image recognition function
US9332175B2 (en) Image photographing apparatus and photographing method thereof
JP2007166456A (en) Image adjusting apparatus, image adjusting method and program
CN108200352B (en) Method, terminal and storage medium for adjusting picture brightness
JP2014071620A (en) Threshold setting device, subject detection device, threshold setting method, and program
JP5768193B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
CN105791790A (en) Image processing method and apparatus
JP5412774B2 (en) Color difference identification device and color difference identification program
GB2571618A (en) Selectively applying color to an image
CN116668862B (en) Image processing method and electronic equipment
JP6497030B2 (en) Imaging system, information processing apparatus, imaging method, program, storage medium
JP6580801B2 (en) Image processing apparatus, imaging apparatus, image processing method, and image processing program
JP2011205275A (en) Image processor, image processing program, imager, and image display device
JP4400237B2 (en) Portable terminal device and server device
JP2015056772A (en) Image processing device, image processing method, and program
CN111263190A (en) Video processing method and device, server and storage medium
JP2012044560A (en) Image processing apparatus, image processing method, and imaging apparatus
JP2005004495A (en) Color name information acquisition system, method, and program utilizing portable computer equipment with camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121211

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131028

R150 Certificate of patent or registration of utility model

Ref document number: 5412774

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees