JPH0638019A - Copying device - Google Patents

Copying device

Info

Publication number
JPH0638019A
JPH0638019A JP18545792A JP18545792A JPH0638019A JP H0638019 A JPH0638019 A JP H0638019A JP 18545792 A JP18545792 A JP 18545792A JP 18545792 A JP18545792 A JP 18545792A JP H0638019 A JPH0638019 A JP H0638019A
Authority
JP
Japan
Prior art keywords
area
image
line
designated
designation
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
JP18545792A
Other languages
Japanese (ja)
Inventor
Hitoshi Nakamura
仁 中村
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 JP18545792A priority Critical patent/JPH0638019A/en
Publication of JPH0638019A publication Critical patent/JPH0638019A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely designate areas in the case of extracting images by changing area positions when the area designation is overlapped with images, and similarly changing the area positions when a large member of area designations is overlapped at the copying device provided with an image editing function. CONSTITUTION:In the case of designating the edited image area at the copying device, an area synthesizing part 10 and an area position storage part 11 are newly additionally provided from an area correction part 6 to an editing work part 8. Thus, the image read by an image reading part (scanner) 1 is displayed on a display part (display) 2 and stored in an image memory 3, and the editing area is inputted to an area designating part (tablet) 4. Next, an area line from the tablet 4 is corrected by an area judge part 5 and the area correction part 6, and the first area designation is not performed at the area synthesizing part 10 but stored in the area designating position storage part 11. The area designation following to second one is performed at the synthesizing part 10, and position information from here is stored in the storage part 11. According to an editing instruction, work processing is performed at the editing work part 8 by repeating the area designation, the correction of the area line, synthesization and storage.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像編集機能を有する
複写装置に係り、特に、画像編集における領域指示や領
域内における画像の抽出を行う際の処理に特徴のある複
写装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a copying machine having an image editing function, and more particularly to a copying machine characterized by processing for indicating an area in image editing and extracting an image in the area.

【0002】[0002]

【従来の技術】従来、複写装置において、編集対象とす
る領域指定は、領域をマークペンで指定した原稿を読み
取ってマークライン内画像を検出したり、デジタイザー
上に原稿を設置し、領域領域形状(四角形など)の端点
などにより指定したりしている。例えば、複写対象物に
対し、図26のように領域を指定すると、図27に示す
ような指定領域内が編集対象とされる。
2. Description of the Related Art Conventionally, in a copying apparatus, an area to be edited is specified by reading an original whose area is specified by a mark pen to detect an image in a mark line or by setting the original on a digitizer. It is also specified by the end point of a rectangle, etc. For example, when an area is designated for the copy object as shown in FIG. 26, the designated area as shown in FIG.

【0003】[0003]

【発明が解決しようとする課題】しかし、この方法は、
指定領域の確認がなく、また、修正する手段がないため
指定領域をミスしても確認や修正が行われないまま処理
が行われてしまう。また、複数の指定を行い、その指定
領域が重なった場合でも、特にその重なった部分に対す
る処理は行われない。
However, this method is
Since there is no confirmation of the designated area and there is no means for correcting, even if the designated area is missed, the processing is performed without confirmation or correction. Further, even when a plurality of designations are made and the designated areas overlap each other, the processing for the overlapped portion is not particularly performed.

【0004】本発明は、上記従来の問題点に鑑みてなさ
れたもので、その目的は、編集する画像の領域指定にお
いて、領域指定の修正を行うことができる複写装置を提
供することにある。
The present invention has been made in view of the above-mentioned conventional problems, and an object thereof is to provide a copying apparatus capable of correcting the area designation in the area designation of an image to be edited.

【0005】また、領域指定が重なった場合、重なった
指示領域の画像を抽出することができる複写装置を提供
することにある。
Another object of the present invention is to provide a copying apparatus capable of extracting images of overlapping designated areas when area designations overlap.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に第1の手段は、原稿の部分複写や移動、変倍などの画
像編集機能を有し、読み取った原稿画像を表示する液晶
ディスプレイと、ディスプレイと一体型の透明タブレッ
ト及びスタイラスペンを有する座標入力手段を備えた複
写装置において、読み取った原稿画像が表示されている
タブレット上で領域を指定し、指定した領域線を判断す
る領域線判断手段と、原稿画像をブロック化する手段
と、領域線判断手段により判断した指定領域線が、画像
の存在する部分に交わっているかどうかを判断する交わ
り判断手段と、領域指示の位置を修正する修正手段とを
備えていることを特徴とする。
In order to achieve the above object, a first means is a liquid crystal display which has an image editing function such as partial copying, moving and scaling of an original, and which displays a read original image. In a copying apparatus having a transparent tablet integrated with a display and a coordinate input means having a stylus pen, an area line is determined by specifying an area on the tablet on which the read original image is displayed and determining the specified area line. Means, a means for dividing the original image into blocks, an intersection judging means for judging whether or not the designated area line judged by the area line judging means intersects with a portion where the image exists, and a correction for correcting the position of the area indication. And means.

【0007】第2の手段は、第1の手段における修正手
段が、領域指定した線が画像と交わった場合、交わった
画像が文字画像であるか絵、写真の画像であるかを判断
をする画像種類判断手段と、画像種類判断手段により判
断した画像の種類によって、領域線の位置を修正すると
き画像種類により領域指示の位置の修正の仕方を変更す
る修正変更手段とを備えることを特徴とする。
The second means determines whether the intersecting image is a character image or a picture or photographic image when the area-designated line intersects the image by the correcting means in the first means. Image type judging means and correction changing means for changing the way of correcting the position of the area designation according to the image type when the position of the area line is corrected according to the type of the image judged by the image type judging means. To do.

【0008】第3の手段は、第1の手段にさらに、領域
線内の画像を判断し、領域内の編集する画像を使用者に
分かり易いようにディスプレイに抽出部分を表示する手
段と、領域指定が複数行われ重なった場合、指定領域を
識別する手段と、指示領域の画像を抽出する手段とを設
けたことを特徴とする。
The third means is, in addition to the first means, means for judging an image within the area line and displaying the extracted portion on the display so that the user can easily understand the image to be edited within the area. When a plurality of designations are made and the designations are overlapped, a means for identifying the designated area and a means for extracting an image of the designated area are provided.

【0009】[0009]

【作用】第1の手段では、交わり判断手段によって領域
指定が画像と交わっていると判断された場合には、修正
手段によって領域指定が自動的に画像と交わらないよう
な領域位置に変更されるので、領域指定のミスは修正さ
れる。
In the first means, when the intersection determining means determines that the area designation intersects the image, the correcting means automatically changes the area designation to an area position where the area designation does not intersect the image. Therefore, the mistake of the area designation is corrected.

【0010】第2の手段では、交わり判断手段によって
領域指定が画像と交わっていると判断された場合、修正
変更手段によって交わった画像の種類に応じて領域位置
の変更の仕方を変え、領域位置が変更されるので、領域
指定のミスの修正が行われる。
In the second means, when the intersection determination means determines that the area designation intersects with the image, the modification position changing means changes the area position according to the type of the image intersecting the area position. Is changed, so the mistake of the area designation is corrected.

【0011】第3の手段では、編集対象の領域を表示
し、領域指定が多数であり重なった場合でも、領域指定
の確認ができるため、領域指定のミスは修正される。
According to the third means, the area to be edited is displayed, and the area specification can be confirmed even when there are a large number of area specifications and the areas are overlapped. Therefore, the area specification error is corrected.

【0012】[0012]

【実施例】以下、図面を参照し、本発明の実施例につい
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本発明の実施の一例を示す概略ブ
ロック図である。なお、この実施例は、上述の第1の手
段に係る指定領域の修正についてのものである。図2は
指定領域修正における概略動作を示すフローチャート、
図3は領域指定を示す説明図、図4および図5は領域指
定線付近に画像が存在するかどうかの判断を示す説明
図、図6、図7、図8は図2の領域指定線とブロックの
交わり判断を示す説明図、図9、図10、図11は図2
のブロックの輪郭線追跡を示す説明図、図12はブロッ
クの輪郭線追跡結果を示す図、図13は領域指定線とブ
ロックの輪郭線結合を示す説明図である。
FIG. 1 is a schematic block diagram showing an example of implementation of the present invention. It should be noted that this embodiment relates to the correction of the designated area according to the above-mentioned first means. FIG. 2 is a flow chart showing a schematic operation in the designated area correction,
FIG. 3 is an explanatory diagram showing the area designation, FIGS. 4 and 5 are explanatory diagrams showing judgment as to whether or not an image exists near the area designation line, and FIGS. 6, 7, and 8 are the area designation line of FIG. Explanatory drawing showing intersection judgment of blocks, FIG. 9, FIG. 10, and FIG.
12 is an explanatory view showing the contour line tracking of the block, FIG. 12 is a diagram showing the result of the block contour line tracing, and FIG. 13 is an explanatory view showing the combination of the area designation line and the block contour lines.

【0014】図1において、実施例に係る複写装置は、
スキャナとも称す画像読み取り部1、ディスプレイと称
される表示部2、画像メモリ3、タブレットからなる領
域指定部4、領域判定部5、領域修正部6、編集指示部
7、編集加工部8及び出力部9とから構成されている。
In FIG. 1, the copying apparatus according to the embodiment is
An image reading unit 1, which is also called a scanner, a display unit 2, which is also called a display, an image memory 3, an area specifying unit 4 including a tablet, an area determining unit 5, an area correcting unit 6, an editing instructing unit 7, an editing processing unit 8, and an output. It is composed of a part 9 and a part 9.

【0015】このような構成で処理する場合には、ま
ず、スキャナ1で画像を読み取り(ステップ1)、読み
取られた画像はタブレットと一体型であるディスプレイ
2に表示される(ステップ2)。これと同時に、読み取
られた画像データは画像メモリ3に記憶される。次い
で、スタイラスペンによって読み取った画像に対して編
集処理を行う画像の領域指定をディスプレイと一体型で
あるタブレット4より入力し(ステップ3)、領域指定
線の位置の検知を行う(ステップ4)。この検知された
領域指定線は、図3のように読み取った画像22に対し
て線21のように表示される。
In the case of processing with such a configuration, first, the image is read by the scanner 1 (step 1), and the read image is displayed on the display 2 which is integrated with the tablet (step 2). At the same time, the read image data is stored in the image memory 3. Next, the area designation of the image to be edited with respect to the image read by the stylus pen is input from the tablet 4 integrated with the display (step 3), and the position of the area designation line is detected (step 4). The detected area designating line is displayed as a line 21 on the read image 22 as shown in FIG.

【0016】図4は図3の部分拡大図である。図5は図
4において符号32で示した部分を拡大したものであ
る。領域判定部5及び領域指定部6では、ステップ5以
降の処理を行う。すなわち、ステップ5で検知した領域
指定線21の各画素31の周囲に予め設定した範囲32
に画像データが存在するかどうかを判断する。ここでの
画像が存在するかどうかの判断は、2値画像データで、
黒画像(1)であるか白画像(0)であるかの判断であ
り、黒画像である場合を画像が存在すると判断する。画
像が存在しないと判断されたときには(ステップ5でN
O)、ステップ6において領域指定線の全ての画素に関
して画像の存在チェックをチェックしたかを判断する。
全てチェックしていない場合には(ステップ6でN
O)、領域指定線の位置を順次、追跡する形で1画素移
動してステップ5に戻る。ステップ6において全てチェ
ックしたと判断された場合には(ステップ6でYE
S)、領域指定内の画像データを画像メモリ3から読み
出し、編集指示部7からの指示に従い、領域指定内の読
み出した画像データに対して編集加工部8により編集加
工処理、言い替えれば画像の切り出しを行い、出力部9
において編集加工を施した画像を出力する(ステップ
7)。
FIG. 4 is a partially enlarged view of FIG. FIG. 5 is an enlarged view of the portion indicated by reference numeral 32 in FIG. The area determination unit 5 and the area designation unit 6 perform the processing from step 5 onward. That is, a preset range 32 around each pixel 31 of the area designating line 21 detected in step 5 is set.
It is determined whether there is image data in. Whether or not an image exists here is determined by binary image data.
It is a judgment as to whether it is a black image (1) or a white image (0). If it is a black image, it is judged that an image exists. When it is determined that the image does not exist (N in step 5)
O), it is determined in step 6 whether or not the image existence check is checked for all the pixels of the area designation line.
If not checked (N in step 6)
O), the position of the area designating line is sequentially moved by one pixel in a tracking manner, and the process returns to step 5. If it is determined in step 6 that all have been checked (YES in step 6)
S), the image data in the area designation is read from the image memory 3, and in accordance with the instruction from the editing instruction unit 7, the editing / editing unit 8 edits the read image data in the area designation, in other words, cuts out an image. Output section 9
The image which has been edited is output in step (step 7).

【0017】一方、ステップ5の判断で画像データが存
在する場合(ステップ5でYES)、原稿画像のブロッ
ク化を行う。ブロック化の方法は、原稿画像を座標系と
考えたときX方向(横方向)、Y方向(縦方向)の射影
演算を行ない、それぞれのヒストグラムを取得する。取
得したヒストグラムの各位置点の値が隣点の値との差が
激しい点(閾値を予め設定する)で画像の分割を行う。
ブロックの分割は、X方向のヒストグラム結果より判断
して分割する場合は、X方向で分割し、Y方向の場合
は、Y方向で分割する。分割したブロックに対して同様
に射影演算を行い、ヒストグラムを取得して分割する。
この処理をある程度のブロックのサイズまで繰り返し行
うことで容易に画像のブロック化が行え、図3に示すよ
うな原稿が図6に示すようにブロック化される(ステッ
プ8)。ブロック化された領域では、全ての画素が存在
するものと仮定する。
On the other hand, if there is image data in the judgment of step 5 (YES in step 5), the original image is divided into blocks. In the blocking method, when the original image is considered as a coordinate system, projection calculation is performed in the X direction (horizontal direction) and the Y direction (vertical direction), and respective histograms are acquired. The image is divided at the point where the value of each position point in the acquired histogram is significantly different from the value of the adjacent point (a threshold value is set in advance).
The block is divided in the X direction when it is determined based on the histogram result in the X direction and is divided in the Y direction when it is divided in the Y direction. Similarly, the projection operation is performed on the divided blocks to acquire a histogram and divide the blocks.
By repeating this process up to a certain block size, the image can be easily divided into blocks, and the original document shown in FIG. 3 is divided into blocks as shown in FIG. 6 (step 8). In the blocked area, it is assumed that all pixels are present.

【0018】次に、図6、図7に示すようにブロック化
された画像領域23(以降ブロックと呼ぶ)と領域指定
線との交わりを前述のステップ5のごとく判断をする
(ステップ9)。ブロックと領域指定線が交わっていな
いと判断された場合には(ステップ9でNO)、ステッ
プ6の処理と同様に領域指定線の全ての位置に関して周
囲がブロック領域であるかのチェックを行ったかを判断
をする(ステップ10)。全てチェックしていないと判
断した場合には(ステップ10でNO)、領域指定線の
位置を順次、追跡する形で1画素移動してステップ9に
戻る。全てチェックしていると判断した場合には(ステ
ップ10でYES)、ステップ13に進む。
Next, as shown in FIG. 6 and FIG. 7, the intersection of the image area 23 (hereinafter referred to as a block), which is divided into blocks, and the area designating line is judged as in step 5 (step 9). If it is determined that the block and the area designating line do not intersect (NO in step 9), whether the surroundings are block areas for all positions of the area designating line as in the process of step 6 Is judged (step 10). If it is determined that all are not checked (NO in step 10), the position of the area designation line is sequentially moved by one pixel in a tracking manner, and the process returns to step 9. If it is determined that all are checked (YES in step 10), the process proceeds to step 13.

【0019】一方、ステップ9において領域指定線とブ
ロックが交わっていると判断された場合には(ステップ
9でYES)、ブロックの輪郭線検出を行う。すなわ
ち、ステップ11において交わったブロックの輪郭線検
出を1度実行しているかどうかを判断し、輪郭線の検出
を行っていれば(ステップ11でYES)ステップ10
に進み、輪郭線の検出を行っていなければ(ステップ1
1でNO)、交わったブロックの輪郭線を検出した後
(ステップ12)、ステップ10に進む。
On the other hand, if it is determined in step 9 that the area designating line intersects the block (YES in step 9), the contour line of the block is detected. That is, it is determined whether or not the contour line detection of the blocks intersected in step 11 is executed once, and if the contour line is detected (YES in step 11), step 10
If the contour line is not detected (step 1
(NO in 1), after detecting the contour line of the intersecting block (step 12), the process proceeds to step 10.

【0020】ステップ12における輪郭線の検出は、交
わっていると判断した領域指定線の画素(図8符号3
1)から一定方向(図8符号41)でのブロックの画素
が存在する点42を追って行き、ブロックの画素がなく
なった点44の1つ手前の点43をブロックの輪郭線の
1点と見なす。そして、ブロックの輪郭線の1点と見な
した点43を検出開始点として、この点の座標値を記憶
する。次に、輪郭線の1点を注目画素として、注目画素
と連結する画素を順次調べていく。
The detection of the contour line in step 12 is performed by detecting the pixels of the area designating line which are determined to intersect (reference numeral 3 in FIG. 8).
From 1), follow the point 42 in which a pixel of the block exists in a certain direction (reference numeral 41 in FIG. 8), and regard the point 43 immediately before the point 44 where the pixel of the block disappears as one point of the outline of the block. . Then, the point 43 regarded as one point of the contour line of the block is set as the detection start point, and the coordinate value of this point is stored. Next, one pixel on the contour line is set as a target pixel, and pixels connected to the target pixel are sequentially examined.

【0021】注目画素との連結を調べる方法は、第9図
のように注目画素pに対して8近傍画素(1から8)を
第10図のように左まわりで1画素ずつ見ていき、最初
に画素が存在する点を注目画素との連結画素とする。次
に、この検出した連結画素を注目画素pとし8近傍画素
を順番に調べる。このとき連結画素であるかどうかを調
べる最初の画素の位置は、1つ前の注目画素の位置の1
つ次の位置である。ただし、追跡開始点の連結を調べる
順番は、第9図の3の位置から行う。例えば、第11図
のような輪郭線(p1、p2、p3、p4・・)があ
り、追跡開始点をp1とする場合、追跡開始点p1の位
置は、第9図においてpとなり、pに対して3の位置よ
り連結を調べ、順に4、5と調べると5の位置にp2を
検知できる。次にp2を注目画素pとして、1つ前の注
目画素p1の位置は第9図では1であるから、この位置
より1つ次の位置の2から連結を調べると4の位置にp
3を検知できる。このように検出した点は、ブロックの
輪郭線として記憶しておく。この処理を繰り返し行い、
連結画素を1つ検出する度に、記憶した輪郭線の検出開
始点(p1の座標)と座標値が等しいかどうか調べ、等
しくなったら検出を終了する。このようにしてブロック
の輪郭線(図12)を検出できる(ステップ12)。ブ
ロックの輪郭線を検出した後、ステップ9で記憶した領
域指定線の位置を1つ移動し再び同じ処理を行う。ステ
ップ10において、領域指定線の全てをチェックしたと
判断された場合、領域指定線と領域指定線と領域指定に
交わった各ブロックの輪郭線検出したブロックとの結合
を行う。結合方法は、輪郭線の検出と同じ方法で、領域
指定線と各ブロックの輪郭線の2つのデータを画像とし
て、上述の輪郭線検出方法で輪郭線を検出し、これによ
って図13に示すように領域指定線の修正が行われる。
The method for checking the connection with the pixel of interest is to look at 8 neighboring pixels (1 to 8) with respect to the pixel of interest p as shown in FIG. 9 one by one counterclockwise as shown in FIG. The point at which the pixel first exists is a connected pixel with the pixel of interest. Next, the detected connected pixel is set as the pixel of interest p, and 8 neighboring pixels are sequentially examined. At this time, the position of the first pixel for checking whether it is a connected pixel is 1 of the position of the preceding pixel of interest.
It is the next position. However, the order of checking the connection of the tracking start points is from the position 3 in FIG. For example, if there are contour lines (p1, p2, p3, p4 ...) As shown in FIG. 11 and the tracking start point is p1, the position of the tracking start point p1 becomes p in FIG. On the other hand, if the connection is examined from the position of 3, and then 4 and 5 are sequentially examined, p2 can be detected at the position of 5. Next, p2 is set as the target pixel p, and the position of the immediately preceding target pixel p1 is 1 in FIG. 9. Therefore, when the connection is examined from the position 2 next to this position, the position p becomes 4
3 can be detected. The point detected in this way is stored as the contour line of the block. Repeat this process,
Each time one connected pixel is detected, it is checked whether or not the stored contour start detection point (coordinate of p1) and the coordinate value are equal, and if they are equal, the detection is ended. In this way, the outline of the block (FIG. 12) can be detected (step 12). After detecting the contour line of the block, the position of the area designation line stored in step 9 is moved by one and the same processing is performed again. If it is determined in step 10 that all the area designating lines have been checked, the area designating line, the area designating line, and the contour of each block intersecting the area designating are combined. The combining method is the same as the method of detecting the contour line, and the two data of the region designation line and the contour line of each block are used as an image to detect the contour line by the above-described contour line detection method, and as shown in FIG. The area designation line is corrected.

【0022】次に、第2の実施例について説明する。こ
の第2の実施例は上述の第2の手段に対応するもので、
図1のステップ9の領域線とブロックの交わり判定にお
いて、交わったブロックの画像の種類により領域指定線
の修正方法を変更するように構成されている。図14
は、第2の手段の本発明に係る指定領域修正方法の一実
施例の概略動作を説明するフローチャートで、前領域線
修正方法を画像の種類(文字のみ、絵、写真)に応じて
変更するときの処理手順を示している。
Next, a second embodiment will be described. This second embodiment corresponds to the above-mentioned second means,
In the determination of the intersection of the area line and the block in step 9 of FIG. 1, the correction method of the area designation line is changed depending on the type of the image of the intersecting block. 14
Is a flowchart for explaining the schematic operation of one embodiment of the designated area correction method according to the present invention of the second means, in which the front area line correction method is changed according to the type of image (only text, picture, photograph). The processing procedure at this time is shown.

【0023】この処理では、ステップ1からステップ1
0までは前述の図2に示した処理と同様の処理を行う。
ステップ9の領域指定線とブロックの交わり判定処理に
おいて、ブロックとの交わりがあると判断した場合(ス
テップ9でYES)、交わっているブロックの画像種類
を判断する(ステップ11)。画像の種類は、文字ある
いは絵、写真の2種類の判断をする。文字と判断した場
合は、前記処理と同様に領域指定の修正を行う(ステッ
プ12から順にステップ13、ステップ10)。絵、画
像と判断した場合は、領域指定線の修正は行わずそのま
まの領域とする。例えば、図15のように文字62と絵
63が混在する原稿に対し領域指定61を行った場合、
領域指定線と交わるブロックのが文字の画像であるとき
は、図16(a)のように領域線の修正を行い、ブロッ
クが絵や写真のときは、図16(b)のように領域指定
線は、指定した通りで修正は行わないことで、領域指定
線の修正を画像の種類に応じて修正方法を変更すること
により行うことができる。次に第3の実施例について説
明する。この実施例は上述の第3の手段に対応するもの
で、領域指定が複数指定され、重なった場合の領域内の
画像の抽出方法に関するものである。
In this process, step 1 to step 1
Up to 0, the same processing as the processing shown in FIG. 2 is performed.
When it is determined that there is an intersection with the block in the intersection determination processing of the area designation line and the block in step 9 (YES in step 9), the image type of the intersecting block is determined (step 11). There are two types of images, characters, pictures, and photographs. When it is determined that the character is a character, the area designation is corrected in the same manner as the above processing (from step 12 to step 13, step 10). If it is determined to be a picture or an image, the area designating line is not corrected and the area is left as it is. For example, when the area designation 61 is performed on a document in which characters 62 and pictures 63 are mixed as shown in FIG.
When the block intersecting the area designating line is a character image, the area line is corrected as shown in FIG. 16A, and when the block is a picture or photograph, the area designating is performed as shown in FIG. 16B. By not modifying the line as specified, the area designating line can be modified by changing the modification method according to the type of image. Next, a third embodiment will be described. This embodiment corresponds to the third means described above, and relates to a method of extracting an image in an area when a plurality of area designations are designated and they overlap.

【0024】図17は、第3の実施例に係る指定領域内
の画像抽出方法の概略を示すブロック図、図18、図1
9、図20は指定領域内の画像抽出方法を説明するため
の説明図、図21、図22、図23、図24、図25、
図26、および図27は領域指定が多重となった場合の
指定領域の領域算出の工程を示す説明図である。
FIG. 17 is a block diagram showing an outline of an image extracting method in a designated area according to the third embodiment, FIG. 18, and FIG.
9, FIG. 20 is an explanatory diagram for explaining the image extraction method in the designated area, FIG. 21, FIG. 22, FIG. 23, FIG. 24, FIG.
26 and 27 are explanatory views showing the process of calculating the area of the designated area when the area designation is multiplexed.

【0025】この実施例は、図1に示した第1の実施例
に対して領域修正部6から編集加工部に至る間に領域合
成部10と、領域位置記憶部11とを設けたもので、そ
の他の各部は全て第1の実施例と同一である。このよう
な構成において、スキャナ1で読み取られた画像は、タ
ブレットと一体型であるディスプレイ2に表示されると
同時に、画像メモリ3に画像データが記憶される。読み
取った画像に対して編集を行う領域の指定をディスプレ
イと一体型であるタブレット4よりスタイラスペンによ
り入力を行う。タブレットからの入力された領域線はデ
ィスプレイに読み取った画像と重なり表示され、領域指
定線の位置の検知を行う。領域判定部5及び領域修正部
6により前述のごとく領域指定線の修正を行う。1回目
の領域指定は、領域合成部10での合成は行わず、領域
指定位置記憶部11に記憶される。2回目以降の領域指
定は、修正後、前回指定し修正を行った領域線位置を領
域位置記憶部8から読み出して領域合成部10で領域の
合成を行い、合成した領域の位置情報を領域位置記憶1
1に記憶し、領域指定、領域線の修正、合成、記憶を繰
り返し行う。そして、編集指示部8において編集指示が
入力された時点で領域指定の受け付けを禁止し、領域指
定の合成結果を領域位置記憶部11から読み出し、スキ
ャナ1から読み込んだ画像を画像メモリ3から読み出
す。読み出した画像データに対して編集加工部7におい
て、編集指示に従い画像領域内の画像データに対して編
集加工処理を行った後、出力部9において出力を行う。
This embodiment is different from the first embodiment shown in FIG. 1 in that an area composition section 10 and an area position storage section 11 are provided between the area correction section 6 and the editing / processing section. , And other parts are the same as those in the first embodiment. In such a configuration, the image read by the scanner 1 is displayed on the display 2 which is integrated with the tablet, and at the same time, the image data is stored in the image memory 3. An area to be edited with respect to the read image is designated by a stylus pen from the tablet 4 which is integrated with the display. The area line input from the tablet is displayed overlapping the image read on the display, and the position of the area designation line is detected. The area determination unit 5 and the area correction unit 6 correct the area designation line as described above. The first time area designation is stored in the area designation position storage section 11 without performing synthesis in the area synthesis section 10. For the second and subsequent area designations, after the correction, the area line position that has been designated and modified last time is read from the area position storage unit 8 and the area composition unit 10 combines the areas, and the position information of the combined area is used as the area position. Memory 1
1, and the area designation, area line correction, composition, and storage are repeated. Then, when the edit instruction is input in the edit instruction unit 8, acceptance of the area designation is prohibited, the synthesis result of the area designation is read from the area position storage unit 11, and the image read from the scanner 1 is read from the image memory 3. The edit processing unit 7 performs edit processing on the read image data according to the edit instruction on the image data in the image area, and then outputs the output data at the output unit 9.

【0026】指定領域内の画像であるかの判断について
図18、図19を参照して説明する。初めに、指定領域
内であるかを判断する判断領域(図18の符号72)を
定める。先ず、領域指定線(図19の符号78)のY座
標値での最大、最小を求める。求めたY座標値の最小か
ら最大の範囲(符号71)をY方向での判断領域とす
る。X方向の判断領域は、領域指定線78に対して、図
18のようにX方向の各ライン73で領域指定線78が
存在する点を検出し、各ラインの検出した領域指定線で
ある点の内(74、75、76、77)、X座標値の最
大値77から最小値74の範囲をそのラインに対しての
判断領域とし、各ライン毎にX方向の判断領域とする。
The determination as to whether the image is within the designated area will be described with reference to FIGS. First, a judgment area (reference numeral 72 in FIG. 18) for judging whether or not it is within the designated area is defined. First, the maximum and minimum of the Y coordinate value of the area designating line (reference numeral 78 in FIG. 19) are obtained. The range from the minimum to the maximum of the obtained Y coordinate value (reference numeral 71) is set as the determination area in the Y direction. The determination area in the X direction is a point that is a detected area designation line of each line by detecting a point where the area designation line 78 exists in each line 73 in the X direction with respect to the area designation line 78 as shown in FIG. (74, 75, 76, 77), the range from the maximum value 77 to the minimum value 74 of the X coordinate value is set as the determination area for the line, and the determination area in the X direction is set for each line.

【0027】指定領域内であるかを判断する場合は、最
初に図19の正方形で示した画素80を初期設定指定領
域内画素とする。この初期設定指定領域内画素80は、
Y方向の各1ライン(縦1ライン)で領域指定線の画素
のY座標が最小値である画素79の座標値より1大きい
値の画素である。ただし、指定領域内画素は判断領域7
2にあることとする。判断領域72をX方向ラインの2
ライン目のX座標最小の位置81からX方向に1画素ず
つ検知を行い、X方向の判断領域が終ったら、X方向ラ
インを1ライン分進める。このようにして判断領域を順
に検知する。検知の判断は、図20に示すように注目画
素pの1つ上の画素pUと1つ左の画素pLを調べ、図
20の(a)〜(c)のようにpU、pLの位置の画素
のいずれか1つが指定領域内の画素であるとき指定領域
内画素とする。pUとpLの位置の画素が指定領域内画
素であるときは、更に、左斜め上の画素pOを調べ、図
20の(d)、(e)のようにpOの位置の画素が指定
領域内の画素でないか、あるいは領域指定線の画素であ
るときpを指定領域内画素とする。
When it is determined whether the pixel is within the designated area, the pixel 80 shown by the square in FIG. 19 is first set as the pixel within the initially designated area. The pixels 80 in the initial setting designation area are
In each one line (vertical one line) in the Y direction, the Y coordinate of the pixel of the area designation line is a pixel whose value is one larger than the coordinate value of the pixel 79 which is the minimum value. However, the pixel in the designated area is the judgment area 7
It is supposed to be in 2. Set the judgment area 72 to the X-direction line 2
One pixel is detected in the X direction from the position 81 having the minimum X coordinate of the line, and when the determination region in the X direction is finished, the X direction line is advanced by one line. In this way, the judgment areas are sequentially detected. As shown in FIG. 20, the detection is performed by examining the pixel pU one above the pixel of interest p and the pixel pL one to the left of the pixel of interest p, and as shown in (a) to (c) of FIG. When any one of the pixels is a pixel in the designated area, it is regarded as a pixel in the designated area. When the pixels at the positions of pU and pL are within the specified region, the pixel pO on the upper left is further examined, and the pixel at the position of pO is within the specified region as shown in (d) and (e) of FIG. If the pixel is not a pixel in the designated area or is a pixel on the area designation line, p is set as a pixel in the designated area.

【0028】複数の領域指定を行い、領域指定が重なっ
た場合の領域範囲に関して図21から図25を参照して
説明する。まず、図21に示すように初めに領域指定さ
れた領域内の位置としての値を全て1とする(図中で値
が1の位置は縦線表示とする)。この結果は、領域指定
内であることがわかるようにディスプレイに表示を行
う。次に出力された領域指示(図22の符号91)は、
初めに領域指示された領域内の位置の値と同様に全て1
にする。初めに指示された領域内と、2番目に指示され
た領域との値を図27に示すように同じ座標位置の値に
関し、EXORをとることで図23の様な縦線部分の値
を1、白地を0とする結果が得られる。この処理を繰り
返すことで領域指定の合成を行うことができる(図2
4)。このように処理することによって合成された領域
位置の値は1、それ以外の位置は0として記憶される。
このようにして得られた領域指定内を示す位置の値が1
である画素を編集の対象とすることで複数の交わる領域
指定であっても領域指定内画像の切り出しが行える。
A plurality of areas are designated and the area range when the areas are overlapped will be described with reference to FIGS. 21 to 25. First, as shown in FIG. 21, all the values as the positions within the area designated at the beginning are set to 1 (positions having a value of 1 in the drawing are displayed as vertical lines). This result is displayed on the display so that it can be seen that it is within the area designation. The next area instruction (reference numeral 91 in FIG. 22) output is
All 1's as well as the value of the position in the area designated at the beginning
To As shown in FIG. 27, the values in the first designated area and the second designated area are set at the same coordinate position, and the value of the vertical line portion as shown in FIG. , The result of setting the white background to 0 is obtained. By repeating this processing, it is possible to perform composition of area designation (FIG. 2).
4). The value of the area position synthesized by the above processing is stored as 1, and the other positions are stored as 0.
The value of the position indicating the inside of the area designation thus obtained is 1
By setting a pixel as an object to be edited, it is possible to cut out an image within the area designation even when a plurality of intersecting areas are designated.

【0029】[0029]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、読み取った原稿画像が表示されているタブ
レット上で領域を指定し、指定した領域線を判断する領
域線判断手段と、原稿画像をブロック化する手段と、領
域線判断手段により判断した指定領域線が、画像の存在
する部分に交わっているかどうかを判断する交わり判断
手段と、領域指示の位置を修正する修正手段とを備えて
いるので、載の発明によれば、交わり判断手段によって
領域指定が画像と交わっていると判断された場合には、
修正手段によって画像が交わらないように領域位置を自
動的に修正することができる。
As described above, according to the first aspect of the invention, the area line determining means for specifying the area on the tablet on which the read original image is displayed and for judging the specified area line. A means for dividing the document image into blocks, an intersection judging means for judging whether or not the designated area line judged by the area line judging means intersects with a portion where the image exists, and a correcting means for correcting the position of the area indication. According to the invention described above, when it is determined by the intersection determination means that the area designation intersects with the image,
The area position can be automatically corrected by the correction means so that the images do not intersect.

【0030】請求項2記載の発明によれば、修正手段
が、領域指定した線が画像と交わった場合、交わった画
像が文字画像であるか絵、写真の画像であるかを判断を
する画像種類判断手段と、画像種類判断手段により判断
した画像の種類によって、領域線の位置を修正するとき
画像種類により領域指示の位置の修正の仕方を変更する
修正変更手段とを備えているので、画像の種類に応じて
領域位置を自動的に修正することができる。
According to the second aspect of the present invention, the correcting means determines whether the intersected image is a character image, a picture or a photographic image when the area-designated line intersects the image. Since the type determining means and the correction changing means for changing the way of correcting the position of the area indication when the position of the area line is corrected by the type of the image judged by the image kind judging means The area position can be automatically corrected according to the type of.

【0031】請求項3記載の発明によれば、領域線内の
画像を判断し、領域内の編集する画像を使用者に分かり
易いようにディスプレイに抽出部分を表示する手段と、
領域指定が複数行われ重なった場合、指定領域を識別す
る手段と、指示領域の画像を抽出する手段とをさらに備
えているので、領域指定が重なっている場合でも領域指
定内の画像の抽出が行える。
According to the third aspect of the invention, means for judging the image within the area line and displaying the extracted portion on the display so that the image within the area to be edited is easy for the user to understand.
When a plurality of areas are designated and overlapped, a means for identifying the designated area and a means for extracting an image of the designated area are further provided. Therefore, even if the areas are designated, the image in the area designation can be extracted. You can do it.

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

【図1】本発明に係わる指示領域の修正を実行するため
の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration for executing correction of a designated area according to the present invention.

【図2】図1の構成における概略動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a schematic operation in the configuration of FIG.

【図3】読み取り原稿に対する領域指示を示す説明図で
ある。
FIG. 3 is an explanatory diagram showing an area instruction for a read document.

【図4】領域指示線と画像の交わりを検知する方法を示
す説明図である。
FIG. 4 is an explanatory diagram showing a method of detecting intersection of an area indicating line and an image.

【図5】図4の検知方法の詳細を示す説明図である。5 is an explanatory diagram showing details of the detection method of FIG.

【図6】ブロック化を示す説明図である。FIG. 6 is an explanatory diagram showing blocking.

【図7】領域指示線と交わったブロックの輪郭線を検出
する方法を示す説明図である。
FIG. 7 is an explanatory diagram showing a method of detecting a contour line of a block that intersects with a region designating line.

【図8】図7の検出方法の詳細を示す説明図である。FIG. 8 is an explanatory diagram showing details of the detection method of FIG. 7.

【図9】ブロックの輪郭線を検出するたの注目画素の近
傍を示す説明図である。
FIG. 9 is an explanatory diagram showing the vicinity of a target pixel for detecting a contour line of a block.

【図10】輪郭線を検出するための近傍画素を検知する
順番を示す説明図である。
FIG. 10 is an explanatory diagram showing an order of detecting neighboring pixels for detecting a contour line.

【図11】輪郭線を検出の示す説明図である。FIG. 11 is an explanatory diagram showing detection of a contour line.

【図12】輪郭線の検出結果を示す説明図である。FIG. 12 is an explanatory diagram showing a detection result of a contour line.

【図13】輪郭線と領域指示線の結合結果を示す説明図
である。
FIG. 13 is an explanatory diagram showing a result of combining a contour line and a region designating line.

【図14】領域指示線修正を画像の種類により修正方法
を変更する場合の動作を示すフローチャートである。
FIG. 14 is a flowchart showing an operation in the case of changing the correction method for the area indication line correction depending on the type of image.

【図15】領域指示を示す説明図である。FIG. 15 is an explanatory diagram showing a region instruction.

【図16】画像種類により領域指示線の修正を行った結
果を示す説明図である。
FIG. 16 is an explanatory diagram showing a result of correcting an area indicating line according to an image type.

【図17】領域指示線内の画像の抽出を実行するための
概略構成を示すブロック図である。
FIG. 17 is a block diagram showing a schematic configuration for performing extraction of an image within a region indicating line.

【図18】領域指示線内の画像を抽出ための検知範囲を
示す説明図である。
FIG. 18 is an explanatory diagram showing a detection range for extracting an image within a region indicating line.

【図19】検知順番を示す説明図である。FIG. 19 is an explanatory diagram showing a detection order.

【図20】検出方法を示す説明図である。FIG. 20 is an explanatory diagram showing a detection method.

【図21】領域指示を示す説明図である。FIG. 21 is an explanatory diagram showing a region instruction.

【図22】領域指示を示す説明図である。FIG. 22 is an explanatory diagram showing a region instruction.

【図23】領域指示が重なった場合の結果を示す説明図
である。
FIG. 23 is an explanatory diagram showing a result when area designations overlap.

【図24】領域指示が重なった場合の結果を示す説明図
である。
FIG. 24 is an explanatory diagram showing a result when area designations overlap.

【図25】領域指示が重なった場合の処理方法を示す説
明図である。
FIG. 25 is an explanatory diagram showing a processing method when area designations overlap.

【図26】読み取った原稿に対して従来の領域指示を示
す説明図である。
FIG. 26 is an explanatory diagram showing a conventional area instruction for a read document.

【図27】図26の指示領域の画像を示す説明図であ
る。
FIG. 27 is an explanatory diagram showing an image of a designated area in FIG. 26.

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

1 画像読み取り部 2 表示部 3 画像メモリ 4 領域指定部 5 領域判定部 6 領域修正部 7 編集指示部 8 編集加工部 9 出力部 10 領域合成部 11 領域位置記憶部 21 領域指定線 22 読み取り画像 23 ブロック化後の画像 31 領域指定線の画素 32 設定範囲 41 一定方向 42 画素が存在する点 43 輪郭線とする点 44 画素がなくなった点 61 領域指定線 62 文字画像部分 63 絵、写真画像部分 71 Y方向の領域判断範囲 72 判断領域 73 X方向のライン 74 領域指定線X座標の最小値 75 領域指定線 76 領域指定線 77 領域指定線X座標の最大値 78 領域指定線 79 初期設定指定領域内画素 80 指定領域内画素 81 検出開始点 91 領域指定線 1 image reading section 2 display section 3 image memory 4 area designation section 5 area determination section 6 area correction section 7 editing instruction section 8 editing processing section 9 output section 10 area synthesis section 11 area position storage section 21 area designation line 22 read image 23 Image after block formation 31 Pixel of area designation line 32 Setting range 41 Constant direction 42 Point where pixel exists 43 Point to be contour line 44 Point where pixel is gone 61 Area designation line 62 Character image part 63 Picture, photo image part 71 Y direction area judgment range 72 Judgment area 73 X direction line 74 Area designation line Minimum X coordinate value 75 Area designation line 76 Area designation line 77 Area designation line Maximum X coordinate value 78 Area designation line 79 Within the initial setting designation area Pixel 80 Pixel in designated area 81 Detection start point 91 Area designation line

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 原稿の部分複写や移動、変倍などの画像
編集機能を有し、読み取った原稿画像を表示する液晶デ
ィスプレイと、ディスプレイと一体型の透明タブレット
及びスタイラスペンを有する座標入力手段を備えた複写
装置において、 読み取った原稿画像が表示されているタブレット上で領
域を指定し、指定した領域線を判断する領域線判断手段
と、 原稿画像をブロック化する手段と、 領域線判断手段により判断した指定領域線が、画像の存
在する部分に交わっているかどうかを判断する交わり判
断手段と、 領域指示の位置を修正する修正手段と、 を備えていることを特徴とする複写装置。
1. A coordinate input means having a liquid crystal display having an image editing function such as partial copying, moving and scaling of an original, and displaying a read original image, and a transparent tablet and a stylus pen integrated with the display. In the provided copying apparatus, the area line determination means for designating an area on the tablet on which the read original image is displayed and determining the designated area line, the means for dividing the original image into blocks, and the area line determination means A copying apparatus comprising: an intersection determination means for determining whether or not the determined designated area line intersects with a portion where an image exists, and a correction means for correcting the position of the area indication.
【請求項2】 前記修正手段が、領域指定した線が画像
と交わった場合、交わった画像が文字画像であるか絵、
写真の画像であるかを判断をする画像種類判断手段と、
画像種類判断手段により判断した画像の種類によって、
領域線の位置を修正するとき画像種類により領域指示の
位置の修正の仕方を変更する修正変更手段とを備えるこ
とを特徴とする請求項1記載の複写装置。
2. The correcting means, if the line designated by the area intersects with the image, the intersecting image is a character image or a picture,
Image type determination means for determining whether the image is a photo,
Depending on the type of image judged by the image type judgment means,
2. The copying apparatus according to claim 1, further comprising a modification changing unit that modifies a method of modifying the position of the area designation according to the image type when modifying the position of the area line.
【請求項3】 領域線内の画像を判断し、領域内の編集
する画像を使用者に分かり易いようにディスプレイに抽
出部分を表示する手段と、領域指定が複数行われ重なっ
た場合、指定領域を識別する手段と、指示領域の画像を
抽出する手段とをさらに備えていることを特徴とする請
求項1記載の複写装置。
3. A means for determining an image within a region line and displaying an extracted portion on a display so that an image to be edited within the region can be easily understood by a user, and when a plurality of region designations are performed, the designated region is overlapped. The copying apparatus according to claim 1, further comprising: a unit for identifying the image and a unit for extracting the image of the designated area.
JP18545792A 1992-07-13 1992-07-13 Copying device Pending JPH0638019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18545792A JPH0638019A (en) 1992-07-13 1992-07-13 Copying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18545792A JPH0638019A (en) 1992-07-13 1992-07-13 Copying device

Publications (1)

Publication Number Publication Date
JPH0638019A true JPH0638019A (en) 1994-02-10

Family

ID=16171130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18545792A Pending JPH0638019A (en) 1992-07-13 1992-07-13 Copying device

Country Status (1)

Country Link
JP (1) JPH0638019A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006352260A (en) * 2005-06-13 2006-12-28 Konica Minolta Business Technologies Inc Image copying apparatus and image copying system
CN101670713A (en) * 2008-09-10 2010-03-17 兄弟工业株式会社 Print label editing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006352260A (en) * 2005-06-13 2006-12-28 Konica Minolta Business Technologies Inc Image copying apparatus and image copying system
CN101670713A (en) * 2008-09-10 2010-03-17 兄弟工业株式会社 Print label editing apparatus
US8467091B2 (en) 2008-09-10 2013-06-18 Brother Kogyo Kabushiki Kaisha Print label editing apparatus enabling operator to edit the print contents for a print-receiving tape used to produce print labels

Similar Documents

Publication Publication Date Title
JP2004158036A (en) Computer system for identifying area on instance of machine-readable form
JP2002202838A (en) Image processor
JP2007026246A (en) Album creation device and album creation program
JP2932193B2 (en) Graphic processing unit
KR101903617B1 (en) Method for editing static digital combined images comprising images of multiple objects
CN110033507B (en) Method, device and equipment for drawing internal trace of model map and readable storage medium
JPH0638019A (en) Copying device
JP4692102B2 (en) Specify image area
JPH05292294A (en) Digital copying machine
JP2007013467A (en) Image compositing device and image compositing program
JP2000029198A (en) Color proof device, image processor and recording medium
KR101954686B1 (en) System For Connecting Ortho Image
JP3286366B2 (en) Inspection apparatus for contour data and automatic drawing input system including the same
JP3113633B2 (en) Plate inspection device
JP2023042451A (en) Apparatus, method and program for image processing
JP3216037B2 (en) Panorama image composition system
JP2007257081A (en) Part program generating device for image measuring device, part program generating method for image measuring device, and part program generating program for image measuring device
JP2008059122A (en) Image processing apparatus, method, program, and information recording medium
KR100258328B1 (en) Method for selecting region of picture editing device
JP3058630B2 (en) Graphic processing unit
JP3761923B2 (en) Image processing apparatus and method
JPH04289981A (en) Closed area detecting method of image
JPH0740285A (en) Device for originating cutting data
JP2002157573A (en) Method for correcting inclination of drawing file, filing method and medium for storing its program
JPH0689328A (en) Image editing device