JP2000306094A - Image processor, image processing method and recording medium - Google Patents

Image processor, image processing method and recording medium

Info

Publication number
JP2000306094A
JP2000306094A JP11108978A JP10897899A JP2000306094A JP 2000306094 A JP2000306094 A JP 2000306094A JP 11108978 A JP11108978 A JP 11108978A JP 10897899 A JP10897899 A JP 10897899A JP 2000306094 A JP2000306094 A JP 2000306094A
Authority
JP
Japan
Prior art keywords
image
color
specific color
image data
region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11108978A
Other languages
Japanese (ja)
Inventor
Michiyoshi Tachikawa
道義 立川
Goro Bessho
吾朗 別所
Fumihiro Hasegawa
史裕 長谷川
Takayuki Nishimura
隆之 西村
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 JP11108978A priority Critical patent/JP2000306094A/en
Publication of JP2000306094A publication Critical patent/JP2000306094A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately separate an area or symbol solidly painted out in a specified color from an image of a printed matter or the like drawn in plural colors. SOLUTION: A specified color designating part 2 designates a color used for emphasizing processing to an inputted color image. In an emphasizing processing part 2, image data are emphasized by performing prescribed weighting to the respective color components of the image data and an area extracting part 4 for specified color extracts the designated specified color from the emphasized image. In a monochromatic processing part 5, the area in the extracted specified color is converted to a monochromatic gradation image and outputted to an image output part 6.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数色で表現され
た図面などのカラー画像から、特定色の領域を抽出する
画像処理方法、装置および画像処理プログラムを記録し
た記録媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and apparatus for extracting a region of a specific color from a color image such as a drawing expressed in a plurality of colors, and a recording medium storing an image processing program.

【0002】[0002]

【従来の技術】本出願人は先に、図面の輪郭(例えば建
設図面の壁など)や表の区切線(例えば帳票の罫線な
ど)を精度よく認識する画像認識方法を提案した(特開
平8−221571号公報を参照)。
2. Description of the Related Art The present applicant has previously proposed an image recognition method for accurately recognizing outlines of a drawing (for example, walls of a construction drawing) and dividing lines of a table (for example, ruled lines of a form) (Japanese Patent Application Laid-Open No. Hei 8 (1994)). -221571).

【0003】ところで、一般に建設・設備業などで使用
される図面は、色分けされて複数の情報が記述されてい
たり、色付きの用紙上に、用紙色と異なる色のペンで記
述または印刷されている。あるいは、図面中に地図上の
標識などが含まれている場合は、標識の原色にほぼ一致
する配色で記述されているなど、複数色で構成されるこ
とが多い。
[0003] By the way, drawings generally used in the construction / equipment industry or the like are described with a plurality of pieces of information in different colors, or are described or printed on colored paper with a pen different from the paper color. . Alternatively, if a drawing includes a sign on a map, the mark is often composed of a plurality of colors, such as being described in a color scheme substantially matching the primary color of the sign.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記提案した
方法は、カラー画像を処理対象としたものではない。そ
こで、本発明では、カラー画像を精度よく認識するため
の前処理を考慮したもので、本発明の目的は、複数色で
描画された印刷物などの画像から特定色でべた塗りされ
た領域や記号を色別に精度よく分離する画像処理方法、
装置および記録媒体を提供することにある。
However, the method proposed above does not deal with color images. Therefore, in the present invention, a pre-processing for accurately recognizing a color image is taken into consideration, and an object of the present invention is to provide a solid-colored area or symbol from an image such as a printed matter drawn in a plurality of colors. Image processing method that separates color by color accurately
A device and a recording medium are provided.

【0005】[0005]

【課題を解決するための手段】前記目的を達成するため
に、本発明では、画像入力部から入力されたカラー画像
に対して、特定色指定部において強調処理する色を指定
し、強調処理部では、カラー画像データの各色成分に対
して所定の重み付けを行うことにより画像データを強調
し、特定色の領域抽出部では、強調処理された画像から
指定された特定色の領域を抽出し、モノクロ化処理部で
は、抽出された特定色の領域をモノクロの階調画像に変
換して出力することを一つの特徴としている。
In order to achieve the above object, according to the present invention, for a color image input from an image input unit, a color to be emphasized in a specific color designating unit is designated, and an emphasis processing unit is designated. Then, the image data is emphasized by performing predetermined weighting on each color component of the color image data, and the specific color region extracting unit extracts a region of the specified specific color from the emphasized image, and One feature of the conversion processing unit is that the extracted specific color region is converted into a monochrome gradation image and output.

【0006】[0006]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。図1は、本発明の実施例の構
成を示す。図1において、1はスキャナなどの画像入力
部、2は特定色指定部、3は強調処理部、4は特定色の
領域抽出部、5はモノクロ化処理部、6は表示装置など
の画像出力部である。また、図2は、本発明の処理フロ
ーチャートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, 1 is an image input unit such as a scanner, 2 is a specific color designation unit, 3 is an enhancement processing unit, 4 is a specific color region extraction unit, 5 is a monochrome processing unit, and 6 is an image output unit such as a display device. Department. FIG. 2 is a processing flowchart of the present invention.

【0007】以下、カラー画像として交通標識が入力さ
れた場合を例にして本発明の処理動作を説明する。図3
は、建設図面内に記入されている交通標識の原画像を示
す。標識のシンボル部分は、中心が青色で、その周囲が
赤色で構成されている。この交通標識は、人間の色に対
する視覚機能(感度)を考慮して、つまり、RGBの各
成分が3:6:1の比率であるとき、際立って見えるよ
うに色配分や濃度調整されていることが多い。
Hereinafter, the processing operation of the present invention will be described by taking as an example the case where a traffic sign is input as a color image. FIG.
Shows the original image of the traffic sign entered in the construction drawing. The symbol portion of the sign has a blue center and a red surrounding. In this traffic sign, the color distribution and the density are adjusted so as to stand out in view of human visual function (sensitivity), that is, when the RGB components are in the ratio of 3: 6: 1. Often.

【0008】図3の交通標識から赤色と黄色を抽出する
場合は次のように処理する。特定色指定部2から赤色と
黄色を指定する。強調処理部2では、カラー画像データ
の各色成分に対して、3:6:1の重み付けを行うこと
により、画像データを強調する(ステップ102)。例
えば、入力カラー画像が8ビットで量子化され、R=5
0、G=100、B=60であるとき、強調処理後の
R、G、B値は、R=50×0.3、G=100×0.
6、B=60×0.1となる。
When red and yellow are extracted from the traffic sign shown in FIG. 3, the following processing is performed. Red and yellow are designated from the specific color designation section 2. The emphasis processing unit 2 emphasizes the image data by weighting each color component of the color image data at 3: 6: 1 (step 102). For example, an input color image is quantized by 8 bits, and R = 5
When 0, G = 100, and B = 60, the R, G, and B values after the enhancement processing are R = 50 × 0.3, G = 100 × 0.
6, B = 60 × 0.1.

【0009】次いで、特定色の領域抽出部4は、強調処
理された画像から、指定された特定色の領域を抽出する
(ステップ103)。黄色は(赤色+緑色)であるの
で、上記したデータの例では、赤色として、R=50×
0.3が抽出される。また、黄色として、R+G=50
×0.3+100×0.6が抽出される。
Next, the specific color region extracting section 4 extracts a specified specific color region from the emphasized image (step 103). Since yellow is (red + green), R = 50 ×
0.3 is extracted. Also, as yellow, R + G = 50
× 0.3 + 100 × 0.6 is extracted.

【0010】そして、モノクロ化処理部5では、抽出さ
れた特定色をモノクロの階調画像に変換し、画像出力部
6に出力する(ステップ104)。赤色と黄色は、次式
によってモノクロに変換される。
Then, the monochrome processing section 5 converts the extracted specific color into a monochrome gradation image and outputs it to the image output section 6 (step 104). Red and yellow are converted to monochrome by the following equation.

【0011】モノクロ画像={50×0.3+(50×
0.3+100×0.6)}/{(256×0.3)+
(256×0.3)+(256×0.6)}。
A monochrome image = $ 50 × 0.3 + (50 ×
0.3 + 100 × 0.6)} / {(256 × 0.3) +
(256 × 0.3) + (256 × 0.6)}.

【0012】図4は、図3のカラー画像から赤色と黄色
を抽出処理した画像データの表示例を示す。図に示すよ
うに、赤色と黄色(図ではモノクロで表示)が高精度に
抽出されている。図5は、強調処理を行うことなく、赤
色と黄色を抽出処理した画像データの表示例を示す。図
4と比較して、赤色の抽出精度が低下していることが分
かる。
FIG. 4 shows a display example of image data obtained by extracting red and yellow from the color image of FIG. As shown in the figure, red and yellow (displayed in monochrome in the figure) are extracted with high accuracy. FIG. 5 shows a display example of image data obtained by extracting red and yellow without performing the emphasis processing. It can be seen that the accuracy of red color extraction is lower than in FIG.

【0013】図6は、図3のカラー画像に対して、R:
G:B=1:6:3の重みで強調処理し、青色とシアン
色(青色+緑色)を抽出した画像データの表示例を示
す。また、図7は、強調処理することなく青色とシアン
色を抽出した画像データの表示例を示し、図6に比べて
青色の抽出精度が低下している。
FIG. 6 shows the relationship between the color image of FIG.
A display example of image data in which blue and cyan colors (blue + green) are extracted by emphasizing with a weight of G: B = 1: 6: 3 is shown. FIG. 7 shows a display example of image data in which blue and cyan colors are extracted without emphasizing processing. The extraction accuracy of blue is lower than that in FIG.

【0014】図8は、水色のグラフ用紙に建設図面が記
入されている画像の例を示す。このような建設図面の壁
などを前掲した公報の画像認識方法を用いて認識する場
合に、予め水色の地肌を除去した方が認識の精度が向上
する。
FIG. 8 shows an example of an image in which a construction drawing is written on light blue graph paper. In the case of recognizing such a wall of a construction drawing using the image recognition method of the above-mentioned publication, the recognition accuracy is improved by removing the light blue background in advance.

【0015】そこで、図8の画像に対して、R:G:B
=1:6:3の重みで強調処理した上で、青(水色)を
除去する。図9は、水色の地肌が除去された画像を示
す。図10は、図9の画像について、例えば前掲した公
報の画像認識方法を用いて壁を認識した結果を示す。
Therefore, for the image of FIG. 8, R: G: B
After emphasizing with a weight of = 1: 6: 3, blue (light blue) is removed. FIG. 9 shows an image from which the light blue background has been removed. FIG. 10 shows the result of recognizing the wall of the image of FIG. 9 using, for example, the image recognition method of the above-mentioned publication.

【0016】なお、上記した実施例では、モノクロに変
換された画像を表示する例を示したが、モノクロ画像を
特徴抽出部に入力させることにより、その輪郭形状を抽
出して認識処理することも可能である。
In the above-described embodiment, an example in which an image converted to monochrome is displayed is described. However, by inputting a monochrome image to the feature extraction unit, the outline shape can be extracted and recognized. It is possible.

【0017】また、R:G:Bの重みは上記した例に限
定されず、R:G:B=α:β:γ(ただし、α+β+
γ=1)であればよい。
The weight of R: G: B is not limited to the above example, but R: G: B = α: β: γ (where α + β +
It is sufficient that γ = 1).

【0018】本発明は上記した実施例に限定されず、ソ
フトウェアによっても実現することができる。本発明を
ソフトウェアによって実現する場合には、図11に示す
ように、CPU、メモリ、表示装置、ハードディスク、
キーボード、CD−ROMドライブ、スキャナなどから
なるコンピュータシステムを用意し、CD−ROMなど
のコンピュータ読み取り可能な記録媒体には、本発明の
特定色の領域を抽出する機能を実現するプログラムが記
録されていて、このプログラムをシステムにインストー
ルする。また、スキャナなどの画像入力手段から入力さ
れたカラー画像は一時的にハードディスクなどに格納さ
れる。そして、該プログラムが起動されると、一時保存
された画像データが読み込まれて、指定された特定色を
強調処理し、強調処理された特定色の領域を抽出する処
理を実行し、その抽出結果をディスプレイなどに出力す
る。
The present invention is not limited to the above embodiment, but can be realized by software. When the present invention is implemented by software, as shown in FIG. 11, a CPU, a memory, a display device, a hard disk,
A computer system including a keyboard, a CD-ROM drive, a scanner and the like is prepared, and a computer-readable recording medium such as a CD-ROM stores a program for realizing the function of extracting a region of a specific color of the present invention. Install this program on your system. A color image input from an image input unit such as a scanner is temporarily stored in a hard disk or the like. Then, when the program is started, the temporarily stored image data is read, and a process of emphasizing the specified specific color and extracting a region of the emphasized specific color is executed. Is output to a display or the like.

【0019】[0019]

【発明の効果】以上、説明したように、本発明によれ
ば、複数色で構成された画像中から特定色の領域を精度
よく抽出できるので、図面認識や帳票認識などに適用し
た場合に、認識率を向上させることができる。また、図
面の輪郭などを認識する際に、予め不要な色を抽出して
除去しているので、精度よく認識することができる。さ
らに、同一色領域の境界部分を中心にして、その輪郭形
状を滑らかに抽出することができる。
As described above, according to the present invention, an area of a specific color can be accurately extracted from an image composed of a plurality of colors. The recognition rate can be improved. Further, when recognizing the outline of the drawing, unnecessary colors are extracted and removed in advance, so that the recognition can be performed with high accuracy. Further, the contour shape can be smoothly extracted around the boundary portion of the same color region.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例の構成を示す。FIG. 1 shows a configuration of an embodiment of the present invention.

【図2】本発明の処理フローチャートを示す。FIG. 2 shows a processing flowchart of the present invention.

【図3】入力されたカラー画像の一例を示す。FIG. 3 shows an example of an input color image.

【図4】図3のカラー画像から赤色と黄色を抽出処理し
た画像データの表示例を示す。
FIG. 4 shows a display example of image data obtained by extracting red and yellow from the color image of FIG.

【図5】本発明による強調処理を行うことなく、赤色と
黄色を抽出処理した画像データの表示例を示す。
FIG. 5 shows a display example of image data obtained by performing red and yellow extraction processing without performing the enhancement processing according to the present invention.

【図6】図3のカラー画像から青色とシアン色を抽出処
理した画像データの表示例を示す。
6 shows a display example of image data obtained by extracting blue and cyan colors from the color image of FIG.

【図7】本発明による強調処理を行うことなく、青色と
シアン色を抽出した画像データの表示例を示す。
FIG. 7 shows a display example of image data in which blue and cyan colors are extracted without performing the enhancement processing according to the present invention.

【図8】水色のグラフ用紙に建設図面が記入されている
画像の例を示す。
FIG. 8 shows an example of an image in which a construction drawing is written on light blue graph paper.

【図9】水色の地肌が除去された画像を示す。FIG. 9 shows an image from which the light blue background has been removed.

【図10】図9の画像について壁を認識した結果を示
す。
FIG. 10 shows a result of recognizing a wall in the image of FIG. 9;

【図11】本発明をソフトウェアによって実現する場合
の構成例を示す。
FIG. 11 shows a configuration example when the present invention is realized by software.

【符号の説明】[Explanation of symbols]

1 画像入力部 2 特定色指定部 3 強調処理部 4 特定色の領域抽出部 5 モノクロ化処理部 6 画像出力部 DESCRIPTION OF SYMBOLS 1 Image input part 2 Specific color designation part 3 Emphasis processing part 4 Specific color area extraction part 5 Monochrome conversion part 6 Image output part

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/40 D 1/46 Z (72)発明者 長谷川 史裕 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 (72)発明者 西村 隆之 鳥取県鳥取市千代水一丁目100番地 リコ ー鳥取技術開発株式会社内 Fターム(参考) 5B050 AA00 BA15 BA17 DA04 DA06 EA06 EA09 EA16 5B057 CA01 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE03 CE12 DA08 DB02 DB06 DB09 DC25 5C077 MP08 PP32 PP37 PP51 PQ18 RR02 5C079 HB01 LA02 LA34 LB11 NA00 5L096 AA02 BA08 DA01 EA39 FA15──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/40 D 1/46 Z (72) Inventor Fumihiro Hasegawa 1-3-6 Nakamagome, Ota-ku, Tokyo No. Inside Ricoh Co., Ltd. (72) Inventor Takayuki Nishimura 1-100 Chiyosui, Tottori City, Tottori Prefecture F-term (reference) 5R050 AA00 BA15 BA17 DA04 DA06 EA06 EA09 EA16 5B057 CA01 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 CE03 CE12 DA08 DB02 DB06 DB09 DC25 5C077 MP08 PP32 PP37 PP51 PQ18 RR02 5C079 HB01 LA02 LA34 LB11 NA00 5L096 AA02 BA08 DA01 EA39 FA15

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像データの特定色に対して強調
処理を施した後、前記カラー画像データから特定色の領
域を抽出することを特徴とする画像処理方法。
2. An image processing method comprising: performing an emphasis process on a specific color of color image data; and extracting a region of the specific color from the color image data.
【請求項2】 前記強調処理は、特定色成分に所定の重
み付けを行う処理であることを特徴とする請求項1記載
の画像処理方法。
2. The image processing method according to claim 1, wherein said emphasizing process is a process of performing predetermined weighting on a specific color component.
【請求項3】 前記抽出された特定色の領域をモノクロ
化することを特徴とする請求項1記載の画像処理方法。
3. The image processing method according to claim 1, wherein the extracted region of the specific color is converted to monochrome.
【請求項4】 カラー画像データの特定色を指定する手
段と、該指定された特定色を強調処理する手段と、該強
調処理された特定色の領域を抽出する手段と、前記抽出
された特定色の領域をモノクロ化する手段を備えたこと
を特徴とする画像処理装置。
4. A means for designating a specific color of color image data, a means for enhancing the designated specific color, a means for extracting a region of the enhanced specific color, and An image processing apparatus, comprising: means for converting a color region to monochrome.
【請求項5】 カラー画像データ中の指定された特定色
を強調処理する機能と、該強調処理された特定色の領域
を抽出する機能をコンピュータに実現させるためのプロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
5. A computer-readable program storing a program for causing a computer to implement a function of emphasizing a specified specific color in color image data and a function of extracting a region of the emphasized specific color. recoding media.
JP11108978A 1999-04-16 1999-04-16 Image processor, image processing method and recording medium Pending JP2000306094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11108978A JP2000306094A (en) 1999-04-16 1999-04-16 Image processor, image processing method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11108978A JP2000306094A (en) 1999-04-16 1999-04-16 Image processor, image processing method and recording medium

Publications (1)

Publication Number Publication Date
JP2000306094A true JP2000306094A (en) 2000-11-02

Family

ID=14498486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11108978A Pending JP2000306094A (en) 1999-04-16 1999-04-16 Image processor, image processing method and recording medium

Country Status (1)

Country Link
JP (1) JP2000306094A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101216069B1 (en) 2011-05-06 2012-12-27 삼성탈레스 주식회사 Method and apparatus for converting image
US8442312B2 (en) 2005-06-01 2013-05-14 Fujitsu Limited Method and apparatus for detecting image area, and computer product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8442312B2 (en) 2005-06-01 2013-05-14 Fujitsu Limited Method and apparatus for detecting image area, and computer product
KR101216069B1 (en) 2011-05-06 2012-12-27 삼성탈레스 주식회사 Method and apparatus for converting image

Similar Documents

Publication Publication Date Title
JP2003132358A (en) Image processing method, device and system
JPH11313213A (en) Information processing system, information processing method and medium
JPH08154172A (en) Image processing method, image file and file for image processing
JP2001014457A (en) Image processor
JP3740351B2 (en) Image processing apparatus and method, and recording medium on which execution program for the method is recorded
JP3619143B2 (en) Image processing apparatus and method
JP2001175843A (en) Image processing method, image processor and storage medium
JP2000306094A (en) Image processor, image processing method and recording medium
JP2009171158A (en) Mosaic image generation apparatus, method, and program
US6456295B1 (en) Method for simulating diffusion on a raster
JP2005526290A5 (en)
JP4095234B2 (en) Image processing method, apparatus, and recording medium
JP2003274180A (en) Image processor, image processing method, printer driver, computer readable storage medium and computer program
JP2002175532A (en) Image processor, method for image processing and storage medium with image processing program recorded thereon
JP2001222717A (en) Document image recognition method and system, and computer readable recording medium
JP2001310520A (en) Method and apparatus of image processing and storage medium
JPH08123901A (en) Character extraction device and character recognition device using this device
US6339654B1 (en) Apparatus and method for efficiently processing color and monochrome images
JP3833170B2 (en) Gray line setting method, image processing apparatus and image processing method
JP2001036756A (en) Method and device for processing image
JP2001197308A (en) Method and device for calculating binarization threshold
JP2002252773A (en) Color image processing method and device, and recording medium
JP2000067240A (en) Area dividing method for color image, and program storage medium
JP2002112044A (en) Apparatus and method for processing image and computer- readable recording medium with image processing program recorded thereon
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080227

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080625