JPH0773332B2 - Area designation method - Google Patents

Area designation method

Info

Publication number
JPH0773332B2
JPH0773332B2 JP62047952A JP4795287A JPH0773332B2 JP H0773332 B2 JPH0773332 B2 JP H0773332B2 JP 62047952 A JP62047952 A JP 62047952A JP 4795287 A JP4795287 A JP 4795287A JP H0773332 B2 JPH0773332 B2 JP H0773332B2
Authority
JP
Japan
Prior art keywords
input
point
area
coordinates
counter
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.)
Expired - Lifetime
Application number
JP62047952A
Other languages
Japanese (ja)
Other versions
JPS63214068A (en
Inventor
昌敬 山田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62047952A priority Critical patent/JPH0773332B2/en
Priority to US07/162,943 priority patent/US4965678A/en
Publication of JPS63214068A publication Critical patent/JPS63214068A/en
Publication of JPH0773332B2 publication Critical patent/JPH0773332B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は座標入力装置を用いて領域を指定する方法に関
するものである。
The present invention relates to a method of designating an area using a coordinate input device.

〔従来の技術〕[Conventional technology]

従来、複写機等の画像処理装置において原稿上の任意の
領域のみを抜き取るトリミング機能や、消去するマスキ
ング機能等の実現の為に原稿上の領域指定手段としてテ
ンキーにより領域座標を入力する方式がある。しかしな
がらこの方式においては、メジヤー等により座標を読み
取る手順が必要になること、又キーストローク数が多い
こと等から操作性に問題があった。これらの欠点をカバ
ーする方式としてデイジタイザー等の2次元座標入力装
置を用いる方式がある。
Conventionally, in an image processing apparatus such as a copying machine, there is a method of inputting area coordinates by a ten-key as an area specifying means on an original in order to realize a trimming function for extracting only an arbitrary area on the original, a masking function for erasing, etc. . However, in this method, there is a problem in operability because a procedure for reading coordinates by a medium or the like is required and the number of keystrokes is large. As a method for covering these drawbacks, there is a method using a two-dimensional coordinate input device such as a digitizer.

〔発明が解決しようとしている問題点〕[Problems that the invention is trying to solve]

デイジタイザー等の2次元座標入力装置を用いる方式に
おいては原稿上で所望の領域を直接指定できることか
ら、操作性を大巾に向上できる。しかしながらこの方式
では逆に領域指定の自由度がハードウエアの処理能力を
超えてしまう、例えばトリミングできないような形状の
領域を指定してしまうという問題があった。
In a system using a two-dimensional coordinate input device such as a digitizer, a desired area can be directly designated on the original, so that the operability can be greatly improved. However, in this method, on the contrary, there is a problem that the degree of freedom of area designation exceeds the processing capability of hardware, for example, an area having a shape that cannot be trimmed is designated.

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

上記問題点を解決するために、本発明は、2次元座標入
力装置を有する画像処理装置の領域指定方法において、
所望の矩形領域或は矩形領域の組み合わせからなる所望
の領域の各コーナーの座標を順次入力し、入力された座
標をメモリに記憶し、入力された始点の座標、終点の座
標、上記始点から2番目の入力点へのベクトル方向及び
上記終点の1つ前の入力点から上記終点へのベクトル方
向とに基づいて、上記メモリに記憶された上記始点の座
標或は上記終点の座標を補正する領域指定方法にある。
In order to solve the above problems, the present invention provides an area designating method for an image processing apparatus having a two-dimensional coordinate input device,
The coordinates of each corner of a desired rectangular area or a desired area composed of a combination of rectangular areas are sequentially input, the input coordinates are stored in a memory, and the input start point coordinates, end point coordinates, and 2 from the start point are input. A region for correcting the coordinates of the start point or the coordinates of the end point stored in the memory based on the vector direction to the second input point and the vector direction from the input point immediately before the end point to the end point There is a designation method.

〔作用〕[Action]

本発明は、上記の方法により、デジタイザ等の2次元座
標入力装置を用いて矩形領域或は矩形領域を組み合わせ
た領域の各コーナーの座標を入力する場合に、操作者の
入力したデータを適切に補正するものである。
According to the present invention, when the coordinates of each corner of a rectangular area or an area in which rectangular areas are combined are input using a two-dimensional coordinate input device such as a digitizer by the above method, the data input by the operator is appropriately used. To correct.

〔実施例〕〔Example〕

以下図面を参照して本発明の一実施例を詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1−2図は本発明を適用できる複写装置の外観図であ
る。原稿読取部101は不図示の原稿台ガラス、照明ラン
プとミラーから成る2:1光学系、レンズ、CCD等を有し、
前記光学系が副走査しつつ原稿像を光電変換し電気信号
として出力する。プリント部102はいわゆるレーザープ
リンターで、読取部101からの電気信号を受け、変調さ
れたレーザビームにより感光体上を走査して電子写真方
式にてプリントする。読取部101は操作部103、原稿押え
を兼ねた座標入力装置104、座標入力ペン105を有する。
第1−1図に座標入力装置104を上側から見た図を示
す。106は有効座標入力面、107は原稿114を入力面に載
置する為の突き当て基準点、108は領域指定を行う旨を
入力する領域指定キー、109は一連の入力座標をキヤン
セルするクリアキー、110は領域指定の入力を終了するO
Kキー、111は指定領域のみを出力するトリミングモード
選択キー、112は指定領域のみを消去するマスキングモ
ード選択キー、113は指定領域内部をその外部と異なる
処理で出力する画像分離モード選択キーである。
1-2 is an external view of a copying apparatus to which the present invention can be applied. The document reading unit 101 has a document table glass (not shown), a 2: 1 optical system including an illumination lamp and a mirror, a lens, a CCD, and the like.
While the optical system is sub-scanning, the original image is photoelectrically converted and output as an electric signal. The printing unit 102 is a so-called laser printer, which receives an electric signal from the reading unit 101, scans the photoconductor with a modulated laser beam, and prints by electrophotography. The reading unit 101 includes an operation unit 103, a coordinate input device 104 that also functions as a document holder, and a coordinate input pen 105.
FIG. 1-1 shows a view of the coordinate input device 104 as viewed from above. 106 is an effective coordinate input surface, 107 is an abutting reference point for placing a document 114 on the input surface, 108 is an area designation key for inputting that area designation is to be performed, and 109 is a clear key for canceling a series of input coordinates. , 110 ends the area specification input O
K key, 111 is a trimming mode selection key that outputs only the specified area, 112 is a masking mode selection key that erases only the specified area, and 113 is an image separation mode selection key that outputs the inside of the specified area by processing different from the outside. .

これらの操作例を説明する。These operation examples will be described.

オペレータは図示の如く、原稿114を基準点107に突き当
てて載置し、キー108により領域指定モードに入り、入
力ペン105によって例えば点線で囲まれる領域の黒丸で
示す各コーナーを右回り或いは左回りで順次入力後OKキ
ー110を押して入力を完了する。その後、指定領域に対
して施すべき処理内容を111,112,113の各キーにより指
示する。
As shown in the figure, the operator places the original 114 against the reference point 107, places it in the area designation mode with the key 108, and turns the respective corners indicated by black circles of the area surrounded by the dotted line by the input pen 105 clockwise or left. After inputting all around, press OK key 110 to complete the input. After that, the contents of processing to be performed on the designated area are designated by the keys 111, 112, 113.

第3図に本実施例の複写装置の概略ブロック図を示す。
302は画像読取部である。画像読取部302はCCD、信号増
巾回路、A/D変換回路、シエーデイング補正回路を有し
補正後の信号が画像処理部303に入力される。
FIG. 3 shows a schematic block diagram of the copying apparatus of this embodiment.
302 is an image reading unit. The image reading unit 302 has a CCD, a signal amplification circuit, an A / D conversion circuit, and a shading correction circuit, and the corrected signal is input to the image processing unit 303.

画像処理部303ではシフトメモリに画信号を一旦蓄積
後、変倍、移動、トリミング/マスキング濃度変換等の
画像処理を施し、その結果がVIDEO信号として外部ユニ
ツト312へ出力される。外部ユニツト312は本実施例では
いわゆるレーザープリンタを想定しているが、電子フア
イルやフアクシミリ等のコントローラ及びメモリ装置で
も良い。外部ユニツトとはケーブル313を介して画信号V
IDEO以外に例えば複数の信号像から成るシリアル信号線
SRALによりシリアル信号を行い、システム全体を制御す
る。外部ユニツト312がレーザープリンターの時はプリ
ンタから水平同期信号BDを受け、クロツクジエネレータ
304により内部動作の為のクロツクを生成し前述の読取
部302や処理部303に与える。
The image processing unit 303 temporarily stores the image signal in the shift memory, then performs image processing such as scaling, moving, trimming / masking density conversion, and the like, and outputs the result to the external unit 312 as a VIDEO signal. Although the external unit 312 is assumed to be a so-called laser printer in this embodiment, it may be a controller such as an electronic file or facsimile and a memory device. Image signal V is sent to the external unit via cable 313.
In addition to IDEO, for example, a serial signal line composed of multiple signal images
Serial signals are sent by SRAL to control the entire system. When the external unit 312 is a laser printer, the horizontal sync signal BD is received from the printer and the clock generator is used.
A clock for internal operation is generated by 304 and given to the above-mentioned reading unit 302 and processing unit 303.

CPU301は制御プログラムや制御データを格納したROM30
5、処理データ等を記憶するためのRAM306、タイマー回
路307を有し、前述の読取部302、処理部303、外部ユニ
ツト312との通信を制御する他に原稿照明の為の蛍光灯
ドライバ回路309や光学系駆動の為のモータードライバ
回路308、及び操作部311や座標入力装置310を制御す
る。
CPU 301 is a ROM 30 that stores control programs and control data
5. A RAM 306 for storing processing data and the like and a timer circuit 307 are provided, and in addition to controlling communication with the reading unit 302, the processing unit 303, and the external unit 312, a fluorescent lamp driver circuit 309 for illuminating an original document. And a motor driver circuit 308 for driving the optical system, the operation unit 311 and the coordinate input device 310.

第4図に座標入力装置310のブロツク図を示す。FIG. 4 shows a block diagram of the coordinate input device 310.

タイミング回路402は内蔵された発振器によりクロツク
を発生させ、アドレスカウンタ403に与える。アドレス
カウンタ403はペン412に内蔵されたスイツチが押下され
ている間、カウント動作する。カウント動作中まずXデ
コーダ409が動作し、パルス電圧を順次入力面411のX方
向電極に2巡ダイナミツクスキヤンし、その後Yデコー
ダ410が動作し同じくパルス電圧を順次入力面411のY方
向電極に2巡ダイナミツクスキヤンする。入力面411上
でペンのスイツチがONされると、X方向、Y方向のスキ
ヤンがペン位置へ達した時に静電容量結合によりペン内
に電圧が誘起され、ペン入力信号が得られ、アンプ404
により増幅される。X方向スキヤンの1巡目のペン入力
信号によりカウント値がXレジスタ406にセツトされ、
2巡目スキヤン時のペン入力信号によりXレジスタ406
の内容とカウント値を比較器405により比較して、一致
すれば一致信号がCPU401に出力される。同様にY方向に
ついても1巡目スキヤン時Yレジスタ408がセツトさ
れ、2巡目スキヤン時比較器407で比較して一致してい
れば一致信号がCPU401に出力されて、CPU401は2つの一
致信号が得られた時X,Y各レジスタから座標値を取り込
み、メインCPU301に対して例えばシリアル通信により通
知できる。尚、Xレジスタ406とカウンタ値とが一致し
ないときは入力無効と判断される。Y方向も同様であ
る。
The timing circuit 402 generates a clock with an internal oscillator and gives it to the address counter 403. The address counter 403 counts while the switch built in the pen 412 is pressed. During the counting operation, first, the X decoder 409 operates to sequentially apply the pulse voltage to the X direction electrode of the input surface 411 for two rounds, and then the Y decoder 410 operates to similarly apply the pulse voltage to the Y direction electrode of the input surface 411 in sequence. Two rounds of dynamic skiing. When the switch of the pen is turned on on the input surface 411, a voltage is induced in the pen by capacitive coupling when the scanning in the X direction and the Y direction reaches the pen position, and the pen input signal is obtained, and the amplifier 404
Is amplified by. The count value is set in the X register 406 by the pen input signal of the first round of X direction scanning,
X register 406 according to the pen input signal during the second scan
The contents of the above and the count value are compared by the comparator 405, and if they match, a match signal is output to the CPU 401. Similarly, in the Y direction as well, the Y register 408 during the first round scan is set, and if the second round scan time comparator 407 compares and a match is found, a match signal is output to the CPU 401, and the CPU 401 outputs two match signals. When the value is obtained, coordinate values can be fetched from the X and Y registers and notified to the main CPU 301 by, for example, serial communication. When the X register 406 and the counter value do not match, it is determined that the input is invalid. The same applies to the Y direction.

第5図に、画像処理部303の内部、特にシフトメモリに
係る回路図を示す。尚、シフト・メモリには2ライン分
のシフト・メモリが設けられるが、その制御は共通なの
で、第5図には一方のシフト・メモリに関してのみ、そ
の制御構成を示す。ライトアドレスカウンタ904はシフ
トメモリ907にデータを書込む時のアドレスカウンタ
で、リードアドレスカウンタ905はシフトメモリ907から
データを読み出す時のアドレス・カウンタである。アド
レスセレクタ906はCPU301からの指令をI/Oポート901を
介して受けてライトアドレスカウンタ904のアドレス信
号とリードアドレスカウンタ905のアドレス信号のいず
れかを選択し、シフトメモリ907をアドレツシングする
ためのものである。I/Oレジスタ902,903はライトアドレ
スカウンタ904、リードアドレスカウンタ905にそれぞれ
プリセツト値をCPU301が与えるためのレジスタである。
FIG. 5 shows a circuit diagram related to the inside of the image processing unit 303, particularly the shift memory. The shift memory is provided with a shift memory for two lines, but since the control is common, FIG. 5 shows the control configuration of only one shift memory. The write address counter 904 is an address counter when writing data in the shift memory 907, and the read address counter 905 is an address counter when reading data from the shift memory 907. An address selector 906 receives a command from the CPU 301 via the I / O port 901, selects one of the address signal of the write address counter 904 and the address signal of the read address counter 905, and addresses the shift memory 907. Is. The I / O registers 902 and 903 are registers for the CPU 301 to give a preset value to the write address counter 904 and the read address counter 905, respectively.

ライトアドレスカウンタ904、リードアドレスカウンタ9
05は共にダウンカウンタでそれぞれにカウント動作の開
始を指令するWST信号及びRST信号が入力され、また、シ
フトメモリ907への書込みクロツクWCLKとシフトメモリ
からの読出しクロツクRCLKが入力される。
Write address counter 904, read address counter 9
Reference numerals 05 are both down counters to which the WST signal and the RST signal for instructing the start of the count operation are input, and the write clock WCLK to the shift memory 907 and the read clock RCLK from the shift memory are input.

915,916は画像領域を決定する為の排他オアゲート、信
号OFはそれを制御する信号で、1の時STカウンタ912、E
Nカウンタ913で決まる枠内をマスクし、枠外を出力画像
とし、Oの時枠内を出力画像とし枠外をマスクする。
915 and 916 are exclusive OR gates for determining the image area, and the signal OF is a signal for controlling it. When it is 1, ST counter 912, E
The inside of the frame determined by the N counter 913 is masked, the outside of the frame is used as an output image, and the inside of the frame is masked as the output image when O is set.

910はシフトメモリ907から出力され濃度処理部908を経
て2値信号となった画像データを出力制御するアンドゲ
ート、917は前述のマスク部分を白として出力するか黒
として出力するかを決定するアンドゲートで、BBはそれ
を制御する信号で1の時黒、0の時白を出力する。
Reference numeral 910 is an AND gate for controlling output of image data output from the shift memory 907 and converted into a binary signal through the density processing unit 908. Reference numeral 917 is for determining whether the mask portion is output as white or black. At the gate, BB outputs a black signal when it is 1 and a white signal when it is 0.

911はゲート910,917により出力される画像出力をVIDEO
として出力するオアゲート、909は画像データを白黒反
転制御する排他オアゲート、INはそれを制御する信号で
1の時オリジナル通りの画像で、0の時は反転させる。
各信号は、CPU301がオペレータの指定したモードにより
出力する。
911 is a video output for the image output by the gates 910 and 917.
, 909 is an exclusive OR gate for controlling black and white inversion of image data, and IN is a signal for controlling it, and when 1 is an original image, it is inverted when 0.
Each signal is output by the CPU 301 in a mode designated by the operator.

STカウンタ912及びENカウンタ913は各々決められた領域
のみに画像を出力するためのスタートビツトカウンタ及
びエンドビツトカウンタで、これらには、I/Oを介してC
PU301がゲートの為のカウントデータをプリセツトす
る。
The ST counter 912 and the EN counter 913 are a start bit counter and an end bit counter for outputting an image only to a predetermined area, respectively.
PU301 presets the count data for the gate.

フリツプフロツプ914はSTカウンタ912のカウントアツプ
でセツトされ、ENカウンタ913のカウントアツプでリセ
ツトされる。
The flip-flop 914 is set by the count-up of the ST counter 912 and reset by the count-up of the EN counter 913.

例えばOF信号が1の場合STカウンタ912のカウントアツ
プでF/F914のQが1となるとゲート915の出力が0とな
って、ENカウンタ913がカウントアツプする迄ゲート910
の出力はなく、マスクされる。かわりにゲート916の出
力はその間1なのでBB信号が1の時ゲート917は1であ
り、ゲート911は1を出力し、黒マスクとなる。逆にOF
=1,BB=0の時は白マスクされる。又OF=0とするとゲ
ート915,916の出力が各々その間1,0となるのでBB=1の
時はトリミング領域外が黒、OF=0,BB=0の時はトリミ
ング領域外が白となる。
For example, when the OF signal is 1, when the Q of the F / F 914 becomes 1 by the count up of the ST counter 912, the output of the gate 915 becomes 0, and the gate 910 continues until the EN counter 913 counts up.
Is not output and is masked. Instead, the output of the gate 916 is 1 during that time, so that when the BB signal is 1, the gate 917 is 1 and the gate 911 outputs 1 to serve as a black mask. Conversely OF
When = 1 and BB = 0, the white mask is applied. Further, when OF = 0, the outputs of the gates 915 and 916 are 1,0 during that time respectively. Therefore, when BB = 1, the outside of the trimming area is black, and when OF = 0 and BB = 0, the outside of the trimming area is white.

さて本実施例は、以上述べた手段を用いて、矩形もしく
は矩形を組み合わせた領域に対してトリミングやマスキ
ング等の編集処理を行う場合に有効である。
The present embodiment is effective when performing the editing process such as trimming or masking on a rectangle or a region in which rectangles are combined by using the means described above.

矩形もしくは矩形の組み合わせ領域とは主/副各走査軸
に平行もしくは垂直な線分によってのみ囲まれる領域の
事であり、編集の対象をこのような領域に限定する事は
充分実用的であり、かつ大容量メモリを用いることな
く、低コストで編集機能を提供できるという点において
有用である。
A rectangle or a combination area of rectangles is an area surrounded only by line segments parallel or perpendicular to the main / sub scanning axes, and it is sufficiently practical to limit the editing target to such an area. Moreover, it is useful in that the editing function can be provided at a low cost without using a large capacity memory.

このような限定にもとづいてオペレータは所望の領域を
囲むように離散的に座標を入力し、かつそれらの座標を
入力順に結んだ線分が主/副各走査軸に対して極力水平
もしくは垂直になるように入力するものとする。
Based on this limitation, the operator discretely inputs coordinates so as to surround a desired area, and the line segment connecting these coordinates in the input order is as horizontal or vertical as possible with respect to each main / sub scanning axis. Should be entered as follows.

しかしながら現実にはフリーハンドによるペン入力によ
り水平、垂直に結ばれる2点を入力することは、座標入
力装置の実用的な分解能から見て不可能である為、以下
のような手順でオペレータの入力座標を補正する。
However, in reality, it is impossible to input two points that are connected horizontally and vertically by freehand pen input in view of the practical resolution of the coordinate input device. Correct the coordinates.

第2図に本実施例による領域指定方式の概略例を図示す
る。
FIG. 2 illustrates a schematic example of the area designation method according to this embodiment.

まず、すでに設定されている座標を全てクリアする
為、クリアキーを押す。
First, press the clear key to clear all the preset coordinates.

第1点P1(PX1,PY1)を入力する。Input the first point P 1 (PX 1 , PY 1 ).

第2点P2(PX2,PY2)を入力する。この時、|PX2-PX
1|と|PY2-PY1|を比較して、|PX2-PX1|>|PY2-PY1
|だから入力点P2を図示の如くT2(TX2,TY2)=(PX2,PY
1)に補正する。
Input the second point P 2 (PX 2 , PY 2 ). At this time, | PX 2 -PX
1 | and | PY 2 -PY 1 | are compared, and | PX 2 -PX 1 |> | PY 2 -PY 1
| So input point P 2 is T 2 (TX 2 , TY 2 ) = (PX 2 , PY
Correct to 1 ).

第3点P3(PX3,PY3)を入力する。この時、補正済第
2点T2と第3点P3から|PX3-TX2|<|PY3-TY2|となる
故、図示の如くP3をT3(TX3,TY3)=(PX2,PY3)の様に補
正する。
Input the third point P 3 (PX 3 , PY 3 ). At this time, since the corrected second point T 2 and the third point P 3 become | PX 3 -TX 2 | <| PY 3 -TY 2 |, P 3 is changed to T 3 (TX 3 , TY 3 as shown in the figure. ) = (PX 2 , PY 3 )

第4点P4(PX4,PY4)も(補正済第3点T3と比較して
T4(TX4,TY4)=(PX4,PY3)と補正する。以下同様に、 第5点P5(PX5,PY5)はT5(TX5,TY5)=(PX4,PY5)へ
と 第6点P6(PX6,PY6)はT6(TX6,TY6)=(PX6,PY5)へ
と補正する。
The fourth point P 4 (PX 4 , PY 4 ) is also (compared to the corrected third point T 3
T 4 (TX 4, TY 4 ) = and correcting (PX 4, PY 3). Similarly, the fifth point P 5 (PX 5 , PY 5 ) becomes T 5 (TX 5 , TY 5 ) = (PX 4 , PY 5 ), and the sixth point P 6 (PX 6 , PY 6 ) becomes T 5. 6 Correct to (TX 6 , TY 6 ) = (PX 6 , PY 5 ).

所望の領域の各コーナーの入力が完了したらOKキー
を押す。
Press the OK key when you have finished entering each corner of the desired area.

OKキーが入力されたら第1点P1(PX1,PY1)と補正済
最終点T6(TX6,TY6)=(PX6,PY5)から後述の終点処理に
より第1点P1(X1,Y1)をT1(TX1,TY1)=(PX6,PY1)へと
補正する。
When the OK key is entered, the first point P 1 (PX 1 , PY 1 ) and the corrected final point T 6 (TX 6 , TY 6 ) = (PX 6 , PY 5 ) are used to make the first point P by the end point processing described later. Correct 1 (X 1 , Y 1 ) to T 1 (TX 1 , TY 1 ) = (PX 6 , PY 1 ).

以上の手順で入力座標を補正制御することでオペレータ
の所望の領域を垂直線分及び垂直線分で構成することが
できる。
By correcting and controlling the input coordinates in the above procedure, the operator's desired area can be configured by vertical line segments and vertical line segments.

第6図に前述の補正処理の詳細なフローチヤートを示
す。まず入力座標点数を示すRAM上のカウンタiを0ク
リアする(601)。座標入力があれば(602)、そのX成
分をRAM上のエリアPXi,TXiにY成分を同じくPYi,TYiに
セツトする(603)。i=0つまり1点目ならば(60
4)、2点目入力を待つべく、カウンタiをインクリメ
ントする(615)。i≧1ならば(604)、1点前の補正
済座標(TXi-1,TYi-1)と今回の入力座標(PXi,PYi)の
X,Y成分毎の差分の絶対値α、βを求める(605)。
FIG. 6 shows a detailed flow chart of the above-mentioned correction processing. First, the counter i on the RAM indicating the number of input coordinate points is cleared to 0 (601). If there is a coordinate input (602), the X component is set in the areas PXi, TXi on the RAM and the Y component is similarly set in PYi, TYi (603). i = 0, that is, if it is the first point (60
4) The counter i is incremented to wait for the second input (615). If i ≧ 1 (604), the corrected coordinate (TXi -1 , TYi -1 ) one point before and the input coordinate (PXi, PYi) of this time
The absolute values α and β of the differences for each of the X and Y components are obtained (605).

オペレータは各点を結ぶ線分が極力軸に対して水平、垂
直になるよう入力するという前提に基づいてαとβの大
小比較を行う(606)。α<βならばオペレータがY軸
に平行になる様座標入力しようとしたと判定して注目点
PiのY座標PYiをそのままTYiとして採用し、X座標PXi
はキヤンセルして一点前のX座標TXi-1をTXiとして採用
する(608)。逆にα>βならばオペレータがX軸に平
行になる様、座標入力を行ったと判定して注目点PiのX
座標PXiはそのままTXiとして採用し、Y座標PYiはキヤ
ンセルし一点前のY座標TYi-1をTYiとして採用する(60
7)。607,608の補正により入力点PiはTiに補正され、線
がX軸もしくはY軸に平行になった後、次に線分 とその一本前の線分 が直交するか否か調べる。i=1ならば線分は1本しか
生成されないので第3点入力を待つべくカウンタiを1
インクリメントする(609,610,615)。i≧2ならばTXi
-2=TXiすなわち注目の2線分がY軸に平行な同一線分
上にあるか否か(612)もしくはTYi-2=TYiすなわち注
目する2線分がX軸に平行な同一線分上にあるか否か
(611)を調べ、もしNOなんば次の入力を待つべくカウ
ンタiを1インクリメント(615)。もしYESならばこれ
ら2線分を1線分にまとめるべく なる和ベクトルをあらためて と置きかえる(613,614)。つまり1点前の入力Ti-1
キヤンセルしTiをTi-1として扱い、再びTi入力を待つ
為、カウンタiをインクリメントせず、次の座標を待
つ。新たな入力を待つべくカウンタiをインクリメント
した後、最新の入力点Ti-1により生成された線分 がそれ迄に入力された全ての線分 と何回交差するか否かをチエツクする(616)。その詳
細フローは後述する。
The operator compares the magnitudes of α and β based on the premise that the line segment connecting each point is horizontal and vertical with respect to the axis as much as possible (606). If α <β, it is determined that the operator tried to input coordinates so that the operator would be parallel to the Y-axis
The Y coordinate PYi of Pi is directly adopted as TYi, and the X coordinate PXi
Cancels and adopts the previous X coordinate TXi -1 as TXi (608). Conversely, if α> β, it is determined that the operator has entered coordinates so that the operator is parallel to the X axis, and the X of the point of interest Pi is determined.
The coordinate PXi is adopted as it is as TXi, the Y coordinate PYi is canceled, and the Y coordinate TYi -1 one point before is adopted as TYi (60
7). The input point Pi is corrected to Ti by the correction of 607 and 608, and the line segment After becoming parallel to the X-axis or Y-axis, And the line before it Check if is orthogonal. If i = 1, only one line segment is generated, so the counter i is set to 1 to wait for the third point input.
Increment (609,610,615). TXi if i ≧ 2
-2 = TXi, that is, whether the two line segments of interest are on the same line segment parallel to the Y axis (612) or TYi -2 = TYi, that is, the two line segments of interest are on the same line segment parallel to the X axis (611) is checked, and if NO, the counter i is incremented by 1 to wait for the next input (615). If YES, combine these two line segments into one line segment A new sum vector (613,614). In other words, the input Ti -1 one point before is canceled and Ti is treated as Ti -1 , and since the Ti input is waited again, the counter i is not incremented and the next coordinate is waited. After incrementing the counter i to wait for new input, the line segment generated by the latest input point Ti -1 Is all the line segments that have been entered Check how many times you intersect with (616). The detailed flow will be described later.

交差検出の結果全く交差しない時は次の座標入力を待つ
(617,602)。2回以上交差するようならばTi-1を無効
入力とし、再入力を待つべきカウンタiを1デクリメン
トする(617→619)。1回だけ交差する場合は少なくと
も閉領域が1つ生成されたため、領域指定を終了する為
のOKキー入力もしくは点Ti-1をキヤンセルする為のクリ
アキー入力を待つ。もしクリアキー入力があればカウン
タiを1デクリメントし再入力を待つ(618→619)。も
しOKキー入力があれば後述の終点処理に進む(624)。
If no intersection is detected as a result of the intersection detection, the next coordinate input is awaited (617,602). If it intersects twice or more, Ti -1 is invalidated, and the counter i that should wait for re-input is decremented by 1 (617 → 619). If it intersects only once, at least one closed area has been created, so wait for the OK key input to finish the area specification or the clear key input to cancel the point Ti -1 . If there is a clear key input, the counter i is decremented by 1 and waits for re-input (618 → 619). If there is an OK key input, the process proceeds to the end point process described later (624).

ステツプ602において座標入力がない時、クリアキー入
力があれば、最新の入力点Ti-1をキヤンセルして再入力
を待つ為カウンタiを1デクリメントする(623)。OK
キー入力があれば(624)後述の終点処理に進む(62
4)。終点処理の結果領域が確定したら終了し、未確定
ならば再び座標入力もしくはクリアキー入力を待つ。
If there is a clear key input when there is no coordinate input in step 602, the counter i is decremented by 1 to cancel the latest input point Ti -1 and wait for re-input (623). OK
If there is a key input (624), the process proceeds to the end point process described later (62
Four). When the result area of the end point processing is confirmed, the processing ends.

第7図に交差検出の制御フローを示し、以下に説明す
る。まず交差回数を示すRAM上のカウンタkを0クリア
する(701)。i<4の時は高々4点つまり3辺しか入
力されていないので検出処理を終了する。i5の時は
交差チエツクの為のRAM上のカウンタjにi−4をセツ
トする(703)。その後、点Ti-1,Ti-2,Tj,Tj-1の座標
を用いて値A,B,C,Dを求める(704,705,706,707)。値算
出には次に示す関数Fを用いる。
FIG. 7 shows a control flow of crossing detection, which will be described below. First, the counter k on the RAM indicating the number of crossings is cleared to 0 (701). When i <4, at most four points, that is, only three sides have been input, so the detection processing ends. When i5, i-4 is set to the counter j on the RAM for the cross check (703). After that, the values A, B, C, D are obtained using the coordinates of the points Ti -1 , Ti -2 , Tj, Tj -1 (704, 705, 706, 707). The function F shown below is used for the value calculation.

F(Tm,Tn)=−1:TXm=TXn又はTYm=TYnの時 0:TXm<TXnかつTYm<TYnの時 1:TXm<TXnかつTYm>TYnの時 2:TXm>TXnかつTYm>TYnの時 3:TXm>TXnかつTYm<TYnの時 関数Fは2点Tm,Tnの位置関係を5つの場合に分類して
値を割りつけるもので、第8図に図解する。すなわち2
点Tm,Tnから生成されるベクトル がX軸かY軸に平行な時に値“−1"を、右上りの時“0"
を、左上りの時“1"を、左下りの時“2"を、右下りの時
“3"を出力する関数である。
F (Tm, Tn) =-1: When TXm = TXn or TYm = TYn 0: When TXm <TXn and TYm <TYn 1: When TXm <TXn and TYm> TYn 2: TXm> TXn and TYm> TYn When 3: TXm> TXn and TYm <TYn Function F classifies the positional relationship between the two points Tm and Tn into five cases and assigns values, which is illustrated in Fig. 8. Ie 2
Vector generated from points Tm and Tn Value is "-1" when is parallel to the X-axis or Y-axis, and "0" when it is at the upper right.
Is a function that outputs “1” when it is in the upper left direction, “2” when it is in the downward left direction, and “3” when it is in the downward right direction.

もし値A,B,C,Dの中に1つでも“−1"があれば は接することはあっても交差はしないのでjを更新する
(708→709)。“−1"がなければ以下711〜718の様に、
値A,B,C,Dがその順で値“0",“1",“2",“3",を昇番順
もしくは降番順にローテーシヨンした値をとるか否かを
調べる。第9図にステツプ711でYESと判定される例を挙
げる。
If any one of the values A, B, C, D is "-1", Since they touch each other, they do not intersect, so j is updated (708 → 709). If there is no “−1”, like 711 to 718 below,
It is checked whether or not the values A, B, C and D take the values "0", "1", "2", "3", in that order, in ascending or descending order. FIG. 9 shows an example in which YES is determined in step 711.

以下第9図の例を時計回りに90°ずつ回転させると712,
713,714で“YES"と判定される4点の位置関係となる。
また第9図の例を に線対称に折り返した位置関係の時ステツプ715でYESと
判定され、以下反時計回りに90°ずつ回転させて行くと
各々716,717,718で“YES"と判定される。以上の8つの
ケースで交差すると判断された時、ステツプ719で交差
回数カウンタkを1インクリメントし、 が交差した を特定するカウンタ値j−1をlにセツトする。ステツ
プ709でjを更新し、ステツプ710でj<0となる迄、チ
エツクを続ける。
When the example of Fig. 9 is rotated clockwise by 90 ° each, 712,
There is a positional relationship of four points that is determined as “YES” in 713 and 714.
In addition, the example of FIG. When the positional relationship is such that it is folded back in line symmetry, the result is determined to be YES in step 715, and when it is rotated counterclockwise by 90 ° each, 716, 717 and 718 are determined to be "YES". When it is determined that the intersection occurs in the above eight cases, the intersection counter k is incremented by 1 in step 719, Crossed The counter value j-1 that specifies the value of is set to l. Update j in step 709, and continue checking until j <0 in step 710.

ステツプ709でjを2デクリメントするのは1だけデク
リメントした時の と平行である為である。
Decrementing j by 2 at step 709 is the same as when decrementing by 1. Because it is parallel to.

第12図に終点処理フローを示し以下に説明する。The end point processing flow is shown in FIG. 12 and will be described below.

まずカウンタiをチエツクし(1001)、もしi<2なら
ば、高々2点の入力しかない為、領域が確定しない為
(1012)再び点入力を待つべく終了する。i3ならば
カウンタi値が最新入力点番号を示すように1デクリメ
ントする(1002)。
First, the counter i is checked (1001), and if i <2, only two points can be input at most, and the area cannot be determined (1012), and the process is terminated to wait for point input again. If i3, the counter i value is decremented by 1 so as to indicate the latest input point number (1002).

次に始点T0から第2点T1へのベクトル の方向コードDoを第10図に基づいて決定し(1003)、同
じく最新点Tiに向かう点Ti-1からのベクトル の方向コードDi-1も同様に決定する(1004)。その後、
第13図に示す終点処理タイプテーブルに従って2つの方
向コードDoとDi-1及び点Toの座標TX0,TY0及び点Tiの座
標TXi,TYiの4つの座標の位置関係から終点処理タイプ
を選択し、表1に記載の処理内容に応じた処理を施す
(1005)。
Then the vector from the starting point T 0 to the second point T 1 The direction code Do of is determined based on Fig. 10 (1003), and the vector from the point Ti -1 toward the latest point Ti as well. Similarly, the direction code Di −1 of is determined (1004). afterwards,
According to the end point processing type table shown in FIG. 13, the end point processing type is selected from the positional relationship of the two direction codes Do and Di -1 , the coordinates TX 0 and TY 0 of the point To, and the coordinates TXi and TYi of the point Ti. Then, the processing according to the processing content described in Table 1 is performed (1005).

表1に記載した各タイプ毎の処理内容による補正例を第
14図に示す。表1の処理を施してあらたに決定された始
点(Sp)Toと終点(Ep)Tiにより辺▲▼が生成
され、かつ と直角をなす場合は再処理の必要はないが、そうでない
場合は補正されたTo,Ti及びiを用いて再びステツプ100
1以下の処理を行う(1006→1001)。
Example of correction according to the processing contents for each type listed in Table 1
Shown in Figure 14. A side ▲ ▼ is generated by the start point (Sp) To and the end point (Ep) Ti newly determined by performing the processing of Table 1, and No reprocessing is required if it is at a right angle with, otherwise it is re-step 100 using the corrected To, Ti and i.
Perform the following processing (1006 → 1001).

以上の手順で領域を構成し得る各コーナーの座標を確保
した後、ToからTiまでの各点を順に結んでできる線分が
互いに交差することはないか、前述の交差検出論理を各
辺に対応させて実行し(1007)、もし1ケ所でも交差す
る時は領域不確定とし再び点入力を待つかクリアキー入
力による入力点のキヤンセルを待つ(1008→1012)。
After securing the coordinates of each corner that can configure the area by the above procedure, the line segments formed by connecting each point from To to Ti in order will not intersect each other, or the above-mentioned intersection detection logic on each side Correspondingly executed (1007), if even one intersection intersects the area is indeterminate and wait for point input again or wait for input point by clear key input (1008 → 1012).

ステツプ1009においては点Toから点Tiの中でそのY成分
が最小値を示す点の中でさらにそのX成分が最小のもの
Tsを領域原点とし(1009),さらにその領域原点Tsをあ
らためてToとして以下新しいToから時計回りに点列をた
どってT1,T2,…,Tiとあらたに付番して(1010),領
域を確定し(1011),領域指定を終了する。
In step 1009, the point where the Y component has the minimum value from point To to point Ti and the X component has the minimum value
Ts is set as the area origin (1009), and the area origin Ts is re-designated as To. Hereafter, a series of points is traced clockwise from the new To, and T 1 , T 2 , ..., Ti are newly numbered (1010), Confirm the area (1011) and finish the area specification.

ステツプ1009,1010の処理例を第11−1図〜第11−3図
に示す。
Processing examples of steps 1009 and 1010 are shown in FIGS. 11-1 to 11-3.

次に第15−1図〜第15−3図を用いて上記の手順で決定
した領域の編集実施例について説明する。
Next, an embodiment of editing the area determined by the above procedure will be described with reference to FIGS. 15-1 to 15-3.

まず、点列To,・・・,Tiを第15−1図に示す様にX軸,Y
軸に投影して得られる座標KX0,KX1,KX2,KX3,及びKY
0,KY1,KY2,KY3,を求める。そして、これらの4座標
により座標域を分割すると、第15−1図では9つのゾー
ンZ00,…Z22が定義できる。図から分かるように、これ
ら9つのゾーンのうちいくつかにより実際に指定された
領域は構成される。この指定領域を構成するゾーンを区
別する為に、各ゾーンをその重心座標で定義し直す。つ
まりZij=(ZXij,ZYij),(i=0,1,2,j=0,1,2)、ZX
ij=(kxi+KXi+1)/2,ZYij=(KYj+KYj+1)/2とな
る。以下のデータKX0〜KX3,KY0〜KY3,Z00〜Z22に基づ
いて第15−2図のように各ゾーンが指定領域に含まれる
か否か判定する。
First, let the point sequence To, ..., Ti be the X axis, Y as shown in Fig. 15-1.
Coordinates KX 0 , KX 1 , KX 2 , KX 3 , and KY obtained by projecting on the axis
Calculate 0 , KY 1 , KY 2 , and KY 3 . Then, when the coordinate area is divided by these four coordinates, nine zones Z 00 , ... Z 22 can be defined in FIG. 15-1. As can be seen, some of these nine zones actually make up the designated area. In order to distinguish the zones forming this designated area, each zone is redefined by its barycentric coordinates. That is, Zij = (ZXij, ZYij), (i = 0,1,2, j = 0,1,2), ZX
ij = (kxi + KXi + 1 ) / 2 and ZYij = (KYj + KYj + 1) / 2. Based on the following data KX 0 to KX 3 , KY 0 to KY 3 , and Z 00 to Z 22 , it is determined whether or not each zone is included in the designated area as shown in FIG. 15-2.

RAM上のエリアにマトリクス様の図示のMAPを構成する。
このMAPは奇数行及び奇数列がゾーンの境界線に対応
し、偶数行、偶数列で定義される要素が前記ゾーンに対
応する。
A matrix-like illustrated MAP is configured in an area on the RAM.
In this MAP, odd rows and odd columns correspond to zone boundaries, and elements defined by even rows and even columns correspond to the zones.

まず点Toに対応する第1列、第3行の要素から先に求め
た点列T0,T1,…Tiの順に各辺の方向コード0,1,2,3をM
APの対応要素に書き込んでゆく。その後各ゾーンを示す
マトリクス上の要素の全てについて、その上方向にコー
ド“0",下方向にコード“1",左方向にコード“2",右方
向にコード“3"があるか否かを調べる。この4つの条件
が全て満足された時そのゾーンZijは領域に含まれ、条
件が1つでも欠けた時は含まれない。第15−2図の例で
は△印が領域に含まれるもの、X印が領域に含まれない
ものである。本例ではマトリクスMAPは7×7で説明し
たが、一般的にメモリ容量が許す範囲で余裕をもったN
×Mで構成する。また、各要素は高々4ビツトあればよ
い。
First, the direction code 0,1,2,3 of each side is set to M in the order of the point sequence T 0 , T 1 , ... Ti previously obtained from the elements in the first column and the third row corresponding to the point To.
Fill in the corresponding elements of AP. After that, for all the elements on the matrix showing each zone, whether there is a code "0" in the upward direction, a code "1" in the downward direction, a code "2" in the leftward direction, and a code "3" in the rightward direction. Find out. The zone Zij is included in the area when all four conditions are satisfied, and is not included when any one of the conditions is missing. In the example of FIG. 15-2, the Δ mark is included in the area, and the X mark is not included in the area. In this example, the matrix MAP has been described as 7 × 7, but in general, there is a margin N within the range allowed by the memory capacity.
XM. Also, each element may be at most 4 bits.

以上のように領域を構成するゾーンZ20,Z10,Z01
Z11,Z21,Z22が決定したら第5図で述べた手段により
第15−3図のように編集処理する。
Zones Z 20 , Z 10 , Z 01 , which form the area as described above,
Z 11, edit processing as the 15-3 diagram by means described in FIG. 5 When Z 21, Z 22 is determined.

光学系が副走査方向Yに沿って移動する場合、まず画先
Aにおいては先のSTカウンタ912,ENカウンタ913を共に
0としKY0だけ進んだB地点でSTカウンタにKX1,ENカウ
ンタKX3をセツトし、さらにKY1−KY0だけ進んだC地点
でSTカウンタKX0、ENカウンタKX3をセツトし、さらにKY
2−KY1だけ進んだD地点でSTカウンタKX2,ENカウンタKX
3をセツトし、さらにKY3−KY2進んだE地点でSTカウン
タ,ENカウンタに共に0をセツトして光学系は復動に入
る。このように例えば画像は領域の内部だけ有効画像と
したり、或は無効としてマスク処理等が可能となる。
When the optical system moves in the sub-scanning direction Y, first, in the image destination A, both the previous ST counter 912 and EN counter 913 are set to 0, and at the point B advanced by KY 0 , the ST counter is KX 1 , EN counter KX. 3 is set, and then ST counter KX 0 and EN counter KX 3 are set at point C where KY 1 -KY 0 has advanced, and KY
2- At ST point KX 2 and EN counter KX at point D that has advanced KY 1
3 is set, and 0 is set to both ST counter and EN counter at the point E where KY 3 -KY 2 has proceeded, and the optical system starts returning. In this way, for example, the image can be a valid image only inside the area, or it can be masked by invalidating it.

他の実施例として例えば第6図ステツプ606でα,βか
ら座標補正する時、単にα,βの大小比較だけでなく、
さらに閾値γを設けγ>min(α,β)の条件を満たす
時に補正することでよりオペレータの意図を正確につか
むことが可能となる。また第6図ステツプ606でα=β
となった場合、さらにステツプ617で2回以上の交差を
検出した場合、ステツプ625で領域不確定だった場合、
等オペレータに対して表示や音声等で入力座標が無効で
ある旨又はさらに座標入力が必要である旨等通知するこ
とでより操作性が向上する。
As another embodiment, for example, when the coordinates are corrected from α and β in step 606 of FIG.
Further, by providing a threshold value γ and correcting when the condition of γ> min (α, β) is satisfied, it is possible to more accurately grasp the intention of the operator. Also, in step 606 of FIG. 6, α = β
If more than one crossing is detected in step 617, if the area is uncertain in step 625,
The operability is further improved by notifying the operator of the fact that the input coordinate is invalid or that the coordinate input is further required by the display or voice.

〔効果〕〔effect〕

以上説明した様に本発明によれば、所望の矩形領域或は
矩形領域の組み合わせからなる所望の領域の各コーナー
の座標を順次入力し、入力された座標をメモリに記憶
し、入力された始点の座標、終点の座標、上記始点から
2番目の入力点へのベクトル方向及び上記終点の1つ前
の入力点から上記終点へのベクトル方向とに基づいて、
メモリに記憶された上記始点の座標或は上記終点の座標
を補正することにより、操作者の意図する領域を推定
し、入力された点の座標を自動的に補正することがで
き、操作性良く領域指定を行うことができる。
As described above, according to the present invention, the coordinates of each corner of the desired rectangular area or the desired area composed of a combination of rectangular areas are sequentially input, the input coordinates are stored in the memory, and the input start point is input. Based on the coordinates of, the coordinates of the end point, the vector direction from the start point to the second input point, and the vector direction from the input point immediately before the end point to the end point,
By correcting the coordinates of the start point or the coordinates of the end point stored in the memory, the area intended by the operator can be estimated, and the coordinates of the input point can be automatically corrected. You can specify the area.

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

第1−1図は座標入力装置を示す図、 第1−2図は本発明を適用できる複写装置の外観図、 第2図は座標補正の例を示す図、 第3図は装置全体の概略ブロツク図、 第4図は座標入力装置のブロツク図、 第5図は編集に係る処理ブロツク図、第6図は入力座標
補正の制御フローチヤート、 第7図は交差検出の制御フローチヤート、 第8図は交差検出に用いる函数Fの説明図、 第9図は交差例を示す図、 第10図は領域辺の方向コードを示す図、 第11−1図〜第11−3図は入力点列並べかえの例を示す
図、 第12図は座標入力終了後の終点処理制御フローチヤー
ト、 第13図は終点処理タイプテーブルを示す図、 第14図は終点処理例を示す図、 第15−1図〜第15−3図編集処理例を示す図。
FIG. 1-1 is a diagram showing a coordinate input device, FIG. 1-2 is an external view of a copying device to which the present invention can be applied, FIG. 2 is a diagram showing an example of coordinate correction, and FIG. 3 is a schematic diagram of the entire device. Block diagram, FIG. 4 is a block diagram of the coordinate input device, FIG. 5 is a process block diagram relating to editing, FIG. 6 is a control flow chart for input coordinate correction, FIG. 7 is a control flow chart for intersection detection, and FIG. The figure is an illustration of the function F used for intersection detection. Fig. 9 is a diagram showing an example of intersection. Fig. 10 is a diagram showing direction codes of area edges. Figs. 11-1 to 11-3 are input point sequences. FIG. 12 is a diagram showing an example of rearrangement, FIG. 12 is an end point processing control flow chart after completion of coordinate input, FIG. 13 is a figure showing an end point processing type table, FIG. 14 is a figure showing an end point processing example, and FIG. 15-1. FIG. 15-3 is a diagram showing an example of editing processing.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】2次元座標入力装置を有する画像処理装置
の領域指定方法において、 所望の矩形領域或は矩形領域の組み合わせからなる所望
の領域の各コーナーの座標を順次入力し、入力された座
標をメモリに記憶し、入力された始点の座標、終点の座
標、上記始点から2番目の入力点へのベクトル方向及び
上記終点の1つ前の入力点から上記終点へのベクトル方
向とに基づいて、上記メモリに記憶された上記始点の座
標或は上記終点の座標を補正することを特徴とする領域
指定方法。
1. A method of designating an area of an image processing apparatus having a two-dimensional coordinate input device, wherein coordinates of respective corners of a desired rectangular area or a combination of rectangular areas are sequentially input, and the input coordinates are input. Based on the input start point coordinates, end point coordinates, vector direction from the start point to the second input point, and the vector direction from the input point immediately before the end point to the end point. An area designating method, characterized in that the coordinates of the starting point or the coordinates of the ending point stored in the memory are corrected.
【請求項2】特許請求の範囲第1項において、連続して
入力された2つの入力点を結んだ線分が座標軸に対して
水平或は垂直になる様、上記メモリに記憶された座標を
補正することを特徴とする領域指定方法。
2. The coordinates stored in the memory according to claim 1, wherein the line segment connecting two consecutively input points is horizontal or vertical to the coordinate axis. An area designation method characterized by correction.
【請求項3】特許請求の範囲第1項において、第N番目
の入力点と第N−1番目の入力点を結んだ線分が他の線
分と交差するか否かを判定し、2つ以上の線分と交差す
る場合は、上記第N番目の入力点を無効とすることを特
徴とする領域指定方法。
3. The method according to claim 1, wherein it is determined whether or not a line segment connecting the Nth input point and the (N-1) th input point intersects with another line segment. An area designating method, wherein the Nth input point is invalidated when it intersects with two or more line segments.
JP62047952A 1987-03-03 1987-03-03 Area designation method Expired - Lifetime JPH0773332B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62047952A JPH0773332B2 (en) 1987-03-03 1987-03-03 Area designation method
US07/162,943 US4965678A (en) 1987-03-03 1988-03-01 Area designation apparatus in image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62047952A JPH0773332B2 (en) 1987-03-03 1987-03-03 Area designation method

Publications (2)

Publication Number Publication Date
JPS63214068A JPS63214068A (en) 1988-09-06
JPH0773332B2 true JPH0773332B2 (en) 1995-08-02

Family

ID=12789691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62047952A Expired - Lifetime JPH0773332B2 (en) 1987-03-03 1987-03-03 Area designation method

Country Status (1)

Country Link
JP (1) JPH0773332B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5975358A (en) * 1982-10-25 1984-04-28 Nippon Telegr & Teleph Corp <Ntt> High speed processing method of partial erasion
JPS60196836A (en) * 1984-03-19 1985-10-05 Fujitsu Ltd Vector drawing control system
JPS6379182A (en) * 1986-09-24 1988-04-09 Fuji Xerox Co Ltd Area designating method and area processor

Also Published As

Publication number Publication date
JPS63214068A (en) 1988-09-06

Similar Documents

Publication Publication Date Title
US4965678A (en) Area designation apparatus in image processing system
EP0657866B1 (en) Method and apparatus for controlling the processing of digital image signals
JPH0127412B2 (en)
US6950559B2 (en) Image processing apparatus, image processing circuit, and image processing method
US5148294A (en) Image processing apparatus and method for painting a memory with plural colors
JPH0773332B2 (en) Area designation method
JPH01168163A (en) Picture processing unit
JP2791017B2 (en) Area processing method
JP2834758B2 (en) Image processing device
KR0152350B1 (en) Image compiling device and method of digital copier
JP2840306B2 (en) Area processing method of image processing apparatus
JPH0817439B2 (en) Area designation method
JP2912371B2 (en) Image processing device
JPH09135331A (en) Image processor
JP3084726B2 (en) Image processing area recognition device
JP3124562B2 (en) Image forming control device and image forming device
JPS6116377A (en) Memory scanner
JP2945028B2 (en) Image processing designated area information calculation device
JPH05130372A (en) Original area designation device
JPS6346872A (en) Image processing device
JP2710635B2 (en) Image reading device
JPH05151350A (en) Method for correcting position distortion of image data
JP2903214B2 (en) Area designation device
JPS63109650A (en) Picture reader
JPH07254979A (en) Image processing method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term