JPH0946508A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH0946508A
JPH0946508A JP7190241A JP19024195A JPH0946508A JP H0946508 A JPH0946508 A JP H0946508A JP 7190241 A JP7190241 A JP 7190241A JP 19024195 A JP19024195 A JP 19024195A JP H0946508 A JPH0946508 A JP H0946508A
Authority
JP
Japan
Prior art keywords
image
marker
area
closed loop
line drawing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7190241A
Other languages
Japanese (ja)
Other versions
JP3381468B2 (en
Inventor
Hironobu Nakada
洋信 中田
Hiroyuki Deyama
弘幸 出山
Toshihisa Motosugi
敏久 本杉
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP19024195A priority Critical patent/JP3381468B2/en
Publication of JPH0946508A publication Critical patent/JPH0946508A/en
Application granted granted Critical
Publication of JP3381468B2 publication Critical patent/JP3381468B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To simply edit in different ways an image in a selected closed loop area in an original image by applying edit processing to the image of the detected closed loop area. SOLUTION: An image (a) includes a marker area 703 in which a marker pointer 702 is added onto a character 'A' 701 and a marker area 705 in which a marker pointer 706 is added on a background other than a character 'B' 704. In the case of executing coloring processing to the image (b) as marker edit processing, the hatched area in the image (b) formed on paper is colored in a prescribed color. The character 'A' 701 is colored in the marker area 703 and the background other than the character 'B' 704 is colored in the marker area 705. Thus, the content of the edit processing applied to the image in the closed loop area is changed for the case that the detected prescribed mark in the closed loop area in the original image is on a line image of a character or a symbol or on other point than the line image.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、原稿内の閉ループ
領域を検知し、検知した領域内の画像に対して編集処理
を施す画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus which detects a closed loop area in a document and edits an image in the detected area.

【0002】[0002]

【従来の技術】従来より、使用者により特定される原稿
の閉ループ領域内の画像に対して、編集処理を施す画像
処理装置が知られている。特開平4−46462号公報
に開示される装置では、使用者によりマーカーで囲まれ
た領域が内接する矩形領域内にある画像に対して、編集
処理を施す。また、特開平4−97262号公報に開示
される装置では、使用者により原稿中に引かれた縦横の
2線により特定される矩形領域にある画像に対して編集
処理を施す。上記矩形領域の特定は、タブレット等のポ
インティング装置を使用し、使用者により原稿上の2点
を指定して行ってもよい。上記編集処理としては、下地
色の変換や、画像の抽出などがある。この他、例えば、
特開平4−80885号公報に開示される装置では、編
集処理として、マーカーにより特定される領域内の文字
を認識し、認識した文字の翻訳を行う。
2. Description of the Related Art Conventionally, there has been known an image processing apparatus for performing an editing process on an image in a closed loop area of a document specified by a user. In the apparatus disclosed in Japanese Patent Laid-Open No. 4-46462, an editing process is performed on an image within a rectangular area inscribed by a user and surrounded by a marker. Further, in the apparatus disclosed in Japanese Patent Laid-Open No. 4-97262, an image is edited in a rectangular area specified by vertical and horizontal two lines drawn in the original by the user. The rectangular area may be specified by using a pointing device such as a tablet and designating two points on the document by the user. The editing processing includes conversion of the background color and image extraction. Besides this, for example,
The apparatus disclosed in Japanese Patent Laid-Open No. 4-80885 recognizes a character within a region specified by a marker and translates the recognized character as an editing process.

【0003】[0003]

【発明が解決しようとする課題】上記従来の装置は、マ
ーカー等により特定される閉ループ領域に対して、予め
設定されている単一の内容の編集処理を実行する。編集
処理の内容の変更は、例えば、装置本体の操作パネルを
操作して行う。このため、同一原稿中の複数の箇所の閉
ループ領域内の画像に対して異なる内容の編集処理を施
すには、編集処理の内容の変更を繰り返し行う必要があ
る。例えば、使用者により特定される原稿の閉ループ領
域内の画像に対して編集処理を施すデジタルカラー複写
機において、原稿画像中の2カ所の閉ループ領域に対し
て異なる内容の編集処理を施すには、複写動作を2度繰
り返して行う必要がある。より具体的には、原稿画像
中、一方の閉ループ領域を特定して所定の編集処理を施
したコピーを出力した後に、本体の操作パネルを操作し
て編集処理の内容を変更すると共に、出力されたコピー
に対して残りの閉ループ領域を特定し、2度目の複写動
作を行うことが必要となる。
The conventional device described above executes a preset single content editing process on a closed loop region specified by a marker or the like. The content of the editing process is changed, for example, by operating the operation panel of the apparatus body. For this reason, in order to perform different editing processing on the images in the closed loop areas at a plurality of locations in the same document, it is necessary to repeatedly change the content of the editing processing. For example, in a digital color copying machine that performs an edit process on an image in a closed loop region of a document specified by a user, in order to perform different edit processes on two closed loop regions in a document image, It is necessary to repeat the copying operation twice. More specifically, after one closed loop area is specified in the original image and a copy subjected to predetermined editing processing is output, the operation panel of the main body is operated to change the content of the editing processing and output. It is necessary to specify the remaining closed loop area for the copied copy and perform the second copy operation.

【0004】本発明の目的は、原稿画像中、選択された
閉ループ領域内の画像に対して、より簡単に異なる編集
処理を施すことのできる画像処理装置を提供することで
ある。
An object of the present invention is to provide an image processing apparatus which can more easily perform different editing processing on an image in a selected closed loop area in a document image.

【0005】[0005]

【課題を解決するための手段】本発明の画像処理装置
は、原稿画像中、領域内にマークの在る閉ループ領域を
検出する検出手段と、検出手段により検出された閉ルー
プ領域内に在るマークが線画上に記されているのか、又
は線画以外に記されているのかを判断する判断手段と、
検出手段により検出された閉ループ領域内の画像に対
し、判断手段による判断結果に基づいて定められる編集
処理を施す処理部とを備える。また、上記処理部は、上
記マークが閉ループ領域中の線画上に記されている場合
には、当該線画に対して色付け処理を施し、線画以外に
記されている場合には、当該線画以外の領域に対して色
付け処理を施すことが望ましい。
SUMMARY OF THE INVENTION An image processing apparatus of the present invention comprises a detecting means for detecting a closed loop area where a mark exists in an area in a document image, and a mark existing in the closed loop area detected by the detecting means. Determination means for determining whether is written on the line drawing or other than the line drawing,
The image processing apparatus further includes a processing unit that performs an editing process determined on the basis of the determination result of the determination unit, on the image in the closed loop area detected by the detection unit. Further, the processing unit, when the mark is written on the line drawing in the closed loop region, performs a coloring process on the line drawing, and when the mark is written on a line drawing other than the line drawing, other than the line drawing. It is desirable to colorize the area.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態につい
て、添付の図面を用いて説明する。図1は、デジタルカ
ラー複写機の全体構成を示す。デジタルカラー複写機
は、原稿画像を読み取る画像読取部100と、画像読取
部100で読み取った画像データを再現する複写部20
0とに大きく分けられる。画像読取部100において、
スキャナ10は、原稿を照射する露光ランプ12、原稿
からの反射光を集光するロッドレンズアレー13、及び
集光された光を電気信号に変換する密着型のCCDカラ
ーイメージセンサ14を備えている。スキャナ10は、
原稿画像の読み取り時には、スキャンモータ11により
駆動されて、矢印の方向(副走査方向)に移動し、原稿
台15上に載置された原稿を走査する。イメージセンサ
14は、原稿からの反射光をR,G,Bの3色の多値電
気信号に変換する。R,G,Bの3色の多値電気信号
は、画像信号処理部20において8ビット階調データに
変換された後、同期用バッファメモリ30に記憶され
る。複写部200において、プリンタヘッド部31は、
入力される階調データに対してD/A変換を行いレーザ
ダイオード駆動信号を生成し、この駆動信号により半導
体レーザを発光させる。半導体レーザが発生するレーザ
ビームは、反射鏡37を介して、回転駆動される感光体
ドラム41を露光する。感光体ドラム41は、1複写毎
に露光を受ける前にイレーサランプ42で照射され、帯
電チャージャ43により一様に帯電されている。この状
態で露光を受けると、感光体ドラム41上に原稿の静電
潜像が形成される。シアン(C)、マゼンタ(M)、イ
エロー(Y)及びブラック(BK)のトナー現像器45
a〜45dの何れか1つが選択され、感光体ドラム41
上の静電潜像を現像する。複写紙は、用紙カセット50
より給紙され、転写ドラム51上のチャッキング機構5
2によりその先端がチャッキングされ、転写時に位置ず
れが生じないようにしている。現像されたトナー像は、
転写チャージャ46により転写ドラム51上に巻き付け
られた複写紙に転写される。上記印字過程は、シアン
(C)、マゼンタ(M)、イエロー(Y)及びブラック
(BK)の4色について繰り返し行われる。このとき、
感光体ドラム41と、転写ドラム51の動作に同期して
スキャナ10は、スキャン動作を繰り返す。その後、複
写紙は、分離爪47を作動させることで転写ドラム51
から分離され、定着装置48を通って定着され、排紙ト
レー49に排紙される。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 shows the overall configuration of a digital color copying machine. The digital color copying machine includes an image reading unit 100 that reads an original image and a copying unit 20 that reproduces the image data read by the image reading unit 100.
It is roughly divided into 0. In the image reading unit 100,
The scanner 10 includes an exposure lamp 12 that irradiates a document, a rod lens array 13 that collects reflected light from the document, and a contact-type CCD color image sensor 14 that converts the collected light into an electric signal. . The scanner 10
When reading a document image, the document is driven by the scan motor 11 to move in the direction of the arrow (sub-scanning direction) to scan the document placed on the document table 15. The image sensor 14 converts the reflected light from the document into a multi-value electric signal of three colors of R, G and B. The R, G, and B multivalued electrical signals are converted into 8-bit gradation data in the image signal processing unit 20, and then stored in the synchronization buffer memory 30. In the copying unit 200, the printer head unit 31 is
D / A conversion is performed on the input gradation data to generate a laser diode drive signal, and the semiconductor laser is caused to emit light by this drive signal. The laser beam generated by the semiconductor laser exposes the rotating photosensitive drum 41 via the reflecting mirror 37. The photosensitive drum 41 is irradiated by the eraser lamp 42 before being exposed for each copy, and is uniformly charged by the charging charger 43. When exposure is performed in this state, an electrostatic latent image of the document is formed on the photosensitive drum 41. Cyan (C), magenta (M), yellow (Y), and black (BK) toner developing devices 45
Any one of a to 45d is selected, and the photosensitive drum 41
Develop the electrostatic latent image on top. Copy paper is a paper cassette 50
Chucking mechanism 5 on the transfer drum 51 that is fed from
2, the tip is chucked so that no positional deviation occurs during transfer. The developed toner image is
It is transferred by the transfer charger 46 onto the copy paper wound around the transfer drum 51. The above printing process is repeated for four colors of cyan (C), magenta (M), yellow (Y), and black (BK). At this time,
The scanner 10 repeats the scanning operation in synchronization with the operations of the photosensitive drum 41 and the transfer drum 51. Thereafter, the copy paper is transferred to the transfer drum 51 by operating the separation claw 47.
The sheet is separated from the sheet, is fixed through the fixing device 48, and is discharged to the sheet discharge tray 49.

【0007】図2は、操作パネル16の正面図である。
コピー枚数は、テンキー161により設定される。表示
部162は、使用者により設定された複写モードや、コ
ピー枚数を表示する。ファンクションキー163は、表
示部162に表示される内容により、その機能が変化す
るキーであり、表示部162に表示される各種動作モー
ドの選択及び設定を行う。編集モード設定キー164
は、マーカ編集モードを設定するキーである。使用者に
よりマーカ編集モードが設定された場合であって、マー
カーによりマークされた領域(以下、マーカエリアとい
う)内の線画上にマーカーにより印(以下、マーカポイ
ンタという)が記されている場合には、領域内にある線
画に対して色付け処理を施す。また、マーカポインタが
線画以外、即ち背景部に記されている場合には、領域内
の背景部に色付け処理を施す。プリントキー165は、
コピー動作を開始する際に用いるキーである。
FIG. 2 is a front view of the operation panel 16.
The number of copies is set by the ten keys 161. The display unit 162 displays the copy mode set by the user and the number of copies. The function key 163 is a key whose function changes according to the content displayed on the display unit 162, and selects and sets various operation modes displayed on the display unit 162. Edit mode setting key 164
Is a key for setting the marker edit mode. When the marker edit mode is set by the user, and the mark (hereinafter, marker pointer) is marked by the marker on the line drawing in the area marked by the marker (hereinafter, marker area). Performs coloring processing on the line drawing in the area. If the marker pointer is not on the line drawing, that is, on the background portion, the background portion in the area is colored. The print key 165 is
This key is used when starting the copy operation.

【0008】図3は、画像信号処理部20のブロック図
である。CCDカラーイメージセンサ14で読み取られ
た原稿のRGB画像データは、画像信号処理部20内の
前処理部141においてA/D変換とシェーディング補
正が施された後、γ補正部142において、所定の階調
補正が施される。階調補正が施されたデータは、メモリ
制御部143を介して、画像メモリ144に一旦格納さ
れる。画像メモリ144内には、原稿に対してx座標
(主走査方向)、y座標(副走査方向)の2次元のアド
レスが設定されており、RGB画像データと共に、8ビ
ットの属性データを各画素毎に記憶する。属性データ
は、後に説明するマーカエリアの検出処理で用いる。マ
ーカ編集モードが設定されている場合、CPU167
は、画像メモリ144内の画像データ及び属性データに
基づいて、マーカエリアの検出処理及び検出されたマー
カエリア内の画像データに対するマーカ編集処理を実行
する。マーカ編集処理の施された画像データは、作像部
の各色の作像タイミングに合わせて色変換部145に読
み出される。色変換部145では、画像メモリ144よ
り読み出されたRGB画像データを、シアン(C)、マ
ゼンタ(M)、イエロー(Y)、ブラック(BK)の何
れか1つの8ビット階調データに変換して出力する。色
変換処理の施されたデータは、次のD/A変換部146
において、アナログ信号に変換される。プリントヘッド
部31内のレーザ制御部150は、D/A変換部146
より出力されるアナログ信号に基づいて、レーザ駆動信
号を発生し、半導体レーザ151を発光する。使用者に
より操作パネル16を介して設定された各種の複写条件
についての情報は、制御メモリ149に格納される。C
PU167は、制御メモリ149に格納されている情報
を読み取り、読み取ったデータに基づいて、読取信号処
理部20及びプリントヘッド部31のシーケンス制御を
行う。また、複写実行時の他の入出力制御や図示しない
他のCPUとの通信制御は、入出力制御用のIC148
を介して実行する。また、複写機本体には、ポインティ
ング装置として、図4に示すタブレット110が接続さ
れている。タブレット110から入力される情報は、入
出力制御用のIC148を介して、CPU167に入力
される。マーカ編集を行う閉ループ領域の特定は、原稿
の該当箇所を直接マーカーでマークすること以外に、タ
ブレット110の備えるパッド111上に原稿を載置
し、選択する矩形領域の対向する2点をポインティング
ペン112で指定しても行うことができる。
FIG. 3 is a block diagram of the image signal processing section 20. The RGB image data of the original read by the CCD color image sensor 14 is subjected to A / D conversion and shading correction in the preprocessing unit 141 in the image signal processing unit 20, and then in a γ correction unit 142 to a predetermined level. Key adjustment is applied. The data subjected to the tone correction is temporarily stored in the image memory 144 via the memory control unit 143. In the image memory 144, a two-dimensional address of x-coordinate (main scanning direction) and y-coordinate (sub-scanning direction) is set with respect to the document, and 8-bit attribute data is set for each pixel together with RGB image data. Remember each time. The attribute data is used in the marker area detection process described later. When the marker edit mode is set, the CPU 167
Performs marker area detection processing and marker editing processing on the detected image data in the marker area based on the image data and attribute data in the image memory 144. The image data that has undergone the marker editing process is read by the color conversion unit 145 at the image forming timing of each color of the image forming unit. The color conversion unit 145 converts the RGB image data read from the image memory 144 into any one 8-bit gradation data of cyan (C), magenta (M), yellow (Y), and black (BK). And output. The data that has been subjected to color conversion processing is processed by the D / A conversion unit 146
At, converted into an analog signal. The laser control unit 150 in the print head unit 31 includes a D / A conversion unit 146.
A laser drive signal is generated based on the analog signal output from the semiconductor laser 151 to emit light. Information about various copying conditions set by the user via the operation panel 16 is stored in the control memory 149. C
The PU 167 reads the information stored in the control memory 149 and controls the sequence of the read signal processing unit 20 and the print head unit 31 based on the read data. Further, other input / output control at the time of executing copying and communication control with another CPU (not shown) are performed by the IC 148 for input / output control.
Run through. A tablet 110 shown in FIG. 4 is connected to the main body of the copying machine as a pointing device. Information input from the tablet 110 is input to the CPU 167 via the input / output control IC 148. In order to specify the closed loop area in which the marker is to be edited, in addition to directly marking the corresponding portion of the document with the marker, the document is placed on the pad 111 of the tablet 110, and two opposing points of the rectangular region to be selected are pointed with a pointing pen. It can also be performed by designating at 112.

【0009】(2)画像処理の制御 デジタルカラー複写機では、使用者により特定された閉
ループ領域内の文字や記号等の線画部分にマーカポイン
タが記されている場合、当該領域中の線画部分に対して
色付け処理を施す。また、線画以外の部分、即ち背景部
にマーカポインタが記されている場合、当該背景部に色
付け処理を実行する。図5(a)は、原稿300内にお
いて、マーカー301で囲まされた閉ループ領域内の
「A」の文字302上に、マーカポインタ303が記さ
れている原稿画像を示し、(b)は、マーカ編集処理の
後に複写動作を実行して得られる複写画像を示す。文字
上にマーカポインタが記されている場合、マーカエリア
内の線画に対して色付け処理が行われる。この場合の色
付けは、例えば、「A」の文字302の文字を黒色から
所定の色に変更することを意味する。図5(b)では、
色付け処理により「A」の文字302の色が変わったこ
とを理解し易くするため、色の付された領域を斜線で示
す。図6(a)は、原稿400内において、マーカー4
01で囲まれる閉ループ領域内の線画以外の部分、即ち
背景部402にマーカポインタ403が記されている原
稿画像を示し、(b)は、マーカ編集処理の後に複写動
作を実行して得られる複写画像を示す。背景部402に
マーカポインタ403が記されている場合、マーカエリ
ア内の線画を除く背景部402に色付け処理を実行す
る。この場合の色付けは、例えば、背景部の色を所定の
色に変換することを意味する。図6(b)では、色付け
処理により文字「A」を除く背景部402の色が変わっ
たことを理解し易くするため、色の付された領域を斜線
で示す。
(2) Image processing control In a digital color copying machine, when a marker pointer is marked on a line drawing portion such as a character or a symbol in a closed loop area specified by a user, the line drawing portion in the area is marked. A coloring process is applied to them. If a marker pointer is written on a portion other than the line drawing, that is, on the background portion, the background portion is colored. FIG. 5A shows an original image in which a marker pointer 303 is written on the character 302 of “A” in the closed loop area surrounded by the marker 301 in the original 300, and FIG. 6 shows a copy image obtained by executing a copy operation after the editing process. When the marker pointer is written on the character, the line drawing in the marker area is colored. The coloring in this case means, for example, changing the character 302 of the character “A” from black to a predetermined color. In FIG. 5 (b),
In order to make it easy to understand that the color of the character 302 of “A” has changed due to the coloring process, the colored region is indicated by hatching. FIG. 6A shows the marker 4 in the original 400.
A portion other than the line drawing in the closed loop area surrounded by 01, that is, a document image in which a marker pointer 403 is written in the background portion 402 is shown. (B) is a copy obtained by executing a copying operation after the marker editing processing. The image is shown. When the marker pointer 403 is written on the background portion 402, the coloring process is executed on the background portion 402 excluding the line drawing in the marker area. The coloring in this case means, for example, converting the color of the background portion into a predetermined color. In FIG. 6B, in order to make it easy to understand that the color of the background portion 402 excluding the character “A” has changed due to the coloring process, the colored region is indicated by hatching.

【0010】(2−1)メインルーチン 図7は、CPU167の実行する制御処理のメインルー
チンを示す図である。複写機の電源投入後、内部の初期
設定を行った後(ステップS1)、キー入力を受け付け
る(ステップS2)。使用者により、プリントキー16
5が押下された場合(ステップS3でYES)、以下の
処理を実行する。マーカ編集モードが設定されている場
合(ステップS4でYES)、マーカ編集処理に用いる
領域、即ちマーカエリアを検出する処理を実行する(ス
テップS5)。マーカエリアの検出処理については、後
に説明する。マーカエリアの検出後、マーカ編集処理を
実行する(ステップS6)。ここでは、マーカエリア内
に記されているマーカポインタが文字や記号等の線画上
に記されているのか、又は線画以外の部分、即ち背景部
に記されているのかを調べ、マーカポインタが線画上に
記されている場合には、マーカエリア内にある線画に対
して色付け処理を施し、マーカポインタが背景部に記さ
れている場合には、背景部に対して色付け処理を施す。
このマーカ編集処理については、後に説明する。この
後、複写動作を実行して複写紙上に画像を形成する(ス
テップS7)。
(2-1) Main Routine FIG. 7 is a diagram showing a main routine of control processing executed by the CPU 167. After the power of the copying machine is turned on, the internal settings are made (step S1), and then the key input is accepted (step S2). Print key 16 depending on the user
When 5 is pressed (YES in step S3), the following process is executed. When the marker edit mode is set (YES in step S4), a process of detecting an area used for the marker edit process, that is, a marker area is executed (step S5). The marker area detection process will be described later. After detecting the marker area, a marker editing process is executed (step S6). Here, it is checked whether the marker pointer written in the marker area is written on a line drawing such as a character or a symbol, or a portion other than the line drawing, that is, the background portion, and the marker pointer is drawn. In the case described above, the line drawing in the marker area is colored, and in the case where the marker pointer is marked in the background portion, the background portion is colored.
This marker editing process will be described later. After that, a copying operation is executed to form an image on the copy paper (step S7).

【0011】(2−2)マーカエリアの検出 図8は、マーカエリアの検出(図7、ステップS5)の
フローチャートである。図9は、画像メモリ144に格
納される画像をx,y座標上に表したものである。図9
に示す画像は、「A」の文字502をマーカーで囲んだ
ものであり、マーカポインタ503は、マーカーで囲ま
れる領域501より「A」の文字502を除いた領域に
記されている。マーカエリアの検出処理は、図9中、斜
線で示すマーカーの付された領域500に属する画素を
認識した後、マーカーで囲まれる領域501に属する白
画素を認識する。まず、原稿中、マーカーの付された画
素を検出する(ステップS10)。マーカエリア内の画
素の検出は、画像メモリ144に格納されているRGB
画像データからマーカーの色に相当する画素を検出する
ことにより実行される。次に、マーカーで囲まれる領域
501に属する画素の検出を行う。この検出は、x座標
軸に平行なラインLを定め、このラインL上の画素の
内、領域500に属する画素で囲まれる範囲内の画素を
検出することにより実行される。まず、画像メモリ14
4にRGB画像データと共に格納されるマーカエリア内
の画素(x,y)の属性データの第1ビット(以下、q
(x,y)と表す)の値を1に設定し、それ以外の画素
のq(x,y)の値を0に設定する。次に、q(x,
y)=1に設定された画素の画像メモリ144内におけ
るx,y座標の最大値(max.x及びmax.y)と最
小値(min.x及びmin.y)を求める(ステップS
11)。次に画像メモリ144に格納されている全画素
の属性データの第2ビット(以下、r(x,y)と表
す)の値を0に設定する(ステップS12)。ラインL
のy座標の値を、マーカエリアの最小値min.yに設
定する(ステップS13)。ラインLのx座標の値を、
マーカエリアの最小値min.xに設定する(ステップ
S14)。ラインLの画素(x,y)が、q(x,y)
=1の画素、即ちマーカーの付された画素(マーカポイ
ンタを含む)に囲まれている白画素である場合(ステッ
プS15でYES)、当該画素のr(x,y)の値を1
に変更する(ステップS16)。ここで、白画素とは、
原稿で画像が描かれていない画素であり、画像メモリ1
44のR,G,B全ての値が所定値(最も明るいデータ
値を256とした場合、例えば230)以上の画素をい
う。次に、x座標の値に1を加算し(ステップS1
7)、x座標の値がmax.xになるまでステップS1
5〜S17の処理を繰り返し実行する(ステップS1
8)。ラインLのy座標の値に1を加算し(ステップS
19)、y座標の値がmax.yになるまでステップS
14〜S19の処理を繰り返し実行する(ステップS2
0)。以上の処理により、図9の示す原稿中、マーカー
の付された領域500に属する画素のq(x,y)は1
に設定され、マーカーで囲まれた領域501の白画素の
r(x,y)は1に設定される。
(2-2) Detection of Marker Area FIG. 8 is a flowchart of the detection of the marker area (FIG. 7, step S5). FIG. 9 shows an image stored in the image memory 144 on the x and y coordinates. FIG.
The image shown in (1) is obtained by enclosing the character 502 of “A” with a marker, and the marker pointer 503 is described in an area excluding the character 502 of “A” from the area 501 surrounded by the marker. In the marker area detection process, in FIG. 9, pixels that belong to the area 500 marked with diagonal lines are recognized, and then white pixels that belong to the area 501 surrounded by the marker are recognized. First, a pixel with a marker is detected in the document (step S10). Pixels in the marker area are detected by the RGB stored in the image memory 144.
It is executed by detecting the pixel corresponding to the color of the marker from the image data. Next, the pixels belonging to the area 501 surrounded by the markers are detected. This detection is performed by defining a line L parallel to the x-coordinate axis, and detecting pixels on the line L within a range surrounded by pixels belonging to the region 500. First, the image memory 14
4, the first bit (hereinafter, q) of the attribute data of the pixel (x, y) in the marker area stored together with the RGB image data.
The value of (x, y) is set to 1, and the value of q (x, y) of the other pixels is set to 0. Then q (x,
y) = 1, the maximum value (max.x and max.y) and the minimum value (min.x and min.y) of the x and y coordinates in the image memory 144 of the pixel are obtained (step S).
11). Next, the value of the second bit (hereinafter referred to as r (x, y)) of the attribute data of all pixels stored in the image memory 144 is set to 0 (step S12). Line L
The y-coordinate value of is set to the minimum value min.y of the marker area (step S13). The value of the x coordinate of the line L is
The minimum value min.x of the marker area is set (step S14). The pixel (x, y) of the line L is q (x, y)
= 1 pixel, that is, a white pixel surrounded by a pixel with a marker (including a marker pointer) (YES in step S15), the value of r (x, y) of the pixel is set to 1
To (step S16). Here, the white pixel is
The image memory 1 is a pixel in which an image is not drawn on the document.
A pixel in which all values of R, G, and B of 44 are equal to or more than a predetermined value (for example, 230 is set when the brightest data value is 256). Next, 1 is added to the value of the x coordinate (step S1
7), step S1 until the value of the x coordinate reaches max.x
The processing of 5 to S17 is repeatedly executed (step S1
8). Add 1 to the value of the y coordinate of the line L (step S
19), step S until the y-coordinate value reaches max.y
The processing of 14 to S19 is repeatedly executed (step S2
0). By the above processing, q (x, y) of the pixels belonging to the marker-added area 500 in the document shown in FIG.
And r (x, y) of the white pixel in the region 501 surrounded by the marker is set to 1.

【0012】(2−3)マーカ編集処理 マーカ編集処理では、マーカエリア内に記されているマ
ーカポインタが文字や記号等の線画上に記されている場
合には、マーカエリア内の線画に対して色付け処理を行
い、マーカポインタが背景部に記されている場合には、
当該背景部に色付け処理を行う。図10は、マーカ編集
処理(図7、ステップS6)のフローチャートである。
まず、マーカポインタの存在する範囲を検出する。ここ
で、マーカポインタの存在範囲の検出とは、図9に示し
た画像例の場合、マーカポインタ503の存在するmi
n.Px,max.Px,min.Py,max.Pyの各
座標の値を検出することをいう。このマーカポインタの
存在範囲の検出は、まず、画像メモリ144内でr
(x,y)=1の画素に囲まれるq(x,y)=1の1
画素を検出し、当該検出した画素に隣り合う画素であっ
て、q(x,y)=1の画素を全て検出する。各検出し
た画素のxy座標の最大値及び最小値から、min.P
x,max.Px,min.Py,max.Pyの各座標
の値を求める。q(x,y)=1以外の画素がmin.
Px≦X≦max.Px,min.Py≦Y≦max.P
yの条件を満たす座標(X,Y)に存在する場合(ステ
ップS31でYES)、フラグkの値を1にセットする
(ステップS32)。また、存在しない場合には(ステ
ップS31でNO)、フラグkの値を0にセットする
(ステップS33)。画像メモリ144中、r(x,
y)=1の画素に囲まれるq(x,y)=1の画素、即
ち、マーカポインタの画素のq(x,y)の値を0に書
き換えると共に、当該画素のr(x,y)の値を1に設
定する(ステップS34)。r(x,y)=1の画素に
囲まれる画素、即ち、文字や記号等の線画部分の画素の
属性データの第3ビット(以下、t(x,y)と表す)
の値を1に設定する(ステップS35)。フラグkの値
が1の場合(ステップS36でYES)、即ち、マーカ
ポインタが文字や記号等の線画上に記されている場合、
画像メモリ144中、t(x,y)=1の画素について
色付け処理を施す(ステップS37)。また、フラグk
の値が0の場合(ステップS36でNO)、即ち、マー
カポインタがマーカエリア内の背景部に記されている場
合、画像メモリ144中、r(x,y)=1の画素につ
いて色付け処理を施す(ステップS38)。
(2-3) Marker Editing Process In the marker editing process, when the marker pointer written in the marker area is written on a line drawing such as a character or a symbol, the line drawing in the marker area is processed. If the marker pointer is marked on the background,
Coloring processing is performed on the background portion. FIG. 10 is a flowchart of the marker editing process (FIG. 7, step S6).
First, the range in which the marker pointer exists is detected. Here, in the case of the image example shown in FIG. 9, the detection of the existence range of the marker pointer means that the mi in which the marker pointer 503 exists.
It means to detect the value of each coordinate of n.Px, max.Px, min.Py, and max.Py. To detect the existence range of the marker pointer, first, in the image memory 144, r
1 of q (x, y) = 1 surrounded by pixels of (x, y) = 1
A pixel is detected, and all pixels adjacent to the detected pixel, q (x, y) = 1, are detected. From the maximum and minimum values of the xy coordinates of each detected pixel, min.P
The value of each coordinate of x, max.Px, min.Py, and max.Py is calculated. Pixels other than q (x, y) = 1 are min.
Px ≦ X ≦ max.Px, min.Py ≦ Y ≦ max.P
If it exists at the coordinates (X, Y) satisfying the condition of y (YES in step S31), the value of the flag k is set to 1 (step S32). If it does not exist (NO in step S31), the value of the flag k is set to 0 (step S33). In the image memory 144, r (x,
The pixel of q (x, y) = 1 surrounded by the pixel of y) = 1, that is, the value of q (x, y) of the pixel of the marker pointer is rewritten to 0, and r (x, y) of the pixel is rewritten. Is set to 1 (step S34). Pixels surrounded by pixels of r (x, y) = 1, that is, the third bit (hereinafter, referred to as t (x, y)) of attribute data of pixels of a line drawing portion such as characters and symbols
Is set to 1 (step S35). When the value of the flag k is 1 (YES in step S36), that is, when the marker pointer is written on a line drawing such as a character or a symbol,
Coloring processing is performed on the pixel of t (x, y) = 1 in the image memory 144 (step S37). Also, the flag k
Is 0 (NO in step S36), that is, when the marker pointer is written in the background portion in the marker area, the coloring process is performed on the pixel of r (x, y) = 1 in the image memory 144. Apply (step S38).

【0013】以上、説明したように、デジタルカラー複
写機では、マーカエリア内に記されたマーカポインタの
位置により、編集処理の内容を切り換える。即ち、装置
本体の設定変更を行わずとも、各マーカエリア毎に、処
理の内容を変更することができる。これにより、一度の
複写動作で、複数選択されたマーカエリアに対し、それ
ぞれ異なる編集処理を施すことが可能となる。図11
は、原稿700において2つの閉ループ領域が選択され
た場合の画像例と、その画像に対してマーカ編集処理を
施した結果、得られる画像とを示す図である。図11
(a)に示す画像には、「A」の文字701上にマーカ
ポインタ702が付されているマーカエリア703と、
「B」の文字704以外の背景部にマーカポインタ70
6の付されているマーカエリア705とが記されてい
る。図11(b)は、(a)に示す画像に対してマーカ
編集処理として色付け処理を実行した場合に用紙上に形
成される画像を示し、図中、斜線で示す領域は、所定の
色に色付けされていることを表す。図示するように、マ
ーカエリア703に対しては、「A」の文字701が色
付けされ、マーカエリア705に対しては、「B」の文
字704以外の背景部に色付け処理が施される。なお、
本発明の画像処理装置は、記憶装置に記憶されている画
像データを使用するものであっても良い。この場合、編
集の対象となる閉ループ領域の特定は、タブレットやタ
ッチ式のパネルの操作により行う。また、編集処理の結
果は、複写機のように、用紙上に出力するものに限定さ
れず、ディスプレイ上に表示することとしても良い。
As described above, in the digital color copying machine, the contents of the editing process are switched depending on the position of the marker pointer described in the marker area. That is, the content of the process can be changed for each marker area without changing the setting of the apparatus body. As a result, it is possible to perform different editing processes on the selected marker areas in one copy operation. FIG.
FIG. 8 is a diagram showing an example of an image when two closed loop areas are selected in the original 700 and an image obtained as a result of performing marker editing processing on the image. FIG.
In the image shown in (a), a marker area 703 in which a marker pointer 702 is attached on a character 701 of “A”,
The marker pointer 70 is placed on the background portion other than the character 704 of "B".
Marker area 705 with 6 is marked. FIG. 11B shows an image formed on the paper when the coloring process is executed as the marker editing process on the image shown in FIG. 11A, and the shaded area in the drawing shows a predetermined color. Indicates that it is colored. As shown in the figure, the marker area 703 is colored with the character “A” 701, and the marker area 705 is colored with respect to the background portion other than the character “B” 704. In addition,
The image processing apparatus of the present invention may use the image data stored in the storage device. In this case, the closed loop region to be edited is specified by operating the tablet or touch panel. Further, the result of the editing process is not limited to the one output on a sheet like a copying machine, and may be displayed on a display.

