JPS63118984A - Segmenting method for arbitrary area of image - Google Patents

Segmenting method for arbitrary area of image

Info

Publication number
JPS63118984A
JPS63118984A JP26605286A JP26605286A JPS63118984A JP S63118984 A JPS63118984 A JP S63118984A JP 26605286 A JP26605286 A JP 26605286A JP 26605286 A JP26605286 A JP 26605286A JP S63118984 A JPS63118984 A JP S63118984A
Authority
JP
Japan
Prior art keywords
area
arbitrary
rectangular
image data
arbitrary area
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
JP26605286A
Other languages
Japanese (ja)
Inventor
Masahito Osawa
雅人 大澤
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP26605286A priority Critical patent/JPS63118984A/en
Publication of JPS63118984A publication Critical patent/JPS63118984A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To quickly segment an arbitrary area by securing a rectangular area in the same side as rectangular areas circumscribing the arbitrary area in image data and logically operating the rectangular areas circumscribing the arbitrary area in the image data. CONSTITUTION:If a display figure is enclosed by a cursor position data group 19, the rectangular areas circumscribing the arbitrary area and the area in the same size as an area 20 are secured in a memory, and the area 23 in the same shape as the arbitrary area is written in black in the rectangular area 21 of the memory. A rectangular area 21 equipped with a blacked area and the rectangular are 20 are logically operated, and the results are shifted to the rectangular area in the memory, thereby obtaining a segment area 24.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、画像データの中から必要な領域だけを画像デ
ータとして切出す画像任意領域切出方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for cutting out an arbitrary region of an image, cutting out only a necessary region from image data as image data.

従来の技術 従来この種の方法は、第5図に示すように、読取られた
画像データ1を、映像として表示部1aに表示し、表示
された画像データlの中で必要な領域2を、カーソルに
よって指定し、その位置データ群3に対応する必要な領
域の必要な画像データのみを計算により確定し、これを
メモリに格納し、更にこれを映像として表示する場合、
先ずカーソルによって指定された領域2の位置データ群
3に外接する矩形領域4と同じ領域5を確保する。
BACKGROUND OF THE INVENTION As shown in FIG. 5, this type of conventional method displays read image data 1 as an image on a display unit 1a, and selects a necessary area 2 in the displayed image data 1, as shown in FIG. When specifying with a cursor, determining only the necessary image data of the necessary area corresponding to the position data group 3 by calculation, storing this in memory, and further displaying this as a video,
First, the same area 5 as the rectangular area 4 circumscribing the position data group 3 of the area 2 specified by the cursor is secured.

次いで、その矩形領域5に、上述した、メモリ上の切出
された任意の領域を、位置データ群3で示される位置に
展開しく画像データを表示していた。
Next, in the rectangular area 5, image data is displayed such that the above-mentioned arbitrary area cut out on the memory is developed at the position indicated by the position data group 3.

発明が解決しようとする問題点 しかし、かかる方法によれば、切出しのための位置デー
タ群によシ必要な領域、つまり画像データ中のどのデー
タかの決定のために計算が必要となり時間がかかる。
Problems to be Solved by the Invention However, according to such a method, calculations are required to determine the area required for the position data group for cropping, that is, which data in the image data, and it takes time. .

また切出された領域は、映像として展開する場合の位置
データを、それぞれの画像データが持つ必要があり、こ
のため表示する場合も展開する位置の決定のために計算
が必要で時間がかか9、更にはデータ管理が複雑となる
といった問題があった0 つまり、任意領域を切出す場合、矩形領域と違い、画像
データ中の必要な領域データが、メモリのどの位置に格
納されているかの計算は、カーソルによって指定された
位置データ群と読取られた画像データにより、画像デー
タの各ラインにおいて行われる。またその結果得られる
任意領域の画像データは、各ラインによるデータ数が違
い、映像として展開する場合の位置データを、各ライン
、各画像データに持つ必要があった。このような理由か
ら上述の問題が生じていた。
In addition, each image data must have position data for the cropped area when it is developed as a video, and therefore, even when displaying it, calculations are required to determine the position to be developed, which takes time. 9. Furthermore, there was a problem that data management became complicated.0 In other words, when cutting out an arbitrary area, unlike a rectangular area, it is difficult to determine where in the memory the necessary area data in the image data is stored. Calculations are performed for each line of image data using the position data group designated by the cursor and the read image data. In addition, the resulting image data of an arbitrary area has a different number of data for each line, and it is necessary for each line and each image data to have position data when developed as a video. For this reason, the above-mentioned problem has arisen.

本発明は、上述の問題点に鑑みて為されたもので、切出
された任意領域の画像データの各ライン、各画像データ
ごとに、映像にする時の位置データを持つことなく、ま
た切出し時間の短縮と、任意領域の画像データと位置デ
ータを簡略化することができる、画像任意領域切出方法
を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and it allows each line and each image data of an arbitrary area of image data to be cut out without having position data when converting it into an image. It is an object of the present invention to provide a method for cutting out an arbitrary region of an image, which can shorten time and simplify image data and position data of an arbitrary region.

問題点を解決するだめの手段 本発明は上述の問題点を解決するため、読取られた画像
データを表示部に表示し、カーソルによって任意領域の
位置データを入力し、その位置データ群と、その任意領
域に外接する矩形領域と同じ大きさの領域を確保し、そ
の矩形領域上に任意領域の画像データを切出すという構
成を備えたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention displays read image data on a display section, inputs position data of an arbitrary area using a cursor, and displays a group of the position data and its position data. This system has a configuration in which an area of the same size as a rectangular area circumscribing an arbitrary area is secured, and image data of the arbitrary area is cut out on the rectangular area.

作用 本発明は、上述の構成によシ、読取られた画像データ内
のカーソルの位置データ群によシ取り囲まれた任意領域
に外接する矩形領域と同じ大きさの矩形領域がメモリ上
に確保され、そのメモリ上の矩形領域に、前記位置デー
タ群による任意領域と同じ形状の領域が黒色で描画され
る。この黒色で満たされた領域を備えた矩形領域と前記
領域に外接する矩形領域との間では、論理積(AND)
演算処理が行われ、その結果が、前記メモリ上の矩形領
域に移される。これによシ矩形領域中に任意領域のみが
得られ、しかも矩形領域と同じ矩形領域の切出しで済む
ため、時間の短縮が可能となる。
According to the above-described structure, a rectangular area having the same size as a rectangular area circumscribing an arbitrary area surrounded by a group of cursor position data in read image data is secured in the memory. , an area having the same shape as the arbitrary area based on the position data group is drawn in black in the rectangular area on the memory. A logical product (AND) is performed between the rectangular area including the area filled with black and the rectangular area circumscribing the area.
Arithmetic processing is performed, and the results are transferred to a rectangular area on the memory. As a result, only an arbitrary region can be obtained in the rectangular region, and it is sufficient to cut out the same rectangular region as the rectangular region, so that time can be shortened.

実施例 第1図は本発明に係る画像任意領域切出方法を実施する
に好適な領域切出システムの一実施例を示す概略構成ブ
ロック図である。
Embodiment FIG. 1 is a schematic block diagram showing an embodiment of a region extraction system suitable for implementing the image arbitrary region extraction method according to the present invention.

第1図において、11は画像を画像データとして読取る
読取部(スキャナ)、12は読取部11で読取られた画
像データや切出される画像データ等を格納するメモリ、
13は前記読取られた画像データ等を映像として表示す
る表示部(ディスプレイ)、14は任意領域を指定する
位置データ(前記表示部13におけるカーソルの移動変
位)の入力部、15は前記各郡全体の制御を行ったシ、
メモリ12との間で論理演算処理や画像データの処理を
行ったシする制御部(CP U)である。
In FIG. 1, 11 is a reading unit (scanner) that reads an image as image data; 12 is a memory that stores image data read by the reading unit 11, image data to be cut out, etc.;
13 is a display unit that displays the read image data etc. as a video; 14 is an input unit for position data (displacement of the cursor on the display unit 13) specifying an arbitrary area; and 15 is the entire group. The person who controlled the
This is a control unit (CPU) that performs logical operation processing and image data processing with the memory 12.

次に、上述した構成から成るシステムを適用して画像デ
ータ中の任意領域を切出す切出方法について、第2図に
示す動作説明用のフローチャート(図中のSTI〜ST
6は各ステップを示す。)を参照しながら以下説明する
Next, a flowchart for explaining the operation shown in FIG. 2 (STI to ST
6 indicates each step. ) will be explained below.

先ず、読取部11(第1図参照)よシ画像データを取込
み(ST1)、これを表示部13へ表示する(S T 
2)。
First, image data is captured by the reading section 11 (see Fig. 1) (ST1), and this is displayed on the display section 13 (ST
2).

次いで、第3図に示すように、表示部13に表示された
画像データ16中の切出したい任意領域を、カーソル1
7によって必要なポイント(位置データ)を入力部14
 (第1図参照)より入力することによって指定する(
ST3)。つまり、指定されたカーソルの位置データ群
18によって切出したい任意領域を取り囲む。
Next, as shown in FIG.
7, enter the necessary points (position data) in the input section 14.
(See Figure 1)
ST3). In other words, the specified cursor position data group 18 surrounds an arbitrary area to be cut out.

ここに、画像データ16中において、取り囲まれた任意
領域の一例を第4図に示す。
Here, an example of a surrounded arbitrary area in the image data 16 is shown in FIG.

第4図において、19は取シ囲まれた任意領域であり、
また、画像データ16中の点線矩形領域加は、先に決定
された前記任意領域19に外接する矩形領域である。
In FIG. 4, 19 is an arbitrary area surrounded by
Furthermore, the dotted rectangular area in the image data 16 is a rectangular area that circumscribes the arbitrary area 19 determined previously.

その矩形領域筒と同じ大きさの矩形領域21をメモリ1
2(第1図参照)上に確保し、その矩形領域21の内部
に、先の位置データ群による任意領域19と同じ形状の
領域nを演算によシ求め、その領域(任意領域)22を
黒色nで描画する(Sr1)。
A rectangular area 21 of the same size as the rectangular area tube is stored in the memory 1.
2 (see Fig. 1), calculate a region n having the same shape as the arbitrary region 19 based on the previous position data group within the rectangular region 21, and calculate that region (arbitrary region) 22. Draw in black n (Sr1).

ここで、任意領域n内を黒色nで埋めることは、従来例
で示したような任意領域の切出しに比べて、任意領域乙
の内か外かのチェックだけで済み、また矩形領域21が
画像データ16の領域より小さいために、チェックの回
数も少なくなり、はるかに短い時間で切出しができると
いう作用効果を惹起する。
Here, filling the arbitrary area n with black color n only requires checking whether the arbitrary area B is inside or outside the arbitrary area B, compared to cutting out an arbitrary area as shown in the conventional example. Since it is smaller than the area of data 16, the number of checks is reduced, resulting in the effect that extraction can be performed in a much shorter time.

尚、前記任意領域n内を黒色nで埋めるに当っては、そ
の矩形領域21と画像データ16の中の矩形領域加との
間で、論理積演算処理が行われる(Sr5)。つまり、
両矩形領域加、21の画像データで共に黒のデータのみ
が黒色nとして前記領域n内に埋められる。
In filling the arbitrary area n with black color n, a logical AND calculation process is performed between the rectangular area 21 and the rectangular area addition in the image data 16 (Sr5). In other words,
Of the image data of both rectangular areas and 21, only black data is filled in the area n as black color n.

ここに、前記両矩形領域加、21間の論理積演算は、従
来例における任意領域の決定を行う際のような複雑な演
算を行う必要がなく、また、データ転送についても、メ
モリ間のDMA (DirectMemory Acc
ess)転送などを適用でき、全体として、より高速な
処理を行うことができる。これにより、必要な任意領域
の切出しは短時間で実現可能となる(Sr1)。
Here, the logical product operation between the two rectangular areas 21 does not require complicated calculations as in the case of determining an arbitrary area in the conventional example, and data transfer also requires DMA between memories. (DirectMemory Acc
ess) transfer, etc. can be applied, and overall faster processing can be performed. This makes it possible to cut out any necessary area in a short time (Sr1).

また、切出した領域冴は、矩形領域21として保存して
いるため、映像として表示する場合も、そのまま表示部
13に転送することができる。
Furthermore, since the cut out area is saved as the rectangular area 21, it can be transferred as is to the display unit 13 even when displaying it as an image.

データとして保存する場合も、画像データである矩形領
域と、その矩形領域内の位置データ群によって切出され
た領域が管理でき、任意領域のデータ内の構造が簡略と
なる。
When saving as data, a rectangular area that is image data and a region cut out by a group of position data within the rectangular area can be managed, and the structure of the data of an arbitrary area can be simplified.

発明の効果 以上の説明から明らかなように、本発明は、読取られた
画像データ中の任意領域に外接する矩形領域と同じ大き
さの矩形領域を確保し、その領域中に任意領域と同じ形
の領域を黒色で埋め、画像データ中の任意領域に外接す
る矩形領域との間で論理積演算処理を行うようにしたも
のであるから、任意領域を高速に切出せ、切出した任意
領域を矩形領域として扱えるため、表示やデータ管理も
簡略となるという効果を有するものである。
Effects of the Invention As is clear from the above explanation, the present invention secures a rectangular area of the same size as the rectangular area circumscribing an arbitrary area in the read image data, and includes a rectangular area with the same shape as the arbitrary area in the area. The area is filled with black and a logical AND operation is performed between the arbitrary area in the image data and the circumscribed rectangular area, so the arbitrary area can be cut out at high speed, and the cut out arbitrary area can be converted into a rectangular area. Since it can be handled as an area, it has the effect of simplifying display and data management.

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

第1図は本発明に係る画像任意領域切出方法を実施する
だめの領域切出システムの一実施例を示す概略構成ブロ
ック図、第2図は本発明方法の動作を説明するだめのフ
ローチャート、第3図は表示部に表示された画像データ
中の任意領域を指示する手順の一例を示す概念図、第4
図は本発明による領域切出しの一実施例を示す概念図、
第5図は従来の領域切出しの一例を示す概念図である0
11・・・画像読取部、12・・・メモリ、13・・・
表示部、14・・・入力部、15・・・制御部(CPU
)。 代理人の氏名 弁理士 中 尾 敏 男  ほか1名第
1図 第 2 図 第3図 第4図 第5図
FIG. 1 is a schematic block diagram showing an embodiment of an area extraction system for implementing the image arbitrary area extraction method according to the present invention, and FIG. 2 is a flowchart illustrating the operation of the method of the present invention. FIG. 3 is a conceptual diagram showing an example of the procedure for specifying an arbitrary area in the image data displayed on the display unit;
The figure is a conceptual diagram showing an example of region extraction according to the present invention.
FIG. 5 is a conceptual diagram showing an example of conventional region extraction.
11... Image reading section, 12... Memory, 13...
Display section, 14... Input section, 15... Control section (CPU
). Name of agent: Patent attorney Toshio Nakao and one other person Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 読取部で読取られた画像データを表示部に表示し、その
表示された画像データ中の任意領域をカーソルの位置デ
ータ群で取り囲み、その取り囲まれた任意領域に外接す
る第1領域(矩形領域)と同じ大きさの第2領域(矩形
領域)をメモリ上に確保し、その確保された第2領域内
に前記任意領域と同じ形状の領域を求めて描画すると共
に、前記第1領域と第2領域との間で論理演算処理を行
うことにより、前記第2領域上に任意領域の画像データ
を切出すようにしたことを特徴とする画像任意領域切出
方法。
Displaying the image data read by the reading unit on the display unit, surrounding an arbitrary area in the displayed image data with a group of cursor position data, and a first area (rectangular area) circumscribing the surrounded arbitrary area. A second area (rectangular area) with the same size as is secured in the memory, and an area having the same shape as the arbitrary area is found and drawn within the secured second area, and the first area and the second area are A method for cutting out an arbitrary region of an image, characterized in that image data of an arbitrary region is cut out on the second region by performing logical operation processing between the regions.
JP26605286A 1986-11-07 1986-11-07 Segmenting method for arbitrary area of image Pending JPS63118984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26605286A JPS63118984A (en) 1986-11-07 1986-11-07 Segmenting method for arbitrary area of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26605286A JPS63118984A (en) 1986-11-07 1986-11-07 Segmenting method for arbitrary area of image

Publications (1)

Publication Number Publication Date
JPS63118984A true JPS63118984A (en) 1988-05-23

Family

ID=17425713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26605286A Pending JPS63118984A (en) 1986-11-07 1986-11-07 Segmenting method for arbitrary area of image

Country Status (1)

Country Link
JP (1) JPS63118984A (en)

Similar Documents

Publication Publication Date Title
JPS62192867A (en) Work station handling image data
EP0300502B1 (en) High speed page turning control system
JPS63118984A (en) Segmenting method for arbitrary area of image
JP2897876B2 (en) Code data expansion processing method
JPS62288977A (en) Composition system
JP3012445B2 (en) Image data output processing method and apparatus
JPH0584940B2 (en)
JPS58102289A (en) Image editting system
JPS63311868A (en) Picture processing device
JPH0766260B2 (en) Image data coloring device
JPH03134780A (en) Image data display system
JPH04255896A (en) Drawing system for character
JPS6324461A (en) Composite document processor
JPS6345682A (en) Picture display control system
JP2003228728A (en) Outline drawing device and method for image display device for slot machine or pachi-slo machine and computer program for the same
JPH04270557A (en) Display method for reduction conversion picture
JPH07181957A (en) Image processor
JPH01155429A (en) Multiwindow display system
JPH0962236A (en) Pixel data processing method and high speed drawing device using same
JPS62224867A (en) Graphic drawing method
JPH05127861A (en) Image processing system
JPH04241394A (en) Figure display device
JPH05334429A (en) Image processor
JPS58140786A (en) Graphic display control system
JPH06195460A (en) Image extraction system