JPH03263277A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH03263277A
JPH03263277A JP2064540A JP6454090A JPH03263277A JP H03263277 A JPH03263277 A JP H03263277A JP 2064540 A JP2064540 A JP 2064540A JP 6454090 A JP6454090 A JP 6454090A JP H03263277 A JPH03263277 A JP H03263277A
Authority
JP
Japan
Prior art keywords
color
document
mark
image
color characteristic
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
JP2064540A
Other languages
Japanese (ja)
Inventor
Masahisa Yano
矢野 雅久
Yoshiyuki Yamashita
山下 義征
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2064540A priority Critical patent/JPH03263277A/en
Publication of JPH03263277A publication Critical patent/JPH03263277A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)
  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To make correspondence to a color document or drawing with simple processing configuration by separately extracting a picture and a character/graphic picture by learning a mark to be directly read after write to the document/drawing and the color characteristic of the background, character, graphic and picture in the document/drawing before reading. CONSTITUTION:Scanning is successively executed with a horizontal direction as a main scanning direction and a vertical direction as a sub scanning direction. When a mode switch part 2 is set to a learning mode, a color characteristic registration part 3 learns and registers the color characteristic corresponding to the color and density of a mark, which is directly read after write to the original, and the color characteristic of the background and document. The coordinate data of a registering area set to the registration part 3 is compared with the coordinates of a scanning point and when this scanning point is positioned in the registering area, the color characteristic under registration is updated from an RGB system to an XYZ system. On the other hand, in the case of an original read mode, the color characteristic of the scanning point is compared with the registered color characteristic. When the color characteristic of the scanning point is positioned in the mark condition range, '1' and '0' are respectively written into a mark picture storage part 5 and a document/ drawing picture storage part 6, and when the scanning point is positioned in the document, graphic and picture condition range, '0' and '1' are respectively written into these storage parts. When the scanning point is positioned in the background condition range, '0' and '0' are respectively written into those storage parts.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文書2図面と異なる色の領域抽出マークや編集
マークが追記され原稿を読み取って、文書1図面の必要
領域の抽出や編集を行なう画像処理装置に関し、特に異
なる色の領域抽出マークや編集マークと文書2図面とを
分離・抽出する画像処理装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention reads a manuscript in which area extraction marks and editing marks in a color different from that of the document 2 drawing are added, and extracts and edits the necessary area of the document 1 drawing. The present invention relates to an image processing device, and particularly to an image processing device that separates and extracts area extraction marks and editing marks of different colors from document 2 drawings.

〔従来技術〕[Prior art]

従来、文書2図面と異なる色のベン(以下、「カラーペ
ン」という)で領域抽出マークや編集マーク(以下、′
カラーマーク」という)を追記した原稿を読み取って、
カラーマークと文書1図面とを分離、抽出する方法とし
ては下記の(1)乃至〈3)の方法がある。
Conventionally, area extraction marks and editing marks (hereinafter referred to as '
Scan the manuscript with additional color marks (called "color marks"),
Methods for separating and extracting the color mark and document 1 drawing include the following methods (1) to (3).

(1)第1の方法は、特開昭60−31682号公報に
開示されたもので、モノクロのスキャンなどの画像入力
装置の出力を下位レベルと上位レベルの少なくとも2つ
の異なるレベルで2値化し、これによって得られる両デ
ータに排他的論理和処理を施すことによってカラーマー
ク画像と文書。
(1) The first method is disclosed in Japanese Patent Application Laid-Open No. 60-31682, in which the output of an image input device such as a monochrome scan is binarized at at least two different levels: a lower level and an upper level. , By applying exclusive OR processing to both data obtained by this, a color mark image and a document are created.

図面画像とを得る方法である。This is a method of obtaining drawing images.

(2)第2の方法は、特開昭63−40981号公報に
開示されたもので、白色光源で原稿を照射し、その反射
光を分光フィルタを用いて数種の色光に分離し、色光毎
に同期し、且つ開閉周波数が整数倍の関係にあるシャッ
タを動作させ、これらシャッタを通過した各色光を再び
集束させて受光センサにより該集束光を光電変換し、得
られた電気信号を周波数フィルタによってそれぞれの周
波数成分に分離し、得られた信号に対しそれぞれ設定さ
れた閾値により2値化することによって黒で書かれた文
書、e!!It面とカラーマークとを分離・抽出する方
法である。
(2) The second method is disclosed in Japanese Patent Application Laid-open No. 63-40981, in which a document is irradiated with a white light source, and the reflected light is separated into several types of colored light using a spectral filter. The shutters are operated in synchronization with each other and whose opening/closing frequency is an integer multiple, and each color light that has passed through these shutters is refocused, and the light receiving sensor converts the focused light photoelectrically, and the resulting electrical signal is converted into a frequency The e! ! This is a method of separating and extracting the It surface and the color mark.

(3)第3の方法は、フルカラーのスキャナ等の画像入
力装置の赤、緑、青の三原色に分解した出力を用いて、
赤、緑、青の出力間の演算によってカラーマークと文書
2図面とを分離・抽出する方法である。
(3) The third method uses the output of an image input device such as a full-color scanner that is separated into the three primary colors of red, green, and blue.
This is a method of separating and extracting the color mark and document 2 drawing by calculating between red, green, and blue outputs.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら上記〈1)の第1の方法は、色々な種類の
カラーペンに対応するためには、カラーマーク部分の信
号レベルの範囲が広くなるため、カラーマークに対応す
る閾値の設定が難しく、仮に設定できたとしても、分離
されたカラーマーク画像に文書9図面画像(黒)や背景
部(白)の−部が混在することがあるため、カラーペン
を限定したり、記入方法を厳密にする必要があるという
問題点があった。
However, in the first method (1) above, in order to support various types of color pens, the signal level range of the color mark part becomes wide, so it is difficult to set the threshold corresponding to the color mark. Even if you can set it, the minus part of the document 9 drawing image (black) and background part (white) may be mixed in the separated color mark image, so limit the color pens or use stricter filling methods. The problem was that it was necessary.