【0014】[0014]

【発明の効果】本発明の画像処理装置では、検出手段に
より検出された原稿画像中の閉ループ領域内にある所定
のマークが文字や記号等の線画上に在る場合と、線画以
外に在る場合とで、当該閉ループ領域内の画像に対して
施す編集処理の内容を変更することができる。即ち、装
置本体を操作して編集処理の内容を変更せずとも、検出
手段により検出された閉ループ領域に対して、簡単に異
なる編集処理を施すことが可能となる。このため、原稿
画像中、複数の閉ループ領域を選択した場合でも、各閉
ループ領域毎に、簡単に異なる内容の編集処理を施すこ
とができる。また、好ましい構成の画像処理装置では、
マークが線画上に記されている場合には、当該閉ループ
領域内の線画に対して色付け処理を施し、マークが背景
部に付されている場合には、当該閉ループ内の線画以外
に対して色付け処理を施すため、簡単に2種類の編集処
理を実行することができる。
According to the image processing apparatus of the present invention, the predetermined mark in the closed loop area in the original image detected by the detecting means is present on the line drawing such as characters and symbols, and on other than the line drawing. Depending on the case, the content of the editing process performed on the image in the closed loop region can be changed. That is, it is possible to easily perform different editing processing on the closed loop region detected by the detecting means without changing the content of the editing processing by operating the apparatus body. For this reason, even when a plurality of closed loop areas are selected in the original image, it is possible to easily perform different edit processing for each closed loop area. Further, in the image processing apparatus having a preferable configuration,
If the mark is drawn on the line drawing, the line drawing in the closed loop area is colored, and if the mark is attached to the background part, the line drawing other than the line drawing in the closed loop is colored. Since the processing is performed, it is possible to easily execute two types of editing processing.

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

【図1】 デジタルカラー複写機の全体構成を示す図で
ある。
FIG. 1 is a diagram showing an overall configuration of a digital color copying machine.

【図2】 操作パネル16の正面図である。FIG. 2 is a front view of an operation panel 16.

【図3】 デジタルカラー複写機の制御回路のブロック
図である。
FIG. 3 is a block diagram of a control circuit of the digital color copying machine.

【図4】 タブレット110を示す図である。FIG. 4 is a diagram showing a tablet 110.

【図5】 マーカ編集処理の一例を示す図であり、
(a)は、マーカーで囲まれた閉ループ領域内の文字
「A」上に、マーカポインタが記されている原稿画像を
示し、(b)は、マーカ編集処理の後に複写動作を実行
して得られる複写画像を示す。
FIG. 5 is a diagram showing an example of marker editing processing,
(A) shows an original image in which a marker pointer is written on the character "A" in a closed loop area surrounded by markers, and (b) shows a document image obtained by executing a copying operation after the marker editing process. FIG.

【図6】 マーカ編集処理の一例を示す図であり、
(a)は、マーカーで囲まれる閉ループ領域内の背景部
にマーカポインタが記されている原稿画像を示し、
(b)は、マーカ編集処理の後に複写動作を実行して得
られる複写画像を示す。
FIG. 6 is a diagram showing an example of marker editing processing,
(A) shows a document image in which a marker pointer is written in the background portion in a closed loop area surrounded by markers,
(B) shows a copy image obtained by executing a copy operation after the marker editing process.

【図7】 複写機全体の制御処理のメインルーチンを示
す図である。
FIG. 7 is a diagram showing a main routine of control processing of the entire copying machine.

【図8】 マーカエリアの検出(図7、ステップS5)
のフローチャートである。
FIG. 8 Detection of marker area (FIG. 7, step S5)
It is a flowchart of FIG.

【図9】 原稿中、使用者によりマーカーで囲まれた領
域内の画像例を示す図である。
FIG. 9 is a diagram showing an example of an image in a region surrounded by a marker by a user in a document.

【図10】 マーカ編集処理(図7、ステップS6)の
フローチャートである。
FIG. 10 is a flowchart of marker editing processing (FIG. 7, step S6).

【図11】 2つのマーカエリアの選択された原稿と、
当該原稿に対してマーカ編集処理を施した場合の画像と
を示す図である。
FIG. 11 shows a selected document in two marker areas,
FIG. 7 is a diagram showing an image when a marker edit process is performed on the document.

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

14…CCDセンサ 16…操作パネル 110…タブレット 144…画像メモリ 149…制御メモリ 167…CPU 14 ... CCD sensor 16 ... Operation panel 110 ... Tablet 144 ... Image memory 149 ... Control memory 167 ... CPU

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 原稿画像中、領域内にマークの在る閉ル
ープ領域を検出する検出手段と、 検出手段により検出された閉ループ領域内に在るマーク
が線画上に記されているのか、又は線画以外に記されて
いるのかを判断する判断手段と、 検出手段により検出された閉ループ領域内の画像に対
し、判断手段による判断結果に基づいて定められる編集
処理を施す処理部とを備えることを特徴とする画像処理
装置。
1. A detection means for detecting a closed loop area where a mark exists in an area of a document image, and a mark existing in the closed loop area detected by the detection means is marked on a line drawing or a line drawing. Other than that, it is provided with a judging means for judging whether or not it is described, and a processing section for performing an editing process determined on the basis of the judgment result by the judging means for the image in the closed loop region detected by the detecting means. Image processing device.
【請求項2】 請求項1に記載された画像処理装置であ
って、 上記処理部は、上記マークが閉ループ領域中の線画上に
記されている場合には、当該線画に対して色付け処理を
施し、線画以外に記されている場合には、当該線画以外
の領域に対して色付け処理を施すことを特徴とする画像
処理装置。
2. The image processing device according to claim 1, wherein, when the mark is written on a line drawing in the closed loop area, the processing unit performs coloring processing on the line drawing. An image processing apparatus, wherein, if it is written on a region other than a line drawing, a coloring process is performed on a region other than the line drawing.
JP19024195A 1995-07-26 1995-07-26 Image processing device Expired - Fee Related JP3381468B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19024195A JP3381468B2 (en) 1995-07-26 1995-07-26 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19024195A JP3381468B2 (en) 1995-07-26 1995-07-26 Image processing device

