JPH05130373A - Original area designation device - Google Patents

Original area designation device

Info

Publication number
JPH05130373A
JPH05130373A JP31737591A JP31737591A JPH05130373A JP H05130373 A JPH05130373 A JP H05130373A JP 31737591 A JP31737591 A JP 31737591A JP 31737591 A JP31737591 A JP 31737591A JP H05130373 A JPH05130373 A JP H05130373A
Authority
JP
Japan
Prior art keywords
coordinate position
locus
area
data
position information
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
JP31737591A
Other languages
Japanese (ja)
Inventor
Kiyoto Kozaiku
清人 小細工
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP31737591A priority Critical patent/JPH05130373A/en
Publication of JPH05130373A publication Critical patent/JPH05130373A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce an area discrimination processing time by discriminating whether or not a coordinate position corresponding to coordinate position information read by an area discrimination means is in existence in a designated area sectioned by a locus. CONSTITUTION:An original placing port 102 is used to enter a locus of an area and its locus discrimination data is stored in a bit map memory 111. Locus discrimination data A0 for each coordinate and locus discrimination data A1 read just precedingly are read. Moreover, main scanning area data A2 whose value is kept as it is till locus discrimination data representing a succeeding locus are read in the main scanning direction, the preceding line locus discrimination data A3 being locus discrimination data of coordinate position in the same main scanning direction at one preceding line and locus discrimination data representing locus are read. In this case, whether or not a coordinate position corresponding to the data A0 in a discrimination block of an area changeover 112 is within the designated area is discriminated based on the line area data A4 whose value is kept as it is in the coordinate position in the same main scanning direction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、特にデジタル画像処理
装置の特定領域を指定し、該特定領域の画像編集を行う
場合に用いられる原稿領域指定装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a manuscript area designating apparatus used for designating a particular area of a digital image processing apparatus and editing an image of the particular area.

【0002】[0002]

【従来の技術】近年、デジタル複写機において、原稿の
特定領域を編集(例えば、トリミング、マスキング、反
転、ペイント等)する複写機が製品化されている。この
ような複写機における、領域指定方法は2点の指定によ
る矩形領域、またはその矩形の組み合わせにより、ある
いは3点以上の点を順次指定して構成される多角形領域
を指定するものであつた。このような装置では、例えば
4角形を僅か2点の座標で指定することができ、座標デ
ータの格納のためのメモリが少なくて済むという利点が
ある。
2. Description of the Related Art In recent years, in digital copying machines, copying machines for editing (eg, trimming, masking, reversing, painting, etc.) a specific area of an original have been commercialized. The area designation method in such a copying machine is to designate a rectangular area by designating two points or a combination of the rectangles, or a polygonal area configured by sequentially designating three or more points. .. In such an apparatus, for example, a quadrangle can be designated by coordinates of only two points, and there is an advantage that a memory for storing coordinate data is small.

【0003】しかしながら、この反面、かかる装置では
複雑な形状を指定するのが殆ど不可能であつた。
However, on the other hand, it is almost impossible for such a device to specify a complicated shape.

【0004】そこで、特開平1−212072号公報に
は次にその概略を述べる複雑な形状を指定する原稿領域
指定装置が提案されている。即ち、この従来技術では、
押圧による座標位置を検知する原稿載置用ボードと、連
続線を用いて領域を指定する非矩形指定モード設定手段
と、非矩形指定モードが設定された際に押圧による座標
位置を記憶するビツトマツプメモリを有し、非矩形領域
指定動作によつて原稿載置用ボードで押圧された座標位
置を上記ビツトマツプメモリに記憶し、非矩形指定動作
終了時点で上記ビツトマツプメモリから順次記憶データ
を読み出し、連続線が連結か、非連結かをチエツクし、
非連結であればその位置のビツトマツプメモリの記憶デ
ータをクリアする。そして、最終的にビツトマツプメモ
リに記憶された連続線が閉ループを形成していると判断
すれば、領域指定動作を終了し、この閉ループに対して
所定の画像処理を行う。閉ループを形成していないと判
断されれば、再入力を指示する表示を行う。
Therefore, Japanese Patent Laid-Open No. 1-212072 proposes a document area designating apparatus for designating a complicated shape, the outline of which will be described below. That is, in this conventional technique,
A document mounting board for detecting the coordinate position by pressing, a non-rectangular designation mode setting means for designating an area using a continuous line, and a bit map for storing the coordinate position by pressing when the non-rectangular designation mode is set. It has a memory and stores the coordinate position pressed by the original placement board by the non-rectangular area designating operation in the bit map memory, and sequentially reads the stored data from the bit map memory at the end of the non-rectangular designating operation. , Check whether the continuous line is connected or not connected,
If not connected, the stored data in the bit map memory at that position is cleared. Then, when it is finally determined that the continuous line stored in the bit map memory forms a closed loop, the area designating operation is terminated and a predetermined image processing is performed on this closed loop. If it is determined that the closed loop is not formed, a display for instructing re-input is displayed.

【0005】なお、連続線内の注目位置を中心に3×3
のマトリツクスを形成し、その中心以外に指定位置がな
い場合を非連結としている。また、閉ループを形成する
かどうかの判断は、非連結位置以外の指定位置が全て2
以上の指定位置と連結している(注目位置を中心に3×
3のマトリツクスの中心以外に指定位置が2カ所以上あ
る)かどうかによる。
It should be noted that 3 × 3 with the position of interest within the continuous line as the center
The matrix is formed, and the case where there is no designated position other than the center is not connected. In addition, when determining whether or not to form a closed loop, all designated positions other than the unconnected position are 2
It is connected to the above specified position (3 x centering on the position of interest)
There are two or more designated positions other than the center of matrix 3).

【0006】原稿載置用ボードを図2に示す。図2にお
いて、301は原稿受け、302は座標を指定するスタ
イラスペン、303は非矩形モード等の指定をするモー
ドセレクトエリア、304は原稿基準位置マーク、30
5は画像処理装置本体とのインターフエースケーブル、
306は原稿を載置する座標板である。つまり、領域の
指定は原稿載置用ボード102の原稿基準位置マーク3
04に合わせて座標板306に原稿をセツトする。そし
て、モードセレクトエリア303の中から非矩形モード
を選び、エリア指定スタートスイツチを押し、スタイラ
スペン302で領域を指定する。原稿載置用ボード10
2内には、X,Y方向に碁盤目状に抵抗体が配列されて
おり、スタイラスペン302で座標板306の一部が押
されると、検知装置が抵抗体間の電圧を検出して、検出
データを座標位置データとして画像処理装置本体へ送信
する。領域の指定が終了すると、モードセレクトエリア
303中のエリア指定終了スイツチを押す。
A document mounting board is shown in FIG. In FIG. 2, 301 is a document receiver, 302 is a stylus pen for designating coordinates, 303 is a mode select area for designating a non-rectangular mode, 304 is a document reference position mark, 30
5 is an interface cable with the main body of the image processing device,
Reference numeral 306 is a coordinate plate on which a document is placed. That is, the area is designated by the document reference position mark 3 on the document mounting board 102.
The document is set on the coordinate plate 306 in accordance with 04. Then, the non-rectangular mode is selected from the mode select area 303, the area designation start switch is pressed, and the area is designated by the stylus pen 302. Document mounting board 10
Resistors are arrayed in a grid pattern in the X and Y directions inside 2. When a part of the coordinate plate 306 is pressed by the stylus pen 302, the detection device detects the voltage between the resistors, The detection data is transmitted to the main body of the image processing apparatus as coordinate position data. When the area designation is completed, the area designation end switch in the mode select area 303 is pressed.

【0007】さて、連続線が閉ループと判断されると、
ビツトマツプメモリから順次データを読み出す。つま
り、原稿を読み取る読み取りユニツトの走査方向に対し
て垂直方向、即ち主走査方向に順次データを読み出し、
1ライン終了すると次のラインに移る(読み取りユニツ
トの走査方向、即ち副走査方向)。各ラインごとにデー
タ1を検出してから次のデータ1を検出するとその間を
データ1で埋める処理を行う。さらに、次にデータ1を
検出してからその次のデータ1を検出すると、同じよう
にその間をデータ1で埋める処理を行う。以下、この処
理を1ラインが終了するまで繰り返す。1ラインが終了
すると次のラインに移り、同じ処理を行う。
Now, when it is judged that the continuous line is a closed loop,
Data is sequentially read from the bit map memory. That is, the data is sequentially read in the direction perpendicular to the scanning direction of the reading unit for reading the original, that is, in the main scanning direction.
When one line is completed, the process moves to the next line (scanning direction of the reading unit, that is, sub-scanning direction). When the data 1 is detected for each line and then the next data 1 is detected, the space between them is filled with the data 1. Further, when the data 1 is detected next and the next data 1 is detected, the process of filling the space between the data 1 is similarly performed. Hereinafter, this process is repeated until one line is completed. When one line is completed, it moves to the next line and the same processing is performed.

【0008】上記処理が終了した後のビツトマツプメモ
リに書き込まれているデータ1の領域が画像編集を行う
指定領域となる。このように従来技術においては、ビツ
トマツプメモリのデータを2回読み出し、書き込みの処
理を行つている。
The area of the data 1 written in the bit map memory after the above processing is the designated area for image editing. As described above, in the conventional technique, the data in the bit map memory is read twice and the writing process is performed.

【0009】以上の手順で領域指定した軌跡の一例を図
3に示す。
FIG. 3 shows an example of the locus in which the area is designated by the above procedure.

【0010】図3で指定した軌跡をビツトマツプメモリ
に書き込んだ状態を図4に示す。
FIG. 4 shows a state in which the locus designated in FIG. 3 is written in the bit map memory.

【0011】図4においてデータが1以外の空白部分は
データ0が予め書き込まれている。
In FIG. 4, data 0 is written in advance in blank portions other than data 1.

【0012】[0012]

【発明が解決しようとする課題】この軌跡データを用い
て軌跡内領域をデータ1で埋める処理を行つた結果の1
例を図21に示す。従来方式では図21に示すごとく所
望の領域外までデータ1で埋めてしまつたり、所望の領
域内にデータ1の埋め残しが生じたりする。さらに、ビ
ツトマツプメモリに書き込まれたデータを読み出して、
軌跡に囲まれた指定領域のデータを書き換えなければな
らず、そのための書き換え処理時間を要していた。
As a result of performing the processing of filling the area in the locus with the data 1 using this locus data,
An example is shown in FIG. In the conventional method, as shown in FIG. 21, data 1 may be filled up outside the desired area, or data 1 may be left unfilled within the desired area. Furthermore, by reading the data written in the Bitmap memory,
The data in the designated area surrounded by the locus has to be rewritten, which requires rewriting processing time.

【0013】本発明はこのような背景に基づいてなされ
たものであり、原稿載置用ボード上でペン等により原稿
をなぞつて閉ループを形成して領域を指定する場合、オ
ペレータに余計な負担を掛けることなく、正確な閉ルー
プを形成して領域指定を簡単に行うことができる原稿領
域指定装置を提供することを目的とする。
The present invention has been made on the basis of such a background, and when an original is traced on a document placing board by a pen or the like to form a closed loop and an area is designated, an extra burden is imposed on the operator. It is an object of the present invention to provide an original document area designating apparatus which can form an accurate closed loop and easily specify an area without being applied.

【0014】[0014]

【課題を解決するための手段】上記目的は、押圧により
原稿の所定個所に対応した座標位置を検知する原稿載置
用ボードと、該原稿載置用ボード上で指定領域の非矩形
境界をなぞつて押圧した軌跡の座標位置情報を記憶する
軌跡情報記憶手段を備えた原稿領域指定装置において、
領域指定モード選択時に、前記軌跡情報記憶手段に記憶
されている前記座標位置情報をラインごとに主走査方向
に順次読み出し、読み出した前記座標位置情報と、直前
に読み出した前記座標位置情報である直前座標位置情報
と、前記軌跡を表す前記座標位置情報を読み出した時、
主走査方向で、次の前記軌跡を表す前記座標位置情報を
読み出すまで、前記軌跡を表す前記座標位置情報がその
まま維持される主走査領域情報と、1ライン分前で、同
じ主走査方向座標位置の前記座標位置情報である前ライ
ン座標位置情報と、前記軌跡を表す前記座標位置情報を
読み出した時、ライン方向で、かつ、同じ主走査方向座
標位置において、次の前記軌跡を表す前記座標位置情報
を読み出すまで、前記軌跡を表す前記座標位置情報がそ
のまま維持されるライン領域情報とに基づいて、読み出
された前記座標位置情報に対応する座標位置が前記軌跡
によつて区画された指定領域内にあるか否かを判別する
領域判別手段を有することにより達成される。
The above-mentioned object is to trace a document mounting board which detects a coordinate position corresponding to a predetermined position of a document by pressing, and a non-rectangular boundary of a designated area on the document mounting board. In a document area specifying device including a locus information storage unit that stores coordinate position information of a locus pressed by
When the area designation mode is selected, the coordinate position information stored in the locus information storage means is sequentially read line by line in the main scanning direction, and the read coordinate position information and the last read coordinate position information. When the coordinate position information and the coordinate position information indicating the locus are read,
In the main scanning direction, the main scanning area information in which the coordinate position information indicating the locus is maintained as it is and the same main scanning direction coordinate position one line before are read out until the coordinate position information indicating the next locus is read. When the front line coordinate position information which is the coordinate position information and the coordinate position information indicating the locus are read, the coordinate position indicating the next locus is in the line direction and at the same main scanning direction coordinate position. Based on the line area information in which the coordinate position information representing the locus is maintained as it is until the information is read, a designated area in which the coordinate position corresponding to the read coordinate position information is divided by the locus. This is achieved by having an area discriminating means for discriminating whether or not it is inside.

【0015】[0015]

【作用】領域指定モード選択時に、原稿載置用ボード上
で指定領域の非矩形境界をなぞつて押圧し、軌跡の座標
位置情報を軌跡情報記憶手段に記憶させた後、軌跡情報
を記憶手段に記憶されている座標位置情報をラインごと
に主走査方向に順次読み出す読み出し動作時に、読み出
した座標位置情報と、直前座標位置情報と、主走査領域
情報と、前ライン座標位置情報と、ライン領域情報とに
基づいて、領域判別手段が読み出された座標位置情報に
対応する座標位置が軌跡によつて区画された指定領域内
にあるか否かを判別する。
When the area designation mode is selected, the non-rectangular boundary of the designated area is traced and pressed on the original placement board to store the coordinate position information of the trajectory in the trajectory information storage means, and then the trajectory information in the storage means. During the read operation of sequentially reading the stored coordinate position information line by line in the main scanning direction, the read coordinate position information, the immediately preceding coordinate position information, the main scanning area information, the previous line coordinate position information, and the line area information. Based on the above, the area discriminating means discriminates whether or not the coordinate position corresponding to the read coordinate position information is in the designated area divided by the locus.

【0016】[0016]

【実施例】図1は本発明の実施例に係るデジタルカラー
複写機の制御ブロツク図である。この装置の全体の制御
は、マイクロコンピユータ等で構成されるシステムコン
トローラ100によつて行われる。タイミング回路10
3は1画素の画像信号を送るための同期信号CLKと、
後述する画像を読み取るラインの先頭を示すライン同期
信号LSYNCを発生する。ライン同期信号LSYNC
は、レーザプリンタ109の多面鏡の走査位置に同期し
て現れる主走査同期信号PLSYNCを基に作られる。
1 is a control block diagram of a digital color copying machine according to an embodiment of the present invention. The entire control of this device is performed by the system controller 100 including a microcomputer. Timing circuit 10
3 is a synchronization signal CLK for transmitting an image signal of 1 pixel,
A line synchronization signal LSYNC indicating the beginning of a line for reading an image described later is generated. Line sync signal LSYNC
Is generated based on the main scanning synchronization signal PLSYNC that appears in synchronization with the scanning position of the polygon mirror of the laser printer 109.

【0017】イメージスキヤナ104は画素分解能が1
6ドツト/mmの光電変換素子(CCD)でR,G,B
各色の画像信号を読み取る。画像を読み取る際は、図2
に示す従来例の原稿載置ボード200と同様のイメージ
スキヤナ104上に原稿を載置し、CCDを図2のX方
向(主走査方向)と垂直なY方向(副走査方向)に機械
的に駆動走査することによりカラー画像を読み込む。イ
メージスキヤナ104ではCCDで読み込んだカラー画
像信号をA/D変換し、シエーデイング補正を行い、各
々8ビツトのカラー画像(画素)情報として出力する。
この画像情報は画像処理ユニツト内で各種処理を受けた
後、レーザプリンタ109に出力される。
The image scanner 104 has a pixel resolution of 1
6 dots / mm photoelectric conversion element (CCD) R, G, B
Read the image signal of each color. When reading the image,
A document is placed on an image scanner 104 similar to the document placing board 200 of the conventional example shown in FIG. 2, and the CCD is mechanically moved in the Y direction (sub scanning direction) perpendicular to the X direction (main scanning direction) in FIG. The color image is read by driving and scanning. The image scanner 104 A / D-converts the color image signal read by the CCD, performs shading correction, and outputs each as 8-bit color image (pixel) information.
This image information is output to the laser printer 109 after undergoing various processes in the image processing unit.

【0018】画像処理ユニツトには、濃度変換部10
5、色補正・UCR(下色除去)部106、フイルタ1
07および編集部108の各ユニツトが備わつている。
濃度変換部105では、R,G,Bのカラー画像情報を
濃度の情報に変換する。色補正・UCR部106では、
図19の式に示すように、R,G,Bの各々の色情報か
らC,M,Yの各色の情報に変換する。
The image processing unit includes a density conversion unit 10.
5, color correction / UCR (under color removal) unit 106, filter 1
07 and each unit of the editing unit 108 are provided.
The density conversion unit 105 converts the R, G, B color image information into density information. In the color correction / UCR unit 106,
As shown in the formula of FIG. 19, the color information of R, G, B is converted into the information of each color of C, M, Y.

【0019】図19の式にパラメータri,gi,b
i,ki(i:1〜3)を適当に設定することにより任
意の色に変換することができる。
The parameters ri, gi, b are added to the equation of FIG.
By appropriately setting i, ki (i: 1 to 3), it is possible to convert to any color.

【0020】そして、図19の式で求めたY,M,C全
ての成分を合成した色に含まれる黒成分を抽出し、それ
をBKとして出力するか、Y,M,Cの各成分からそれ
ぞれBK成分を引いた色情報を出力する。どの色情報を
出力するかは、システムコントローラ100から指示さ
れる。つまり、ここまでパラレルに入力された色画像デ
ータは、ここでY,M,Cの各色ごとの面順次の画像デ
ータに変換される。従つて、フルカラーで印刷する場合
は4回の露光走査が行われる。フイルタ107は各画像
に対してエツジ強調または平滑の処理を行う。編集部1
08では主走査方向の変倍、斜体、ミラー等の処理を行
う。
Then, the black component included in the color obtained by combining all the Y, M, and C components obtained by the equation of FIG. 19 is extracted and output as BK, or from each of the Y, M, and C components. The color information obtained by subtracting the BK component is output. Which color information is output is instructed by the system controller 100. That is, the color image data that has been input in parallel up to this point is converted into frame-sequential image data for each color of Y, M, and C here. Therefore, when printing in full color, four exposure scans are performed. The filter 107 performs edge enhancement or smoothing processing on each image. Editorial department 1
In 08, processing such as scaling in the main scanning direction, italics, and mirroring is performed.

【0021】本発明の要部に係るエリア切替え部112
から、濃度変換部105、色補正・UCR部106およ
びフイルタ107に切り替え信号が入力される。これは
後述するエリア指定により指定した領域の内側と外側で
処理内容を変える場合、各領域の処理を指定した処理に
切り替えるために使われる。つまり、濃度変換部10
5、色補正・UCR部106およびフイルタ107で
は、リアルタイムで処理を切り替えるため、それぞれ並
列に処理する構成になつており、エリア信号で選択され
た方の処理結果を出力する。
Area switching unit 112 according to the main part of the present invention
From this, a switching signal is input to the density conversion unit 105, the color correction / UCR unit 106, and the filter 107. This is used to switch the processing of each area to the specified processing when the processing content is changed inside and outside the area specified by the area specification described later. That is, the density conversion unit 10
5. In the color correction / UCR unit 106 and the filter 107, since the processes are switched in real time, the processes are performed in parallel, and the process result selected by the area signal is output.

【0022】例えば、濃度変換部105では、上記変換
とネガポジ反転の処理を同時に行える。また、色補正・
UCR部106では上記フルカラーモードと任意の色に
変換する処理を同時に行える。さらに、フイルタ107
はエツジ強調と平滑の処理を同時に行える。
For example, the density conversion unit 105 can simultaneously perform the conversion and the negative / positive inversion processing. In addition, color correction
The UCR unit 106 can simultaneously perform the full color mode and the process of converting to an arbitrary color. In addition, the filter 107
Can perform edge enhancement and smoothing processing simultaneously.

【0023】さて、原稿載置用ボード102はA3原稿
の領域を指定でき(図2のX方向が302mm、Y方向
が438mm)、座標分解能が0.5mmとなつてい
る。つまり、8×8画素が領域指定の単位となる。従つ
て、ビツトマツプメモリ111は530キロビツトの領
域が確保できればよいが、アドレス指定をし易くするた
め、1メガビツト(X方向1024、Y方向1024の
フイールド)のメモリを有している。また、メモリ管理
部110はビツトマツプメモリ111に軌跡判定データ
を書き込む場合と読み出す場合の制御を行つている。
The document mounting board 102 can specify the area of the A3 document (302 mm in the X direction and 438 mm in the Y direction in FIG. 2) and has a coordinate resolution of 0.5 mm. That is, 8 × 8 pixels are the unit for specifying the area. Therefore, the bit map memory 111 only needs to secure an area of 530 kilobits, but has a memory of 1 megabit (a field of 1024 in the X direction and 1024 in the Y direction) for easy addressing. In addition, the memory management unit 110 controls the writing and reading of the trajectory determination data in the bit map memory 111.

【0024】なお、操作ボード101からはオペレータ
がコピー枚数の設定、エリア指定した内側の処理を設定
したり、コピースタート等の操作を行つた場合、それら
の操作情報が出力される。
When the operator sets the number of copies, sets an area-specified inner process, or performs an operation such as copy start, the operation board 101 outputs such operation information.

【0025】非矩形モード設定時に原稿載置用ボード1
02から読み込んだ座標データのビツトマツプメモリ1
11への書き込みから、書き込んだ軌跡判定データの
中、非連結座標のデータ除去までの領域指定処理につい
て図6に示すフロチヤートを参照しながら説明する。な
お、本実施例においても領域指定は図3に示す軌跡に従
つて行われたものとする。
Original setting board 1 when the non-rectangular mode is set
Bit map memory 1 of the coordinate data read from 02
The area designation processing from the writing to 11 to the removal of the non-coordinated coordinate data in the written trajectory determination data will be described with reference to the flowchart shown in FIG. In the present embodiment as well, it is assumed that the area designation is performed according to the locus shown in FIG.

【0026】さて、S1(ステツプ1;以下同様)でま
ず原稿載置用ボード102により始点座標(x0
0 )を読み込む。そして、S2でこの座標〔図5の
(x0 ,y 0 )〕に相当するビツトマツプメモリ111
のアドレスに1を書き込む。S3で書き込みが終わる
と、次の座標(x1 ,y1 )を読み込むと共にカウンタ
iをインクリメントする(i=1)。S4でS2と同
様、この座標〔図5の(x1 ,y1 )〕の領域に1を書
き込む。次にS5で座標(x0 ,y0 )の連結をチエツ
クする。連結のチエツクが終了すると、S6で座標入力
の終了をチエツクする。終了していなければ、座標入力
の終了までS3〜S5の処理を繰り返す。従つて、iは
このループを経過するごとにインクリメントされる。そ
の結果、図5に示すようにビツトマツプメモリ111の
アドレスの領域に順次1が書き込まれる。上記領域指定
の軌跡の例では非連結座標格納メモリに格納されている
座標は(x0 ,y0 )と(xn ,yn )の2個だけとな
る。座標入力が終了すると、S7で非連結座標のデータ
除去処理を行う。
Now, at S1 (step 1; the same applies below).
The starting point coordinates (x0
y0) Is read. Then, in S2, the coordinates [of FIG.
(X0, Y 0)] Corresponding to the bit map memory 111
Write 1 to the address. Writing ends in S3
And the next coordinate (x1, Y1) Together with the counter
Increment i (i = 1). Same as S2 in S4
This coordinate [(x in Figure 51, Y1)] Write 1 in the area
Imprint Next, in S5, the coordinates (x0, Y0) Connection
I will When the connection check is completed, enter the coordinates in S6.
Check the end of. Enter coordinates if not finished
The processing of S3 to S5 is repeated until the end of. Therefore, i
It is incremented each time this loop passes. So
As a result, as shown in FIG.
1 is sequentially written in the address area. Specify the above area
In the example of the locus of, it is stored in the unconnected coordinate storage memory.
The coordinates are (x0, Y0) And (xn, Yn) And only two
It When the coordinate input is completed, the data of the non-coordinated coordinate is obtained in S7.
Perform removal processing.

【0027】次に、S8で閉ループが存在するか否かを
チエツクする。閉ループの有無を検出するにはカウンタ
iをチエツクし、i≦0なら閉ループなしと判断する。
この場合、S9でエラー表示をし、領域指定の再入力を
待つ。また、i>0なら閉ループありと判断し、登録完
了となる。
Next, in S8, it is checked whether or not a closed loop exists. To detect the presence / absence of a closed loop, the counter i is checked, and if i ≦ 0, it is determined that there is no closed loop.
In this case, an error message is displayed in S9, and re-input of the area designation is waited for. If i> 0, it is determined that there is a closed loop, and the registration is completed.

【0028】以下、連結チエツク処理について説明す
る。図7は連結をチエツクする座標、つまり注目座標で
ある(xi - 1 ,yi -1 )を中心とする3×3のマ
トリツクスMを示したものである。まず、注目座標以外
の座標(図7の1〜8の座標)に相当する軌跡判定デー
タ8個をビツトマツプメモリ111から読み込む。読み
込みが終了すると、読み込んだ1〜8の座標のデータを
順次チエツクする。その結果、1のデータが1つもない
場合、あるいは1つの場合、または2つで、かつ隣同士
の場合なら非連結とし、その時の注目座標(xi - 1
,yi - 1 )を非連結座標格納メモリに格納する。
The connection check process will be described below. Figure 7 is a coordinate, that is, attention coordinates for a checking the connection - shows the the matrix M of (x i 1, y i -1 ) 3 × 3 centered at. First, eight pieces of locus determination data corresponding to coordinates other than the coordinates of interest (coordinates 1 to 8 in FIG. 7) are read from the bit map memory 111. When the reading is completed, the read data of the coordinates 1 to 8 are sequentially checked. As a result, if there is no 1 data, or if there is 1 data, or if there are 2 data, and they are adjacent to each other, they are not connected, and the coordinate of interest (x i -1
, Y i -1 ) is stored in the uncoordinated coordinate storage memory.

【0029】本明細書で隣同士というのはデータが1の
座標が互いに上下、または左右に隣接している場合を言
う。
In the present specification, “adjacent to each other” means that the coordinates of data 1 are adjacent to each other vertically or horizontally.

【0030】従つて、1回目の読み込みを行つた場合、
注目座標は(x0 ,y0 )、つまり始点であり、図5か
ら抽出した3×3のマトリツクスM(図7)の2の所だ
けが1となる即ち、ビツトマツプメモリ111に1が書
き込まれているのは座標(x0 ,y0 )と(x1
1 )の2点だけである。よつて、上記の連結の定義に
従つて、座標(x0 ,y0 )は非連結となり、この座標
を非連結座標格納メモリに格納する。
Therefore, when the first reading is performed,
The coordinate of interest is (x 0 , y 0 ), that is, the starting point, and only 2 points of the 3 × 3 matrix M (FIG. 7) extracted from FIG. 5 are 1, that is, 1 is written in the bit map memory 111. The coordinates (x 0 , y 0 ) and (x 1 ,
There are only two points, y 1 ). Therefore, according to the above definition of connection, the coordinate (x 0 , y 0 ) becomes unconnected, and this coordinate is stored in the unconnected coordinate storage memory.

【0031】次に、非連結座標のデータ除去処理を説明
する。まず非連結座標格納メモリに格納されている座標
〔この場合(x0 ,y0 )と(xn ,yn )の2点〕の
中、最初に格納された座標(x0 ,y0 )を中心とする
3×3のマトリツクスMの注目座標以外の座標(図7の
1〜8の座標)に対応する軌跡判定データ8個をビツト
マツプメモリ111から読み込む。
Next, the data removal processing of the unconnected coordinates will be described. First, among the coordinates [in this case, two points (x 0 , y 0 ) and (x n , y n )] stored in the unconnected coordinate storage memory, the first stored coordinate (x 0 , y 0 ) Eight locus determination data corresponding to coordinates (coordinates 1 to 8 in FIG. 7) other than the coordinate of interest of the 3 × 3 matrix M centered at are read from the bit map memory 111.

【0032】図8は読み込まれた軌跡判定データをマト
リツクスMに対応して示したものである。注目座標(x
0 ,y0 )はデータが1の他の座標が1個であり非連結
とされているので、この注目座標に相当するビツトマツ
プメモリ111のアドレスの軌跡判定データをクリアす
ると共に、カウンタiをデイクリメントする。
FIG. 8 shows the locus determination data read in association with the matrix M. Coordinates of interest (x
0 , y 0 ) has one other coordinate with data 1 and is not connected, so the trajectory determination data of the address of the bit map memory 111 corresponding to this target coordinate is cleared, and the counter i is reset. Decrement.

【0033】そして次に2回目に読み出した座標
(x1 ,y1 )を中心とする3×3のマトリツクスMの
注目座標以外の座標(図7の1〜8の座標)に相当する
軌跡判定データ8個をビツトマツプメモリ111から読
み込む。
Then, the locus determination corresponding to the coordinates (coordinates 1 to 8 in FIG. 7) other than the target coordinates of the 3 × 3 matrix M centered on the coordinate (x 1 , y 1 ) read out the second time. Eight pieces of data are read from the bit map memory 111.

【0034】図9は読み込んだ結果を示したものであ
る。この場合もマトリツクスMは図8と同形なので非連
結となり、注目座標(x1 ,y1 )に相当するビツトマ
ツプメモリ111のアドレスの軌跡判定データをクリア
する。同様に、次に入力した座標(x2 ,y2 )を中心
とする3×3のマトリツクスの注目座標以外の座標に相
当する軌跡判定データ8個をビツトマツプメモリ111
から読み込む。
FIG. 9 shows the read result. Also in this case, since the matrix M has the same shape as that in FIG. 8, the matrix M is not connected, and the locus determination data of the address of the bit map memory 111 corresponding to the coordinate of interest (x 1 , y 1 ) is cleared. Similarly, eight pieces of locus determination data corresponding to coordinates other than the coordinates of interest of the 3 × 3 matrix centered on the next input coordinates (x 2 , y 2 ) are stored in the bit map memory 111.
Read from.

【0035】図10はその結果を示したものである。こ
れも図9と同じなので上記と同じデータの除去処理を行
う。図11は次の座標(x3 ,y3 )に対応するマトリ
ツクスの読み出した結果を示したものである。この場合
はデータが1の座標は2個あるが、それらは隣接してい
るので、非連結と判定され、注目座標(x3 ,y3 )に
相当するビツトマツプメモリ111のアドレスの軌跡判
定データがクリアされる。そして、次の座標(x4 ,y
4 )のマトリツクスMではデータが1の座標が複数個あ
るので、図7に示してある番号の小さい方の座標からチ
エツクする。
FIG. 10 shows the result. Since this is also the same as in FIG. 9, the same data removal processing as above is performed. FIG. 11 shows the result of reading out the matrix corresponding to the next coordinate (x 3 , y 3 ). In this case, there are two coordinates having data 1, but since they are adjacent, it is determined that they are not connected, and the trajectory determination data of the address of the bit map memory 111 corresponding to the coordinate of interest (x 3 , y 3 ). Is cleared. Then, the next coordinate (x 4 , y
In the matrix M of 4 ), since there are a plurality of coordinates of which the data is 1, check from the coordinate with the smaller number shown in FIG.

【0036】図12は座標(x4 ,y4 )を中心とする
マトリツクスMを示したものである。図12から分かる
ように注目座標(x4,y4 )はデータが1の座標が3
個あるので連結と判断する。
FIG. 12 shows a matrix M centered on the coordinates (x 4 , y 4 ). As can be seen from FIG. 12, the coordinate of interest (x 4 , y 4 ) has a coordinate of 1 for data and a coordinate of 3 for data of 1.
Since there are individual items, it is determined that they are connected.

【0037】次にx座標が大きい方の座標(x3 + 1
3- 1 )についてチエツクする。図13は注目座標
(x3 + 1 ,y3 - 1 )を中心とするマトリツクスMを
示したものである。この場合もデータが1の座標が3個
あるので連結と判断する。
Next, the coordinate with the larger x coordinate (x 3 + 1 ,
y 3- 1) to a checking for. FIG. 13 shows a matrix M centered on the coordinate of interest (x 3 +1 , y 3 -1 ). Also in this case, since there are three coordinates of which the data is 1, it is determined to be connected.

【0038】この時点で座標(x0 ,y0 )近傍の非連
結座標はなくなつているので、座標(x0 ,y0 )につ
いての非連結座標のデーダ除去処理を終わる。上記デー
タ除去処理を非連結座標格納メモリに格納されている座
標全てについて行う。
[0038] Since the point at coordinates (x 0, y 0) is ceased unconsolidated coordinates of neighboring ends of Deda removal process of unconsolidated coordinates for the coordinate (x 0, y 0). The data removal process is performed for all the coordinates stored in the non-coordinated coordinate storage memory.

【0039】図14は非連結座標のデータ除去処理が施
されたビツトマツプメモリ111の軌跡判定データの格
納状態を示したものである。
FIG. 14 shows the storage state of the trajectory determination data in the bit map memory 111 which has been subjected to the data removal processing of the non-coordinated coordinates.

【0040】次に、ビツトマツプメモリ111に記録し
た軌跡判定データを読み出し、軌跡内の指定領域の軌跡
判定データをハイデータに切り替えるエリア切り替え処
理について説明する。
Next, an area switching process for reading out the locus determination data recorded in the bit map memory 111 and switching the locus determination data of the designated area in the locus to high data will be described.

【0041】図15および図16はそれぞれメモリ管理
部110およびエリア切替え部112の詳細回路ブロツ
クである。
FIG. 15 and FIG. 16 are detailed circuit blocks of the memory management unit 110 and the area switching unit 112, respectively.

【0042】ビツトマツプメモリ111は1ビツトワー
ド構成で、1メガビツト分のメモリ容量を持つ。このビ
ツトマツプメモリ111はフレーム同期信号SEL1/
SEL2=0/0の時、アドレスバスおよび、データバ
スを介してシステムコントローラ100のCPUと接続
される。この状態でビツトマツプメモリ111に対して
システムコントローラ100はデータの書き込み、読み
出しができる。領域指定モード以外の時はビツトマツプ
メモリ111の内容は全て消去されている。
The bit map memory 111 has a one bit word structure and has a memory capacity of one mega bit. The bit map memory 111 stores the frame synchronization signal SEL1 /
When SEL2 = 0/0, it is connected to the CPU of the system controller 100 via the address bus and the data bus. In this state, the system controller 100 can write / read data to / from the bit map memory 111. In the modes other than the area designation mode, the contents of the bit map memory 111 are all erased.

【0043】エリア切り替え信号を生成するには、まず
モード選択信号SEL3=0にして、領域内のデータ加
工処理の内容に対応した加工データをレジスタ200に
書き込み、書き込みが終わるとモード選択信号SEL3
=1にして加工データを保持する。保持した加工データ
は出力端子A,B,Cから出力される。例えば、フイル
タ107を切り替えたければ、3ビツトデータ〔10
0〕B(Binary:2進数)を書き込む。すると、
出力端子からはA/B/C=0/0/1が出力されるの
で、フイルタ107を切り替えるためのセレクタ210
のA入力端子だけにデータ1が入力され、このセレクタ
210の出力だけ1にすることが可能となる(セレクト
信号A/Bが1の時、ハイデータ1が出力される)。そ
れぞれの切り替え信号CH1,CH2,CH3が0で、
通常モードまたは領域指定モード選択時は指定領域の外
側の処理モードが選択され、切り替え信号CH1,CH
2,CH3のいずれかが1の時、指定領域の内側の処理
モードが選択される。
In order to generate the area switching signal, first, the mode selection signal SEL3 = 0 is set, the processing data corresponding to the contents of the data processing processing in the area is written in the register 200, and when the writing is completed, the mode selection signal SEL3.
= 1 and hold the processed data. The held processing data is output from the output terminals A, B and C. For example, if it is desired to switch the filter 107, 3 bit data [10
0] B (Binary: binary number) is written. Then,
Since A / B / C = 0/0/1 is output from the output terminal, the selector 210 for switching the filter 107
The data 1 is input only to the A input terminal of the above, and only the output of the selector 210 can be set to 1 (when the select signal A / B is 1, high data 1 is output). Each switching signal CH1, CH2, CH3 is 0,
When the normal mode or the area designation mode is selected, the processing mode outside the designated area is selected, and the switching signals CH1, CH
When either 2 or CH3 is 1, the processing mode inside the designated area is selected.

【0044】次に、コピーが開始されるのを待つて、コ
ピーがスタートすると、原稿の先端の読み取りタイミン
グで、ライン同期信号LSYNCに同期してSEL1/
SEL2=1/1となる。これに伴つてビツトマツプメ
モリ111のアドレスの接続がCPUからX/Yアドレ
スカウンタ201に切り替わる。Yアドレスカウンタに
はライン同期信号LSYNCが入力され、Xアドレスカ
ウンタにはクロツク信号CLKを1/8分周した分周ク
ロツク信号CLK8が入力されている。Yアドレス、X
アドレスそれぞれがビツトマツプメモリ111の上位ア
ドレス、下位アドレスとなる。また、Yアドレスカウン
タはフレーム同期信号SEL1=0、Xアドレスカウン
タはライン同期信号LSYNC=0ごとにリセツトされ
る。従つて、Yアドレスが副走査アドレス、Xアドレス
が主走査アドレスとなる。スキヤナが読み取る原稿の先
端の読み取りに同期してビツトマツプメモリ111から
順番に領域指示データがエリア切り替え部112に出力
される。
Next, waiting for the start of copying, when copying is started, SEL1 / synchronous with the line synchronizing signal LSYNC at the timing of reading the leading edge of the document.
SEL2 = 1/1. Along with this, the connection of the address of the bit map memory 111 is switched from the CPU to the X / Y address counter 201. A line sync signal LSYNC is input to the Y address counter, and a divided clock signal CLK8 obtained by dividing the clock signal CLK by 1/8 is input to the X address counter. Y address, X
Each of the addresses becomes the upper address and the lower address of the bit map memory 111. The Y address counter is reset every frame synchronization signal SEL1 = 0, and the X address counter is reset every line synchronization signal LSYNC = 0. Therefore, the Y address becomes the sub-scanning address and the X address becomes the main scanning address. In synchronization with the reading of the leading edge of the document read by the scanner, the area map data is sequentially output from the bit map memory 111 to the area switching unit 112.

【0045】なお、領域指定モードでない場合は、領域
指定モード信号SEL4=0にしてエリア切り替え部1
12の出力信号CH1,CH2,CH3を全て0にす
る。
When the area designation mode is not set, the area designation mode signal SEL4 = 0 is set and the area switching unit 1
All 12 output signals CH1, CH2, and CH3 are set to 0.

【0046】判別ブロツク202に入力される軌跡判定
データA1,A2,A3,A4は、それぞれビツトマツ
プメモリ111から読み出された軌跡判定データA0の
アドレスを(xi ,yi )とすると、以下のようにな
る。
The locus determination data A1, A2, A3, A4 input to the discrimination block 202 are as follows, where the address of the locus determination data A0 read from the bit map memory 111 is (x i , y i ). become that way.

【0047】A1:(xi ,yi - 1 )の軌跡判定デー
タ、つまり1ライン前の同じ主走査位置(xi )の軌跡
判定データ A2:1ライン前の同じ主走査位置(xi )の1のデー
タが現れる直前の判別データJ1 A3:(xi - 1 ,yi )の軌跡判定データ、つまり同
じラインの1つ前の座標の軌跡判定データ A4:同じライン(yi )の1のデータが現れる直前の
判別データJ1 ラインメモリ203,204は分周クロツク信号CLK
8に同期して1ビツトずつ軌跡判定データが書き込ま
れ、書き込んだ順番に1ビツトずつ出力される。また、
内蔵された入出力アドレスカウンタのクリア端子CLR
にライン同期信号LSYNCが入力されているので、1
ラインごとにアドレスカウンタがリセツトされる。即
ち、入力データに対して出力データのタイミングが1ラ
イン分遅れることになる。例えば、ラインメモリ203
の場合、(xi ,yi )のデータが書き込まれるのと同
時に(xi ,yi - 1)のデータが読み出される。従つ
て、入力端子1には1ライン前の同じ主走査位置の軌跡
判定データが入力される。
A1: (x i , y i -1 ) trajectory determination data, that is, trajectory determination data of the same main scanning position (x i ) one line before A2: The same main scanning position (x i ) one line before Of the determination data J1 A3: (x i -1 , y i ) immediately before the appearance of the data 1 of 1, i.e., the determination of the trajectory of the coordinate immediately before the same line A4: 1 of the same line (y i ). The J1 line memories 203 and 204 immediately before the appearance of the data of
The trajectory determination data is written bit by bit in synchronism with 8, and is output bit by bit in the written order. Also,
Clear terminal CLR of built-in I / O address counter
Since the line synchronization signal LSYNC is input to
The address counter is reset for each line. That is, the timing of the output data is delayed by one line with respect to the input data. For example, the line memory 203
In the case of, the data of (x i , y i ) is written and the data of (x i , y i -1 ) is read at the same time. Therefore, the locus determination data of the same main scanning position one line before is input to the input terminal 1.

【0048】入力端子2には軌跡判定データA0が0な
ら判別データJ1、1ならラインメモリ204の出力デ
ータがラインメモリ204に帰還され、そのラインメモ
リ204の出力データが入力端子2に入力される。つま
り、ラインメモリ204は軌跡判定データA0が0の場
合だけ書き換えられる。従つて、入力端子2には1ライ
ン前の同じ主走査位置の1のデータが現れる直前の判別
データJ1が入力されることになる。
If the locus judgment data A0 is 0, the judgment data J1 is input to the input terminal 2, the output data of the line memory 204 is fed back to the line memory 204, and the output data of the line memory 204 is input to the input terminal 2. .. That is, the line memory 204 is rewritten only when the locus determination data A0 is 0. Therefore, the discrimination data J1 immediately before the data 1 of the same main scanning position one line before appears at the input terminal 2.

【0049】入力端子3の入力側に分周クロツク信号C
LK8に同期したラツチ回路205が入つているので、
同じラインの1つ前の座標の軌跡判定データが入力され
る。入力端子4の入力側には軌跡判定データA0が1に
変わるのに同期したラツチ回路206が入つているの
で、軌跡判定データA0が1に変わる直前の判別データ
J1が入力される。
The divided clock signal C is applied to the input side of the input terminal 3.
Since the latch circuit 205 synchronized with LK8 is included,
The locus determination data of the coordinate immediately before the same line is input. Since the latch circuit 206 synchronized with the change of the locus determination data A0 to 1 is provided on the input side of the input terminal 4, the judgment data J1 immediately before the change of the locus determination data A0 to 1 is input.

【0050】図20は判別ブロツク202の入出力デー
タの対応関係を示したものであり、図17は判別ブロツ
ク202の詳細回路を示したものである。
FIG. 20 shows a correspondence relationship between input / output data of the discrimination block 202, and FIG. 17 shows a detailed circuit of the discrimination block 202.

【0051】判別ブロツク202は7個のコンパレータ
を有しており、それぞれの入力端子Aには入力端子1,
2,3,4の入力データが、入力端子Bにはそれぞれの
コンパレータの出力データが1となる、図20に示す
5,6,7,9,10,13番目の4ビツトデータがそ
れぞれ入力されている。それぞれのコンパレータの出力
データはA=Bとなつた時に1が出力され、さらに、そ
れらの出力データの全ての論理和をとり出力端子Qから
出力される。
The discrimination block 202 has seven comparators, and each input terminal A has an input terminal 1,
The input data of 2, 3, and 4 are input to the input terminal B, and the output data of each comparator is 1, and the 5th, 6th, 7th, 9th, 10th, and 13th 4-bit data shown in FIG. ing. The output data of each comparator is 1 when A = B, and further the logical sum of all the output data is taken and output from the output terminal Q.

【0052】判別データJ1は、軌跡判定データA0が
1なら1で、0なら判別ブロツク202による判別結果
のデータとなる。エリア切替え部112から出力される
切り替え信号CH1,CH2,CH3は、アンド回路2
07の出力データJ2により、つまり判別データJ1が
1ならレジスタ200に保持された加工データ、0なら
全て0のデータが出力される。
The discriminating data J1 is 1 if the locus discriminating data A0 is 1, and is data of the discriminating result by the discriminating block 202 if it is 0. Switching signals CH1, CH2, and CH3 output from the area switching unit 112 are AND circuits 2
According to the output data J2 of 07, that is, if the determination data J1 is 1, the processed data held in the register 200 is output, and if the determination data J1 is 0, the data of all 0 is output.

【0053】図18は図14に示す指定領域境界を表す
軌跡データにエリア切替え部112でエリア切り替え処
理を施した状態を示したものである。図16に示すごと
くビツトマツプメモリ111に書き込まれた閉ループの
内側が全てデータ1に変換されており、閉ループ内が指
定領域となる。
FIG. 18 shows a state in which the area switching unit 112 has performed area switching processing on the locus data representing the specified area boundaries shown in FIG. As shown in FIG. 16, the inside of the closed loop written in the bit map memory 111 is all converted to data 1, and the inside of the closed loop becomes the designated area.

【0054】[0054]

【発明の効果】以上説明したように本発明によれば、読
み出し動作時に、読み出した座標位置情報と、直前座標
位置情報と、主走査領域情報と、前ライン座標位置情報
と、ライン領域情報とに基づいて、領域判別手段によ
り、読み出された座標位置情報に対応する座標位置が軌
跡によつて区画された指定領域内にあるか否かを判別す
るようにしたので、軌跡情報記憶手段に記憶されている
座標位置情報を書き換えることなく、読み出した座標位
置が指定領域内にあるか否かを判別できるから、軌跡情
報記憶手段との座標位置情報の授受に要する時間が省か
れ、領域判別処理時間を短縮させることができる。
As described above, according to the present invention, the read coordinate position information, the immediately preceding coordinate position information, the main scanning area information, the previous line coordinate position information, and the line area information are read during the reading operation. On the basis of the above, the area discriminating means discriminates whether or not the coordinate position corresponding to the read coordinate position information is within the designated area divided by the trajectory. Since it is possible to determine whether or not the read coordinate position is within the designated area without rewriting the stored coordinate position information, the time required for exchanging the coordinate position information with the trajectory information storage means is saved, and the area determination is performed. The processing time can be shortened.

【0055】請求項2記載の発明によれば、領域判別手
段が最初の座標位置の座標位置情報を判別する時、直前
座標位置情報を指定領域外を表す座標位置情報としたの
で、領域判別手段が判別不能になるのを防止できる。
According to the second aspect of the invention, when the area discriminating means discriminates the coordinate position information of the first coordinate position, the immediately preceding coordinate position information is used as the coordinate position information representing the outside of the designated area. Can be prevented from becoming indistinguishable.

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

【図1】本発明の実施例に係るデジタル複写機の制御ブ
ロツク図である。
FIG. 1 is a control block diagram of a digital copying machine according to an embodiment of the present invention.

【図2】原稿載置用ボードの斜視図である。FIG. 2 is a perspective view of a document placing board.

【図3】領域指定した軌跡の例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of a locus in which an area is designated.

【図4】図3に示す指定領域の軌跡判定データを従来方
式によりビツトマツプメモリに書き込んだ状態を示す説
明図である。
FIG. 4 is an explanatory diagram showing a state in which the locus determination data of the designated area shown in FIG. 3 is written in a bit map memory by a conventional method.

【図5】ビツトマツプメモリに格納された軌跡判定デー
タの座標を示す説明図である。
FIG. 5 is an explanatory diagram showing coordinates of trajectory determination data stored in a bit map memory.

【図6】本発明の実施例による領域指定処理のフローチ
ヤートである。
FIG. 6 is a flow chart of area designation processing according to an embodiment of the present invention.

【図7】注目座標とその周囲の座標で構成されるマトリ
ツクスを示す説明図である。
FIG. 7 is an explanatory diagram showing a matrix composed of a target coordinate and its surrounding coordinates.

【図8】始点座標を中心とするマトリツクスを示す説明
図である。
FIG. 8 is an explanatory diagram showing a matrix whose center is a start point coordinate.

【図9】2回目に読み出した座標を中心とするマトリツ
クスを示す説明図である。
FIG. 9 is an explanatory diagram showing a matrix centered on the coordinates read out for the second time.

【図10】3回目に読み出した座標を中心とするマトリ
ツクスを示す説明図である。
FIG. 10 is an explanatory diagram showing a matrix centered on the coordinates read out for the third time.

【図11】4回目に読み出した座標を中心とするマトリ
ツクスを示す説明図である。
FIG. 11 is an explanatory diagram showing a matrix centered on the coordinates read out for the fourth time.

【図12】5回目に読み出した座標を中心とするマトリ
ツクスを示す説明図である。
FIG. 12 is an explanatory diagram showing a matrix centered on the coordinates read out for the fifth time.

【図13】5回目に読み出した座標の右隣の座標を中心
とするマトリツクスを示す説明図である。
FIG. 13 is an explanatory diagram showing a matrix centered on the coordinate to the right of the coordinate read out for the fifth time.

【図14】非連結座標のデータ除去処理が施された軌跡
判定データの格納状態を示す説明図である。
FIG. 14 is an explanatory diagram showing a storage state of trajectory determination data subjected to data removal processing of unconnected coordinates.

【図15】メモリ管理部の詳細回路図である。FIG. 15 is a detailed circuit diagram of a memory management unit.

【図16】エリア切替え部の詳細回路図である。FIG. 16 is a detailed circuit diagram of an area switching unit.

【図17】判別ブロツクの詳細回路図である。FIG. 17 is a detailed circuit diagram of a discrimination block.

【図18】軌跡データにエリア切り替え処理が施された
軌跡判定データの格納状態を示す説明図である。
FIG. 18 is an explanatory diagram showing a storage state of trajectory determination data obtained by performing area switching processing on trajectory data.

【図19】色変換式を表す図である。FIG. 19 is a diagram illustrating a color conversion formula.

【図20】判別ブロツクの入出力データの関係を示す図
表である。
FIG. 20 is a chart showing the relationship between input and output data of a discrimination block.

【図21】軌跡内の指定領域のデータ変換処理が施され
たビツトマツプメモリの状態を示す説明図である。
FIG. 21 is an explanatory diagram showing a state of a bit map memory in which data conversion processing of a designated area in a locus is performed.

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

100 システムコントローラ 101 操作ボード 102 原稿載置ボード 103 タイミング回路 104 イメージスキヤナ 105 濃度変換部 106 色補正・UCR部 107 フイルタ 108 編集部 109 レーザプリンタ 110 メモリ管理部 111 ビツトマツプメモリ 112 エリア切り替え部 202 判別ブロツク 100 System Controller 101 Operation Board 102 Document Placement Board 103 Timing Circuit 104 Image Scanner 105 Density Converter 106 Color Correction / UCR 107 107 Filter 108 Editing Unit 109 Laser Printer 110 Memory Management Unit 111 Bitmap Memory 112 Area Switching Unit 202 Discrimination Block

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 押圧により原稿の所定個所に対応した座
標位置を検知する原稿載置用ボードと、該原稿載置用ボ
ード上で指定領域の非矩形境界をなぞつて押圧した軌跡
の座標位置情報を記憶する軌跡情報記憶手段を備えた原
稿領域指定装置において、領域指定モード選択時に、前
記軌跡情報記憶手段に記憶されている前記座標位置情報
をラインごとに主走査方向に順次読み出し、読み出した
前記座標位置情報と、直前に読み出した前記座標位置情
報である直前座標位置情報と、前記軌跡を表す前記座標
位置情報を読み出した時、主走査方向で、次の前記軌跡
を表す前記座標位置情報を読み出すまで、前記軌跡を表
す前記座標位置情報がそのまま維持される主走査領域情
報と、1ライン分前で、同じ主走査方向座標位置の前記
座標位置情報である前ライン座標位置情報と、前記軌跡
を表す前記座標位置情報を読み出した時、ライン方向
で、かつ、同じ主走査方向座標位置において、次の前記
軌跡を表す前記座標位置情報を読み出すまで、前記軌跡
を表す前記座標位置情報がそのまま維持されるライン領
域情報とに基づいて、読み出された前記座標位置情報に
対応する座標位置が前記軌跡によつて区画された指定領
域内にあるか否かを判別する領域判別手段を有すること
を特徴とする原稿領域指定装置。
1. A document mounting board for detecting a coordinate position corresponding to a predetermined position of a document by pressing, and coordinate position information of a trajectory traced by tracing a non-rectangular boundary of a designated area on the document mounting board. In a document area designating apparatus having a locus information storing means for storing the locus information, the coordinate position information stored in the locus information storing means is sequentially read line by line in the main scanning direction when the area designating mode is selected. When the coordinate position information, the immediately preceding coordinate position information that is the previously read coordinate position information, and the coordinate position information that represents the locus are read, the coordinate position information that represents the next locus in the main scanning direction is displayed. The main scanning area information in which the coordinate position information indicating the locus is maintained as it is until the reading is performed, and the coordinate position information of the same main scanning direction coordinate position one line before. When the previous line coordinate position information and the coordinate position information indicating the locus are read, the locus is read in the line direction and at the same main scanning direction coordinate position until the coordinate position information indicating the next locus is read. Whether the coordinate position corresponding to the read coordinate position information is within the designated region divided by the trajectory based on the line region information in which the coordinate position information indicating A manuscript area designating apparatus having area discrimination means for discriminating.
【請求項2】 請求項1の記載において、領域判別手段
が最初の座標位置の座標位置情報を判別する時、直前座
標位置情報は指定領域外を表す座標位置情報であること
を特徴とする原稿領域指定装置。
2. The original document according to claim 1, wherein when the area discriminating means discriminates the coordinate position information of the first coordinate position, the immediately preceding coordinate position information is the coordinate position information indicating the outside of the designated area. Area designation device.
JP31737591A 1991-11-06 1991-11-06 Original area designation device Pending JPH05130373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31737591A JPH05130373A (en) 1991-11-06 1991-11-06 Original area designation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31737591A JPH05130373A (en) 1991-11-06 1991-11-06 Original area designation device

Publications (1)

Publication Number Publication Date
JPH05130373A true JPH05130373A (en) 1993-05-25

Family

ID=18087553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31737591A Pending JPH05130373A (en) 1991-11-06 1991-11-06 Original area designation device

Country Status (1)

Country Link
JP (1) JPH05130373A (en)

Similar Documents

Publication Publication Date Title
US4439790A (en) Image forming apparatus
US5585945A (en) Image synthesis with reduced memory requirements
US5606656A (en) Image data processing unit for forming a plurality of identical images in a single output image area
JPH05130373A (en) Original area designation device
JPH01168163A (en) Picture processing unit
JPH05130372A (en) Original area designation device
JP3179456B2 (en) Image editing device
US5303068A (en) Image data processing apparatus for difference scanning methods
JP2921850B2 (en) Image processing device
JP3203024B2 (en) Image processing apparatus and image processing method
JPS6146671A (en) Area designation system
JP2537192B2 (en) Image playback device
JP3039657B2 (en) Image processing device
JPS63109059A (en) Image processing system
JP2985303B2 (en) Recording device area recognition method
JP2697860B2 (en) Image processing device
JP2756278B2 (en) Image processing device
JP2903214B2 (en) Area designation device
JPH03190372A (en) Picture processor
JPH11308438A (en) Image processor
JPS6181073A (en) Copying machine
JPH0816924B2 (en) Color image processing device
JPH05328092A (en) Area recognition system for recorder
JPH0879544A (en) Picture processor
JPH10285387A (en) Image-processing unit