また、上記(2)の第2の方法は、追記できるカラーマ
ークの色種別が分光フィルタによって限定されると共に
画像入力部の構造及び分離・抽出処理が複雑化するとい
う問題点があった。
Further, the second method (2) above has the problem that the color types of color marks that can be added are limited by the spectral filter, and the structure of the image input unit and the separation/extraction process become complicated.

また、上記〈3)の第3の方法は、赤、緑、青の3原色
の出力を用いて、明度2色相、彩度などの色特性を求め
ることができるため、文書1図面(黒)とカラーマーク
とを分離することが可能であるが、現存の装置ではフル
カラーの自然画像の処理を対象としたものであり、文書
1図面に簡単なマークを追記した原稿から、文書3図面
画像とマーク画像とを分離・抽出するための画像処理装
置としては処理及び装置の構成が複雑で高価であり、操
作性も悪いという問題があった。
In addition, the third method in <3) above uses the output of the three primary colors of red, green, and blue to determine color characteristics such as lightness, two hues, and saturation. However, the existing devices are designed to process full-color natural images, and can be used to separate document 1 drawings from originals with simple marks added to document 3 drawing images. Image processing devices for separating and extracting mark images have problems in that the processing and device configurations are complicated and expensive, and the operability is poor.

また、文書2図面と背景部の色が夫々、黒、白でない場
合には、その指定手段がなく分離不可能となったり、キ
ーボードなどを用いて装置又は計算機との対話処理によ
って原稿の記載条件などを入力する必要があり、操作が
繁雑になるという問題点があった。
In addition, if the color of the document 2 drawing and the background are not black or white, respectively, there is no means to specify them and they cannot be separated, or the writing conditions of the manuscript can be changed by interactive processing with the device or computer using a keyboard etc. There was a problem in that it was necessary to input such information, making the operation complicated.

本発明は上述の点に鑑みてなされたもので、上記問題点
を除去するために、文書2図面に追記するカラーマーク
及び/又は背景1文書1図面の色特性を原稿を読み取る
以前に学習し、学習した色特性に基づいてマーク画像と
文書2図面画像とを分離・抽出するようにし、簡単な処
理、構成で、追記するマークに使用するカラーペンの色
種側の制限を除去し、カラー文書1図面に対処可能な操
作性の優れた画像処理装置を提供することを目的とする
The present invention has been made in view of the above-mentioned problems, and in order to eliminate the above-mentioned problems, the present invention learns the color characteristics of the color mark added to the document 2 drawing and/or the background 1 document 1 drawing before reading the original. , the mark image and the document 2 drawing image are separated and extracted based on the learned color characteristics, and with simple processing and configuration, the restrictions on the color type of the color pen used for the mark to be added are removed, and the color An object of the present invention is to provide an image processing device with excellent operability that can handle one drawing of a document.

〔課題を解決するための手段〕[Means to solve the problem]

上記課題を解決するため本発明は文書/図面と該文書/
図面と異なる色のマークが記載された原稿を読み取って
文書/図面とマークとを分離/抽出する画像処理装置を
下記のように構成した。
In order to solve the above problems, the present invention provides a document/drawing and the document/drawing.
An image processing device that reads a document containing marks of a different color from the drawings and separates/extracts the documents/drawings and the marks was configured as follows.

学習用紙上に記載されたマーク及び/又は文字9図形、
背景の色及び濃淡に応じた色情報を出力する画像入力部
と、学習モードと原稿読み取りモードを切り換えるモー
ド切換部と、モード切換部が学習モードに設定されてい
る場合には、用紙の第1の所定の領域の色情報を色特性
として登録する色特性登録部と、モード切換部が原稿読
み取りモードに設定されている場合には、画像入力部か
ら出力される色情報と前記色特性登録部に登録された色
特性とに基づいて、原稿上の文字図形とを分離・抽出す
る画像分類部とを設けた。
Marks and/or letters 9 shapes written on the study paper,
an image input section that outputs color information according to the color and shading of the background; a mode switching section that switches between learning mode and document reading mode; and when the mode switching section is set to learning mode, a color characteristic registration section that registers color information of a predetermined area of the color characteristic as a color characteristic, and when the mode switching section is set to document reading mode, the color information output from the image input section and the color characteristic registration section. An image classification unit is provided that separates and extracts characters and figures on the manuscript based on the color characteristics registered in the image classification unit.

また、原稿上に記載されている文字1図形及び/又はマ
ークの色及び濃淡に応じて色情報を出力する画像入力部
と、原稿の所定の領域の色情報を色特性として登録する
色特性登録部と、原稿の所定の領域以外の領域から出力
される画像入力部の色情報と前記色特性登録部に登録さ
れた色特性とに基づいて原稿上の文字1図形とマークと
を分離・抽出する画像分類部とを設けた。
In addition, there is an image input section that outputs color information according to the color and shade of characters, figures, and/or marks written on the manuscript, and a color characteristic registration section that registers color information of a predetermined area of the manuscript as color characteristics. Separate and extract a character 1 figure and a mark on the document based on the color information of the image input section output from an area other than the predetermined area of the document and the color characteristics registered in the color characteristic registration section. An image classification section is also provided.

また、色特性登録部は、学習用紙の第1の所定の領域又
は原稿の所定の領域を、背景の色特性を指定するための
領域と、文字9図形の色特性を指定するための領域と、
追記するマークの色特性を指定するための領域とに区分
し、区分した領域の色情報を色特性として登録するよう
にした。
Further, the color characteristic registration unit divides the first predetermined area of the study paper or the predetermined area of the manuscript into an area for specifying the color characteristics of the background and an area for specifying the color characteristics of the characters 9 shapes. ,
The mark is divided into an area for specifying the color characteristics of the mark to be added, and the color information of the divided area is registered as the color characteristics.

また、画像分類部から出力される文字9図形及び背景の
画像は前記画像入力部から出力される色情報を伴った画
像とした。
Furthermore, the images of the characters 9 and the background output from the image classification section were images with color information output from the image input section.

また、画像分類部から出力されるマーク部の画像にはマ
ークの色特性を付加したデータを伴うようにした。
Further, the image of the mark portion outputted from the image classification section is accompanied by data to which the color characteristics of the mark are added.

〔作用〕 本発明においては、モード切換部が原稿読み取りモード
に設定されている場合には、画像入力部から出力される
色情報と前記色特性登録部に登録された色特性とに基づ
いて、原稿上の文字図形とを分離・抽出するか、又は原
稿の所定の領域以外の領域から出力される画像入力部か
らの色情報と色特性登録部に登録された色特性とに基づ
いて原稿上の文字1図形とマークとを分離・抽出するか
ら、使用するマークの色及び原稿の用紙の制限が除去で
きるばかりでなく、写真を含む文書9図面、カラー文書
図面などのマルチメディア文書。
[Function] In the present invention, when the mode switching section is set to the document reading mode, based on the color information output from the image input section and the color characteristics registered in the color characteristic registration section, Either by separating and extracting characters and figures on the document, or by separating and extracting characters and figures on the document, or by separating and extracting the characters and figures on the document based on the color information from the image input section output from an area other than the predetermined area of the document and the color characteristics registered in the color characteristic registration section. By separating and extracting characters 1 figures and marks, it is not only possible to remove restrictions on the color of the marks used and the paper size of the manuscript, but also to remove multimedia documents such as documents including photographs, 9 drawings, and color document drawings.

図面に適応できる。Can be adapted to drawings.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図は本発明の第1の実施例である画像処理装置の構
成を示すブロック図である。本画像処理装置は、画像入
力部1、モード切換部2、色特性登録部3、画像分類部
4、マーク画像記憶部5及び文書1文書9図面画像記憶
部6とで構成される。
FIG. 1 is a block diagram showing the configuration of an image processing apparatus according to a first embodiment of the present invention. This image processing apparatus is composed of an image input section 1, a mode switching section 2, a color characteristic registration section 3, an image classification section 4, a mark image storage section 5, and a document 1 document 9 drawing image storage section 6.

画像入力部1は、図示しない用紙上に記載されているマ
ーク及び/又は文書2図面の色及び濃淡に応じた色情報
を、例えば赤、緑、青の三原色の多値レベル信号として
モード切換部2に出力する。
The image input unit 1 converts color information corresponding to the color and shading of a mark written on a sheet (not shown) and/or a drawing of a document 2 into a multi-value level signal of the three primary colors of red, green, and blue, for example, to a mode switching unit. Output to 2.

モード切換部2壮図示しないスイッチなどによって、学
習モード或いは原稿読み取りモードを設定する。該モー
ド切換部2が学習モードに設定されている場合には、画
像入力部1の出力を色特性登録部3に出力すると共に、
該色特性登録部3の処理を開始させるための登録起動信
号を出力する。また、モード切換部2が原稿読み取りモ
ードに設定されている場合に杜、画像入力部1の出力を
画像分類部4に出力すると共に、画像分類部4の処理を
開始させる分類起動信号を出力する。
Mode switching unit 2 The learning mode or document reading mode is set using a switch (not shown) or the like. When the mode switching unit 2 is set to the learning mode, the output of the image input unit 1 is output to the color characteristic registration unit 3, and
A registration activation signal for starting the processing of the color characteristic registration section 3 is output. Further, when the mode switching section 2 is set to the original reading mode, the output of the image input section 1 is output to the image classification section 4, and a classification start signal is outputted to start the processing of the image classification section 4. .

色特性登録部3は、前記モード切換部2からの登録起動
信号によって動作が開始され、入力された用紙の第2の
所定の領域の色情報のみを選択し、当該色情報を色特性
として登録する。登録される色特性としては、前述の赤
(R)、緑(G)、青(B)の三原色の多値レベル信号
(RGB系)のまま登録してもよいし、他の公知の色特
性に変換し登録してもよい。
The color characteristic registration section 3 starts operating in response to a registration activation signal from the mode switching section 2, selects only color information in a second predetermined area of the input paper, and registers the color information as a color characteristic. do. The color characteristics to be registered may be registered as they are as multi-level signals (RGB system) of the three primary colors of red (R), green (G), and blue (B), or other known color characteristics. You can also convert it to and register it.

本発明ではRGB系を下式(1)の座標変換式を〉用い
てXYz系に変換し、 X −2,7689R+ 1.7517 G + 1.
1302 BY=    R+4.5907(1,+0
.0601BZ−0,0565G+5.5943B  
  (t)求められたx、y、zをもとに式(2)を用
いてx、yを計算し、 x=X/(X+Y十Z) y=Y/(X+Y+Z)         (2)求め
られたx、y、Yを色特性として登録する。
In the present invention, the RGB system is converted to the XYz system using the coordinate conversion formula (1) below, and the following is obtained: X −2,7689R+ 1.7517 G + 1.
1302 BY=R+4.5907(1,+0
.. 0601BZ-0,0565G+5.5943B
(t) Calculate x, y using formula (2) based on the obtained x, y, z, x = X / (X + Y + Z) y = Y / (X + Y + Z) (2) Calculate x, y, and Y are registered as color characteristics.

ここでX、Y、ZはJISで定められているように三刺
激値と呼ぶこととする。また、公知のように、前記x、
yは色相と彩度を表わすものであり、Yは明度を表わす
ものである。
Here, X, Y, and Z are called tristimulus values as defined by JIS. Furthermore, as is well known, the x,
y represents hue and saturation, and Y represents lightness.

上述のRGB系からxYz系への変換〔式〈1)〕及び
色相と彩度を表わすx、yを求める計算〔式(2)〕は
、それぞれR,G、Bを入力し、x、y、zを出力する
ROMを用いて変換することによって、計算時間が不要
となり、処理を高速化することが可能となる。
The conversion from the RGB system to the xYz system [Equation (1)] and the calculation to obtain x and y representing hue and saturation [Equation (2)] are performed by inputting R, G, and B, respectively, and calculating x, y. , z, the computation time becomes unnecessary and the processing speed can be increased.

次に、色特性の登録例について説明する。Next, an example of color characteristic registration will be described.

整数化したx、yをアドレスとする2次元メモリで第3
図(a)に示すような色度図を構成し、求められた整数
化したx t 3’で決まる2次元メモリの1点を1と
することによって、色相及び彩度に対応する色特性を登
録する。なお、前記2次元メモリの初期値は0”である
。また、明度Yに関してはその最小値、最大値を走査点
(画素)毎に更新することによって登録する。
The third memory is a two-dimensional memory whose addresses are x and y converted into integers.
By constructing a chromaticity diagram as shown in Figure (a) and setting one point in the two-dimensional memory determined by the obtained integer x t 3' as 1, the color characteristics corresponding to hue and saturation can be calculated. register. The initial value of the two-dimensional memory is 0''.The brightness Y is registered by updating its minimum and maximum values for each scanning point (pixel).

画像分類部4は、前記モード切換部2からの分類起動信
号によって動作が開始され、画像入力部1から出力され
る色情報から計算される色特性と、色特性登録部3に登
録された色特性に基づいて、原稿用紙上の文書2図面と
マークとを分離し、夫々、文書9図面画像記憶部6とマ
ーク画像記憶部5に出力する。
The image classification section 4 starts operating in response to a classification activation signal from the mode switching section 2, and selects the color characteristics calculated from the color information output from the image input section 1 and the colors registered in the color characteristic registration section 3. Based on the characteristics, the document 2 drawing and mark on the manuscript paper are separated and output to the document 9 drawing image storage section 6 and mark image storage section 5, respectively.

なお、出力される画像データを色情報を伴った画像デー
タにするか、2値の画像データにするかは、本画像処理
装置の用途に応じて決める。
Note that whether the image data to be output is image data with color information or binary image data is determined depending on the purpose of the image processing apparatus.

マーク画像記憶部5は画像分類部4から出力さデータ形
式のマーク画像を記録する。
The mark image storage unit 5 records mark images in data format output from the image classification unit 4.

文書1図面画像記憶部6は画像分類部4からの出力され
たデータ形式の文書2図面画像を記憶する。
The document 1 drawing image storage section 6 stores the document 2 drawing image in the data format output from the image classification section 4.

第2図は学習用紙の説明図であって、色特性登録用領域
には追記するマークの色特性のみを記入できるように構
成したものである。同図において、mlは色特性登録領
域であって、学習用紙上の左上端を原点としてyV r
 HX X Hの位置に1点を持ち、dxx、dyyの
大きさを持つ矩形領域であって、読み取りに先行して、
前記矩形領域内の原稿に追記するマークと同一のカラー
ペンで塗り潰しておく。
FIG. 2 is an explanatory diagram of the study paper, which is configured so that only the color characteristics of marks to be added can be entered in the color characteristics registration area. In the same figure, ml is the color characteristic registration area, and yV r
A rectangular area with one point at the position HX
Fill in the rectangular area with the same color pen as the mark to be added to the document.

第2図における学習用紙は、前述の説明から明らかなよ
うに、追記するマークについてのみ定義したものである
ため、入力される原稿については、文書2図面に記載さ
れる文字、図形、写真は黒、灰の無彩色、背景は白であ
ることを想定して設計したものである。
As is clear from the above explanation, the study paper in Figure 2 defines only the marks to be added, so for the input manuscript, the characters, figures, and photographs written in the document 2 drawing are in black. , was designed with the assumption that the color is gray and the background is white.

また、色特性登録領域内が学習用紙の背景色(白)であ
る場合には、原稿の文書図面は黒灰白の無彩色、追記す
るマークは無彩色、追記するマークは有彩色であると定
義することによって、使用するカラーペンの色種側の制
限を除去するように構成することも可能である。
In addition, if the color characteristic registration area is the background color (white) of the study paper, it is defined that the document drawing of the manuscript is an achromatic color of black gray and white, the mark to be added is an achromatic color, and the mark to be added is a chromatic color. By doing so, it is also possible to remove restrictions on the color type of the color pen to be used.

第3図は画像入力部1から出力されるいろ色情報をXY
z系に変換した色特性の説明図であって、背景部が白で
、文字2図形、写真部が黒又は灰色の文書、IK面に赤
のマークを追記した原稿の色特性を模擬的に表わしたも
のであって、図に示すY、x、yは前述の式(1)、(
2)によって求めたものである。記載したマークは濃淡
の変動が多い明度Yだけでは文書2図面と区別できない
場合もyを縦軸、Xを横軸で表わす色度図上では区別可
能であることがわかる。
Figure 3 shows the XY color information output from the image input section 1.
This is an explanatory diagram of the color characteristics converted to the z system, which simulates the color characteristics of a document with a white background, two characters, and a black or gray photograph, and a document with a red mark added to the IK side. Y, x, and y shown in the figure are expressed by the above-mentioned formula (1), (
2). It can be seen that even if the described mark cannot be distinguished from the document 2 drawing only by the brightness Y, which has many variations in shading, it can be distinguished on the chromaticity diagram in which y is represented by the vertical axis and X is represented by the horizontal axis.

次に、第1図に示す構成の画像処理装置の処理を第4図
及び第2図、第3150を用いて説明する。
Next, the processing of the image processing apparatus having the configuration shown in FIG. 1 will be explained using FIG. 4, FIG. 2, and FIG. 3150.

なお、図における用紙の平面の座標系については色特性
を表わすX、Y、Zとの混乱を避けるため、主走査方向
或いは水平方向をXX、副走査方向をYYと表現する。
Regarding the coordinate system of the plane of the paper in the figure, to avoid confusion with X, Y, and Z representing color characteristics, the main scanning direction or horizontal direction is expressed as XX, and the sub-scanning direction is expressed as YY.

ステップSTI 、Sr1は用紙の水平方向(XX)を
主走査方向、垂直方向(YY)を副走査方向として順次
走査することを示し、本説明では用紙の左上端を走査開
始点(原点(0,0))とし、右下端を走査終了点(x
、□t3’s。、)とする座標系で走査していくものと
し、マーク画像記憶部5及び文書2図面画像記憶部6も
同一の座標系で構成され、同期して動作するものとする
Step STI, Sr1 indicates that the paper is sequentially scanned with the horizontal direction (XX) as the main scanning direction and the vertical direction (YY) as the sub-scanning direction. In this explanation, the upper left end of the paper is the scanning starting point (origin (0, 0)), and the lower right corner is the scanning end point (x
, □t3's. , ), and the mark image storage unit 5 and the document 2 drawing image storage unit 6 are also configured with the same coordinate system and operate synchronously.

ステップST3において、モード切換部2の設定が学習
モードの場合には、色特性登録87!3はステップST
I O、STI 1の処理によって、原稿に追記するマ
ークの色及び濃淡に対応する色特性及び/又は背景と文
書2図面の色及び濃淡に対応する色特性を学習し登録す
る。
In step ST3, if the setting of the mode switching section 2 is learning mode, the color characteristic registration 87!3 is performed in step ST3.
Through the processing of I O and STI 1, the color characteristics corresponding to the color and shading of the mark to be added to the document and/or the color characteristics corresponding to the color and shading of the background and document 2 drawing are learned and registered.

先ず、ステップSTI Oにおいて、あらかじめ色特性
登録部3に設定されている色特性登録用領域を示す座標
データと走査点の座標との比較によって走査点が色特性
登録用領域内にあるか否かを判定する。
First, in step STIO, it is determined whether or not the scanning point is within the color characteristic registration area by comparing the coordinate data indicating the color characteristic registration area set in advance in the color characteristic registration section 3 with the coordinates of the scanning point. Determine.

第2図の例では、走査点の座標の値XX 、 YYが次
式を満す時色特性登録用領域内であると判定する。
In the example shown in FIG. 2, it is determined that the scanning point is within the color characteristic registration area when the coordinate values XX, YY satisfy the following equation.

3’++β≦YY≦3’+”dy+−βx1+β≦XX
≦x 1+ d y 1−β     〈3)ここでβ
はスキャナと用紙の設定許容値及びマーク記入条件等に
基づいて決まる定数である。
3'++β≦YY≦3'+”dy+−βx1+β≦XX
≦x 1+ d y 1-β 〈3) Here, β
is a constant determined based on the setting tolerance of the scanner and paper, mark writing conditions, etc.

ステップ5TIIでは、モード切換g2を経て入力され
る画像入力部1のRGB系の色情報を前述の式〈1)を
用いてXYZ系に変換し、更に式(2)を用いて求めた
x、yを整数化し、当該Y、x。
In step 5TII, the RGB color information of the image input unit 1 input through the mode switching g2 is converted to the XYZ color information using the above-mentioned formula (1), and x, which is obtained using the formula (2), is Convert y to an integer and obtain the corresponding Y, x.

yを用いて第1図の説明で述べたようにして登録中の色
特性を更新する。
y is used to update the color characteristics being registered as described in the explanation of FIG.

ステップST3において、モード切換部2の設定が原稿
読み取りモードの場合には、画像分類部4の動作が開始
される。
In step ST3, if the setting of the mode switching section 2 is the original reading mode, the operation of the image classification section 4 is started.

ステップSTI 2において、走査点の色特性と色特性
登録部3に登録されている色特性と比較し、走査点の色
特性がマーク条件範囲にある場合、即ち、モード切換部
2を経て入力される画像入力部1のRGB系の色情報を
前述の式(1)を用いてXYZ系に変換し、明度を表わ
すYの値が登録された明度範囲、例えば第3図(b)に
示すマーク部の明度範囲にある時、更に式(2)を用い
て求めたX、Fを整数化し、当該x、yをアドレスとす
る色度図に対応した2次元メモリの内容が”t”である
とき、例えば第3図(a)に示す左斜め上がりの斜線部
内にあると判定された場合には、マーク画像記憶部5に
はマーク画像を示す「1.を書き込み、文書9図面画像
記憶部6には背景部を表わすr□、を書き込む(ステッ
プ5T13)。なお、文書図面に色情報を伴う画像を必
要とする場合をは色特性登録部3に登録されている背景
部に相当する色情報を文書9図面画像記憶部6に書き込
む。
In step STI 2, the color characteristic of the scanning point is compared with the color characteristic registered in the color characteristic registration section 3, and if the color characteristic of the scanning point is within the mark condition range, that is, the color characteristic of the scanning point is inputted via the mode switching section 2. The RGB system color information of the image input unit 1 is converted to the XYZ system using the above-mentioned formula (1), and the brightness range in which the Y value representing brightness is registered, for example, the mark shown in FIG. 3(b). When the brightness is within the brightness range of For example, if it is determined that the area is within the diagonally upward-left diagonal line shown in FIG. In 6, write r□, which represents the background part (step 5T13).If the document drawing requires an image with color information, write the color corresponding to the background part registered in the color characteristic registration part 3. The information is written into the document 9 drawing image storage section 6.

マーク画像をその色情報に対応して分類する必要がある
場合には、画像入力部1から出力される色情報を直接マ
ーク画像記憶部5に書き込むようにしてもよいし、また
マーク画像は2値画像形式とし、マーク画像記憶部5と
は別に設けた図示しないマークテーブルに色情報或いは
色情報に対応する色フードを登録するようにしてもよい
。なお、マークテーブルには連結するマーク画像の任意
の1点、例えば最初にマーク画像が検出された走査点の
座標を前記色コードとを1対とするデータを書き込むよ
うにするものが好適である。
If it is necessary to classify mark images according to their color information, the color information output from the image input section 1 may be written directly into the mark image storage section 5, or the mark images may be classified into two categories. The color information or the color hood corresponding to the color information may be registered in a value image format in a mark table (not shown) provided separately from the mark image storage section 5. Note that it is preferable to write data in which the coordinates of any one point of the mark images to be connected, for example, the scanning point where the mark image is first detected, are paired with the color code in the mark table. .

ステップ5T12において、走査点の色特性が文書2図
形、写真条件範囲にある場合、マーク画像記憶部5には
背景を表わす「0」を書き込み、文書2図面画像記憶部
6には文書2図面を示す「1」を書き込む(ステップ5
T14)。
In step 5T12, if the color characteristics of the scanning point are within the document 2 figure/photo condition range, "0" representing the background is written in the mark image storage section 5, and the document 2 drawing is written in the document 2 drawing image storage section 6. Write “1” to indicate (Step 5
T14).

なお、文書図面に色情報を伴う画像を必要とする場合に
は、画像入力部1から出力される色情報を直接、文書1
図面画像記憶部6に書き込む。
Note that if a document drawing requires an image with color information, the color information output from the image input section 1 can be directly input to the document 1.
It is written into the drawing image storage section 6.

マーク画像については通常、背景は意味を持たないので
、ステップ5T14の説明通りとし、前述のマークテー
ブルも更新しない。
As for the mark image, the background usually has no meaning, so the explanation in step 5T14 is followed and the mark table mentioned above is not updated.

ステップ5T12において、走査点の色特性が背景条件
範囲にある場合には、マーク画像記憶部5及び文書2図
面画像記憶部6には共に背景を表わすr□、を書き込む
(ステップ5T15)。色情報を必要とする画像が必要
な場合は前述と同様の処理を行なう。
In step 5T12, if the color characteristics of the scanning point are within the background condition range, r□ representing the background is written in both the mark image storage section 5 and the document 2 drawing image storage section 6 (step 5T15). If an image requiring color information is required, the same processing as described above is performed.

なお、ステップ5T12の処理において、登録したマー
ク部の色特性が有彩色である場合には走査点の色特性が
第3図(a)の右斜め上がりの斜線マーク領域以外の場
合、マーク部であると判定する。
In addition, in the process of step 5T12, if the color characteristic of the registered mark part is a chromatic color, and if the color characteristic of the scanning point is other than the diagonally lined mark area diagonally upward to the right in FIG. It is determined that there is.

第6図は学習用紙の他の例を示す図であって、同図(a
)は背景、追記マーク、文字1図形の色特性に対して定
義できる学習用紙の例である。図において、mllは原
稿の背景部の色特性を定義できる記載領域、m12は原
稿の追記マークの色特性を定義できる記載領域、m13
は原稿の文字2図面及び/又は写真の特性を定義できる
記載領域である。このように学習用紙の場合には、原稿
上の全ての記載情報、即ち、原稿の背景1文書8図面。
FIG. 6 is a diagram showing another example of the study paper, and the same figure (a
) is an example of a study paper that can be defined for the color characteristics of the background, additional marks, and characters and figures. In the figure, mll is a description area where the color characteristics of the background part of the document can be defined, m12 is the description area where the color characteristics of the add mark mark of the document can be defined, and m13
is a description area in which characteristics of characters, drawings, and/or photographs of the manuscript can be defined. In this way, in the case of a study paper, all the written information on the manuscript, that is, the background of the manuscript, 1 document, 8 drawings.

マークに対する色特性の設定が可能となるため写真を含
む文書1図面やカラー文書図面などマルチメディアの文
書2図面にも対処可能となると共に、新聞など質の悪い
用紙にも対処可能で使用するカラーペン、用紙の制限を
除去することも可能である。
Since it is possible to set color characteristics for marks, it is possible to handle documents such as one drawing containing a photograph and two drawings of multimedia documents such as color document drawings, and it is also possible to deal with poor quality paper such as newspapers. It is also possible to remove the pen and paper limitations.

また、カラーの透明カバー上に追記マークとカバー内の
文書2図面との分離も可能となる。第6図(b)は追記
マークの色特性の登録領域を複数にした学習用紙であっ
て、m14は追記する第1のマークの色特性を定義する
領域、m15は追記する第2のマークの色特性を定義す
る領域、m16は追記する第3のマークの色特性を定義
する領域である。
It is also possible to separate the postscript mark on the colored transparent cover from the document 2 drawing inside the cover. FIG. 6(b) is a study paper with multiple registration areas for color characteristics of additional marks, where m14 is an area defining the color characteristics of the first mark to be added, and m15 is an area for defining the color characteristics of the first mark to be added. The area m16 that defines the color characteristics is an area that defines the color characteristics of the third mark to be added.

このような学習用紙の場合、追記マークを分類して抽出
することが可能となるため、追記マーク毎に意味を与え
ておくことによって編集や領域抽出の処理機能を拡充す
ることが可能となる。
In the case of such a study paper, it is possible to classify and extract the postscript marks, so by assigning a meaning to each postscript mark, it is possible to expand the editing and area extraction processing functions.

また、学習用紙の登録領域の色を変えることによって、
同一の原稿でも異なる編集や領域抽出の処理に使うこと
も可能であり、マークの追記が失敗した場合においても
、別の色を追記マークとし、学習用紙の登録領域も前記
の別の色とすることによって対処可能となる。同様の理
由でカラーノイズの除去も可能となる。
Also, by changing the color of the registration area on the study paper,
It is possible to use the same manuscript for different editing and area extraction processes, and even if adding a mark fails, a different color will be used as the additional mark, and the registration area on the study paper will also be in the different color mentioned above. This makes it possible to deal with it. Color noise can also be removed for the same reason.

第5図(b)、(c)は右斜め上がりの傾斜マークで示
す追記マークのみに関する色特性を定義した学習用紙を
用いて、第5図(a)に示す原稿から分離、抽出した文
書2図面画像とマーク画像を示す。
FIGS. 5(b) and 5(c) show a document 2 separated and extracted from the original shown in FIG. 5(a) using a learning paper that defines the color characteristics of only the additional marks shown as slanted marks that rise diagonally to the right. Shows drawing images and mark images.

第7図は第6図(b)に示すような3種の追記マークを
定義した学習用紙を用いて第5図(a)に示す原稿から
分離、抽出したマーク画像を示す。文書1図面画像に関
しては第5図(b)に示すものの同一である。
FIG. 7 shows a mark image separated and extracted from the original shown in FIG. 5(a) using a study paper in which three types of postscript marks as shown in FIG. 6(b) are defined. The document 1 drawing image is the same as that shown in FIG. 5(b).

なお、原稿上の一部を学習領域と設定し、該領域内に存
在する登録用マーク領域の色特性を学習するという構成
にすることによって、モード切換部2を除去することが
できる。
Note that the mode switching unit 2 can be removed by setting a part of the document as a learning area and learning the color characteristics of the registration mark area existing within the area.

また、前述の識別マーク、学習用の色特性登録領域の現
状、大きさは前述の形態に限定されるものではない。
Furthermore, the current state and size of the identification mark and color characteristic registration area for learning are not limited to the above-described forms.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明したように本発明によれば、文書2図
面に追記するマーク及び文書9図面、背景の色特性を原
稿を読み取る前に学習し、学習した色特性に基づいてマ
ーク画像と文書2図面画像とを分離し抽出するようにし
たので、下記のような優れた効果が得られる。
As described above in detail, according to the present invention, the color characteristics of the mark to be added to the document 2 drawing, the document 9 drawing, and the background are learned before reading the document, and the mark image and the document are combined based on the learned color characteristics. Since the two drawing images are separated and extracted, the following excellent effects can be obtained.

〈1)使用するマークの色及び原稿の用紙の制限が除去
できるばかりでなく、写真を含む文書9図面、カラー文
書図面などのマルチメディア文書。
(1) Not only can restrictions on the color of marks used and the paper size of manuscripts be removed, but also multimedia documents such as documents including photographs, drawings in color, and color documents.

図面に適応できる汎用性の高い操作性の優れた画像処理
装置を簡単な処理と構成で実現することが可能である。
It is possible to realize an image processing device with high versatility and excellent operability that can be applied to drawings with simple processing and configuration.

(2)本発明の画像処理装置はOCR,文書読取装置、
la集装置、FAX、電子黒板等に実装することにより
、汎用性が高く、且つ操作性の優れた装置にすることが
可能となる。
(2) The image processing device of the present invention is an OCR, a document reading device,
By implementing the present invention in an LA collection device, a FAX, an electronic whiteboard, etc., it becomes possible to make the device highly versatile and easy to operate.

【図面の簡単な説明】 第1図は本発明の第1の実施例である画像処理装置の構
成を示すブロック図、第2図は学習用紙の例を示す説明
図、第3図は信号レベルの説明図で、同図(a)iま原
稿の記載情報の色度範囲の説明図、同図(b)は原稿の
記載情報の明度範囲の説明図、第4図は本発明の画像処
理装置の処理過程を示す図、第5図は画像分類部の説明
図、第6図(a)、(b)はそれぞれ学習用紙の他の例
を示す図、第7図は第6図(b)に示す学習用紙を用い
て第5図(a)に示す原稿から分離、抽出したマーク画
像を示す図である。 図中、1・・・・画像入力部、2・・・・モード切換部
、3・・・・色特性登録部、4・・・・画像分類部、5
・・・・マーク画像記憶部、6・・・・文書2図面画像
記憶部。
[Brief Description of the Drawings] Figure 1 is a block diagram showing the configuration of an image processing device according to the first embodiment of the present invention, Figure 2 is an explanatory diagram showing an example of a study paper, and Figure 3 is a signal level diagram. (a) is an explanatory diagram of the chromaticity range of the information written in the manuscript, (b) is an explanatory diagram of the brightness range of the information written in the manuscript, and Fig. 4 is an illustration of the image processing of the present invention. FIG. 5 is an explanatory diagram of the image classification section. FIGS. 6(a) and (b) are diagrams showing other examples of learning sheets, and FIG. ) is a diagram showing a mark image separated and extracted from the manuscript shown in FIG. 5(a) using the study paper shown in FIG. In the figure, 1... image input section, 2... mode switching section, 3... color characteristic registration section, 4... image classification section, 5
. . . Mark image storage unit, 6 . . . Document 2 drawing image storage unit.

Claims (5)

【特許請求の範囲】[Claims] (1)文書/図面と該文書/図面と異なる色のマークが
記載された原稿を読み取って、該文書/図面とマークと
を分離・抽出する画像処理装置において、 学習用紙上に記載されたマーク及び/又は文字、図形、
背景の色及び濃淡に応じた色情報を出力する画像入力部
と、 学習モードと原稿読み取りモードを切り換えるモード切
換部と、 前記モード切換部が学習モードに設定されている場合に
は、用紙の第1の所定の領域の色情報を色特性として登
録する色特性登録部と、 前記モード切換部が原稿読み取りモードに設定されてい
る場合には、前記画像入力部から出力される色情報と前
記色特性登録部に登録された色特性とに基づいて、原稿
上の文字図形とを分離・抽出する画像分類部とを設けた
ことを特徴とする画像処理装置。
(1) In an image processing device that reads a manuscript in which a document/drawing and a mark of a different color from the document/drawing are written, and separates and extracts the document/drawing and the mark, the mark written on the study paper is used. and/or characters, figures,
an image input section that outputs color information according to the color and shading of the background; a mode switching section that switches between a learning mode and a document reading mode; and when the mode switching section is set to the learning mode, a color characteristic registration unit that registers color information of a predetermined area of 1 as a color characteristic; and when the mode switching unit is set to a document reading mode, the color information output from the image input unit and the color An image processing device comprising: an image classification section that separates and extracts characters and figures on a document based on color characteristics registered in a characteristic registration section.
(2)文書/図面と該文書/図面と異なる色のマークが
記載された原稿を読み取って、該文書/図面とマークと
を分離・抽出する画像処理装置において、 前記原稿上に記載されている文字、図形及び/又はマー
クの色及び濃淡に応じて色情報を出力する画像入力部と
、 前記原稿の所定の領域の色情報を色特性として登録する
色特性登録部と、 前記原稿の所定の領域以外の領域から出力される前記画
像入力部からの色情報と前記色特性登録部に登録された
色特性とに基づいて原稿上の文字、図形とマークとを分
離・抽出する画像分類部とを設けたことを特徴とする画
像処理装置。
(2) In an image processing device that reads a manuscript in which a document/drawing and a mark of a different color from the document/drawing are written, and separates and extracts the document/drawing and the mark, the mark written on the document/drawing is read. an image input unit that outputs color information according to the color and shading of characters, figures, and/or marks; a color characteristic registration unit that registers color information of a predetermined area of the original as a color characteristic; an image classification unit that separates and extracts characters, figures, and marks on a document based on color information from the image input unit output from an area other than the area and color characteristics registered in the color characteristic registration unit; An image processing device characterized by being provided with.
(3)前記色特性登録部は、前記学習用紙の第1の所定
の領域又は前記原稿の所定の領域を、背景の色特性を指
定するための領域と、文字、図形の色特性を指定するた
めの領域と、追記するマークの色特性を指定するための
領域とに区分し、前記区分した領域の色情報を色特性と
して登録するようにしたことを特徴とする請求項(1)
又は(2)記載の画像処理装置。
(3) The color characteristic registration unit specifies a first predetermined area of the study paper or a predetermined area of the manuscript as an area for specifying color characteristics of the background and color characteristics of characters and figures. Claim (1) characterized in that the mark is divided into an area for specifying the color characteristics of the mark to be added and an area for specifying the color characteristics of the mark to be added, and the color information of the divided area is registered as the color characteristics.
Or the image processing device described in (2).
(4)前記画像分類部から出力される文字、図形及び背
景の画像情報は前記画像入力部から出力される色情報を
伴った画像情報としたことを特徴とする請求項(1)又
は(2)又は(3)記載の画像処理装置。
(4) The image information of characters, figures, and background output from the image classification section is image information accompanied by color information output from the image input section. ) or the image processing device described in (3).
(5)前記画像分類部から出力されるマーク部の画像に
はマークの色特性を付加したデータを伴うようにしたこ
とを特徴とする請求項(1)又は(2)又は(3)又は
(4)記載の画像処理装置。
(5) The image of the mark portion outputted from the image classification section is characterized in that data to which color characteristics of the mark are added is included. 4) The image processing device described above.
JP2064540A 1990-03-14 1990-03-14 Picture processor Pending JPH03263277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2064540A JPH03263277A (en) 1990-03-14 1990-03-14 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2064540A JPH03263277A (en) 1990-03-14 1990-03-14 Picture processor

Publications (1)

Publication Number Publication Date
JPH03263277A true JPH03263277A (en) 1991-11-22

Family

ID=13261159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2064540A Pending JPH03263277A (en) 1990-03-14 1990-03-14 Picture processor

Country Status (1)

Country Link
JP (1) JPH03263277A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006293970A (en) * 2005-03-15 2006-10-26 Ricoh Co Ltd Image processor, image processing method and image processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006293970A (en) * 2005-03-15 2006-10-26 Ricoh Co Ltd Image processor, image processing method and image processing program

Similar Documents

Publication Publication Date Title
CN101753777B (en) Image processing apparatus, image forming apparatus, and image processing method
US6865290B2 (en) Method and apparatus for recognizing document image by use of color information
US7170647B2 (en) Document processing apparatus and method
US5477335A (en) Method and apparatus of copying of black text on documents using a color scanner
JP5972578B2 (en) Image processing apparatus, image forming apparatus, program, and recording medium
CN101753764B (en) Image processing apparatus and method, image reading apparatus, and image sending method
JP2010231648A (en) Image processing device, image forming device, image processing method, program and recording medium of the same
CN102469234A (en) Image processing apparatus, image reading apparatus, image forming apparatus, and image processing method
CN104094586A (en) Image processing device, image formation device, image processing method, program, and memory medium
WO2014045788A1 (en) Image processing apparatus, image forming apparatus, and recording medium
JP4337251B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing image processing program
US6125200A (en) Removing non-text information from a color image
US6041205A (en) Image processing apparatus for laying out plurality of images in conformity with image orientation
US10887491B2 (en) Image processing apparatus for processing of highlighted regions
JP2008288912A (en) Image processor and image forming apparatus
JP4710672B2 (en) Character color discrimination device, character color discrimination method, and computer program
JPH03263277A (en) Picture processor
JP2896919B2 (en) Image processing device
JPH03225477A (en) Image processor
JP2007028181A (en) Image processor
JPH03263274A (en) Picture processor
JPH0424879A (en) Picture processor
JPH09274643A (en) Image processor and image output device
JPH03248279A (en) Picture processor
JPH0424878A (en) Image processor