Publications (2)

Publication Number Publication Date
JPH0946508A true JPH0946508A (en) 1997-02-14
JP3381468B2 JP3381468B2 (en) 2003-02-24

Family

ID=16254860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19024195A Expired - Fee Related JP3381468B2 (en) 1995-07-26 1995-07-26 Image processing device

Country Status (1)

Country Link
JP (1) JP3381468B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8164786B2 (en) 2006-03-20 2012-04-24 Brother Kogyo Kabushiki Kaisha Print data generating apparatus and computer usable medium therefor, and image processing apparatus and computer usable medium therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8164786B2 (en) 2006-03-20 2012-04-24 Brother Kogyo Kabushiki Kaisha Print data generating apparatus and computer usable medium therefor, and image processing apparatus and computer usable medium therefor

Also Published As

Publication number Publication date
JP3381468B2 (en) 2003-02-24

Similar Documents

Publication Publication Date Title
US6144835A (en) Image forming apparatus including means for warning an operator of a potential illegal copying operation before the copying operation and method of controlling the same
US5289296A (en) Color image processing apparatus and method
JP3334025B2 (en) Image forming device
US5353130A (en) Color image processing apparatus
US6009195A (en) Image processor with marker edition mode
JP3381468B2 (en) Image processing device
US6809742B1 (en) Image editing device permitting user to register desired patterns
JP3355886B2 (en) Image processing device
JPH11220614A (en) Picture editing device
JPH1141452A (en) Image forming device
EP0666546A1 (en) Image processing apparatus and method
JP3302113B2 (en) Image forming apparatus and output characteristic setting method of image forming apparatus
JP3336821B2 (en) Image processing device
JP3539079B2 (en) Image editing device
JP3128872B2 (en) Image editing device
JPH08190630A (en) Image processor
JP3355885B2 (en) Image processing device
JP3376607B2 (en) Rectangular area reading processing device
JPH07131628A (en) Image processor
JPH08307660A (en) Colour copying machine with marker edit function
JP3603550B2 (en) Image processing device
JPH0969936A (en) Image processor
JPH09275486A (en) Image processing unit
JP3227174B2 (en) Image processing apparatus and control method for image processing apparatus
JPH04343568A (en) Image processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071220

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081220

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081220

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091220

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101220

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101220

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111220

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111220

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121220

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees