JPH01149682A - Image processor - Google Patents

Image processor

Info

Publication number
JPH01149682A
JPH01149682A JP62310337A JP31033787A JPH01149682A JP H01149682 A JPH01149682 A JP H01149682A JP 62310337 A JP62310337 A JP 62310337A JP 31033787 A JP31033787 A JP 31033787A JP H01149682 A JPH01149682 A JP H01149682A
Authority
JP
Japan
Prior art keywords
area
memory
status
image processing
digitizer
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
JP62310337A
Other languages
Japanese (ja)
Other versions
JP2687380B2 (en
Inventor
Taiji Nagaoka
永岡 大治
Masayuki Hisatake
真之 久武
Kiyoshi Horie
潔 堀江
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP62310337A priority Critical patent/JP2687380B2/en
Publication of JPH01149682A publication Critical patent/JPH01149682A/en
Application granted granted Critical
Publication of JP2687380B2 publication Critical patent/JP2687380B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To designate an area of an optional shape by two-dimensionally storing the area of an original to be edited in a storing means of bit map memory, etc., in the unit of bit. CONSTITUTION:A designated area writing means 10 is connected with a memory 9 and a designated area is stored in the memory 9 as bit map information by means of the command of a CPU 5 issued in accordance with an instruction from a digitizer 6. When a rectangular area is designated, the area is calculated by the CPU 5 and a corresponding area is plotted on the memory 9 through the means 10 when vertexes on a diagonal line are inputted on the digitizer 6. If an area having an optional shape is designated, the area is inputted when the boundary line P of the area is traced in one direction on the digitizer 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像情報を読み込んで種々の画像処理を行う
画像処理装置に関し、特に、指定した領域に対して他領
域と異なる処理を行う画像処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image processing device that reads image information and performs various image processing, and particularly relates to an image processing device that reads image information and performs various image processing. It relates to a processing device.

〔従来の技術〕[Conventional technology]

従来、画像処理装置において、原稿画像の一部分を領域
指定し、他領域と異なる処理を行うことが特開昭60−
242480号公報、特開昭60−213168号公報
等に開示されている。このような画像処理装置を複写機
に連層すると、原稿の一部分のみを取り出して複写した
り、或いは、原稿の一部分の色を変換して複写すること
が可能となる。
Conventionally, in an image processing apparatus, it is possible to designate a part of a document image as an area and perform processing different from other areas.
It is disclosed in Japanese Patent Application Laid-open No. 242480, Japanese Patent Application Laid-Open No. 60-213168, and the like. When such an image processing device is connected to a copying machine, it becomes possible to take out and copy only a portion of a document, or to convert the color of a portion of a document and copy it.

第11図はこのような編集可能な複写機において使用さ
れる従来の画像処理装置を示しており、ビデオクロツタ
により駆動される主走査アドレスカウンタlの出力が主
走査方向の指定アドレス区間検出回路3に供給され、ラ
イン同期信号により駆動される副走査アドレスカウンタ
2の出力が副走査方向の指定アドレス区間検出回路4に
供給される。両指定アドレス区間検出回路3,4はCP
U(中央処理装置)5により制御されて右り、CPU5
に接続されたディジタイザ6により座標の入力が可能と
なっている。
FIG. 11 shows a conventional image processing device used in such an editable copying machine, in which the output of a main scanning address counter l driven by a video crotter is sent to a designated address section detection circuit 3 in the main scanning direction. The output of the sub-scanning address counter 2 which is supplied and driven by the line synchronization signal is supplied to the specified address section detection circuit 4 in the sub-scanning direction. Both specified address section detection circuits 3 and 4 are CP
Controlled by U (central processing unit) 5, CPU 5
Coordinates can be input using a digitizer 6 connected to the digitizer 6.

いま、第12図(a)に示す原稿へにおいて編集すべき
長方形の対角線の両端をディジタイザ6で指定すると、
CPU5で座標が計算され、指定アドレス区間検出回路
3.4で主副走査方向の位置が検出される。そして、A
NDゲート7から主副走査のアドレスカウンタ1.2の
値に基づいて指定領域内外を示す信号を発生して、画信
号加工回路8において画信号に対する処理を切り換える
ようになっている。その結果、第12図(a)に斜線で
示す長方形の領域已に対して処理が行われることになる
Now, when specifying both ends of the diagonal of the rectangle to be edited in the manuscript shown in FIG. 12(a) using the digitizer 6,
The CPU 5 calculates the coordinates, and the specified address section detection circuit 3.4 detects the position in the main and sub-scanning directions. And A
The ND gate 7 generates a signal indicating whether the designated area is inside or outside the designated area based on the value of the main/sub-scanning address counter 1.2, and the image signal processing circuit 8 switches the processing for the image signal. As a result, processing is performed on the rectangular area indicated by diagonal lines in FIG. 12(a).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のように従来の画像処理装置においては、主副走査
アドレスカウンタ1.2の値に基づいて領域を指定して
いるので、指定可能な領域の形状は、主副走査線と平行
な直線で囲まれるもの、すなわち、第12図(a)に示
されるような長方形の領域Bか、複雑な場合でも第12
図(b)に示すような長方形の組み合わせによる領域已
に限られていた。このため、使用者が意図した通りの処
理を行うことが困難であるという問題があった。
As mentioned above, in conventional image processing devices, the area is specified based on the value of the main/sub-scanning address counter 1.2, so the shape of the area that can be specified is a straight line parallel to the main/sub-scanning line. The enclosed area, i.e., the rectangular area B as shown in Figure 12(a), or even the 12th
The area was limited to a combination of rectangles as shown in Figure (b). Therefore, there has been a problem in that it is difficult for the user to perform the processing as intended.

本発明は、従来技術の欠点に鑑みなされたもので、ビッ
ト単位に編集すべき領域を記憶させるこ7とにより、任
意形状の領域を指定可能にすることを目的とする。
The present invention was made in view of the shortcomings of the prior art, and an object of the present invention is to make it possible to specify an area of arbitrary shape by storing an area to be edited bit by bit.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の画像処理装置は、前記目的を達成す払ため、編
集の対象となる原稿の領域を指定する領域指定手段と、
指定された領域の情報をビットマツプで記(、αする記
憶手段と、前記原稿の画像の読み取り或いは記録に同期
して前記記憶手段に記憶された前記領域の情報を読み出
す手段と、読み出された前記領域の情報に基づいて前記
原稿の画像に対して予め決められた画像処理を行う画像
加工手段を備えたことを特徴とする。
In order to achieve the above object, the image processing apparatus of the present invention includes an area specifying means for specifying an area of a document to be edited;
a storage means for recording information of a designated area in a bitmap; a means for reading out information of the area stored in the storage means in synchronization with reading or recording of an image of the document; The present invention is characterized in that it includes an image processing unit that performs predetermined image processing on the image of the document based on the information of the area.

また、前期領域指定手段により指定された領域の情報に
基づき前記記憶手段に前記領域の境界線を描画する手段
と、該境界線の内或いは外の領域を塗り潰す手段、或い
は、前記記憶手段からの前記境界線の読み出し時に読み
出し位置が前記境界線の内か外かを判別する手段を設け
ることができる。
Further, means for drawing a boundary line of the area in the storage means based on the information of the area specified by the area specifying means, and means for filling in the area inside or outside the boundary line, or Means may be provided for determining whether the read position is inside or outside the boundary line when reading the boundary line.

〔作用〕[Effect]

本発明においては、編集の対象となる原稿の領域がビッ
トマツプメモリ等の記憶手段に二次元的にビット単位で
記憶される。したがって、任意の形状を記憶手段にビッ
トパターンとして記憶させることができる。そして、原
稿の画像の読み込み或いは記録に際しては、これに同期
して前記記憶手段に記憶されている領域の情報がビット
単位で読み出される。この領域の情報は原稿の画像と対
応しているので、領域の情報に基づいて所定の画像処理
を行えば、原稿画像の指定された領域に対してのみ予め
決められた画像処理が行われることになる。
In the present invention, an area of a document to be edited is stored two-dimensionally in bit units in a storage means such as a bitmap memory. Therefore, any shape can be stored in the storage means as a bit pattern. When reading or recording an image of a document, information in the area stored in the storage means is read out bit by bit in synchronization with this. The information in this area corresponds to the original image, so if you perform predetermined image processing based on the area information, the predetermined image processing will be performed only on the specified area of the original image. become.

前記記憶手段に塗り潰し後の領域を記憶させる場合は、
記tα手段の内容をそのまま読み出せば、その出力が指
定領域の内側或いは外側を示すことになる。また、前記
記1、α手段に指定値域の境界線が記憶されている場合
は、読み出しと同時に境界線の内か外かを判別して画像
処理が行われる。
When storing the area after filling in the storage means,
If the contents of the tα means are read out as they are, the output will indicate the inside or outside of the specified area. In addition, in the case where the boundary line of the specified value range is stored in the above-mentioned 1.α means, image processing is performed by determining whether it is inside or outside the boundary line at the same time as reading.

〔実施例〕〔Example〕

以下、図面を参照しながら実施例に基づいて本発明の特
徴を具体的に説明する。
DETAILED DESCRIPTION OF THE INVENTION Hereinafter, features of the present invention will be specifically described based on examples with reference to the drawings.

第1図は本発明実施例の画像処理装置の概略ブロック図
を示す。なお、第11図に示す従来例の構成と対応する
個所゛には同一符号を付している。
FIG. 1 shows a schematic block diagram of an image processing apparatus according to an embodiment of the present invention. Note that the same reference numerals are given to the parts corresponding to the structure of the conventional example shown in FIG.

図において、9はメモリを示している。このメモリ9は
、画像データを二次元的なビットパターンとして記憶す
るビットマツプメモリである。このメモリ9には、指定
領域書き込み手段10が接続されており、ディジタイザ
6からの指示に基づくCPU5のコマンドにより、指定
された領域をメモリ9にビットマツプ情報として記憶す
る。また、メモリ9には同期信号に同期して読み出しを
制御する読み出し手段11が接続されている。
In the figure, 9 indicates a memory. This memory 9 is a bitmap memory that stores image data as a two-dimensional bit pattern. A designated area writing means 10 is connected to the memory 9, and stores the designated area in the memory 9 as bitmap information in response to a command from the CPU 5 based on an instruction from the digitizer 6. Further, the memory 9 is connected to a reading means 11 that controls reading in synchronization with a synchronization signal.

第1図に示す画像処理装置において、長方形等を領域指
定する場合には、ディジタイザ6上でその対角線上の2
頂点を入力することによって、CPU5で領域の計算を
行い指定領域書き込み手段10を介してメモリ9上に対
応する領域を描くことができる。そして、ページ同期、
ライン同期、ビデオクロック等の各同期信号により駆動
される読み出し手段11によりメモリ9の内容を読み出
して画信号加工回路8に供給することにより、従来と同
様に画信号に対して長方形の指定ができる。
In the image processing apparatus shown in FIG. 1, when specifying a region such as a rectangle, use the digitizer 6 to
By inputting the vertices, the CPU 5 calculates the area, and the corresponding area can be drawn on the memory 9 via the specified area writing means 10. And page sync,
By reading out the contents of the memory 9 by the readout means 11 driven by each synchronization signal such as line synchronization, video clock, etc. and supplying it to the image signal processing circuit 8, it is possible to specify a rectangle for the image signal as in the past. .

また、第2図のような任意形状の領域Cを指定する場合
、ディジタイザ6上でその境界線Pを、たとえば、矢印
方向にトレースしていくことにより入力を行う。この場
合、ディジタイザ6は、ペンダウン時のみ位置情報を送
出する通常のモードではなく、トレース期間中連続的に
位置情報を送出するモードで使用する。これらの位置情
報からCPU5は指定領域書き込み手段10を介してメ
モリ9上に領域指定された任意形状の境界線を描き、そ
の後にその外或いは内を塗り潰すことによって指定領域
を記憶できる。 ・ このように本実施例においては、指定領域をビットマツ
プの形態でメモリ9に格納しているので、第12図に示
される長方形の領域Bだけでなく第2図のような任意形
状の領域Cの指定も可能となる。
Further, when specifying a region C having an arbitrary shape as shown in FIG. 2, input is performed by tracing its boundary line P on the digitizer 6, for example, in the direction of an arrow. In this case, the digitizer 6 is used in a mode in which position information is continuously transmitted during the trace period, rather than in the normal mode in which position information is transmitted only when the pen is down. Based on the position information, the CPU 5 draws a boundary line of an arbitrary shape specified by the area on the memory 9 via the specified area writing means 10, and then fills in the outside or inside of the boundary line to store the specified area. - In this way, in this embodiment, the designated area is stored in the memory 9 in the form of a bitmap, so not only the rectangular area B shown in FIG. 12 but also the arbitrarily shaped area C as shown in FIG. It is also possible to specify.

なお、メモリ9のピットパターンを領域に対応して塗り
潰すのではなく、メモリ9の上に境界線を記憶しておく
場合は、指定領域読み出しの際にリアルタイムで指定領
域内かどうかを検出するハードウェアをメモリ9と画信
号加工回路8の間に設ける必要がある゛。この領域検出
のハードウェア及びそのアルゴリズムについては後述す
る。
In addition, if the boundary line is stored on the memory 9 instead of filling out the pit pattern in the memory 9 corresponding to the area, it is detected in real time whether or not it is within the specified area when reading the specified area. It is necessary to provide hardware between the memory 9 and the image signal processing circuit 8. The area detection hardware and its algorithm will be described later.

第3図は第1図に示される画像処理装置の更に詳細なブ
ロック図を示したものである。
FIG. 3 shows a more detailed block diagram of the image processing apparatus shown in FIG. 1.

メモリ9は、先に述べたように指定領域をピットマツプ
で記tαするための手段であり、グラフィックデイスプ
レィコントローラ(図中、GDCで示す)21は、メモ
リ9に対して直線の描画、指定領域の背景の塗り潰し等
の画像処理を高速に実行するものである。すなわち、グ
ラフィックデイスプレィコントローラ21は、外部から
座標等のパラメータ、描画の種類等のコマンドを入力す
ることにより、CPU5から独立して高速に描画処理を
行うようになっている。本実施例では、このメモリ9へ
の指定領域書き込み・読み出し手段であるグラフィック
デイスプレィコントローラ21として集積回路μPD7
220 (日本電気株式会社製)を使用し、ディジタイ
ザ6でトレースされて出力された位置情報からメモリ9
に直線を描画していき、領域の指定が終了すると指定領
域外を塗り潰すようにしている。
As mentioned above, the memory 9 is a means for marking the specified area with a pit map, and the graphic display controller (indicated by GDC in the figure) 21 controls the memory 9 to draw straight lines and mark the specified area. It performs image processing such as filling in the background of the image at high speed. That is, the graphic display controller 21 is configured to perform drawing processing at high speed independently from the CPU 5 by inputting parameters such as coordinates, commands such as drawing type, etc. from the outside. In this embodiment, an integrated circuit μPD 7 is used as a graphic display controller 21 which is a designated area writing/reading means for this memory 9.
220 (manufactured by NEC Co., Ltd.), the memory 9 uses the position information traced and output by the digitizer 6.
A straight line is drawn in the area, and when the area is specified, the area outside the specified area is filled in.

上述の例では、ディジタイザ6から送られてくる位置情
報をリアルタイムでメモリ9上に展開したが、これに代
えて、位置情報を一時的にメモリ(図示せず)上に記憶
しておき、指定の終了後にメモリ9上に反間するように
してもよい。
In the above example, the position information sent from the digitizer 6 was developed in the memory 9 in real time, but instead of this, the position information is temporarily stored in the memory (not shown) and specified. The data may be stored in the memory 9 after the completion of the process.

また、グラフィックデイスプレィコントローラ21は、
自動的にメモリ9のリフレッシニ動作成いは読み出し動
作を随時実行しているので、読み出しはその出力を用い
ればよい。
Further, the graphic display controller 21 is
Since the refresh operation or read operation of the memory 9 is automatically executed at any time, the output can be used for reading.

外部からの同期信号は、ページ同期、ライン同期、ビデ
オクロックの3種であり、タイミング発生回路23は、
これらの同期信号に基づき読み取り或いは記録を実行し
ている場所に対応するデータを読み出すように信号を発
生する。
There are three types of external synchronization signals: page synchronization, line synchronization, and video clock, and the timing generation circuit 23
Based on these synchronization signals, a signal is generated to read data corresponding to the location where reading or recording is being performed.

メモリ9からの指定領域の内外を示す信号は、データ加
工用ROM24に入力され、CPU5からのファンクシ
ョンに応じて指定領域内のみ色変換。
A signal from the memory 9 indicating whether the specified area is inside or outside is input to the data processing ROM 24, and color conversion is performed only within the specified area according to a function from the CPU 5.

バック網かけ、トリミング、マスキング等を実行するよ
うになっている。
Back shading, trimming, masking, etc. are executed.

描画機能に関じては、ディジタイザ6から送られてくる
連続的な位置情報に基づき、CPU5がグラフィックデ
イスプレィコントローラ21に対して直線描画コマンド
をリアルタイムで出力していき、指定領域の境界線を描
いていく。
Regarding the drawing function, the CPU 5 outputs straight line drawing commands to the graphic display controller 21 in real time based on continuous position information sent from the digitizer 6, and draws the boundary line of the specified area. I'll draw it.

長方形の場合は、長方形を描く既成の基本ソフトウェア
が利用可能であるのでこれを用いればよい。領域の塗り
潰しに関しても既成の基本ソフトウェアがあるが、この
際、塗り潰しの始点を与える必要がある。ここで、指定
領域外を塗り潰すようにしておけば、塗り潰しの始点と
して原稿エリア外のメモリ番地を指定することにより、
確実に塗り潰しの実行が可能である。すなわち、逆に指
定領域内を塗り潰すようにした場合、塗り潰しの始点を
閉ループの位置に応じて変化させなければならないとい
う不都合がある。
In the case of a rectangle, ready-made basic software for drawing rectangles is available and can be used. There is also ready-made basic software for filling in areas, but in this case, it is necessary to provide a starting point for filling. Here, if you fill in the area outside the specified area, you can specify a memory address outside the document area as the starting point for filling.
Filling can be executed reliably. In other words, if the designated area is filled in, the starting point of filling must be changed depending on the position of the closed loop, which is inconvenient.

また、メモリ9の出力側とグラフィックデイスプレィコ
ントローラ21との間には、グラフィックデイスプレィ
コントローラ21の出力とメモリ9の出力が衝突しない
ようにゲート25が設けられており、グラフィックデイ
スプレィコントローラ21がメモリ9の内容を参照しつ
つ塗り潰しを行えるようになっている。すなわち、グラ
フィックデイスプレィコントローラ21のバスが人力モ
ードになったときのみ、このゲート25が開いてメモリ
9の内容をグラフィックデイスプレィコントローラ21
で読み込めるようになっている。
Further, a gate 25 is provided between the output side of the memory 9 and the graphic display controller 21 to prevent the output of the graphic display controller 21 from colliding with the output of the memory 9. Filling can be performed while referring to the contents of the memory 9. That is, only when the bus of the graphic display controller 21 enters the manual mode, this gate 25 opens and transfers the contents of the memory 9 to the graphic display controller 21.
It can be loaded with .

次に操作手順について、第4図に示されるディジタイザ
6を参照して説明する。
Next, the operating procedure will be explained with reference to the digitizer 6 shown in FIG.

ディジタイザ6はペンダウンした際に、すなわち、ペン
61の先端をディジタイザ6の原稿エリアD表面に押圧
した際に、1度だけデータを送信するモードと、ペンダ
ウン期間中に連続的にデータを送るモードがあり、通常
は前者となっている。
The digitizer 6 has two modes: a mode in which data is sent only once when the pen is down, that is, when the tip of the pen 61 is pressed against the surface of the document area D of the digitizer 6, and a mode in which data is sent continuously during the pen-down period. Yes, and usually the former.

また、ディジタイザ6上には原稿エリアDとは別にキー
エリアEが設けられており、キー621〜62iが配置
され゛ている。ディジタイザ6上にあるキー621〜G
2iのいずれかが押されると、C−PU5がディジタイ
ザ6の送信するデータから位置を調べてキーが選択され
ていることを知るようになっている。すなわち、検′出
された座標がキーエリアE部分のものであるときは、領
域指定の座標としてではなく、キーのデータとして人力
するようになっている。
Further, a key area E is provided on the digitizer 6 separately from the document area D, and keys 621 to 62i are arranged therein. Keys 621-G on digitizer 6
2i is pressed, the C-PU 5 checks the position from the data transmitted by the digitizer 6 and learns that the key has been selected. That is, when the detected coordinates are in key area E, they are input manually as key data rather than as area designation coordinates.

領域指定をする際には、まず、リセットキー62aを選
択するとメモリ9のクリアが行われる。次に指定したい
領域の形状により、長方形キー62b又は任意キー62
Cを選択する。
When specifying an area, first, when the reset key 62a is selected, the memory 9 is cleared. Next, depending on the shape of the area you want to specify, the rectangle key 62b or the arbitrary key 62
Select C.

長方形キー62bを選択した場合、その対角線両端をデ
ィジタイザ6の原稿エリアDより入力し、セットキー6
2dを選択する。これにより、対角線の両端で規定され
る長方形が対象領域として指定される。
When the rectangle key 62b is selected, input both ends of the diagonal from the document area D of the digitizer 6, and press the set key 6.
Select 2d. As a result, a rectangle defined by both ends of the diagonal is designated as the target area.

次に、任意キー62cを選択した場合の領域塗り潰しの
工程について、第5図のフローチャートを参照して説明
する。最初にメモリ9がクリアされる点については、長
方形の場合と同様である。ディジタイザ6は、ペンダウ
ン時の位置を連続的にCPU5へ送るモードとなり、C
PU5は第5図に示すフローで境界線をメモリ9に書き
込んでいく。すなわち、ペン61により指示されたスタ
ートポイントを受信し、これを起点としてペンアップす
るまで、継続的に直線を描画していく。このようにして
、指定領域を人力した後に、色変換、バック網かけ、ト
リミング、マスキングに対応したファンクションキー6
28〜62hを選択し、最後に終了キー62皿 を選択
する。これにより、CPU5からグラフィックデイスプ
レィコントローラ21に制御指示が与えられ、グラフィ
ックデイスプレィコントローラ21により指定領域外が
塗り潰される。
Next, the area filling process when the arbitrary key 62c is selected will be explained with reference to the flowchart of FIG. The point that the memory 9 is cleared first is the same as in the case of a rectangle. The digitizer 6 is in a mode where it continuously sends the position when the pen is down to the CPU 5.
The PU 5 writes the boundary line into the memory 9 according to the flow shown in FIG. That is, a straight line is continuously drawn until a start point designated by the pen 61 is received and the pen is raised from this point. In this way, after manually editing the specified area, the function keys 6 corresponding to color conversion, back shading, trimming, and masking are added.
Select 28 to 62h, and finally select the end key 62 dishes. As a result, a control instruction is given from the CPU 5 to the graphic display controller 21, and the area outside the specified area is filled by the graphic display controller 21.

以上のようにして、ディジタル複写機に対して、任意領
域を色変換、バック網かけ、トリミング或いはマスキン
グを行う機能を付加することができる。
In the manner described above, functions for performing color conversion, back shading, trimming, or masking on arbitrary areas can be added to the digital copying machine.

上述の実施例においては、指定領域書き込み手段として
先に述べた集積回路μPD7220等の専用実積回路を
使゛用したが、これに特定されるものではなく、CPU
5として高性能なものを使用することによりCPU5を
指定領域書き込み手段として機能させることもできる。
In the above-described embodiment, a dedicated actual circuit such as the previously mentioned integrated circuit μPD7220 was used as the specified area writing means, but the CPU is not limited to this.
By using a high-performance one as the CPU 5, the CPU 5 can also function as a designated area writing means.

また、上述の実施例においては、ディジタル複写機を例
に挙げて説明したが、本発明をアナログの複写機に用い
る場合は、画信号加工回路8.データ加工用ROM24
等の画像データ加工手段の代わりに、感光体ドラム表面
上の電荷を選択的に除去するLEDアレイ等の手段を用
いることによって、本実施例と同様な処理を行うことが
できる。
In addition, although the above embodiment has been explained using a digital copying machine as an example, when the present invention is applied to an analog copying machine, the image signal processing circuit 8. ROM24 for data processing
The same processing as in this embodiment can be performed by using means such as an LED array that selectively removes charges on the surface of the photoreceptor drum instead of the image data processing means such as the above.

また、上述の実施例においては、メモリ9を塗り潰した
状態で領域を記憶しているが、・境界線情報のみをメモ
リ9内に記憶する場合には、第3図に示されるメモリ9
とデータ加工用ROM24の間に、メモリ9の読み出し
時に境界線の内外をリアルタイムで判定する手段が必要
となる。この領域判定手段の例を第6図に示す。
In addition, in the above-described embodiment, the area is stored in the memory 9 in a filled state, but if only boundary line information is stored in the memory 9, the memory 9 shown in FIG.
Between the data processing ROM 24 and the data processing ROM 24, a means for determining in real time whether the boundary line is inside or outside is required when reading the memory 9. An example of this area determination means is shown in FIG.

図において、41は読み取った原稿の1ライン分のステ
ータスを記憶するためのラインメモリである。なお、こ
こでステータスとは、画素或いはブロックの属性を示す
もので、たとえば、第7図に示されるように原稿A上に
閉ループLが形成されている場合、以下のように定義さ
れる。
In the figure, 41 is a line memory for storing the status of one line of the read document. Note that the status here indicates the attribute of a pixel or block, and for example, when a closed loop L is formed on the document A as shown in FIG. 7, it is defined as follows.

領域内   rlJ 領域外   「0」 閉ループ上 rMJ 不定    rXJ また、本実施例の場合、ラインメモリ41は、各ブロッ
クのステータスの履歴、すなわち、現在示しているステ
ータスの前にどのステータスであったかをも起上〇して
いるものとする。
Inside the area rlJ Outside the area "0" On the closed loop rMJ Indeterminate rXJ In addition, in the case of this embodiment, the line memory 41 also stores the history of the status of each block, that is, which status was before the currently displayed status. It is assumed that the above is ○.

ラインメモリ41中のステータス情報はアドレスカウン
タ42に同期して読み出され、D型フリップフロップ(
図中D−FFで示す)43にラッチされた後、ステータ
ス演算部44に供給される。
The status information in the line memory 41 is read out in synchronization with the address counter 42, and is read out from the D-type flip-flop (
After being latched by the FF (indicated by D-FF in the figure) 43, it is supplied to the status calculation section 44.

ステータス演算aB44は、D型フリップフロップ43
にラッチされた前ラインのステータス及びそれ自身の出
力をD型フリップフロップ45でラッチしたもの、すな
わち、前ブロックのステータス及び境界線情報が記憶さ
れたメモリ9からのマーク情報S、lによって注目画素
のステータスおよびその履歴を演算して求めるものであ
る。
Status calculation aB44 is a D-type flip-flop 43
The status of the previous line latched in the previous line and its own output are latched by the D-type flip-flop 45, that is, the status of the previous block and the mark information S, l from the memory 9 in which the boundary line information is stored are used to determine the pixel of interest. It is calculated by calculating the status and its history.

ステータス演算部44の出力は、D型フリップフロップ
45及びバッ′ファ46を介してラインメモリ41のス
テータスを順次書き換える構成となっている。
The output of the status calculation unit 44 is configured to sequentially rewrite the status of the line memory 41 via a D-type flip-flop 45 and a buffer 46.

また、アドレスカウンタ42は、アドレスを1回走査す
る毎に、そのカウントモードをアップモードとダウンモ
ードに切り換えて、1ライン分のステータスを決定する
に際して、必ずアドレスを1往復させるようにする。
Further, the address counter 42 switches its counting mode between an up mode and a down mode every time an address is scanned once, so that the address always makes one round trip when determining the status of one line.

アドレスカウンタ42がアップモードかダウンモードか
によって切り替わるアルゴリズム指定情報汎は、ステー
タス演算部44に入力され、同ステータス演算部44に
おけるステータス演算アルゴリズムを選択するようにな
っている。これは、アドレス走査の往時と復時では後述
するように演算アルゴリズムが異なっているからである
Algorithm designation information, which is switched depending on whether the address counter 42 is in the up mode or the down mode, is input to the status calculation unit 44, and the status calculation algorithm in the status calculation unit 44 is selected. This is because the arithmetic algorithms are different between forward and backward address scanning, as will be described later.

なお、上述のステータス演算部44は、たとえば、前ラ
インのステータス情報、前ブロックのステータス情報、
マーク情報Sx及びアルゴリズム指定情報汎をアドレス
とし、ステータスをデータとしたROMにより実現する
ことができる。
Note that the above-mentioned status calculation unit 44 calculates, for example, the status information of the previous line, the status information of the previous block,
This can be realized by a ROM that uses mark information Sx and algorithm specification information as addresses and status as data.

また、アドレスカウンタ42がダウンモードの場合、D
型フリップフロップ43にラッチされるステータスは演
算途中のものであるので、アドレスカウンタ42がアッ
プモードの時の一連のステータスをステータス保持部4
7に記憶させておき、これを復時に使用する必要がある
Furthermore, when the address counter 42 is in the down mode, D
Since the status latched in the type flip-flop 43 is in the middle of calculation, the status holding unit 4 stores a series of statuses when the address counter 42 is in the up mode.
7 and use it when returning.

第8図及び第9図はステータス演算部44における往時
及び復時の演算アルゴリズムの例を示す。
8 and 9 show examples of forward and backward calculation algorithms in the status calculation section 44.

往時は、前ラインの復時のステータス或いは現在のライ
ンにおけるステータスを参照する。
For the past time, the status of the previous line at the time of return or the status of the current line is referred to.

先ず、第8図(a)のように注目画素が閉ループ上、す
なわち、ステータスがrMJであれば、ステータスをr
MJとする。
First, if the pixel of interest is on a closed loop as shown in FIG. 8(a), that is, the status is rMJ, then the status is r.
Let's call it MJ.

上述以外の場合であって、第8図(ハ)のように1ライ
ン前のステータス又はlブロック前のステータスが「0
」であればステータスを「0」とする。
In cases other than the above, the status one line before or the status one block before is "0" as shown in Figure 8 (c).
”, the status is set to “0”.

上述以外の場合であって、第8図(C)のように1ライ
ン前の゛ステータス又は1ブロツク前のステータスがN
JであればステータスをrNとする。
In cases other than the above, as shown in Fig. 8(C), the status of one line before or the status of one block before is N.
If it is J, the status is set to rN.

上述以外の場合であって、第8図(6)のように1ライ
ン前のステータスがrXJであればステータスをrXJ
とする。
In cases other than the above, if the status one line before is rXJ as shown in Figure 8 (6), change the status to rXJ.
shall be.

上述のいずれでもない場合は、履歴が「0」であればス
テータスをrlJとし、履歴がr N、rMJ或いはr
XJであればステータスをrXJとする。
If none of the above is true, if the history is "0", the status is set to rlJ, and if the history is rN, rMJ or r
If it is XJ, the status is set to rXJ.

また、復時の演算アルゴリズムでは現在のラインにおけ
る往時のステータス或いは前ブロックのステータスを参
照する。
Further, in the return calculation algorithm, the previous status of the current line or the status of the previous block is referred to.

先ず、第9図(a)のように1ライン前のステータスが
rMJであれば、ステータスをrMJとする。
First, if the status one line before is rMJ as shown in FIG. 9(a), the status is set to rMJ.

上述以外の場合であって、第9図(ハ)のように1ライ
ン前のステータス又は1ブロツク前のステータスが「0
」であればステータスを「0」とする。
In cases other than the above, the status one line before or the status one block before is "0" as shown in Figure 9 (c).
”, the status is set to “0”.

上述以外の場合であって、第9図(C)のように1ライ
ン前のステータス又は1ブロツク前のステータスがrl
JであればステータスをrIJとする。
In cases other than the above, the status one line before or the status one block before is rl, as shown in FIG. 9(C).
If it is J, the status is set to rIJ.

上述以外の場合であって、第9図(6)のように1ライ
ン前のステータスがrXJであればステータスをrXJ
とする。
In cases other than the above, if the status one line before is rXJ as shown in Figure 9 (6), change the status to rXJ.
shall be.

上述のいずれでもない場合は、履歴が「0」であればス
テータスをrIJとし、履歴がr N、rMJ或いはr
XJであればステータスをrXJとする。
If none of the above is true, if the history is "0", the status is set to rIJ, and if the history is rN, rMJ or r
If it is XJ, the status is set to rXJ.

これらの演算アルゴリズムを用いて簡単な領域11識を
行った場合のステータスの遷移を第10図に示す。
FIG. 10 shows status transitions when simple area 11 identification is performed using these calculation algorithms.

この図から判るように、領域に応じたステータスが割り
当てられることになる。このようにしてリアルタイムで
領域の内外の判別が可能となる。
As can be seen from this figure, statuses are assigned according to the area. In this way, it becomes possible to determine in real time what is inside and outside the area.

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

以上に述べたように、本発明においては、編集ずべき領
域をビットマツプで記tαするようにしている。したが
って、ディジタイザ等により任意の座標をビット単位で
人力してこれを記憶させることができる。これにより、
任意の形状をm集領域として指定でき、この編集領域に
対して画像処理を行なうことにより使用者の意図通りの
編集が可能となる。
As described above, in the present invention, the area to be edited is marked tα using a bitmap. Therefore, arbitrary coordinates can be manually stored in bits using a digitizer or the like. This results in
Any shape can be specified as the m-collection area, and by performing image processing on this editing area, it becomes possible to edit as intended by the user.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明実施例の画像処理装置の基本的な構成を
示すブロック図、第2図は同画像処理装置により編集さ
れる領域の一例を示す説明図、第3図は同画像処理装置
をより詳細に示すブロック図、第4図はディジタイザを
示す平面図、第5図は領域塗り潰しの手順を示すフロー
チャート、第6図はリアルタイムで領域判別を行う領域
判定部の一例を示すブロック図、第7図は各領域の関係
を示す説明図、第8図及び第9図は領域判定のアルゴリ
ズムを示す説明図、第1O図は領域判定結果を示す説明
図、第11図は従来の画像処理装置の一例を示すブロッ
ク図、第12図は同従来の画像処理装置により指定可能
な領域を示す説明図である。 6:ディジタイザ(領域指定手段) 8:画信号加工回路(画像加工手段) 9:メモリ(記憶手段)11:読み出し手段A:原稿 
      B、C:領域 D:原稿エリア    E:キーエリア特許出願人  
富士ゼロックス 株式会社代 理 人  小 堀  益
 (ほか2名)第1図 第2図 第3図 b2c      bzg  bzn 第 5 @ 笛6図 S&l 第9図 笛10図
FIG. 1 is a block diagram showing the basic configuration of an image processing device according to an embodiment of the present invention, FIG. 2 is an explanatory diagram showing an example of an area edited by the image processing device, and FIG. 3 is a block diagram showing the basic configuration of an image processing device according to an embodiment of the present invention. 4 is a plan view showing the digitizer, FIG. 5 is a flowchart showing the procedure for filling in an area, and FIG. 6 is a block diagram showing an example of an area determination section that performs area determination in real time. Figure 7 is an explanatory diagram showing the relationship between each area, Figures 8 and 9 are explanatory diagrams showing the algorithm for area determination, Figure 1O is an explanatory diagram showing the area determination results, and Figure 11 is an explanatory diagram showing the area determination result. FIG. 12 is a block diagram showing an example of the device, and is an explanatory diagram showing areas that can be specified by the conventional image processing device. 6: Digitizer (area specifying means) 8: Image signal processing circuit (image processing means) 9: Memory (storage means) 11: Reading means A: Original
B, C: Area D: Original area E: Key area Patent applicant
Fuji Xerox Co., Ltd. Representative Masu Kobori (and 2 others) Figure 1 Figure 2 Figure 3 b2c bzg bzn No. 5 @ Whistle Figure 6 S&l Figure 9 Whistle Figure 10

Claims (1)

【特許請求の範囲】 1、編集の対象となる原稿の領域を指定する領域指定手
段と、指定された領域の情報をビットマップで記憶する
記憶手段と、前記原稿の画像の読み取り或いは記録に同
期して前記記憶手段に記憶された前記領域の情報を読み
出す手段と、読み出された前記領域の情報に基づいて前
記原稿の画像に対して予め決められた画像処理を行う画
像加工手段を備えたことを特徴とする画像処理装置。 2、前記領域指定手段により指定された領域の情報に基
づき前記記憶手段に前記領域の境界線を描画する手段と
、該境界線の内或いは外の領域を塗り潰す手段とを備え
たことを特徴とする特許請求の範囲第1項記載の画像処
理装置。 3、前記領域指定手段により指定された領域の情報に基
づき前記記憶手段に前記領域の境界線を描画する手段と
、前記記憶手段からの前記境界線の読み出し時に読み出
し位置が前記境界線の内か外かを判別する手段を備えた
ことを特徴とする特許請求の範囲第1項記載の画像処理
装置。
[Scope of Claims] 1. Area specifying means for specifying an area of a document to be edited, storage means for storing information on the specified area in a bitmap, and synchronization with reading or recording of an image of the document. and an image processing means for performing predetermined image processing on the image of the document based on the read information of the area. An image processing device characterized by: 2. It is characterized by comprising means for drawing a boundary line of the area in the storage means based on the information of the area specified by the area specifying means, and means for filling in the area inside or outside the boundary line. An image processing apparatus according to claim 1. 3. means for drawing a boundary line of the area in the storage means based on the information of the area designated by the area designation means; and whether the read position is within the boundary line when reading the boundary line from the storage means; The image processing apparatus according to claim 1, further comprising means for determining whether the image is outside or not.
JP62310337A 1987-12-07 1987-12-07 Image processing device Expired - Fee Related JP2687380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62310337A JP2687380B2 (en) 1987-12-07 1987-12-07 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62310337A JP2687380B2 (en) 1987-12-07 1987-12-07 Image processing device

Publications (2)

Publication Number Publication Date
JPH01149682A true JPH01149682A (en) 1989-06-12
JP2687380B2 JP2687380B2 (en) 1997-12-08

Family

ID=18004019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62310337A Expired - Fee Related JP2687380B2 (en) 1987-12-07 1987-12-07 Image processing device

Country Status (1)

Country Link
JP (1) JP2687380B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007143150A (en) * 2006-11-13 2007-06-07 Make Softwear:Kk Apparatus, method and program for vending photograph, and image editing apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57196658A (en) * 1981-05-28 1982-12-02 Canon Inc Picture processing system
JPS62140549A (en) * 1985-12-14 1987-06-24 Canon Inc Image editing processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57196658A (en) * 1981-05-28 1982-12-02 Canon Inc Picture processing system
JPS62140549A (en) * 1985-12-14 1987-06-24 Canon Inc Image editing processor

Also Published As

Publication number Publication date
JP2687380B2 (en) 1997-12-08

Similar Documents

Publication Publication Date Title
KR100263580B1 (en) Device and method for displaying graphic images
JP2890570B2 (en) Editing control method of image processing device
JPH0547853B2 (en)
US5148294A (en) Image processing apparatus and method for painting a memory with plural colors
JPH01149682A (en) Image processor
JPH01168163A (en) Picture processing unit
JPH0698149A (en) Editing instruction display system for image processor
JPH01177272A (en) Picture processor
JPH039657A (en) Image read processing device
JPS6329288B2 (en)
JP3441089B2 (en) Image processing device
JPS6146671A (en) Area designation system
JP2559710B2 (en) Image processing method
JP2537192B2 (en) Image playback device
JP2841492B2 (en) Image processing method
JP2767810B2 (en) Editing area specification method
JPH11308438A (en) Image processor
JP3129401B2 (en) Read data conversion management device
JP2710635B2 (en) Image reading device
JPS6366676A (en) Picture production system in display device
JPH0575838A (en) Layout copyer (registered trademark)
JPH0451318A (en) Image processor
JP2985303B2 (en) Recording device area recognition method
JP2945028B2 (en) Image processing designated area information calculation device
JP2995779B2 (en) Figure display control method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees