JP2011066523A - Information processing apparatus and method, and program - Google Patents

Information processing apparatus and method, and program Download PDF

Info

Publication number
JP2011066523A
JP2011066523A JP2009213476A JP2009213476A JP2011066523A JP 2011066523 A JP2011066523 A JP 2011066523A JP 2009213476 A JP2009213476 A JP 2009213476A JP 2009213476 A JP2009213476 A JP 2009213476A JP 2011066523 A JP2011066523 A JP 2011066523A
Authority
JP
Japan
Prior art keywords
color
information
processing apparatus
information processing
image data
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
JP2009213476A
Other languages
Japanese (ja)
Inventor
Yoshihisa Oguro
慶久 大黒
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009213476A priority Critical patent/JP2011066523A/en
Publication of JP2011066523A publication Critical patent/JP2011066523A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a color vision able-bodied person from having the feeling of incompatibility even when color identification information for a person with imperfect color vision is added to a color image. <P>SOLUTION: Color image data are fetched from an image layer 31 by an image data acquisition part 41, color information of the predetermined position of an image in the image layer 31 is obtained by a corresponding information acquisition part 42, the color information is converted to a color name inside a color pallet 44, and the color name obtained previously is arranged at the predetermined position of an information insertion layer 32 by an insertion form determination part 43. That is, the color information is extracted from the image data of the image layer 31, the color information is converted to the color name, then the extracted color name is inserted to the information insertion layer 32 without changing the image of the image layer 31. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、カラー画像に対し、色弱者のための色識別情報を付加する情報処理装置、方法及びプログラムに関する。   The present invention relates to an information processing apparatus, method, and program for adding color identification information for a color weak person to a color image.

最近ではカラー印刷が容易になり、個人の作成する文書においても、図14Aに示すように、色によって図の意図を表現するものが増大している。なお、この図において、グラフ21a及び凡例21bに記載されている色名は、その色でカラー印刷或いは表示されていることを説明するために便宜上付したものであって、印刷画像や表示画像に色名が付加されているわけではない。また、「山」、「萌」、「レ」はそれぞれ山吹色、萌黄色、レモンイエローである。   In recent years, color printing has become easy, and in documents created by individuals, as shown in FIG. In this figure, the color names described in the graph 21a and the legend 21b are given for convenience in order to explain that the color is printed or displayed in that color. Color names are not added. “Mountain”, “Moe”, and “Le” are Yamabuki, Moe yellow, and Lemon yellow, respectively.

しかしながら、色覚健常者にとっては容易に識別可能な色であっても、色覚に障害を持つ人々(いわゆる色弱者)にとっては、他の色との識別が困難な色もあり、色のみに頼った表現の文書を正しく理解できない場合も少なくない。例えば、赤色の知覚が困難であり、緑と赤の区別がつきにくい色弱者は、緑と赤によって塗り分けられたグラフなどを解釈することが難しい。   However, even if it is a color that can be easily identified for people with normal color vision, there are colors that are difficult to distinguish from other colors for people with color vision disabilities (so-called color-weak people), and they relied only on the color. There are many cases where the document of expression cannot be understood correctly. For example, a color weak person who is difficult to perceive red and cannot easily distinguish between green and red is difficult to interpret a graph or the like that is separately colored with green and red.

またカラー文書であって、データ量削減のためにグレイモードでスキャンし、画像ファイル化した場合、例えば図14Aは図14Bのように記録されてしまい、グラフ中および凡例において、China、Bangladesh、Other が同じように最も濃い灰色になってしまい、グラフを解釈することができない。   Further, when a color document is scanned in a gray mode to reduce the amount of data and converted into an image file, for example, FIG. 14A is recorded as shown in FIG. 14B. In the graph and legend, China, Bangladesh, Other Becomes the darkest gray as well, and the graph cannot be interpreted.

つまり、色覚健常者、色弱者に関わらず、色のみに頼った表現を用いた文書は理解されない場合があることに留意すべきである。   That is, it should be noted that a document using an expression that relies solely on color may not be understood regardless of whether the person is color blind or not.

色弱者の色識別を補助するための発明としては、原文書の色情報を抽出し、それを色名に変換し、原文書の上に重ねて印刷/表示するものがある(特許文献1参照)。しかし、色領域に色名を明示的に記入する方法は、原文書の改変を意味し、色覚健常者が通常、目にする文書とは大きく異なり、奇異な印象を与え、色覚健常者の使用感を著しく損なうおそれがある。   As an invention for assisting the color identification of color-weak people, there is one that extracts color information of an original document, converts it into a color name, and prints / displays it over the original document (see Patent Document 1). ). However, the method of explicitly entering the color name in the color area means modification of the original document, which is very different from the document that normal color blind people usually see, gives a strange impression, and is used by healthy color blind individuals. There is a risk of damaging the feeling.

本発明は、このような問題を解決するためになされたものであり、その目的は、カラー画像に色弱者のための色識別情報を付加しても、色覚健常者が違和感を覚えることがないようにすることである。   The present invention has been made to solve such a problem, and the purpose thereof is to add color identification information for a weak color person to a color image so that a normal color blind person does not feel uncomfortable. Is to do so.

本発明の情報処理装置は、マルチレイヤー機能を有するファイルのあるレイヤーに書き込まれたカラー画像データを取得する画像データ取得部と、そのカラー画像データにより形成されるカラー画像の領域と色との対応関係を取得する領域/色対応情報取得部と、前記領域の色に対応する色識別情報を決定する色識別情報決定部と、その色識別情報を前記レイヤーと別のレイヤーにおける前記領域と対応する位置に書き込む色識別情報付加部とを有することを特徴とする情報処理装置である。
本発明の情報処理方法は、マルチレイヤー機能を有するファイルのあるレイヤーに書き込まれたカラー画像データを取得する画像データ取得工程と、そのカラー画像データにより形成されるカラー画像の領域と色との対応関係を取得する領域/色対応情報取得工程と、前記領域の色に対応する色識別情報を決定する色識別情報決定工程と、その色識別情報を前記レイヤーと別のレイヤーにおける前記領域と対応する位置に書き込む色識別情報付加工程とを有することを特徴とする情報処理方法である。
本発明のプログラムは、コンピュータを、本発明の情報処理装置として機能させるためのプログラムである。
An information processing apparatus according to the present invention includes an image data acquisition unit that acquires color image data written in a layer of a file having a multi-layer function, and correspondence between a color image area and a color formed by the color image data A region / color correspondence information acquisition unit for acquiring a relationship, a color identification information determination unit for determining color identification information corresponding to the color of the region, and the color identification information corresponding to the region in a layer different from the layer An information processing apparatus having a color identification information adding unit for writing in a position.
The information processing method according to the present invention provides an image data acquisition step for acquiring color image data written in a layer of a file having a multi-layer function, and correspondence between color image areas and colors formed by the color image data An area / color correspondence information acquisition step for acquiring a relationship, a color identification information determination step for determining color identification information corresponding to the color of the area, and the color identification information corresponding to the area in a layer different from the layer And a color identification information adding step for writing in a position.
The program of the present invention is a program for causing a computer to function as the information processing apparatus of the present invention.

[作用]
本発明によれば、マルチレイヤー機能を有するファイルのあるレイヤーに書き込まれたカラー画像データから、カラー画像の領域毎の色情報を抽出し、別レイヤー上の前記領域と同じ位置に、抽出した色情報に対応する色識別情報(色名等)を書き込むことによって、原画像の原本性を担保しつつ、情報を付加する。
[Action]
According to the present invention, color information for each area of a color image is extracted from color image data written in a layer having a file having a multi-layer function, and the extracted color is located at the same position as the area on another layer. By writing color identification information (color name or the like) corresponding to the information, information is added while ensuring the originality of the original image.

本発明によれば、付加された色識別情報を使用者自身で可視/不可視を切り替えることができるから、色覚健常者用文書と色弱者用文書とを個々に準備する必要がなく、使用者自身が用途を選択し、表示/印刷することが可能となる。従って、色覚健常者は、色弱者向けに作成されたカラー画像に対して違和感を覚えることない一方、色弱者は色識別情報を得ることができるので、両者の使用感を著しく改善することができる。   According to the present invention, since the added color identification information can be switched between visible and invisible by the user himself / herself, there is no need to separately prepare a document for normal color vision and a document for the color weak, and the user himself / herself. Can select the application and display / print it. Accordingly, the normal color blind person does not feel uncomfortable with the color image created for the color weak person, while the color weak person can obtain the color identification information, so that the feeling of use of both can be remarkably improved. .

本発明の実施形態の情報処理装置のハードウェアブロック図である。It is a hardware block diagram of the information processing apparatus of the embodiment of the present invention. 透明テキスト付きPDFの一例を示す図である。It is a figure which shows an example of PDF with a transparent text. 透明テキスト付きPDFにおいて、OCR結果のテキストの代わりに色識別情報を配置する様子を示す図である。It is a figure which shows a mode that color identification information is arrange | positioned instead of the text of an OCR result in PDF with a transparent text. 透明テキスト付きPDFの情報挿入レイヤーに色識別情報を付与する処理の概略のフローを示す図である。It is a figure which shows the general | schematic flow of the process which provides color identification information to the information insertion layer of PDF with a transparent text. 図4に対応する機能ブロックを示す図である。It is a figure which shows the functional block corresponding to FIG. 領域分割のサイズと画像の解像度との関係を示す図である。It is a figure which shows the relationship between the size of area division and the resolution of an image. 領域ラベリング処理の流れの一例を示す図である。It is a figure which shows an example of the flow of an area | region labeling process. 領域ラベリング処理のフローを示す図である。It is a figure which shows the flow of an area | region labeling process. 同一色の連続領域に内接する最大円及びその中心を求める処理を示す図である。It is a figure which shows the process which calculates | requires the largest circle inscribed in the continuous area | region of the same color, and its center. 図9で求めた最大円の中心にラベリング結果の数値を配置する処理を示す図である。It is a figure which shows the process which arrange | positions the numerical value of a labeling result in the center of the largest circle calculated | required in FIG. 各領域の色名を図9で求めた最大円の中心に配置する処理を示す図である。It is a figure which shows the process which arrange | positions the color name of each area | region in the center of the largest circle calculated | required in FIG. 図9に示す同一色の連続領域に内接する最大円及びその中心を求める処理のフローである。10 is a flow of processing for obtaining a maximum circle inscribed in a continuous region of the same color shown in FIG. 9 and its center. 分散処理により本発明の処理が可能なシステムを示す図である。It is a figure which shows the system which can process of this invention by distributed processing. 従来のカラー文書を示す図である。It is a figure which shows the conventional color document.

以下、本発明の実施形態について、図面を用いて詳細に説明する。
[情報処理装置]
図1は、本発明の実施形態の情報処理装置のハードウェアブロック図である。
この情報処理装置は、バス1と、それぞれがバス1に接続されたCPU(Central Processing Unit)2、メモリ3、通信装置4、表示装置5、HDD(Hard Disk Drive)6、入力装置7、光学ドライブ8、及びFDドライブ9を備えている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[Information processing device]
FIG. 1 is a hardware block diagram of the information processing apparatus according to the embodiment of this invention.
The information processing apparatus includes a bus 1, a CPU (Central Processing Unit) 2, a memory 3, a communication device 4, a display device 5, an HDD (Hard Disk Drive) 6, an input device 7, an optical device, and the like. A drive 8 and an FD drive 9 are provided.

CPU2は、この情報処理装置の動作制御を行うものである。メモリ3は、CPU2が起動時に実行するプログラムや必要なデータ等を記憶するためのROM(Read Only Memory)、CPU2のワークエリア等を構成するためのRAM(Random Access Memory)などからなる。通信装置4は、この情報処理装置をインターネットなどのネットワークに接続するための装置である。   The CPU 2 controls the operation of this information processing apparatus. The memory 3 includes a ROM (Read Only Memory) for storing a program executed by the CPU 2 at startup, necessary data, and the like, a RAM (Random Access Memory) for configuring a work area of the CPU 2, and the like. The communication device 4 is a device for connecting the information processing device to a network such as the Internet.

表示装置5は、液晶ディスプレイなどからなり、この情報処理装置を操作するための画面や動作状態を表示する。入力装置7は、キーボードやマウスなどからなり、この情報処理装置に対する種々のキー操作や指示を行うためのものである。   The display device 5 is composed of a liquid crystal display or the like, and displays a screen and an operation state for operating this information processing device. The input device 7 includes a keyboard, a mouse, and the like, and is used to perform various key operations and instructions on the information processing device.

HDD6は種々のアプリケーションプログラム、ワークデータ、及びファイルデータなどを記憶する。光学ドライブ8は、CD−ROMやDVD−ROMなどの記録媒体の読み出しを行うための装置である。FDドライブ9は、フレキシブルディスクに対する書き込み及び読み出しを行うための装置である。   The HDD 6 stores various application programs, work data, file data, and the like. The optical drive 8 is a device for reading a recording medium such as a CD-ROM or a DVD-ROM. The FD drive 9 is a device for performing writing and reading on a flexible disk.

[マルチレイヤー機能を有するファイル]
本実施形態の情報処理装置はマルチレイヤー機能(複数のレイヤーを定義可能であり、レイヤー毎にデータの書き込み/読み出しが可能なファイル)を有するファイルを扱うので、まずマルチレイヤー機能を有するファイルの一例として透明テキスト付きPDF(Portable Document Format)について説明する。なお、以降、PDFを例に説明するが、PDFに代表されるマルチレイヤー機能をもつ電子文書において、一般的に具備している要素のみに言及するものであり、本発明はPDFに限らず、マルチレイヤー機能をもつ電子文書全般に適用できることは言うまでもない。
[File with multi-layer function]
Since the information processing apparatus according to the present embodiment handles a file having a multi-layer function (a file in which a plurality of layers can be defined and data can be written / read for each layer), first, an example of a file having a multi-layer function A PDF (Portable Document Format) with transparent text will be described. Hereinafter, PDF will be described as an example. However, in an electronic document having a multi-layer function represented by PDF, only an element generally provided is mentioned, and the present invention is not limited to PDF. Needless to say, the present invention can be applied to all electronic documents having a multi-layer function.

図2に、透明テキスト付きPDFの一例を示す。ここで、図2Aは透明テキスト付きPDFを示し、図2Bはそのレイヤーを示す。図2Bのように、原画像中の文字画像11aのOCR結果であるテキスト12aを、原画像のレイヤー111とは別のレイヤー112において文字画像11aの直上に不可視色、つまり透明で配置し、画像の見栄えを変更することなく、OCR結果と統合したものが、図2Aに示す透明テキスト付きPDF11である。PDFファイルの編集ツールであるAcrobat(登録商標)を用いることによって、透明テキストに任意の色を着色できる。当然、元の不可視色に戻すことも可能である。   FIG. 2 shows an example of a PDF with transparent text. Here, FIG. 2A shows a PDF with transparent text, and FIG. 2B shows its layer. As shown in FIG. 2B, the text 12a, which is the OCR result of the character image 11a in the original image, is arranged in an invisible color, that is, transparent, directly above the character image 11a in a layer 112 different from the layer 111 of the original image. The PDF 11 with transparent text shown in FIG. 2A is integrated with the OCR result without changing the appearance of. By using Acrobat (registered trademark), which is a PDF file editing tool, a transparent text can be colored with any color. Of course, it is also possible to return to the original invisible color.

そこで、本実施形態では、透明テキスト付きPDFにおいて、OCR結果のテキストの代わりに色情報を配置する。
図3に説明図を示す。画像レイヤー31に書き込まれている各画素(或いは矩形領域)の画像データは色情報を持っており、情報挿入レイヤー32において、各画素(或いは矩形領域)の直上の位置に色識別情報を不可視色のテキストにより挿入する。なお、この図を含めて、以下に示す図5、図6A〜C、図9〜図11に記載されているグラフの画像は、実際は図14Aに示す色を持つが、便宜上、濃淡で表示している。
Therefore, in the present embodiment, color information is arranged in place of the text of the OCR result in the PDF with transparent text.
FIG. 3 shows an explanatory diagram. The image data of each pixel (or rectangular area) written in the image layer 31 has color information. In the information insertion layer 32, the color identification information is invisible at a position immediately above each pixel (or rectangular area). Insert with the text of The graph images described in FIG. 5, FIG. 6A to C, and FIG. 9 to FIG. 11 including this figure actually have the colors shown in FIG. 14A, but are displayed in shades for convenience. ing.

色識別情報については、RGB値、色相(色名)、彩度、明度など、テキスト化できる情報であれば、所望のものを挿入してよい。画素(或いは矩形領域)の色識別情報を参照したい場合には、PDFファイル専用ツールを用いて不可視テキストを着色し、印刷や表示をする。或いは、文書作成時に可視色テキストにより情報を挿入し、文書の使用者が当該情報を不要の場合に不可視色に変更することも可能である。   As the color identification information, any information that can be converted into text, such as RGB value, hue (color name), saturation, and brightness, may be inserted. When it is desired to refer to the color identification information of a pixel (or rectangular area), the invisible text is colored using a PDF file dedicated tool, and is printed or displayed. Alternatively, it is also possible to insert information using visible color text when creating a document, and change the document information to an invisible color when the document user does not need the information.

色弱者は、自身の色弱を他人に知られることに心理的な負担を感じる場合が多く、色弱者向けの特別な文書が配付されることには抵抗を感じることが予想される。この点からも、健常者と色弱者との両方に同一文書を配布し、使用者側にて色弱用に変更可能な文書を実現できる本実施形態は好適である。   It is expected that the color-weak people often feel a psychological burden on being aware of their own color-weakness by others, and feel resistance to distributing special documents for the color-weak people. Also from this point, the present embodiment is preferable in which the same document is distributed to both the healthy person and the color-weak person, and the user can realize a document that can be changed for the color-weakness.

また、従来からある透明テキスト付きPDFでは情報挿入レイヤーには、図2に示したように、原文書中の文字をOCRした結果が貼付されているが、このテキストと、本実施形態による色識別情報のテキストとを区別するために、色識別情報のテキストには区別用の接頭辞或いは接尾辞などを付加してもよい。これによって、本文中のテキストを検索キーで文書検索する場合においても、色識別情報のテキストが誤ってヒットすることを避けることができる。区別用の接頭辞は、“#F000”など、原文書に登場する確率が低い文字列を使用すればよい。   In the conventional PDF with transparent text, the information insertion layer is pasted with the result of OCR of characters in the original document, as shown in FIG. In order to distinguish from the text of the information, a distinguishing prefix or suffix may be added to the text of the color identification information. As a result, even when a document is searched for text in the text using the search key, it is possible to prevent the text of the color identification information from being hit by mistake. For the distinguishing prefix, a character string having a low probability of appearing in the original document, such as “# F000”, may be used.

なお、透明テキスト付きPDFの場合、検索が主目的であり、原画像の上に配置された透明テキストを使用者が明示的に可視色に変更することは稀である。なぜなら使用者は原画像の文字を見ることで原文書を読むことが出来るので、あえてOCR結果を読む必要がないからである。しかも、OCR結果が誤っていても、原画像の文字は変わりなく読むことができるので、OCR結果の誤りが原文書の読解に対して致命的な問題になりにくい利点もある。   In the case of a PDF with transparent text, search is the main purpose, and it is rare that the user explicitly changes the transparent text arranged on the original image to a visible color. This is because the user can read the original document by looking at the characters in the original image, and does not need to read the OCR result. In addition, even if the OCR result is incorrect, the characters of the original image can be read without change, so that there is an advantage that the error of the OCR result is less likely to be a fatal problem for reading the original document.

一方、本実施形態では、マルチレイヤー文書フォーマットを用い、原画像の上に配置された色識別情報のテキストを、使用者が明示的に可視色に、或いは不可視色に変更可能な点に注目したものであり、透明テキスト付きPDFとは目的が異なる。しかも、透明テキスト付きPDFにおける付加情報は、使用者が原文書にて可読なものであるのに対し、本実施形態における付加情報は、使用者(色弱者)が知覚できないものである点も、透明テキスト付きPDFと本実施形態との大きな相違点である。   On the other hand, in this embodiment, the multi-layer document format is used, and attention is paid to the fact that the user can explicitly change the color identification information text arranged on the original image to a visible color or an invisible color. The purpose is different from PDF with transparent text. Moreover, while the additional information in the PDF with transparent text is readable by the user in the original document, the additional information in the present embodiment cannot be perceived by the user (color weak person). This is a major difference between the PDF with transparent text and this embodiment.

[情報処理装置の処理の概要]
図4に、情報挿入レイヤーに画像データの色識別情報を付与する処理の概略フローを示す。また、それに対応する機能ブロックを図5に示す。この機能ブロックは、図1におけるCPU2が、メモリ3及びHDD6に記憶されているプログラムを実行することによる実現される。以下、図4、図5の順に説明する。
[Outline of processing of information processing device]
FIG. 4 shows a schematic flow of processing for giving color identification information of image data to the information insertion layer. FIG. 5 shows functional blocks corresponding thereto. This functional block is realized by the CPU 2 in FIG. 1 executing a program stored in the memory 3 and the HDD 6. Hereinafter, description will be made in the order of FIG. 4 and FIG.

ステップS1:色情報を抽出する領域を設定する。その最小単位は画素になる。
ステップS2:ステップS1で設定された領域の色情報を抽出する。複数画素から成る領域の場合は代表色を求める。
Step S1: An area for extracting color information is set. The minimum unit is a pixel.
Step S2: Extract the color information of the area set in Step S1. In the case of an area composed of a plurality of pixels, a representative color is obtained.

ステップS3:ステップS2で抽出した各領域の色情報から近似色を決定する。
ステップS4:当該領域の色情報を、情報挿入レイヤーにおける当該領域と同一の位置に配置する。
なお、各ステップの詳細については後述する。
Step S3: An approximate color is determined from the color information of each area extracted in Step S2.
Step S4: The color information of the area is arranged at the same position as the area in the information insertion layer.
Details of each step will be described later.

画像データ取得部41により画像レイヤー31からカラー画像データを取り込み、対応情報取得部42により、画像レイヤー31おける画像の指定位置の色情報を取得し、その色情報をカラーパレット(カラー情報データベース)44内の色名称に変換し、挿入態様決定部43によって、先に得られた色名(色識別情報)を情報挿入レイヤー32の指定位置に配置する。つまり、画像レイヤー31の画像データから色情報を抽出し、色情報から色名に変換した後、画像レイヤー31の画像は変化させず、抽出した色名を情報挿入レイヤー32に挿入する。ここで、対応情報取得部42が本発明における領域/色対応情報取得部及び色識別情報決定部に対応し、挿入態様決定部43が色識別情報付加部に対応する。   The image data acquisition unit 41 captures color image data from the image layer 31, the correspondence information acquisition unit 42 acquires color information of the designated position of the image in the image layer 31, and the color information is stored in a color palette (color information database) 44. The color name (color identification information) obtained previously is arranged at a designated position on the information insertion layer 32 by the insertion mode determination unit 43. That is, after extracting color information from the image data of the image layer 31 and converting the color information into a color name, the image of the image layer 31 is not changed, and the extracted color name is inserted into the information insertion layer 32. Here, the correspondence information acquisition unit 42 corresponds to the region / color correspondence information acquisition unit and the color identification information determination unit in the present invention, and the insertion mode determination unit 43 corresponds to the color identification information addition unit.

[減色処理]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Color reduction processing]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

連続する色変化から、人間が知覚しやすい、離散的な代表値を抽出したものが色名である。カラー文書を作成する際には、色間の差異を人間が知覚しやすい配色にするよう配慮される場合が多い。   Color names are obtained by extracting discrete representative values that are easy for humans to perceive from continuous color changes. When creating a color document, consideration is often given to a color scheme that makes it easy for humans to perceive differences between colors.

よって、自然画像の微妙な配色を除いて、グラフや、強調、警告など、文書作成者の意図を伝えるために用いた色は、各々容易に識別できる程度の色数に抑えられている。言い換えると、慣用色名のある色パレットに用意されている全ての色を同一文書内で区別する必要はない場合が多い。これは、スキャン条件や、印刷条件の微妙な変化が画像ファイルにおけるRGB値の微妙な変化を生じさせたとしても、その変化を考慮して色名を求める必要はないことを意味する。   Therefore, the colors used to convey the intentions of the document creator, such as graphs, emphasis, and warnings, are suppressed to a number that can be easily identified, except for subtle color schemes of natural images. In other words, it is often not necessary to distinguish all colors prepared in a color palette with a conventional color name in the same document. This means that even if a slight change in scanning conditions or printing conditions causes a slight change in RGB values in the image file, it is not necessary to obtain a color name in consideration of the change.

そこで慣用色名を決める前に、処理対象の原稿内に含まれる代表的な色に量子化(減色)し、識別の容易な、安定した色集合に変換する。加えて、減色すると各色間のコントラストが強調される傾向になり、より識別容易になる点も色弱者の色識別問題の解決にとって好ましい。   Therefore, before deciding the conventional color name, the color is quantized (reduced) into a representative color included in the document to be processed, and converted into a stable color set that is easy to identify. In addition, when the color is reduced, the contrast between the colors tends to be emphasized, and the identification becomes easier.

減色処理後は、微妙な色変化は代表色に統合されることによって、色数が減じられ、色数の少ない色パレットを用いて色名称を求めることができる。色数の少ない色パレットほど、短い色名称が用いられているのは明らかであるから、情報挿入レイヤーに色名称を挿入するに必要なスペースが小さくて済む。これにより、色名記載に要する面積が狭くてよく、原画像への影響が小さくなり好都合である。   After the color reduction processing, the subtle color change is integrated into the representative color, the number of colors is reduced, and a color name can be obtained using a color palette with a small number of colors. Since it is clear that a color palette with a smaller number of colors uses shorter color names, a smaller space is required to insert color names into the information insertion layer. Thereby, the area required for describing the color name may be small, and the influence on the original image is reduced, which is convenient.

減色手段としては、代表的なものにメディアンカット方法があり、一般的な画像処理機能分野として確立されている。   A representative color reduction means is a median cut method, which has been established as a general image processing function field.

以上をまとめると、画像レイヤー31の画像データに減色処理を施し、減色処理済みの画像データに対して色情報抽出処理を実施し、画像レイヤー31の画像データは変化させず、抽出した色情報に対応する色識別情報を情報挿入レイヤー32に付加するということになる。   In summary, the image data of the image layer 31 is subjected to the color reduction process, the color information extraction process is performed on the image data after the color reduction process, the image data of the image layer 31 is not changed, and the extracted color information is converted into the extracted color information. Corresponding color identification information is added to the information insertion layer 32.

[微小な同一色連続領域の無視]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Ignore minute continuous areas of the same color]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

同一色連続領域が微小な場合、原文書の印刷条件の変化、或いはスキャン条件の変化に起因する、本来は不要な色変化である可能性がある。また、微小な同一色連続領域は、そもそも原文書において重要でない場合もある。   When the same color continuous area is small, there may be a color change that is originally unnecessary due to a change in the printing condition of the original document or a change in the scanning condition. In addition, the minute continuous area of the same color may not be important in the original document.

よって、同一色連続領域の画素数を計数し、画素数が多い(所定の閾値を越える)領域のみ、色情報を取得し、情報挿入レイヤー32に色識別情報を配置すれば、処理及び記憶容量も減ぜられ、好都合である。加えて、微小領域の限られたスペースに色識別情報を付与し、隣接領域の色識別情報と重複してしまう過剰さを避けることがきる。   Therefore, if the number of pixels in the same color continuous area is counted, and color information is acquired only in an area where the number of pixels is large (exceeds a predetermined threshold) and the color identification information is arranged in the information insertion layer 32, processing and storage capacity Is also reduced and convenient. In addition, it is possible to give color identification information to a limited space in a minute region and avoid an excess that overlaps with the color identification information of an adjacent region.

以上をまとめると、画像レイヤー31の画像データにおいて、同一色の連続領域の画素数を計数し、計数結果から微小領域か否かを判断し、微小領域でないなら、その領域の色情報を抽出し、画像レイヤー31の画像データは変化させず、抽出した色情報に対応する色識別情報を情報挿入レイヤー32に付加するということになる。   In summary, in the image data of the image layer 31, the number of pixels in the continuous area of the same color is counted, and it is determined whether or not the area is a minute area from the count result. If not, the color information of that area is extracted. The image data of the image layer 31 is not changed, and the color identification information corresponding to the extracted color information is added to the information insertion layer 32.

[代表色の決定]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Determination of representative colors]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

個々の画素に色情報は存在するが、減色処理の説明において述べたように、自然画像部分を除けば、一般的なカラー文書においては微妙な色変化が用いられることは少なく、同一色領域は、人間が容易に知覚できる大きさを持つ。よって、いたずらに微小範囲の色情報を取得し、表示、印刷する必要はなく、寧ろ色情報の過剰な表示は煩わしく、使用感を大きく損ねる。   Although color information exists in each pixel, as described in the description of the color reduction processing, subtle color changes are rarely used in general color documents except for the natural image portion, and the same color area is It has a size that can be easily perceived by humans. Therefore, there is no need to unnecessarily acquire, display, and print color information in a very small range. Rather, excessive display of color information is cumbersome and the usability is greatly impaired.

よって、画像を格子状に分割し、その分割された矩形範囲において、代表色を求め、その代表色の色情報を当該矩形領域の直上の情報挿入レイヤー32に配置する。代表色を決定するための手段としては、色空間として、RGB/HSV/Hの重みが大きいHSVを採用し、「単純に平均して代表色にする」、「一番画素数の多い色を代表色にする」など、各種方法が考えられ、所望する結果が得られるものを採用すればよい。   Therefore, the image is divided into a grid, a representative color is obtained in the divided rectangular range, and the color information of the representative color is arranged in the information insertion layer 32 immediately above the rectangular area. As a means for determining a representative color, an HSV having a large RGB / HSV / H weight is adopted as a color space, and “a simple average is used as a representative color” or “a color having the largest number of pixels” is selected. Various methods such as “representing a representative color” are conceivable, and a method capable of obtaining a desired result may be employed.

以上をまとめると、画像レイヤー31の画像データにおいて格子状に領域分割し、その領域に対する代表色を求め、画像レイヤー31の画像データは変化させず、抽出した色情報に対応する色識別情報を情報挿入レイヤー32に付加するということになる。   In summary, the image data of the image layer 31 is divided into areas in a grid pattern, the representative colors for the areas are obtained, and the image data of the image layer 31 is not changed, and the color identification information corresponding to the extracted color information is information. That is, it is added to the insertion layer 32.

[領域分割のサイズ]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Size of area division]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

図6に格子状に分割(量子化)するサイズを変更した例を示す。ここで、図6A、B、Cは、それぞれ画像レイヤー31上のカラー画像領域31aを分割するサイズが小さい(高解像度)場合、中程度(高解像度)の場合、大きい(低解像度)の場合である。なお、図6Dは、濃淡領域を分割した場合を示している。   FIG. 6 shows an example in which the size to be divided (quantized) in a lattice shape is changed. Here, FIGS. 6A, 6B, and 6C respectively show the case where the size for dividing the color image region 31a on the image layer 31 is small (high resolution), medium (high resolution), and large (low resolution). is there. FIG. 6D shows a case where the gray area is divided.

図6A〜Cより、格子が大きくなる程、大まかに原文書の色分布を把握できることがわかる。原文書について微細領域の色を識別する必要がないのであれば、格子サイズを大きくした方が、情報挿入レイヤー32に挿入される色識別情報のテキストが少なくなるので、処理量及び記憶容量も減ぜられ、好都合である。よって目的に応じて、格子状分割のサイズを調整できるようにしておくことが有用である。   6A to 6C, it can be seen that the color distribution of the original document can be roughly grasped as the grid becomes larger. If it is not necessary to identify the color of the fine area of the original document, the text size of the color identification information inserted into the information insertion layer 32 is reduced when the lattice size is increased, so that the processing amount and the storage capacity are also reduced. It is convenient. Therefore, it is useful to be able to adjust the size of the grid-like division according to the purpose.

以上をまとめると、画像レイヤー31の画像データに対して、使用者がサイズ変更可能な格子状に領域分割し、その領域に対する代表色を求め、画像レイヤー31の画像データは変化させず、抽出した色情報に対応する色識別情報を情報挿入レイヤー32に付加するということになる。   In summary, the image data of the image layer 31 is divided into regions that can be resized by the user, a representative color for the region is obtained, and the image data of the image layer 31 is extracted without being changed. Color identification information corresponding to the color information is added to the information insertion layer 32.

[近似色の決定]
この処理は、図4のステップS3、図5の対応情報取得部42で実行される処理の一例である。
[Determination of approximate color]
This process is an example of a process executed in step S3 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

実用的な可視文字サイズには限界があるので(参考:JIS S 0032:2003 『高齢者・障害者配慮設計指針‐視覚表示物‐日本語文字の最小可読文字サイズ推定方法』)、情報付与に用いるフォントの最小サイズも決まり、色情報をすべてテキスト形式で付与することは困難である。   Since there is a limit to the practical visible character size (Reference: JIS S 0032: 2003 “Design Guidelines for Consideration for the Elderly and Persons with Disabilities-Visual Display-Method for Estimating Minimum Readable Character Size of Japanese Characters”) The minimum size of the font to be used is also determined, and it is difficult to give all color information in text format.

限りのあるテキスト数でもって色識別を補助するために、色固有の識別子を付与する。特に、色固有の識別子として、慣用的な色名前を利用すると、原画像の配色の印象を容易に想像することができるから好都合である。   In order to assist color identification with a limited number of texts, color-specific identifiers are assigned. In particular, when a conventional color name is used as an identifier unique to a color, it is advantageous because an impression of the color arrangement of the original image can be easily imagined.

さらに、色弱者自身が文書を理解するためだけでなく、色覚健常者と色弱者とがコミュニケーションするに際しては、色覚健常者と共通な色識別手段を用いる必要があり、この目的からも慣用的な色名を用いることが望まれる。   Furthermore, it is necessary not only for the color-blind person to understand the document, but also for the color-blind healthy person and the color-blind person to communicate with each other. It is desirable to use color names.

両者のコミュニケーションを円滑に進めるためには、両者ともが理解可能で、かつ共通の識別手段を提供可能であることが必須であり、本実施形態はそれを満たす。つまり、同一文書を健常者と色弱者との両方が理解可能な形態にすることは、色弱者の抱える問題を解決するにあたり、本質的に要求されることである。   In order to facilitate the communication between the two, it is essential for both to be able to understand and to provide a common identification means, and this embodiment satisfies that. In other words, making the same document into a form that can be understood by both the healthy person and the color-weak person is essentially required in order to solve the problem of the color-weak person.

色の名前を取得する基本的な原理を以下に示す。
まず、カラーパレット44(図5)として、慣用色名とそのRGB値との対応表(いわゆる色見本、色パレット)を用意する。
The basic principle of obtaining a color name is shown below.
First, as the color palette 44 (FIG. 5), a correspondence table (so-called color sample, color palette) between conventional color names and their RGB values is prepared.

例えば、Web技術分野においてはHTML3.2/4.0にて16色について、RGB値と名前の対応表が規定されている。他にも、色名とRGB値が規定されている各種色パレットが存在する。X Window System の色名とRGB値の対応関係は、例えばXFree86ならばX11R6/lib/X11/rgb.txt というテキストファイルに定義されている。また、JIS色名帳[第2版(JIS Z 8102:2001準拠]「物体色の色名」においては慣用色名とそのRGB値が規定されている。名前を取得したい色が、使用する色見本のどの色に近似できるのかがわかれば、当該色は、近似色の名前であると判断できる。   For example, in the Web technical field, a correspondence table of RGB values and names is defined for 16 colors in HTML3.2 / 4.0. In addition, there are various color palettes in which color names and RGB values are defined. The correspondence between the color names and RGB values of the X Window System is defined in a text file called X11R6 / lib / X11 / rgb.txt for XFree86, for example. In addition, the JIS color name book [second edition (conforming to JIS Z 8102: 2001) "object color color name" defines the customary color name and its RGB value. If it is known which color of the sample can be approximated, it can be determined that the color is the name of the approximate color.

色を近似する場合は、色をRGB3次元空間にある点と考えて、近似したい色と固定パレットとの3次元空間での距離を総当りで調べて、その距離が最小になるものを近似色とする。3次元空間での色と色との距離は、色A(Ra,Ga,Ba)と色B(Rb,Gb,Bb)の場合、以下の式で求める(ユークリッド距離の場合)。   When approximating colors, consider the color to be a point in the RGB three-dimensional space, and check the distance in the three-dimensional space between the color you want to approximate and the fixed pallet in a round-robin manner, and select the approximate color that has the smallest distance. And The distance between the colors in the three-dimensional space is obtained by the following formula in the case of the color A (Ra, Ga, Ba) and the color B (Rb, Gb, Bb) (in the case of the Euclidean distance).

各色のRGB差
ΔR=Ra−Rb
ΔG=Ga−Gb
ΔB=Ba−Bb
2色間の距離(L)={(ΔR)+(ΔG)+(ΔB)1/2
RGB difference of each color ΔR = Ra−Rb
ΔG = Ga−Gb
ΔB = Ba−Bb
Distance between two colors (L) = {(ΔR) 2 + (ΔG) 2 + (ΔB) 2 } 1/2

他の方法としては、Binary Space Partitioning(空間分割法)という二分木を使い、空間をツリー構造を用いて定義していく方法がある。この方法の方が上述した総当り法よりも高速処理が可能である。なお、色の名前を取得する手段に関する従来技術には、特許文献2、3に開示されたものがあり、上述の基本的な原理を効率化、精緻化している。本実施形態では、公知或いは周知のどのような取得手段を用いてもよい。   As another method, there is a method of defining a space using a tree structure using a binary tree called Binary Space Partitioning. This method can process at a higher speed than the round-robin method described above. Note that conventional techniques related to a means for acquiring a color name are disclosed in Patent Documents 2 and 3, which improve and refine the basic principle described above. In the present embodiment, any known or well-known acquisition unit may be used.

[領域ラベリング処理]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Region labeling]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

色情報を取得する領域を矩形領域に限定すると、原文書を効率よく、かつ精緻に分割することができないことがある。よって、画素単位に同一色連続領域を求め、色情報を抽出する。同一色連続領域は、領域ラベリング処理によって求める。   If the area from which color information is acquired is limited to a rectangular area, the original document may not be efficiently and precisely divided. Therefore, the same color continuous area is obtained for each pixel, and color information is extracted. The same color continuous area is obtained by area labeling processing.

ラベリング処理とは、連結している画素で同じ色情報を持った集合にラベル番号を付加する処理のことである。手順は、まず画像上でラベルが付加されていない画素に対し新しいラベル番号を付加する。そして、新しいラベル番号を付加した画素と連結していて同じ色情報を持っている画素に対し同じラベル番号を付加する。次に、同じラベル番号を付加した画素と連結していて同じ色情報を持っている画素に対して同じラベル番号を付加する。この操作を連結していて同じ色情報を持っている画素がなくなるまで続ける。これで、一つの連結成分に同じラベル番号が付加される。その後,最初に戻りラベル番号が付加されていない画素に対して同様の処理を行う。全ての画素にラベル番号が付加されたとき、ラベリング処理は終了する。ラベリング処理の流れの一例を図7に示す。   The labeling process is a process of adding a label number to a set having the same color information in connected pixels. In the procedure, first, a new label number is added to a pixel to which no label is added on the image. Then, the same label number is added to pixels that are connected to the pixel to which the new label number is added and have the same color information. Next, the same label number is added to the pixels that are connected to the pixels having the same label number and have the same color information. This operation is continued until no pixels having the same color information are connected. Thus, the same label number is added to one connected component. After that, the same processing is performed on the pixels to which the return label number is not added first. When label numbers are added to all pixels, the labeling process ends. An example of the flow of the labeling process is shown in FIG.

図8に領域ラベリング処理のフローを示す。
ステップS11:領域に付与するラベル番号のカウンタ0にクリアする。
ステップS12:ラベル無し画素(ラベルの付与されていない画素)があるか否か判定し、あればステップS13に進む。全ての画素にラベルが付与されたならばフローを終了する。
FIG. 8 shows a flow of the area labeling process.
Step S11: The counter 0 of the label number assigned to the area is cleared.
Step S12: It is determined whether or not there is a non-labeled pixel (a pixel to which no label is assigned). If there is, the process proceeds to step S13. If labels are assigned to all the pixels, the flow ends.

ステップS13:ラベル無し画素に現ラベル番号(ラベル番号カウンタの値)を付与する。
ステップS14:ステップS13にてラベルが付与された画素の近傍(上下左右の4方向或いは上下左右斜めの8方向)を探索する。
Step S13: The current label number (label number counter value) is assigned to the unlabeled pixel.
Step S14: Search for the vicinity of the pixel to which the label is assigned in step S13 (four directions up and down, left and right, or eight directions up and down, left and right).

ステップS15:ラベルが付与された画素の近傍に、同色のラベル無し画素があるか否か判定し、あれば当該画素を処理対象画素に設定し、ステップS13に戻る。近傍画素の全てがラベル付与済みであれば、ステップS16に進む。   Step S15: It is determined whether there is an unlabeled pixel of the same color in the vicinity of the pixel to which the label is assigned. If there is a pixel with no label, the pixel is set as a processing target pixel, and the process returns to Step S13. If all the neighboring pixels have been labeled, the process proceeds to step S16.

ステップS16:ラベル番号カウンタをインクリメントし、ステップS12に戻る。
以上をまとめると、画像レイヤー31の画像データに対して、ラベリング処理によって同一色の連続領域を求めた後、その領域の色情報を抽出し、画像レイヤー31の画像データは変化させず、抽出した色情報に対応する色識別情報を情報挿入レイヤー32に付加するということになる。
Step S16: Increment the label number counter and return to step S12.
In summary, after obtaining a continuous area of the same color by the labeling process for the image data of the image layer 31, the color information of the area is extracted, and the image data of the image layer 31 is extracted without being changed. Color identification information corresponding to the color information is added to the information insertion layer 32.

[領域の代表位置の決定]
この処理は、図4のステップS1、図5の対応情報取得部42で実行される処理の一例である。
[Determination of representative position of area]
This process is an example of the process executed by step S1 in FIG. 4 and the correspondence information acquisition unit 42 in FIG.

ラベリング処理によって求められる領域は画素単位に変化する不定形である。よって、その領域を代表するにふさわしい位置を求めることが必要である。不定形領域内の、その領域を代表する一点としてふさわしい、ひとつの条件としては、領域内の中心であること、つまり、領域周辺から等距離にあることである。   The area obtained by the labeling process is an indeterminate shape that changes in units of pixels. Therefore, it is necessary to obtain a position suitable for representing the area. One condition suitable for a point representing the region in the irregular region is that it is the center in the region, that is, is equidistant from the periphery of the region.

不定形な領域の中心には厳密な定義はないが、当該領域の最大内接円を求め、その中心によって代替すれば、所期の目的は達成できる。本実施形態では、当該領域の最大内接円を求めた後、その中心の直上に位置する情報挿入レイヤーに当該領域の色情報を配置することによって、不定形領域の色情報を使用者に提示することができる。   There is no strict definition for the center of the irregular region, but the desired purpose can be achieved if the maximum inscribed circle of the region is determined and replaced by that center. In this embodiment, after obtaining the maximum inscribed circle of the region, the color information of the region is presented to the user by arranging the color information of the region in the information insertion layer located immediately above the center. can do.

まず図9に示すように、画像レイヤー31の画像データから、同一色の連続領域に内接する最大円の中心P1〜P3などの位置を求め、情報挿入レイヤー32の同じ位置に配置する。   First, as shown in FIG. 9, the positions of the centers P1 to P3 of the largest circle inscribed in the continuous area of the same color are obtained from the image data of the image layer 31, and are arranged at the same position of the information insertion layer 32.

次に図10に示すように、同一色の連続領域のラベリング結果の数値321〜328を、情報挿入レイヤー32における中心P1〜P3などと同じ位置に上書きする。ここで、色間の区別さえつけば十分であるなら、色名を付与する必要は無く、当該領域のラベリング結果のみ配置する。同一色の領域は同じラベルとなるから、色間の区別はつき、かつ同一色の判断もできる。   Next, as shown in FIG. 10, the numerical values 321 to 328 of the labeling results of the continuous areas of the same color are overwritten at the same positions as the centers P1 to P3 and the like in the information insertion layer 32. Here, if it is sufficient to distinguish between colors, it is not necessary to assign a color name, and only the labeling result of the area is arranged. Since regions of the same color have the same label, the colors can be distinguished and the same color can be determined.

最後に図11に示すように、各領域の色名3211〜3281を先にラベリング結果の数値321〜328を配置した位置に上書きする。   Finally, as shown in FIG. 11, the color names 3211 to 3281 of each area are overwritten at the positions where the numerical values 321 to 328 of the labeling results are arranged first.

図12は、図9に示す同一色の連続領域に内接する最大円の中心P1〜P3などを求める処理のフローである。
ステップS21:最大半径値を0、中心座標を(0,0)にクリアする。
ステップS22:未検討画素があるか否か判定し、あれば当該画素を選択してステップS13に進む。なければ、即ち全ての画素の最大内接半径を求めたなら、フローを終了する。
FIG. 12 is a flow of processing for obtaining the centers P1 to P3 of the maximum circle inscribed in the continuous region of the same color shown in FIG.
Step S21: The maximum radius value is cleared to 0, and the center coordinates are cleared to (0, 0).
Step S22: It is determined whether or not there is an unexamined pixel. If not, that is, if the maximum inscribed radius of all pixels has been obtained, the flow ends.

ステップS23:最大半径値をインクリメントする。
ステップS24:現注目画素の現半径内に含まれる画素を探索し、現領域のラベルと異なるラベルを持つ画素の有無を検査する。
Step S23: The maximum radius value is incremented.
Step S24: A pixel included in the current radius of the current pixel of interest is searched, and the presence / absence of a pixel having a label different from the label of the current region is inspected.

ステップS25:ラベルの異なる画素があるか否か判定し、あればステップS26に進み、なければステップS23に戻る。
ステップS26:現半径値が最大半径値を越えているか否か判定し、越えているならばステップS27に進み、越えていないならばステップS22に戻る。
Step S25: It is determined whether there is a pixel with a different label. If there is, the process proceeds to step S26, and if not, the process returns to step S23.
Step S26: It is determined whether or not the current radius value exceeds the maximum radius value. If so, the process proceeds to step S27, and if not, the process returns to step S22.

ステップS27:最大半径値を現半径値で更新し、現画素の座標値を中心座標値に設定した後にステップS22に戻る。   Step S27: The maximum radius value is updated with the current radius value, the coordinate value of the current pixel is set to the center coordinate value, and then the process returns to Step S22.

図9〜図11の処理をまとめると、画像レイヤー31の画像データにおいて、ラベリング処理によって同一色の連続領域を求めた後、その領域の色情報を抽出し、さらに当該領域の最大半径内接円を求め、画像レイヤー31の画像データは変化させず、最大半径内接円の中心に対応する情報挿入レイヤー32の位置に、抽出した色情報に対応する色識別情報を付加するということになる。   9 to 11 are summarized. In the image data of the image layer 31, after obtaining a continuous area of the same color by the labeling process, color information of the area is extracted, and the maximum radius inscribed circle of the area is extracted. Therefore, the image data of the image layer 31 is not changed, and the color identification information corresponding to the extracted color information is added to the position of the information insertion layer 32 corresponding to the center of the maximum radius inscribed circle.

[グレイ原稿の処理]
グレイ原稿においては、濃淡によって文書作成者の意図を表現する場合があるが、2値モードにてスキャンした場合には、得られる画像ファイルにおいては濃淡の情報は欠落してしまう。そこで、先述したカラー画像と同様に濃淡の情報も情報挿入レイヤーに配置することによって、グレイ画像からの情報欠落を補完することができる。
[Process Gray Document]
In a gray manuscript, the intention of the document creator may be expressed by shading, but when scanning in the binary mode, shading information is lost in the obtained image file. Therefore, as in the case of the color image described above, information on grayscale can be arranged in the information insertion layer to compensate for missing information from the gray image.

上記の処理をまとめると、画像レイヤーの画像データにおいて格子状に領域分割し、その領域に対する濃淡情報を求め、画像レイヤーの画像データは変化させず、抽出した濃淡情報を情報挿入レイヤーに付加するということになる。   Summarizing the above processing, the image data of the image layer is divided into areas in a grid pattern, the grayscale information for the area is obtained, the image data of the image layer is not changed, and the extracted grayscale information is added to the information insertion layer. It will be.

[分散処理]
本実施形態の情報処理装置を図13に示すシステム上で実現することもできる。このシステムでは、ネットワーク101を介して、MFP(Multi Function Peripheral)102、サーバ103、スキャナ104が接続されており、MFP102或いはスキャナ104から入力したカラー原稿に対し、図5に示す処理を施す場合に、MFP102或いはスキャナ104とサーバ103とで、処理を分担するように構成してもよい。
[Distributed processing]
The information processing apparatus of the present embodiment can also be realized on the system shown in FIG. In this system, an MFP (Multi Function Peripheral) 102, a server 103, and a scanner 104 are connected via a network 101, and the process shown in FIG. 5 is performed on a color document input from the MFP 102 or the scanner 104. The MFP 102 or the scanner 104 and the server 103 may be configured to share processing.

以上のように、本実施形態によれば、透明テキスト付きPDFファイルを用いて、画像レイヤー31とは別の情報挿入レイヤー32上に、画像レイヤー31の画像データの色識別情報を追加することによって、原画像データの原本性を担保しつつ、色識別情報を付加することができる。
また、付加された色識別情報を使用者自身で可視/不可視を切り替えることができるから、色覚健常者用文書と色弱者用文書とを個々に準備する必要がなく、使用者自身が用途を選択し、表示/印刷することが可能となる。
この結果、色覚健常者は、色弱者向けに作成されたカラー画像に対して違和感を覚えることない一方、色弱者は色識別情報を得ることができるので、両者の使用感を著しく改善することができる。
As described above, according to the present embodiment, the color identification information of the image data of the image layer 31 is added to the information insertion layer 32 different from the image layer 31 using the PDF file with transparent text. The color identification information can be added while ensuring the originality of the original image data.
In addition, since the added color identification information can be switched between visible and invisible by the user himself / herself, there is no need to prepare a separate document for color-blind healthy persons and a document for color-blind persons, and the user himself / herself selects the application Display / printing.
As a result, the normal color blind person does not feel uncomfortable with the color image created for the color weak person, while the color weak person can obtain the color identification information, so that the feeling of use of both can be remarkably improved. it can.

31・・・画像レイヤー、32・・・情報挿入レイヤー、41・・・画像データ取得部、42・・・対応情報取得部、43・・・挿入態様決定部、44・・・カラーパレット。   DESCRIPTION OF SYMBOLS 31 ... Image layer, 32 ... Information insertion layer, 41 ... Image data acquisition part, 42 ... Corresponding information acquisition part, 43 ... Insertion mode determination part, 44 ... Color palette.

特開2001−257867号公報JP 2001-257867 A 特開2002−22537号公報JP 2002-22537 A 特許第3208961号公報Japanese Patent No. 3208961

Claims (10)

マルチレイヤー機能を有するファイルのあるレイヤーに書き込まれたカラー画像データを取得する画像データ取得部と、
そのカラー画像データにより形成されるカラー画像の領域と色との対応関係を取得する領域/色対応情報取得部と、
前記領域の色に対応する色識別情報を決定する色識別情報決定部と、
その色識別情報を前記レイヤーと別のレイヤーにおける前記領域と対応する位置に書き込む色識別情報付加部と、
を有することを特徴とする情報処理装置。
An image data acquisition unit for acquiring color image data written in a layer having a file having a multi-layer function;
A region / color correspondence information acquisition unit for acquiring a correspondence relationship between a color image region and a color formed by the color image data;
A color identification information determination unit for determining color identification information corresponding to the color of the region;
A color identification information adding unit that writes the color identification information in a position corresponding to the region in another layer and the layer;
An information processing apparatus comprising:
請求項1に記載された情報処理装置において、
前記色識別情報付加部は、前記色識別情報を不可視色を含む任意の色で書き込むことを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The information processing apparatus, wherein the color identification information adding unit writes the color identification information in an arbitrary color including an invisible color.
請求項1に記載された情報処理装置において、
前記領域/色対応情報取得部は、入力されるカラー画像データを減色する減色手段を有することを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The information processing apparatus according to claim 1, wherein the area / color correspondence information acquisition unit includes a color reduction unit that reduces color of input color image data.
請求項1に記載された情報処理装置において、
前記領域/色対応情報取得部は、前記カラー画像の領域を格子状に分割した領域と色との対応関係を取得することを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The information processing apparatus according to claim 1, wherein the area / color correspondence information acquisition unit acquires a correspondence relationship between an area obtained by dividing the area of the color image in a grid pattern and a color.
請求項4に記載された情報処理装置において、
前記格子状に分割した領域のサイズが可変であることを特徴とする情報処理装置。
The information processing apparatus according to claim 4,
An information processing apparatus characterized in that the size of the area divided into the lattice is variable.
請求項1に記載された情報処理装置において、
前記領域/色対応情報取得部は、前記画像データから同一色の連続領域と色との対応関係を取得することを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The area / color correspondence information acquisition unit acquires a correspondence relationship between continuous areas of the same color and colors from the image data.
請求項1に記載された情報処理装置において、
前記領域/色対応情報取得部は、前記画像データから同一色の連続領域の最大内接円の中心位置と色との対応関係を取得し、前記色識別情報付加部は、前記中心位置に前記色識別情報を書き込むことを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The region / color correspondence information acquisition unit acquires a correspondence relationship between the center position of a maximum inscribed circle of a continuous region of the same color and a color from the image data, and the color identification information addition unit includes the center position at the center position An information processing apparatus for writing color identification information.
請求項1に記載された情報処理装置において、
前記画像データから同一色の連続領域の画素数をカウントする手段を有し、前記領域/色対応情報取得部は、前記カウント手段のカウント値が所定の閾値を越える領域についてのみ色との対応関係を取得することを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
A unit that counts the number of pixels in a continuous region of the same color from the image data, and the region / color correspondence information acquisition unit associates with a color only for a region where the count value of the counting unit exceeds a predetermined threshold value; An information processing apparatus characterized by acquiring
マルチレイヤー機能を有するファイルのあるレイヤーに書き込まれたカラー画像データを取得する画像データ取得工程と、
そのカラー画像データにより形成されるカラー画像の領域と色との対応関係を取得する領域/色対応情報取得工程と、
色情報データベースを参照して、前記領域の色に対応する色識別情報を決定する色識別情報決定工程と、
その色識別情報を前記レイヤーと別のレイヤーにおける前記領域と対応する位置に書き込む色識別情報付加工程と、
を有することを特徴とする情報処理方法。
An image data acquisition process for acquiring color image data written in a layer having a file having a multi-layer function;
An area / color correspondence information obtaining step for obtaining a correspondence relationship between colors and areas of a color image formed by the color image data;
A color identification information determination step of determining color identification information corresponding to the color of the region with reference to a color information database;
A color identification information adding step for writing the color identification information at a position corresponding to the area in the layer different from the layer;
An information processing method characterized by comprising:
コンピュータを、本発明の情報処理装置として機能させるためのプログラム。   A program for causing a computer to function as the information processing apparatus of the present invention.
JP2009213476A 2009-09-15 2009-09-15 Information processing apparatus and method, and program Pending JP2011066523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009213476A JP2011066523A (en) 2009-09-15 2009-09-15 Information processing apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009213476A JP2011066523A (en) 2009-09-15 2009-09-15 Information processing apparatus and method, and program

Publications (1)

Publication Number Publication Date
JP2011066523A true JP2011066523A (en) 2011-03-31

Family

ID=43952331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009213476A Pending JP2011066523A (en) 2009-09-15 2009-09-15 Information processing apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP2011066523A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013088726A (en) * 2011-10-20 2013-05-13 Sharp Corp Display system and display program
WO2013114638A1 (en) * 2012-01-30 2013-08-08 楽天株式会社 Image processing system, image processing device, image processing method, program, and information storage medium
US8787640B2 (en) 2011-09-05 2014-07-22 Ricoh Company, Ltd. Image processing system, method, program, and storage medium to implement universal color design
US20190230252A1 (en) * 2018-01-25 2019-07-25 Fuji Xerox Co., Ltd. Color expression conversion apparatus and non-transitory computer readable medium storing program
CN111771228A (en) * 2018-02-22 2020-10-13 三菱电机株式会社 Information processing apparatus, information processing method, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8787640B2 (en) 2011-09-05 2014-07-22 Ricoh Company, Ltd. Image processing system, method, program, and storage medium to implement universal color design
JP2013088726A (en) * 2011-10-20 2013-05-13 Sharp Corp Display system and display program
WO2013114638A1 (en) * 2012-01-30 2013-08-08 楽天株式会社 Image processing system, image processing device, image processing method, program, and information storage medium
US9367764B2 (en) 2012-01-30 2016-06-14 Rakuten, Inc. Image processing system, image processing device, image processing method, program, and information storage medium for providing an aid that makes it easy to grasp color of an image
US20190230252A1 (en) * 2018-01-25 2019-07-25 Fuji Xerox Co., Ltd. Color expression conversion apparatus and non-transitory computer readable medium storing program
JP2019128851A (en) * 2018-01-25 2019-08-01 富士ゼロックス株式会社 Color expression conversion device and program
JP7187776B2 (en) 2018-01-25 2022-12-13 富士フイルムビジネスイノベーション株式会社 Color expression conversion device and program
US11706352B2 (en) 2018-01-25 2023-07-18 Fujifilm Business Innovation Corp. Color expression conversion apparatus for understanding color perception in document using textual, expression and non-transitory computer readable medium storing program
CN111771228A (en) * 2018-02-22 2020-10-13 三菱电机株式会社 Information processing apparatus, information processing method, and program

Similar Documents

Publication Publication Date Title
RU2437152C2 (en) Device to process images, method and computer programme to process images
CN101689203B (en) Image processing apparatus, image processing method
US7729013B2 (en) Image processing apparatus, image processing method, and computer program product
EP2555138A1 (en) Two-dimensional code with a logo, device for generating a two-dimensional code with a logo, method for generating a two-dimensional code with a logo, and program
US20050152613A1 (en) Image processing apparatus, image processing method and program product therefore
JP4854491B2 (en) Image processing apparatus and control method thereof
JP2002063215A (en) Method and system for displaying document, computer program and recording medium
CN108182349B (en) Word document watermark copyright information protection device and method
JP6122814B2 (en) Information processing apparatus, program, and digital plate inspection method
JP2011066523A (en) Information processing apparatus and method, and program
US6850228B1 (en) Universal file format for digital rich ink data
JP5434582B2 (en) Image processing apparatus and image processing program
JP2013145491A (en) Image processing device, image forming device, program and storage medium
JP5526874B2 (en) Image processing apparatus and image processing program
JP2007004621A (en) Document management supporting device, and document management supporting method and program
JP2016024527A (en) Information processing apparatus, program, and automatic page replacement method
JP5482223B2 (en) Information processing apparatus and information processing method
CN101677351A (en) Image processing apparatus, image forming apparatus and image processing method
US20170262141A1 (en) Information processing apparatus, information processing method and non-transitory computer readable medium
JP2013003906A (en) Electronic document decoration device and electronic document decoration program
JP2011086092A (en) Color scheme conversion device and program
US7738139B2 (en) Inking on photographs
JP4710672B2 (en) Character color discrimination device, character color discrimination method, and computer program
JP4507673B2 (en) Image processing apparatus, image processing method, and program
EP2573733A1 (en) Coloration examination device, and computer program and data processing method therefor