JPH07182519A - Method and device for dividing area - Google Patents

Method and device for dividing area

Info

Publication number
JPH07182519A
JPH07182519A JP5329009A JP32900993A JPH07182519A JP H07182519 A JPH07182519 A JP H07182519A JP 5329009 A JP5329009 A JP 5329009A JP 32900993 A JP32900993 A JP 32900993A JP H07182519 A JPH07182519 A JP H07182519A
Authority
JP
Japan
Prior art keywords
area
data holding
holding means
area data
pixel
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
JP5329009A
Other languages
Japanese (ja)
Inventor
Takashi Okamoto
敬 岡本
Takashi Miyawaki
隆志 宮脇
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries 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 Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP5329009A priority Critical patent/JPH07182519A/en
Publication of JPH07182519A publication Critical patent/JPH07182519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To simplify an operation for dividing an area by selecting a picture, in which difference from the color of a pixel designated by a cursor is less than a prescribed threshold value, positioned within a prescribed area as a pixel belonging to the area to be divided. CONSTITUTION:This device is provided with a retrieval area possessing part 5 for possessing a retrieval area decided based on a cursor position and a retrieval area size, new area preparing part 6 for preparing a new area by extracting a point, to which a color to be inside the range of a threshold value is allocated, from color data extracted from the inside of the retrieval area by a color data extracting part 3, and new area writing part 7 for writing the prepared new area into an area data plane 9. Then, a repetition control part 8 repeatedly operates the color data extracting part 3, possessing part 5, preparing part 6 and writing part 7 until the end of area dividing processing is indicated. Therefore, a range to be the object of area division can be limited to only one part of a source image and as a result, the trouble of preparing an area not expected by an operator at all as a divided area can be prevented in advance.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は領域分割方法およびそ
の装置に関し、さらに詳細にいえば、ディスプレイ装置
に可視的に表示されている画像(コンピュータグラフィ
ックス技術により作成された画像、ビディオカメラ等に
より取り込まれた映像等を含む)の中から、選択された
点の色と類似する色を有する領域を分割するための方法
およびその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an area dividing method and an apparatus therefor, and more specifically, an image visually displayed on a display device (an image created by computer graphics technology, a video camera, etc.). (Including captured images, etc.) and a device for dividing a region having a color similar to the color of a selected point.

【0002】[0002]

【従来の技術】従来から、CRTディスプレイ装置に代
表されるディスプレイ装置に可視的に表示された画像の
中から、所望の色彩と類似する色彩を有する領域を分割
する方法が提案されている。この提案方法は、画像中の
所望の点にカーソルを移動させ、マウスピック操作を行
なうことにより該当する点を選択する。そして、点が選
択されたことに応答して、画像の全範囲を検索対象領域
とし、選択された点の色彩と類似する色彩を有する全て
の点を自動的に抽出し、抽出された全ての点により構成
される領域を分割領域とする方法である。
2. Description of the Related Art Conventionally, there has been proposed a method of dividing a region having a color similar to a desired color from an image visually displayed on a display device typified by a CRT display device. In this proposed method, the cursor is moved to a desired point in the image and a mouse pick operation is performed to select the corresponding point. Then, in response to the selection of a point, the entire range of the image is set as a search target area, all points having a color similar to the color of the selected point are automatically extracted, and all the extracted points are extracted. This is a method in which a region composed of points is used as a divided region.

【0003】したがって、操作者は、領域分割処理を選
択するとともに、所望の1点をマウス操作により選択す
るという簡単な操作を行なうだけで、所望の色彩(選択
された点の色彩)と類似する色彩を有する領域を分割す
ることができる。
Therefore, the operator is similar to the desired color (the color of the selected point) only by performing the simple operation of selecting the desired one point by operating the mouse while selecting the area division processing. Regions with color can be divided.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記従来の領
域分割方法を採用した場合には、画像の全範囲が検索対
象領域になるので、操作者が全く予期していないような
広い領域が分割領域として選択されてしまうという不都
合がある。また、分割領域が広くなれば、処理のための
所要時間が長くなってしまい、領域分割システムの応答
性が低下してしまうとともに、操作者の操作性が低下し
てしまうことになる。具体的には、例えば、画像中の分
割対象物体の色彩と背景の色彩とが類似しているような
場合に、分割対象物体に含まれる任意の1点を選択すれ
ば、分割対象物体以外に背景が分割対象領域として選択
されてしまう。そして、このような場合には、選択され
るべき色彩の範囲を変化させて再び領域分割処理を行な
うことになるが、分割対象物体のみを選択することがで
きる上記範囲を設定することができるという保証が全く
ないので、1回の分割処理に長時間がかかってしまうこ
とと反復回数が増加してしまうことと相俟って、操作性
が著しく低下してしまうことになる。また、上記従来の
方法においては、領域分割処理を取り消して再度領域分
割処理を行なうに当って、メニュー画面において、それ
までの処理を無効にして元に戻す処理(例えば、UND
O処理)を選択しなければならず、この面からも操作性
が低下してしまう。さらに、1回の領域分割処理におい
て1つの分割領域(物理的に連続した1つの領域ではな
く、選択された点の色彩と類似する色彩を有する点で構
成される領域を意味する)しか作成することができない
ので、多重合成等のために複数の分割領域を得る必要が
ある場合には、操作が著しく繁雑になってしまう。
However, when the above-mentioned conventional area dividing method is adopted, since the entire range of the image becomes the search target area, a wide area that the operator does not expect is divided. There is an inconvenience that it is selected as a region. In addition, if the divided area is wide, the time required for processing becomes long, the responsiveness of the area dividing system is deteriorated, and the operability of the operator is deteriorated. Specifically, for example, when the color of the division target object in the image and the color of the background are similar to each other, if an arbitrary one point included in the division target object is selected, the object other than the division target object is selected. The background is selected as the division target area. In such a case, although the range of colors to be selected is changed and the area division process is performed again, it is possible to set the range in which only the division target object can be selected. Since there is no guarantee at all, combined with the fact that one division process takes a long time and the number of iterations increases, the operability is significantly reduced. Further, in the above-mentioned conventional method, when canceling the area dividing processing and performing the area dividing processing again, the processing so far is invalidated and the processing is returned to the original (for example, UND in the menu screen).
O treatment) has to be selected, and operability also deteriorates in this respect. Further, in one area division processing, only one divided area (not one physically continuous area, but an area composed of points having a color similar to the color of the selected point) is created. Therefore, when it is necessary to obtain a plurality of divided areas for multiple composition or the like, the operation becomes extremely complicated.

【0005】[0005]

【発明の目的】この発明は上記の問題点に鑑みてなされ
たものであり、簡単な操作で確実に所望の領域を分割す
ることができ、しかも分割所要時間を著しく短縮するこ
とができる領域分割方法およびその装置を提供すること
を目的としている。また、この発明は、領域分割処理を
取り消して再度領域分割処理を行なう場合の操作性を高
めることができる領域分割方法およびその装置を提供す
ることを他の目的としている。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is possible to surely divide a desired area by a simple operation, and further, it is possible to significantly reduce the time required for the division. It is an object to provide a method and an apparatus thereof. Another object of the present invention is to provide an area dividing method and an apparatus thereof that can improve the operability when canceling the area dividing processing and performing the area dividing processing again.

【0006】さらに、この発明は、簡単な操作で複数の
領域を分割することができる領域分割方法およびその装
置を提供することをさらに他の目的としている。
Still another object of the present invention is to provide an area dividing method and an apparatus for dividing a plurality of areas by a simple operation.

【0007】[0007]

【課題を解決するための手段】請求項1の領域分割方法
は、カーソル位置に基づいて定まる所定の領域を設定
し、カーソルにより指定された画素の色との差が所定の
閾値以下であり、かつ上記所定の領域内に位置する画素
を分割されるべき領域に属する画素として選択する方法
である。
According to a first aspect of the present invention, there is provided a method for dividing an area, wherein a predetermined area determined based on a cursor position is set, and a difference from a color of a pixel designated by the cursor is less than or equal to a predetermined threshold value. Further, it is a method of selecting a pixel located in the predetermined area as a pixel belonging to the area to be divided.

【0008】請求項2の領域分割装置は、カーソル位置
に基づいて定まる所定の領域を設定する領域設定手段
と、カーソルにより指定された画素の色との差が所定の
閾値以下であり、かつ上記所定の領域内に位置する画素
を分割されるべき領域に属する画素として選択する画素
選択手段と、画素選択手段により選択された画素に基づ
いて得られる領域情報を保持するための、画像と同一ピ
クセル数の領域データ保持手段とを含んでいる。
According to a second aspect of the present invention, in the area dividing device, the difference between the area setting means for setting a predetermined area determined based on the cursor position and the color of the pixel designated by the cursor is less than or equal to a predetermined threshold value, and Pixel selection means for selecting pixels located in a predetermined area as pixels belonging to the area to be divided, and the same pixel as the image for holding area information obtained based on the pixels selected by the pixel selection means A number of area data holding means.

【0009】請求項3の領域分割方法は、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を所定の領
域分割処理のために割り当てるとともに、他方を残余の
分割領域を保持するために割り当て、一方の領域データ
保持手段にカーソル位置に基づいて定まる所定の領域を
設定し、カーソルにより指定された画素の色との差が所
定の閾値以下であり、かつ上記所定の領域内に位置する
画素を分割されるべき領域に属する画素として選択し、
領域分割処理を行なうべき領域を変更すべきことが指示
されたことに応答して、一方の領域データ保持手段に保
持されている領域データを他方の領域データ保持手段に
書き込み、次いで、他方の領域データ保持手段から領域
分割処理の対象となる領域データを読み出して一方の領
域データ保持手段に書き込む方法である。
According to the area dividing method of the third aspect, one of a pair of area data holding means having the same number of pixels as the image is allocated for predetermined area dividing processing, and the other is held for holding the remaining divided areas. Allocation, setting a predetermined area determined on the basis of the cursor position in one area data holding means, the difference with the color of the pixel designated by the cursor is less than or equal to a predetermined threshold value, and is located within the predetermined area Select the pixel as a pixel belonging to the area to be divided,
In response to the instruction to change the area to be subjected to the area division processing, the area data held in one area data holding means is written in the other area data holding means, and then the other area data is held. In this method, the area data to be subjected to the area division processing is read from the data holding means and written in one area data holding means.

【0010】請求項4の領域分割装置は、画像と同一ピ
クセル数の1対の領域データ保持手段と、1対の領域デ
ータ保持手段の一方を領域分割処理のために割り当てる
とともに、他方の領域データ保持手段を残余の領域デー
タを保持すべく割り当てる割り当て手段と、一方の領域
データ保持手段にカーソル位置に基づいて定まる所定の
領域を設定する領域設定手段と、カーソルにより指定さ
れた画素の色との差が所定の閾値以下であり、かつ上記
所定の領域内に位置する画素を分割されるべき領域に属
する画素として選択する画素選択手段と、領域分割処理
の対象となる領域を選択する領域選択手段と、領域選択
手段により新たな領域が選択されたことに応答して、一
方の領域データ保持手段に保持されている領域データを
他方の領域データ保持手段に書き込み、次いで、他方の
領域データ保持手段から領域分割処理の対象となる領域
データを読み出して一方の領域データ保持手段に書き込
む領域変更手段とを含んでいる。
According to a fourth aspect of the present invention, there is provided an area dividing device, wherein one pair of area data holding means having the same number of pixels as an image and one of the pair of area data holding means are allocated for area division processing, and the other area data is stored. An allocation means for allocating the holding means to hold the remaining area data, an area setting means for setting a predetermined area determined on the basis of the cursor position in one area data holding means, and a color of the pixel designated by the cursor Pixel selection means for selecting a pixel whose difference is less than or equal to a predetermined threshold value and located in the predetermined area as a pixel belonging to an area to be divided, and area selection means for selecting an area to be subjected to area division processing. And in response to the new area being selected by the area selecting means, the area data held in one area data holding means is changed to the other area data. Writing the lifting means, then, and a region changing means for writing to one of the region data holding means reads the area data to be area dividing process from the other area data holding means.

【0011】請求項5の領域分割方法は、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を分割領域
の表示のために割り当てるとともに、他方を直前の分割
領域保持のために割り当て、一方の領域データ保持手段
の内容に基づく分割領域の表示中にカーソル位置に基づ
いて定まる所定の領域を設定し、画素の選択を確定すべ
きことが指示されたことに応答して、カーソルにより指
定された画素の色との差が所定の閾値以下であり、かつ
上記所定の領域内に位置する画素を分割されるべき領域
に属する画素として選択し、画素の選択を解除すべきこ
とが指示されたことに応答して、他方の領域データ保持
手段を分割対象領域の表示のために割り当てるととも
に、一方の領域データ保持手段を直前の分割領域保持の
ために割り当てる方法である。
According to a fifth aspect of the present invention, there is provided an area dividing method, wherein one of a pair of area data holding means having the same number of pixels as an image is allocated for displaying the divided area, and the other is allocated for holding the immediately preceding divided area. A predetermined area determined based on the cursor position is set during the display of the divided area based on the content of one area data holding unit, and is designated by the cursor in response to an instruction to confirm the pixel selection. The difference between the color of the selected pixel and the color of the selected pixel is less than or equal to a predetermined threshold, and it is instructed that the pixel located in the predetermined region is selected as a pixel belonging to the region to be divided and the pixel selection is deselected In response to this, the other area data holding means is allocated for displaying the division target area, and the one area data holding means is allocated for holding the immediately preceding divided area. It is.

【0012】請求項6の領域分割装置は、画像と同一ピ
クセル数の1対の領域データ保持手段と、領域データ保
持手段の一方を分割領域の表示のために割り当てるとと
もに、他方を直前の分割領域保持のために割り当てる割
り当て手段と、一方の領域データ保持手段の内容に基づ
く分割領域の表示中にカーソル位置に基づいて定まる所
定の領域を設定する領域設定手段と、画素の選択を確定
すべきことまたは解除すべきことを指示する指示手段
と、画素の選択を確定すべきことを示す確定指示信号が
指示手段から出力されたことに応答して、カーソルによ
り指定された画素の色との差が所定の閾値以下であり、
かつ上記所定の領域内に位置する画素を分割されるべき
領域に属する画素として選択する画素選択手段と、画素
の選択を解除すべきことを示す解除指示信号が指示手段
から出力されたことに応答して、他方の領域データ保持
手段を分割対象領域の表示のために割り当てるととも
に、一方の領域データ保持手段を直前の分割領域保持の
ために割り当てるべく割り当て手段を制御する制御手段
とを含んでいる。
According to a sixth aspect of the present invention, there is provided an area dividing device, wherein one pair of area data holding means having the same number of pixels as an image and one of the area data holding means are allocated for displaying the divided areas, and the other one is arranged immediately before. Assignment means to be assigned for holding, area setting means for setting a predetermined area determined based on the cursor position while displaying a divided area based on the content of one area data holding means, and selection of pixels to be confirmed Alternatively, in response to the confirmation instruction signal indicating that the selection of the pixel should be confirmed and the confirmation instruction signal indicating that the selection of the pixel should be confirmed, the difference between the color of the pixel designated by the cursor and Is less than or equal to a predetermined threshold,
Further, in response to the pixel selecting means for selecting the pixel located in the predetermined area as the pixel belonging to the area to be divided and the cancellation instruction signal indicating that the selection of the pixel should be canceled from the instructing means. Then, the other area data holding means is allocated for displaying the division target area, and the one area data holding means is controlled for allocating the area data holding means for holding the immediately preceding divided area. .

【0013】請求項7の領域分割方法は、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を分割領域
の一時保持のために割り当てるとともに、他方を確定し
た分割領域の保持のために割り当て、かつ何れかを表示
のために割り当て、他方の領域データ保持手段の内容に
基づく分割領域の表示中にカーソル位置に基づいて定ま
る所定の領域を設定し、画素の選択を確定すべきことが
仮に指示されたことに応答して、カーソルにより指定さ
れた画素の色との差が所定の閾値以下であり、かつ上記
所定の領域内に位置する画素を分割されるべき領域に属
する画素として選択して一方の領域データ保持手段に書
き込むとともに、一方の領域データ保持手段を表示のた
めに割り当て、画素の選択を確定すべきことが指示され
たことに応答して、表示のために割り当てられている領
域データ保持手段に保持されている領域データを表示の
ために割り当てられていない領域データ保持手段に書き
込むとともに、表示のために割り当てられていない領域
データ保持手段を表示のために割り当て、一方の領域デ
ータ保持手段が表示のために割り当てられている状態に
おいてカーソル位置が離れたことに応答して、他方の領
域データ保持手段を表示のために割り当てる方法であ
る。
According to the area dividing method of claim 7, one of a pair of area data holding means having the same number of pixels as the image is allocated for temporarily holding the divided area, and the other is held for holding the decided divided area. It is possible that the selection of pixels should be confirmed by allocating and assigning one of them for display, setting a predetermined area determined based on the cursor position while displaying a divided area based on the content of the other area data holding unit. In response to the instruction, a pixel whose difference from the color of the pixel designated by the cursor is less than or equal to a predetermined threshold value and which is located in the predetermined region is selected as a pixel belonging to the region to be divided. Then, in response to the fact that the one area data holding means is allocated for display and one of the area data holding means is instructed to confirm the pixel selection, The area data held in the area data holding means assigned for display is written in the area data holding means not assigned for display, and the area data holding means not assigned for display is displayed. The area data holding means is allocated for display, and the other area data holding means is allocated for display in response to the cursor position being separated in the state where one area data holding means is allocated for display.

【0014】請求項8の領域分割装置は、画像と同一ピ
クセル数の1対の領域データ保持手段と、領域データ保
持手段の一方を分割領域の一時保持のために割り当てる
とともに、他方を確定した分割領域の保持のために割り
当て、かつ何れかを表示のために割り当てる割り当て手
段と、他方の領域データ保持手段の内容に基づく分割領
域の表示中にカーソル位置に基づいて定まる所定の領域
を設定する領域設定手段と、画素の選択を確定すべきこ
とまたは仮に確定すべきことを指示する指示手段と、選
択を仮に確定すべきことを示す仮確定指示信号が指示手
段から出力されたことに応答して、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択して一方の領域データ保持手段に
書き込む画素選択手段と、画素の選択を確定すべきこと
を示す確定指示信号が指示手段から出力されたことに応
答して、表示のために割り当てられている領域データ保
持手段に保持されている領域データを表示のために割り
当てられていない領域データ保持手段に書き込む確定手
段と、一方の領域データ保持手段が表示のために割り当
てられている状態においてカーソル位置が離れたことに
応答して、他方の領域データ保持手段を表示のために割
り当てるべく割り当て手段を制御する制御手段とを含ん
でいる。
According to another aspect of the present invention, there is provided an area dividing device, wherein one pair of area data holding means having the same number of pixels as an image and one of the area data holding means are allocated for temporarily holding divided areas, and the other is fixed. An allocation unit that allocates for holding an area and one of which is allocated for display, and an area that sets a predetermined area that is determined based on the cursor position while displaying a divided area based on the content of the other area data holding unit In response to the setting means, an instruction means for instructing that the selection of the pixel should be confirmed or to be temporarily confirmed, and a temporary confirmation instruction signal indicating that the selection of the pixel should be temporarily confirmed, in response to the output from the instruction means. , The difference between the color of the pixel designated by the cursor and a predetermined threshold value is equal to or less than a predetermined threshold, and the pixel located in the predetermined region is regarded as a pixel belonging to the region to be divided. Pixel selecting means for selecting and writing to one area data holding means, and in response to output from the instructing means of a confirmation instruction signal indicating that pixel selection should be confirmed, it is allocated for display. The confirming means for writing the area data held in the area data holding means to the area data holding means not assigned for display, and the cursor position in the state where one area data holding means is assigned for display Control means for controlling the allocating means to allocate the other area data holding means for display in response to being separated.

【0015】請求項9の領域分割方法は、画像と同一ピ
クセル数の4つの領域データ保持手段をそれぞれ領域分
割処理の対象となる領域データを保持する第1領域デー
タ保持手段、第3領域データ保持手段、該当する領域デ
ータを一時的に保持する第2領域データ保持手段、残余
の領域データを保持する第4領域データ保持手段に割り
当て、第1領域データ保持手段の内容に基づく分割領域
の表示中にカーソル位置に基づいて定まる所定の領域を
設定し、カーソルにより指定された画素の色との差が所
定の閾値以下であり、かつ上記所定の領域内に位置する
画素を分割されるべき領域に属する画素として選択し、
画素の選択を仮に確定させるべきことを示す確定指示に
応答して、元の分割領域に対して選択された画素を追加
して第2領域データ保持手段に保持させるとともに、第
2領域データ保持手段を表示のために割り当て、画素の
選択を確定させるべきことを示す確定指示に応答して、
第2領域データ保持手段に保持されている領域データを
第3領域データ保持手段に書き込むとともに、第3領域
データ保持手段を表示のために割り当て、第1領域デー
タ保持手段と第3領域保持手段とを切り換えて上記一連
の処理を必要回数だけ反復させ、しかも、第2領域デー
タ保持手段が表示のために割り当てられている状態にお
いてカーソル位置が離れたことに応答して、第1又は第
3領域データ割り当て手段を表示のために割り当て、領
域分割処理を行なうべき領域を変更すべきことが指示さ
れたことに応答して、第1又は第3領域データ保持手段
に保持されている領域データを第4領域データ保持手段
に書き込み、次いで、第4領域データ保持手段から領域
分割処理の対象となる領域データを読み出して残余の領
域データ保持手段に書き込む方法である。
According to a ninth aspect of the present invention, there is provided a first area data holding means and a third area data holding means for holding four area data holding means each having the same number of pixels as an image for holding area data to be subjected to area dividing processing. Means, second area data holding means for temporarily holding the corresponding area data, and fourth area data holding means for holding the remaining area data, and displaying the divided areas based on the contents of the first area data holding means. Set a predetermined area to be determined based on the cursor position, the difference between the color of the pixel specified by the cursor is less than a predetermined threshold, and the pixel located in the predetermined area to the area to be divided Select it as the pixel it belongs to,
In response to the confirmation instruction indicating that the selection of the pixel should be temporarily confirmed, the selected pixel is added to the original divided area and held in the second area data holding means, and at the same time, the second area data holding means. In response to a confirmation instruction indicating that the pixel selection should be confirmed,
The area data held in the second area data holding means is written in the third area data holding means, the third area data holding means is allocated for display, and the first area data holding means and the third area holding means are provided. To repeat the above-described series of processing a required number of times, and in response to the cursor position being separated in the state where the second area data holding means is allocated for display, the first or third area In response to an instruction to allocate the data allocation means for display and to change the area to be subjected to the area division processing, the area data held in the first or third area data holding means is changed to the first area data. 4 area data holding means, and then area data to be subjected to area division processing is read from the 4th area data holding means, and the remaining area data holding means It is a method of writing.

【0016】請求項10の領域分割装置は、画像と同一
ピクセル数の4つの領域データ保持手段をそれぞれ領域
分割処理の対象となる領域データを保持する第1領域デ
ータ保持手段、第3領域データ保持手段、該当する領域
データを一時的に保持する第2領域データ保持手段、残
余の領域データを保持する第4領域データ保持手段に割
り当ててあるとともに、選択的に1つの領域データ保持
手段を表示のために割り当ててあり、さらに、表示のた
めに割り当てられた領域データ保持手段の内容に基づく
分割領域の表示中にカーソル位置に基づいて定まる所定
の領域を設定する領域設定手段と、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択する画素選択手段と、画素の選択
を確定すべきことまたは仮に確定すべきことを指示する
指示手段と、画素の選択を仮に確定させるべきことを示
す確定指示に応答して、元の分割領域に対して選択され
た画素を追加して第2領域データ保持手段に保持させる
とともに、第2領域データ保持手段を表示のために割り
当て、画素の選択を確定させるべきことを示す確定指示
に応答して、第2領域データ保持手段に保持されている
領域データを第3領域データ保持手段に書き込むととも
に、第3領域データ保持手段を表示のために割り当て、
第1領域データ保持手段と第3領域保持手段とを切り換
えて上記一連の処理を必要回数だけ反復させ、しかも、
第2領域データ保持手段が表示のために割り当てられて
いる状態においてカーソル位置が離れたことに応答し
て、第1又は第3領域データ割り当て手段を表示のため
に割り当て、領域分割処理を行なうべき領域を変更すべ
きことが指示されたことに応答して、第1又は第3領域
データ保持手段に保持されている領域データを第4領域
データ保持手段に書き込み、次いで、第4領域データ保
持手段から領域分割処理の対象となる領域データを読み
出して残余の領域データ保持手段を表示のために採用す
る第2選択手段とを含んでいる。
According to a tenth aspect of the present invention, there is provided a first area data holding means and a third area data holding means for holding four area data holding means each having the same number of pixels as an image, the area data to be subjected to the area dividing processing. Means, the second area data holding means for temporarily holding the corresponding area data, and the fourth area data holding means for holding the remaining area data, and selectively displaying one area data holding means. Area setting means for setting a predetermined area determined based on the cursor position during the display of the divided area based on the content of the area data holding means allocated for display, and designated by the cursor. The difference between the color of the pixel and the color of the pixel is less than or equal to a predetermined threshold, and the pixel located in the above-mentioned predetermined area is regarded as a pixel belonging to the area to be divided. In response to the pixel selection means for selecting, the instruction means for instructing or tentatively confirming the pixel selection, and the confirmation instruction for temporarily deciding the pixel selection, the original divided area The selected pixel is added to the second area data holding means and held in the second area data holding means, the second area data holding means is allocated for display, and the selection of the pixel is to be confirmed in response to a confirmation instruction. Write the area data held in the second area data holding means to the third area data holding means, and allocate the third area data holding means for display.
The first area data holding means and the third area holding means are switched to repeat the above series of processing a required number of times.
In response to the cursor position being separated in the state where the second area data holding means is allocated for display, the first or third area data allocation means should be allocated for display and the area division processing should be performed. In response to the instruction to change the area, the area data held in the first or third area data holding means is written in the fourth area data holding means, and then the fourth area data holding means. And second selecting means for reading the area data to be subjected to the area division processing and adopting the remaining area data holding means for display.

【0017】請求項11の領域分割方法は、カーソル位
置に基づいて定まる所定の領域として、カーソル位置を
中心とする所定の半径の円を採用する方法である。但
し、カーソル位置に餅づいて定まる所定の領域として円
以外に楕円、長方形等を採用することも可能である。請
求項12の領域分割装置は、領域設定手段として、カー
ソル位置を中心とする所定の半径の円を表示するものを
採用している。
The area dividing method according to claim 11 is a method in which a circle having a predetermined radius centered on the cursor position is adopted as the predetermined area determined based on the cursor position. However, it is also possible to adopt an ellipse, a rectangle, or the like other than a circle as the predetermined area determined based on the rice cake at the cursor position. The area dividing device according to a twelfth aspect employs, as the area setting means, one that displays a circle having a predetermined radius centered on the cursor position.

【0018】但し、領域設定手段として、円以外の楕
円、長方形等を表示するものを採用することも可能であ
る。
However, it is also possible to adopt a means for displaying an ellipse other than a circle, a rectangle, etc. as the area setting means.

【0019】[0019]

【作用】請求項1の領域分割方法であれば、画像におけ
る類似色の領域を分割するに当って、カーソル位置に基
づいて定まる所定の領域を設定し、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択するのであるから、領域分割のた
めの操作を簡単化することができる。そして、領域分割
処理の対象となる領域を上記所定の領域の範囲に限定す
ることができるので、領域分割所要時間を短縮すること
ができるとともに、予期しない領域が分割されてしまう
という不都合の発生を未然に防止することができる。ま
た、上記所定の領域のサイズを設定可能にしておけば、
分割予定領域のサイズに合せて最適なサイズの所定の領
域を設定することが可能になり、ひいては領域分割のた
めに設定する必要がある所定の領域の数を必要最小限に
することができ、操作性を高めることができる。
According to the area dividing method of the first aspect, in dividing an area of similar color in an image, a predetermined area determined based on the cursor position is set and the color of the pixel designated by the cursor is set. Since the difference is less than or equal to the predetermined threshold and the pixel located in the predetermined area is selected as the pixel belonging to the area to be divided, the operation for area division can be simplified. Since the area to be subjected to the area division processing can be limited to the range of the predetermined area, the time required for area division can be shortened and an unexpected area may be divided. It can be prevented. Also, if the size of the above-mentioned predetermined area can be set,
It is possible to set a predetermined area having an optimum size according to the size of the area to be divided, and thus it is possible to minimize the number of predetermined areas that need to be set for area division, Operability can be improved.

【0020】請求項2の領域分割装置であれば、画像に
おける類似色の領域を分割するに当って、カーソル位置
に基づいて定まる所定の領域を領域設定手段により設定
し、画素選択手段によって、カーソルにより指定された
画素の色との差が所定の閾値以下であり、かつ上記所定
の領域内に位置する画素を分割されるべき領域に属する
画素として選択し、画素選択手段により選択された画素
に基づいて得られる領域情報を、画像と同一ピクセル数
の領域データ保持手段により保持するのであるから、領
域分割のための操作を簡単化することができる。そし
て、領域分割処理の対象となる領域を上記所定の領域の
範囲に限定することができるので、領域分割所要時間を
短縮することができるとともに、予期しない領域が分割
されてしまうという不都合の発生を未然に防止すること
ができる。また、上記所定の領域のサイズを設定可能に
しておけば、分割予定領域のサイズに合せて最適なサイ
ズの所定の領域を設定することが可能になり、ひいては
領域分割のために設定する必要がある所定の領域の数を
必要最小限にすることができ、操作性を高めることがで
きる。
According to the area dividing device of the second aspect, in dividing the area of the similar color in the image, the predetermined area determined based on the cursor position is set by the area setting means, and the pixel selecting means sets the cursor. The color difference of the pixel specified by is less than or equal to a predetermined threshold value, and the pixel located in the predetermined area is selected as a pixel belonging to the area to be divided, and the pixel selected by the pixel selection means is selected. Since the area information obtained based on the area data holding means having the same number of pixels as the image is held, the operation for area division can be simplified. Since the area to be subjected to the area division processing can be limited to the range of the predetermined area, the time required for area division can be shortened and an unexpected area may be divided. It can be prevented. If the size of the predetermined area is settable, it becomes possible to set a predetermined area having an optimum size in accordance with the size of the area to be divided, and it is necessary to set the area for area division. The number of certain predetermined regions can be minimized, and operability can be improved.

【0021】請求項3の領域分割方法であれば、画像に
おける類似色の領域を分割するに当って、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を所定の領
域分割処理のために割り当てるとともに、他方を残余の
分割領域を保持するために割り当て、一方の領域データ
保持手段にカーソル位置に基づいて定まる所定の領域を
設定し、カーソルにより指定された画素の色との差が所
定の閾値以下であり、かつ上記所定の領域内に位置する
画素を分割されるべき領域に属する画素として選択し、
領域分割処理を行なうべき領域を変更すべきことが指示
されたことに応答して、一方の領域データ保持手段に保
持されている領域データを他方の領域データ保持手段に
書き込み、次いで、他方の領域データ保持手段から領域
分割処理の対象となる領域データを読み出して一方の領
域データ保持手段に書き込むのであるから、複数の領域
を互に区別できる状態で分割することができる。 請求
項4の領域分割装置であれば、画像における類似色の領
域を分割するに当って、割り当て手段により、画像と同
一ピクセル数の1対の領域データ保持手段の一方を領域
分割処理のために割り当てるとともに、他方の領域デー
タ保持手段を残余の領域データを保持すべく割り当て
る。そして、この状態において領域表示手段により、一
方の領域データ保持手段にカーソル位置に基づいて定ま
る所定の領域を表示し、画素選択手段により、カーソル
により指定された画素の色との差が所定の閾値以下であ
り、かつ上記所定の領域内に位置する画素を分割される
べき領域に属する画素として選択する。また、領域選択
手段により新たな領域が選択された場合には、領域変更
手段により、一方の領域データ保持手段に保持されてい
る領域データを他方の領域データ保持手段に書き込み、
次いで、他方の領域データ保持手段から領域分割処理の
対象となる領域データを読み出して一方の領域データ保
持手段に書き込み、その後、領域分割処理の対象となる
領域データに基づいて領域分割処理を行なう。したがっ
て、複数の領域を互に区別できる状態で分割することが
できる。
According to the area dividing method of claim 3, in dividing the area of the similar color in the image, one of the pair of area data holding means having the same number of pixels as the image is subjected to the predetermined area dividing processing. And the other is allocated to hold the remaining divided area, a predetermined area determined based on the cursor position is set in one area data holding means, and the difference with the color of the pixel designated by the cursor is predetermined. A pixel which is less than or equal to the threshold value of and which is located in the predetermined area is selected as a pixel belonging to the area to be divided,
In response to an instruction to change the area to be subjected to the area division processing, the area data held in one area data holding means is written in the other area data holding means, and then the other area data is held. Since the area data to be subjected to the area division processing is read from the data holding means and written in one area data holding means, it is possible to divide a plurality of areas in a state in which they can be distinguished from each other. According to the area dividing device of claim 4, in dividing the area of the similar color in the image, the allocating means uses one of the pair of area data holding means having the same number of pixels as the image for the area dividing processing. In addition to the allocation, the other area data holding means is allocated to hold the remaining area data. Then, in this state, the area display means displays a predetermined area determined on the basis of the cursor position on one area data holding means, and the pixel selection means causes a difference between the pixel color designated by the cursor and the predetermined threshold value. Pixels which are the following and are located within the predetermined area are selected as pixels belonging to the area to be divided. Further, when a new area is selected by the area selecting means, the area changing means writes the area data held in one area data holding means to the other area data holding means,
Next, the area data that is the target of the area division processing is read from the other area data holding means and written in one area data holding means, and then the area division processing is performed based on the area data that is the area division processing target. Therefore, it is possible to divide the plurality of regions in a state where they can be distinguished from each other.

【0022】請求項5の領域分割方法であれば、画像に
おける類似色の領域を分割するに当って、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を分割領域
の表示のために割り当てるとともに、他方を直前の分割
領域保持のために割り当て、一方の領域データ保持手段
の内容に基づく分割領域の表示中にカーソル位置に基づ
いて定まる所定の領域を設定し、画素の選択を確定すべ
きことが指示されたことに応答して、カーソルにより指
定された画素の色との差が所定の閾値以下であり、かつ
上記所定の領域内に位置する画素を分割されるべき領域
に属する画素として選択し、画素の選択を解除すべきこ
とが指示されたことに応答して、他方の領域データ保持
手段を分割対象領域の表示のために割り当てるととも
に、一方の領域データ保持手段を直前の分割領域保持の
ために割り当てるのであるから、所定の領域を表示して
分割されるべき領域に属する画素を選択している途中に
おいて画素の選択を確定することなく解除して、直前の
画素選択確定状態に戻すことができ、領域分割処理の初
期状態まで戻す必要がないのであるから、途中で画素選
択の解除が行なわれる場合における全体としての処理所
要時間を短縮することができる。もちろん、操作者に要
求される操作も簡単化することができる。
According to the area dividing method of claim 5, in dividing the area of the similar color in the image, one of the pair of area data holding means having the same number of pixels as the image is used for displaying the divided area. In addition to allocating, the other is allocated for holding the immediately preceding divided area, a predetermined area determined based on the cursor position is set during the display of the divided area based on the content of one area data holding means, and the pixel selection is confirmed. Pixels belonging to an area to be divided into pixels whose difference from the color of the pixel designated by the cursor is less than or equal to a predetermined threshold in response to the instruction to do In response to the instruction to deselect the pixel, the other area data holding means is allocated for displaying the divided target area and Since the holding means is assigned for holding the immediately preceding divided area, the predetermined area is displayed and the pixel belonging to the area to be divided is selected without canceling the selection of the pixel, Since it is possible to return to the immediately preceding pixel selection confirmed state and it is not necessary to return to the initial state of the area division processing, it is possible to shorten the overall processing time required when the pixel selection is canceled halfway. . Of course, the operation required by the operator can be simplified.

【0023】請求項6の領域分割装置であれば、画像に
おける類似色の領域を分割するに当って、割り当て手段
により、画像と同一ピクセル数の1対の領域データ保持
手段の一方を分割領域の表示のために割り当てるととも
に、他方を直前の分割領域保持のために割り当て、領域
設定手段により、一方の領域データ保持手段の内容に基
づく分割領域の表示中にカーソル位置に基づいて定まる
所定の領域を設定する。そして、画素の選択を確定すべ
きことを示す確定指示信号が指示手段から出力されたこ
とに応答して、画素選択手段により、カーソルにより指
定された画素の色との差が所定の閾値以下であり、かつ
上記所定の領域内に位置する画素を分割されるべき領域
に属する画素として選択する。逆に、画素の選択を解除
すべきことを示す解除指示信号が指示手段から出力され
たことに応答して、他方の領域データ保持手段を分割対
象領域の表示のために割り当てるとともに、一方の領域
データ保持手段を直前の分割領域保持のために割り当て
るべく、制御手段により割り当て手段を制御する。した
がって、所定の領域を表示して分割されるべき領域に属
する画素を選択している途中において画素の選択を確定
することなく解除して、直前の画素選択確定状態に戻す
ことができ、領域分割処理の初期状態まで戻す必要がな
いのであるから、途中で画素選択の解除が行なわれる場
合における全体としての処理所要時間を短縮することが
できる。もちろん、操作者に要求される操作も簡単化す
ることができる。
According to the area dividing device of claim 6, in dividing the area of the similar color in the image, one of the pair of area data holding means having the same number of pixels as the image is divided by the allocating means. In addition to allocating for display, the other is allocated for holding the immediately preceding divided area, and by the area setting means, a predetermined area determined based on the cursor position is displayed during the display of the divided area based on the content of one area data holding means. Set. Then, in response to the confirmation instruction signal indicating that the selection of the pixel should be confirmed is output from the instruction unit, the pixel selection unit causes the difference between the pixel color designated by the cursor and the predetermined threshold value or less. A pixel which is present and is located in the predetermined area is selected as a pixel belonging to the area to be divided. Conversely, in response to the release instruction signal indicating that the selection of the pixel should be released from the instruction means, the other area data holding means is allocated for displaying the division target area and The allocation means is controlled by the control means to allocate the data holding means for holding the immediately preceding divided area. Therefore, it is possible to cancel the pixel selection without confirming it while the pixel belonging to the region to be divided is displayed by displaying a predetermined region and to return to the immediately previous pixel selection confirming state. Since it is not necessary to return to the initial state of processing, it is possible to shorten the overall processing time when the pixel selection is canceled halfway. Of course, the operation required by the operator can be simplified.

【0024】請求項7の領域分割方法であれば、画像に
おける類似色の領域を分割するに当って、画像と同一ピ
クセル数の1対の領域データ保持手段の一方を分割領域
の一時保持のために割り当てるとともに、他方を確定し
た分割領域の保持のために割り当て、かつ何れかを表示
のために割り当て、他方の領域データ保持手段の内容に
基づく分割領域の表示中にカーソル位置に基づいて定ま
る所定の領域を設定し、画素の選択を確定すべきことが
仮に指示されたことに応答して、カーソルにより指定さ
れた画素の色との差が所定の閾値以下であり、かつ上記
所定の領域内に位置する画素を分割されるべき領域に属
する画素として選択して一方の領域データ保持手段に書
き込むとともに、一方の領域データ保持手段を表示のた
めに割り当て、画素の選択を確定すべきことが指示され
たことに応答して、表示のために割り当てられている領
域データ保持手段に保持されている領域データを表示の
ために割り当てられていない領域データ保持手段に書き
込むとともに、表示のために割り当てられていない領域
データ保持手段を表示のために割り当て、一方の領域デ
ータ保持手段が表示のために割り当てられている状態に
おいてカーソル位置が離れたことに応答して、他方の領
域データ保持手段を表示のために割り当てるのであるか
ら、所定の領域を表示して分割されるべき領域に属する
画素を選択している途中において画素の選択を確定する
ことなく解除して、直前の画素選択確定状態に戻すため
の操作を簡単化することができ、しかも画素選択の対象
範囲が所定の領域内に限定されているので、領域分割処
理の所要時間を短縮することができる。
According to the area dividing method of claim 7, in dividing an area of similar color in an image, one of a pair of area data holding means having the same number of pixels as the image is used to temporarily hold the divided area. , And the other one for holding the fixed divided area, and one for displaying, and a predetermined value determined based on the cursor position during the display of the divided area based on the content of the other area data holding means. Is set and the difference between the pixel color designated by the cursor and the color of the pixel designated by the cursor is less than or equal to a predetermined threshold in response to a temporary instruction to finalize the pixel selection, and within the predetermined area. The pixel located in the area is selected as a pixel belonging to the area to be divided and written in one area data holding means, and one area data holding means is allocated for display, In response to the instruction to confirm the selection of, the area data held in the area data holding means allocated for display is transferred to the area data holding means not allocated for display. At the same time as writing, the area data holding means that is not assigned for display is assigned for display, and in response to the cursor position separating in the state where one area data holding means is assigned for display, Since the other area data holding means is assigned for display, the predetermined area is displayed and the pixel belonging to the area to be divided is selected without canceling the pixel selection in the middle, It is possible to simplify the operation for returning to the immediately previous pixel selection confirmed state, and moreover, the target range of pixel selection is limited to a predetermined area. Since, it is possible to shorten the time required for the area dividing process.

【0025】請求項8の領域分割装置であれば、画像に
おける類似色の領域を分割するに当って、割り当て手段
により、画像と同一ピクセル数の1対の領域データ保持
手段一方を分割領域の一時保持のために割り当てるとと
もに、他方を確定した分割領域の保持のために割り当
て、かつ何れかを表示のために割り当てる。そして、領
域設定手段により、他方の領域データ保持手段の内容に
基づく分割領域の表示中にカーソル位置に基づいて定ま
る所定の領域を設定し、画素の選択を仮に確定すべきこ
とを示す仮確定指示信号が指示手段から出力されたこと
に応答して、画素選択手段により、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択して一方の領域データ保持手段に
書き込み、さらに、画素の選択を確定すべきことを示す
確定指示信号が指示手段から出力されたことに応答し
て、確定手段により、表示のために割り当てられている
領域データ保持手段に保持されている領域データを表示
のために割り当てられていない領域データ保持手段に書
き込む。逆に、一方の領域データ保持手段が表示のため
に割り当てられている状態においてカーソル位置が離れ
たことに応答して、上記領域データの書き込みを行なう
ことなく、他方の領域データ保持手段を表示のために割
り当てるべく制御手段により割り当て手段を制御する。
したがって、所定の領域を表示して分割されるべき領域
に属する画素を選択している途中において画素の選択を
確定することなく解除して、直前の画素選択確定状態に
戻すための操作を簡単化することができ、しかも画素選
択の対象範囲が所定の領域内に限定されているので、領
域分割処理の所要時間を短縮することができる。
According to the area dividing device of the eighth aspect, when dividing the areas of similar color in the image, the assigning means causes one of the pair of area data holding means having the same number of pixels as the image to temporarily hold the divided area. In addition to allocating for holding, the other is allocated for holding the defined divided area, and one is allocated for displaying. Then, the area setting means sets a predetermined area determined based on the cursor position during the display of the divided area based on the content of the other area data holding means, and a temporary confirmation instruction indicating that the pixel selection should be temporarily confirmed. In response to the output of the signal from the instruction means, the pixel selection means divides the pixels whose difference from the color of the pixel designated by the cursor is equal to or less than a predetermined threshold value and which is located in the predetermined area. A pixel which belongs to a region to be selected and is written in one of the region data holding means, and further, in response to the confirmation instruction signal indicating that the selection of the pixel should be confirmed is output from the instruction means, the determination means Thus, the area data held in the area data holding means allocated for display is written in the area data holding means not allocated for display. On the contrary, in response to the cursor position being separated in the state where one area data holding means is allocated for display, the other area data holding means is displayed without writing the area data. The allocation means is controlled by the control means to be allocated for this purpose.
Therefore, the operation for canceling the pixel selection without confirming it in the middle of selecting the pixel belonging to the region to be divided by displaying the predetermined region and returning to the immediately previous pixel selection confirming state is simplified. Since the target range of pixel selection is limited to a predetermined area, the time required for the area division processing can be shortened.

【0026】請求項9の領域分割方法であれば、画像に
おける類似色の領域を分割するに当って、画像と同一ピ
クセル数の4つの領域データ保持手段をそれぞれ領域分
割処理の対象となる領域データを保持する第1領域デー
タ保持手段、第3領域データ保持手段、該当する領域デ
ータを一時的に保持する第2領域データ保持手段、残余
の領域データを保持する第4領域データ保持手段に割り
当て、第1領域データ保持手段の内容に基づく分割領域
の表示中にカーソル位置に基づいて定まる所定の領域を
設定し、カーソルにより指定された画素の色との差が所
定の閾値以下であり、かつ上記所定の領域内に位置する
画素を分割されるべき領域に属する画素として選択し、
画素の選択を仮に確定させるべきことを示す確定指示に
応答して、元の分割領域に対して選択された画素を追加
して第2領域データ保持手段に保持させるとともに、第
2領域データ保持手段を表示のために割り当て、画素の
選択を確定させるべきことを示す確定指示に応答して、
第2領域データ保持手段に保持されている領域データを
第3領域データ保持手段に書き込むとともに、第3領域
データ保持手段を表示のために割り当て、第1領域デー
タ保持手段と第3領域保持手段とを切り換えて上記一連
の処理を必要回数だけ反復させ、しかも、第2領域デー
タ保持手段が表示のために割り当てられている状態にお
いてカーソル位置が離れたことに応答して、第1又は第
3領域データ割り当て手段を表示のために割り当て、領
域分割処理を行なうべき領域を変更すべきことが指示さ
れたことに応答して、第1又は第3領域データ保持手段
に保持されている領域データを第4領域データ保持手段
に書き込み、次いで、第4領域データ保持手段から領域
分割処理の対象となる領域データを読み出して残余の領
域データ保持手段に書き込むのであるから、複数の領域
を互に区分することができる状態で簡単に分割すること
ができ、また、所定の領域を表示して分割されるべき領
域に属する画素を選択している途中において画素の選択
を確定することなく解除して、直前の画素選択確定状態
に戻すための操作を簡単化することができるとともに、
操作方法を増加させることができ、さらに、画素選択の
対象範囲が所定の領域内に限定されているので、領域分
割処理の所要時間を短縮することができる。
According to the area dividing method of claim 9, in dividing the area of the similar color in the image, the four area data holding means each having the same number of pixels as the image are subjected to the area dividing processing. Assigned to the first area data holding means, the third area data holding means, the second area data holding means for temporarily holding the corresponding area data, and the fourth area data holding means for holding the remaining area data, A predetermined area determined based on the cursor position is set during the display of the divided area based on the content of the first area data holding unit, and the difference from the color of the pixel designated by the cursor is equal to or less than the predetermined threshold value, and Select the pixels located in the predetermined area as the pixels belonging to the area to be divided,
In response to the confirmation instruction indicating that the selection of the pixel should be temporarily confirmed, the selected pixel is added to the original divided area and held in the second area data holding means, and at the same time, the second area data holding means. In response to a confirmation instruction indicating that the pixel selection should be confirmed,
The area data held in the second area data holding means is written in the third area data holding means, the third area data holding means is allocated for display, and the first area data holding means and the third area holding means are provided. To repeat the above-described series of processing a required number of times, and in response to the cursor position being separated in the state where the second area data holding means is allocated for display, the first or third area In response to an instruction to allocate the data allocation means for display and to change the area to be subjected to the area division processing, the area data held in the first or third area data holding means is changed to the first area data. 4 area data holding means, and then area data to be subjected to area division processing is read from the 4th area data holding means, and the remaining area data holding means Since data is written, it is possible to easily divide a plurality of areas in a state where they can be divided from each other. Also, while displaying a predetermined area and selecting a pixel belonging to the area to be divided, It is possible to release the pixel selection without confirming it and to simplify the operation to return to the immediately previous pixel selection confirming state.
The number of operating methods can be increased, and since the target range of pixel selection is limited to a predetermined area, the time required for area division processing can be shortened.

【0027】請求項10の領域分割装置であれば、画像
における類似色の領域を分割するに当って、画像と同一
ピクセル数の4つの領域データ保持手段をそれぞれ領域
分割処理の対象となる領域データを保持する第1領域デ
ータ保持手段、第3領域データ保持手段、該当する領域
データを一時的に保持する第2領域データ保持手段、残
余の領域データを保持する第4領域データ保持手段に割
り当ててあるとともに、選択的に1つの領域データ保持
手段を表示のために割り当ててあり、領域設定手段によ
り、表示のために割り当てられた領域データ保持手段の
内容に基づく分割領域の表示中にカーソル位置に基づい
て定まる所定の領域を設定し、画素選択手段により、カ
ーソルにより指定された画素の色との差が所定の閾値以
下であり、かつ上記所定の領域内に位置する画素を分割
されるべき領域に属する画素として選択する。そして、
画素の選択を仮に確定させるべきことを示す確定指示に
応答して、選択手段によって、元の分割領域に対して選
択された画素を追加して第2領域データ保持手段に保持
させるとともに、第2領域データ保持手段を表示のため
に割り当て、画素の選択を確定させるべきことを示す確
定指示に応答して、第2領域データ保持手段に保持され
ている領域データを第3領域データ保持手段に書き込む
とともに、第3領域データ保持手段を表示のために割り
当て、第1領域データ保持手段と第3領域保持手段とを
切り換えて上記一連の処理を必要回数だけ反復させる。
また、第2領域データ保持手段が表示のために割り当て
られている状態においてカーソル位置が離れたことに応
答して、選択手段によって、第1又は第3領域データ割
り当て手段を表示のために割り当てる。さらに、領域分
割処理を行なうべき領域を変更すべきことが指示された
ことに応答して、選択手段によって、第1又は第3領域
データ保持手段に保持されている領域データを第4領域
データ保持手段に書き込み、次いで、第4領域データ保
持手段から領域分割処理の対象となる領域データを読み
出して残余の領域データ保持手段を表示のために採用す
る。したがって、複数の領域を互に区分することができ
る状態で簡単に分割することができ、また、所定の領域
を表示して分割されるべき領域に属する画素を選択して
いる途中において画素の選択を確定することなく解除し
て、直前の画素選択確定状態に戻すための操作を簡単化
することができるとともに、操作方法を増加させること
ができ、さらに、画素選択の対象範囲が所定の領域内に
限定されているので、領域分割処理の所要時間を短縮す
ることができる。
According to the area dividing device of the tenth aspect, in dividing an area of a similar color in an image, four area data holding means each having the same number of pixels as the image are subjected to area division processing. Assigned to the first area data holding means, the third area data holding means, the second area data holding means for temporarily holding the corresponding area data, and the fourth area data holding means for holding the remaining area data. In addition, one area data holding means is selectively assigned for display, and the area setting means moves the cursor to the cursor position while displaying the divided area based on the content of the area data holding means assigned for display. A predetermined area determined based on the above is set, and the difference between the pixel selection means and the color of the pixel designated by the cursor is less than or equal to a predetermined threshold value, and It is selected as a pixel belonging to the area to be divided pixels located in a predetermined area. And
In response to the confirmation instruction indicating that the selection of the pixel should be temporarily fixed, the selection unit adds the selected pixel to the original divided region and causes the second region data holding unit to hold the pixel, and The area data holding means is allocated for display, and the area data held in the second area data holding means is written in the third area data holding means in response to a confirmation instruction indicating that the pixel selection should be confirmed. At the same time, the third area data holding means is allocated for display, the first area data holding means and the third area holding means are switched, and the above series of processing is repeated as many times as necessary.
Further, in response to the cursor position being separated in the state where the second area data holding means is allocated for display, the selection means allocates the first or third area data allocation means for display. Further, in response to the instruction to change the area to be subjected to the area division processing, the selection means changes the area data held in the first or third area data holding means to the fourth area data hold. Then, the area data to be subjected to area division processing is read from the fourth area data holding means, and the remaining area data holding means is adopted for display. Therefore, a plurality of regions can be easily divided in a state where they can be divided from each other, and a pixel is selected while displaying a predetermined region and selecting a pixel belonging to the region to be divided. Can be released without confirming, and the operation for returning to the immediately preceding pixel selection confirming state can be simplified, the number of operating methods can be increased, and further, the target range of pixel selection is within a predetermined area. Therefore, the time required for the area division processing can be shortened.

【0028】請求項11の領域分割方法であれば、カー
ソル位置に基づいて定まる所定の領域として、カーソル
位置を中心とする所定の半径の円を採用するのであるか
ら、表示された円内を分割処理の対象領域として制限す
ることができるとともに、領域を設定するための操作を
簡単化することができる。請求項12の領域分割装置で
あれば、領域設定手段として、カーソル位置を中心とす
る所定の半径の円を表示するものを採用しているので、
設定された円内を分割処理の対象領域として制限するこ
とができるとともに、領域を設定するための操作を簡単
化することができる。
According to the area dividing method of the eleventh aspect, since the circle having the predetermined radius centered on the cursor position is adopted as the predetermined area determined based on the cursor position, the displayed circle is divided. The area to be processed can be restricted and the operation for setting the area can be simplified. According to the area dividing device of the twelfth aspect, since the area setting means for displaying a circle having a predetermined radius centered on the cursor position is adopted,
The set circle can be restricted as the target area for the division processing, and the operation for setting the area can be simplified.

【0029】[0029]

【実施例】以下、実施例を示す添付図面によってこの発
明を詳細に説明する。図1はこの発明の領域分割方法に
適用されるメニュー画面の一例を示す図であり、図1A
に示すように、「領域作成メニュー」の表示と、作成領
域の種別を示す表示と、「指定領域のみから領域を作成
する」ことを示す表示と、「全ての領域から領域を作成
する」ことを示す表示と、直接ピック、ペイント、ポリ
ゴン、長方形の区分を示す表示とを含んでいる。また、
図1Bに示すように、直接ピックに対応させて、検索領
域の大きさを設定するための表示と、色の閾値を設定す
るための表示とを含んでいる。さらに、図1Cに示すよ
うに、ペイントに対応させて、筆の表示と、筆のサイズ
を設定するための表示とを含んでいる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the accompanying drawings showing embodiments. FIG. 1 is a diagram showing an example of a menu screen applied to the area dividing method of the present invention.
As shown in, the display of the "area creation menu", the display showing the type of the created area, the display "create the area from only the specified area", and the "create the area from all areas" And a display showing direct picks, paints, polygons, and rectangular divisions. Also,
As shown in FIG. 1B, a display for setting the size of the search area and a display for setting the color threshold value are included in association with direct picking. Further, as shown in FIG. 1C, a brush display and a display for setting the brush size are included in association with paint.

【0030】上記直接ピックは、カーソルで指定した点
の近傍(例えば、カーソルで指定した点を中心とする所
定の半径の円の内部)から類似の色の領域を検出する処
理であり、検出した領域に対する追加指示が行なわれる
ことにより作成中の領域に新たな領域が追加され、逆
に、検出した領域に対する削除指示が行なわれることに
より作成中の領域から該当する領域が削除される。この
場合において、「指定領域のみから領域を作成する」こ
とが選択されれば、カーソルで指定した位置が属してい
る領域内のみから上記領域を検出し、逆に、「全ての領
域から領域を作成する」ことが選択されれば、既存の領
域に影響されることなく上記領域を検出する。また、領
域のサイズを自由に設定することができるとともに、類
似の色として検出される色の範囲を示す閾値をも自由に
設定することができる。
The direct pick is a process for detecting an area of similar color from the vicinity of a point designated by the cursor (for example, inside a circle having a predetermined radius centered on the point designated by the cursor). A new area is added to the area being created by the addition instruction to the area, and conversely, the corresponding area is deleted from the area being created by the deletion instruction to the detected area. In this case, if "Create an area from only the specified area" is selected, the above area is detected only within the area to which the position specified by the cursor belongs, and conversely, "Create an area from all areas". If “create” is selected, the area is detected without being affected by the existing area. Further, the size of the area can be freely set, and the threshold value indicating the range of colors detected as similar colors can also be freely set.

【0031】尚、以下の各実施例においては、直接ピッ
クが選択される。図2はこの発明の領域分割方法の一実
施例を説明するフローチャートであり、所定の画像が可
視的に表示されている状態において、ステップSP1に
おいて検索領域サイズ、色の閾値等が初期設定されるま
で待ち、ステップSP2においてマウス操作(例えば、
クリック操作)によりカーソル位置が指定されるまで待
ち、ステップSP3においてカーソル位置における色デ
ータを抽出し、ステップSP4において、カーソル位置
および検索領域サイズに基づいて定まる検索領域を得、
ステップSP5において、検索領域の内部から、上記抽
出された色データに対して上記閾値の範囲内となる色が
割り当てられた点を抽出して新たな領域を作成し、ステ
ップSP6において新たな領域を領域データ保持部に書
き込み、ステップSP7において領域分割処理の終了が
指示されたか否かを判別し、終了が指示されていない場
合には、再びステップSP2の判別を行なう。逆に、終
了が指示されている場合には、そのまま一連の処理を終
了する。但し、ステップSP1において初期設定される
検索領域サイズとしては、カーソル位置を中心とする円
の半径であることが好ましい。但し、円に限定されるも
のではなく、楕円、長方形等の任意の形状を選択するこ
とが可能である。
In each of the following embodiments, the direct pick is selected. FIG. 2 is a flow chart for explaining an embodiment of the area dividing method of the present invention. In a state where a predetermined image is visually displayed, the search area size, color threshold value, etc. are initialized at step SP1. Wait until the mouse operation (for example,
Wait until the cursor position is specified by clicking), extract the color data at the cursor position in step SP3, and obtain the search area determined based on the cursor position and the search area size in step SP4.
In step SP5, a point to which the color within the threshold range is assigned to the extracted color data is extracted from the inside of the search area to create a new area, and in step SP6, the new area is created. The data is written in the area data holding unit, and it is determined whether or not the termination of the area division processing is instructed in step SP7. If the termination is not instructed, the determination in step SP2 is performed again. On the contrary, when the end is instructed, the series of processing is ended as it is. However, the search area size initially set in step SP1 is preferably the radius of a circle centered on the cursor position. However, the shape is not limited to a circle, and an arbitrary shape such as an ellipse or a rectangle can be selected.

【0032】したがって、領域分割の対象となる範囲を
元の画像の一部のみに限定することができ、この結果、
操作者が全く予期しない領域が分割領域として作成され
てしまうという不都合の発生を未然に防止することがで
きる。また、カーソル位置が指定された状態における検
索範囲が元の画像全体と比較して大幅に低減されている
ので、処理対象となる画素数を大幅に低減することがで
き、ひいては領域分割処理を著しく高速化することがで
きる。
Therefore, the range to be divided into regions can be limited to only a part of the original image. As a result,
It is possible to prevent the inconvenience of creating an area that the operator does not expect at all as a divided area. Further, since the search range in the state in which the cursor position is designated is greatly reduced compared to the entire original image, the number of pixels to be processed can be significantly reduced, and the area division processing can be significantly reduced. It can speed up.

【0033】[0033]

【実施例2】図3はこの発明の領域分割装置の一実施例
を示すブロック図であり、検索領域サイズ、色の閾値を
示すデータ等を保持する分割パラメータ保持部1と、カ
ーソル位置を指定する、マウスなどからなるカーソル位
置指定部2と、指定されたカーソル位置における色デー
タを抽出する色データ抽出部3と、カーソル位置および
検索領域サイズに基づいて定まる検索領域を得る検索領
域獲得部5と、検索領域の内部から、色データ抽出部3
により抽出された色データに対して上記閾値の範囲内と
なる色が割り当てられた点を抽出して新たな領域を作成
する新領域作成部6と、新領域作成部6により作成され
た新たな領域を領域データプレーン9に書き込む新領域
書き込み部7と、領域分割処理の終了が指示されるま
で、色データ抽出部3、検索領域獲得部5、新領域作成
部6および新領域書き込み部7を反復動作させる反復制
御部8とを有している。上記領域データプレーン9は、
画像と同一のピクセル数を有するものである。尚、構成
各部の作用は図2のフローチャートの該当ステップの処
理と同様であるから、詳細な説明を省略する。
[Embodiment 2] FIG. 3 is a block diagram showing an embodiment of an area dividing device of the present invention. A division parameter holding unit 1 for holding data indicating a search area size, a color threshold value, and the like, and a cursor position are designated. A cursor position designation unit 2 including a mouse, a color data extraction unit 3 that extracts color data at the designated cursor position, and a search region acquisition unit 5 that obtains a search region determined based on the cursor position and the search region size. From the inside of the search area, the color data extraction unit 3
A new area creation unit 6 that creates a new area by extracting a point to which a color within the threshold range is assigned to the color data that is extracted by the new area creation unit 6 The new area writing unit 7 for writing the area on the area data plane 9, and the color data extracting unit 3, the search area acquiring unit 5, the new area creating unit 6, and the new area writing unit 7 until the end of the area division processing is instructed. It has a repetitive control unit 8 for repetitive operation. The area data plane 9 is
It has the same number of pixels as the image. The operation of each component is the same as the process of the corresponding step of the flowchart of FIG. 2, and thus detailed description will be omitted.

【0034】したがって、この実施例の場合にも、領域
分割の対象となる範囲を元の画像の一部のみに限定する
ことができ、この結果、操作者が全く予期しない領域が
分割領域として作成されてしまうという不都合の発生を
未然に防止することができる。また、カーソル位置が指
定された状態における検索範囲が元の画像全体と比較し
て大幅に低減されているので、処理対象となる画素数を
大幅に低減することができ、ひいては領域分割処理を著
しく高速化することができる。
Therefore, also in the case of this embodiment, the range to be divided into regions can be limited to only a part of the original image, and as a result, a region which the operator does not expect at all is created as a divided region. It is possible to prevent the inconvenience of being caused. Further, since the search range in the state in which the cursor position is designated is greatly reduced compared to the entire original image, the number of pixels to be processed can be significantly reduced, and the area division processing can be significantly reduced. It can speed up.

【0035】[0035]

【実施例3】図4はこの発明の領域分割方法の他の実施
例を説明するフローチャートであり、図2のフローチャ
ートと大きく異なる点は、2以上の領域に対する分割処
理を行なうようにした点、および領域作成方法を指定可
能とした点のみである。この実施例においては、該当す
る時点において分割処理の対象となる領域の領域データ
のみを保持する第1領域データ保持部のほかに、他の領
域の領域データを保持する第2領域データ保持部を有
し、所定の画像が可視的に表示されている状態におい
て、ステップSP1において検索領域サイズ、色の閾
値、領域作成方法等が初期設定されるまで待ち、ステッ
プSP2においてマウス操作によりカーソル位置が指定
されるまで待ち、ステップSP3においてカーソル位置
における色データを抽出し、ステップSP4において、
領域作成方法が指定された領域内のみからの領域作成で
あるか否かを判別する。そして、領域作成方法が指定さ
れた領域内のみからの領域作成であると判別された場合
には、ステップSP5において、カーソルが属する領域
の中から、カーソル位置および検索領域サイズに基づい
て定まる検索領域を得、逆に、領域作成方法が指定され
た領域内のみからの領域作成ではないと判別された場合
には、ステップSP6において、カーソル位置および検
索領域サイズに基づいて定まる検索領域を得る。そし
て、ステップSP5またはステップSP6の処理が行な
われた場合には、ステップSP7において、検索領域の
内部から、上記抽出された色データに対して上記閾値の
範囲内となる色が割り当てられた点を抽出して新たな領
域を作成し、ステップSP8において新たな領域を領域
データ保持部に書き込み、ステップSP9において領域
分割処理の終了が指示されたか否かを判別し、終了が指
示されていない場合には、再びステップSP2の判別を
行なう。逆に、終了が指示されている場合には、ステッ
プSP10において分割処理の対象となる領域が変更さ
れたか否かを判別する。そして、分割処理の対象となる
領域が変更されていなければ、再びステップSP2の処
理を行なう。逆に、分割処理の対象となる領域が変更さ
れていれば、ステップSP11において、第1領域デー
タ保持部の領域データを第2領域データ保持部に上書き
状に書き込むとともに、第1領域データ保持部の内容を
クリアし、ステップSP12において、第2領域データ
保持部から新たに分割処理の対象となる領域に関する領
域データを読み出して第1領域データ保持部に書き込
み、再びステップSP2の処理を行なう。
[Third Embodiment] FIG. 4 is a flow chart for explaining another embodiment of the area dividing method according to the present invention. The point that is largely different from the flow chart of FIG. 2 is that division processing is performed for two or more areas. It is only that the area creation method can be specified. In this embodiment, in addition to the first area data holding section that holds only the area data of the area that is the target of the division process at the relevant time point, a second area data holding section that holds the area data of other areas is provided. In a state in which a predetermined image is visually displayed, wait until the search area size, color threshold, area creating method, etc. are initialized in step SP1, and specify the cursor position by mouse operation in step SP2. Waits until the color data at the cursor position is extracted in step SP3, and in step SP4,
It is determined whether the area creation method is area creation only from within the specified area. Then, when it is determined that the area creation method is area creation only within the designated area, in step SP5, a search area determined from the area to which the cursor belongs based on the cursor position and the search area size. Conversely, if it is determined that the area creation method is not area creation only from within the designated area, in step SP6, a search area determined based on the cursor position and the search area size is obtained. Then, when the processing of step SP5 or step SP6 is performed, in step SP7, a point to which a color within the threshold range is assigned to the extracted color data from the inside of the search area is determined. The new area is created by extraction, the new area is written in the area data holding unit in step SP8, it is determined whether or not the end of the area division processing is instructed in step SP9, and if the end is not instructed, Performs the determination of step SP2 again. On the other hand, if the end is instructed, it is determined in step SP10 whether or not the area to be divided is changed. Then, if the area to be divided is not changed, the process of step SP2 is performed again. On the other hand, if the area to be divided is changed, in step SP11, the area data in the first area data holding unit is overwritten in the second area data holding unit and the first area data holding unit is also written. In step SP12, the area data relating to the area to be newly divided is read from the second area data holding unit, written in the first area data holding unit, and the process of step SP2 is performed again.

【0036】具体的には、図5のA1に示す領域“1”
が領域分割処理の対象になっているとともに、B1に示
す領域“2”“3”が存在している場合において、領域
“1”に対する領域分割処理を行なうことにより、A2
に示すように、領域“1”が変更されるが、B2に示す
ように、領域“2”“3”は変更されない。そして、領
域分割処理の対象が領域“1”から領域“2”に変更さ
れた場合には、領域“1”を上書き状に書き込むととも
に、第1領域データ保持部の内容をクリアし、第2領域
データ保持部から領域“2”の領域データを読み出して
第1領域データ保持部に書き込むことにより、A3,B
3の状態が得られる。したがって、以下、同様の処理を
行なうことにより、簡単に2以上の領域に対する領域分
割処理を達成することができる。尚、図5において、A
1,A2,A3が第1領域データ保持部を、B1,B
2,B3が第2領域データ保持部をそれぞれ示してい
る。尚、図中矢印がカーソルを示している。また、実際
の表示において、両領域データ保持部の内容は互に重ね
た状態で表示され、この結果、領域分割の対象になって
いる領域のみならず、他の領域も同時に表示される。
Specifically, the area "1" indicated by A1 in FIG.
Is the target of the area division processing and the areas "2" and "3" shown in B1 are present, the area division processing is performed on the area "1" to obtain A2.
The area "1" is changed as shown in FIG. 3, but the areas "2" and "3" are not changed as shown in B2. Then, when the target of the area division processing is changed from the area “1” to the area “2”, the area “1” is overwritten and the contents of the first area data holding unit are cleared, By reading the area data of the area "2" from the area data holding unit and writing the area data in the first area data holding unit, A3, B
A state of 3 is obtained. Therefore, by performing the same processing below, it is possible to easily achieve the area division processing for two or more areas. In addition, in FIG.
1, A2, A3 are the first area data holding units, B1, B
Reference numerals 2 and 3 denote second area data holding units, respectively. The arrow in the figure indicates the cursor. Further, in the actual display, the contents of both area data holding portions are displayed in a state of being overlapped with each other, and as a result, not only the area that is the object of area division but also other areas are displayed at the same time.

【0037】したがって、この実施例の場合には、一連
の領域分割処理過程において、複数の領域に対する分割
処理を、互に区別することができる状態で達成すること
ができる。
Therefore, in the case of this embodiment, in a series of area division processing steps, division processing for a plurality of areas can be achieved in a state where they can be distinguished from each other.

【0038】[0038]

【実施例4】図6はこの発明の領域分割装置の他の実施
例を示すブロック図であり、図3のブロック図と異なる
点は、領域作成方法が指定された領域内のみからの領域
作成であるか否かを判別する領域作成方法判別部4をさ
らに含む点、検索領域獲得部5として、領域作成方法が
指定された領域内のみからの領域作成であることを示す
領域作成方法判別部4からの判別結果に応答して、指定
されたカーソル位置が属する領域の中から、カーソル位
置および検索領域サイズに基づいて定まる検索領域を
得、逆に、領域作成方法が指定された領域内のみからの
領域作成ではないことを示す領域作成方法判別部4から
の判別結果に応答して、カーソル位置および検索領域サ
イズに基づいて定まる検索領域を得るものを採用した
点、領域データプレーン9に代えて、同一画素数の第1
領域データプレーン9aおよび第2領域データプレーン
9bを採用した点、新領域書き込み部7が第1領域デー
タプレーン9aに対して作成された新たな領域を書き込
む点、分割パラメータ保持部1が分割処理の対象となる
領域を示すデータをも保持する点、および分割処理の対
象となる領域が変更されたか否かを判別する変更有無判
別部10と、分割処理の対象となる領域が変更されたこ
とを示す変更有無判別部10の判別結果に応答して、第
1領域データ保持部の領域データを第2領域データ保持
部に上書き状に書き込むとともに、第1領域データ保持
部の内容をクリアし、次いで、第2領域データ保持部か
ら新たに分割処理の対象となる領域に関する領域データ
を読み出して第1領域データ保持部に書き込む領域変更
処理部11とをさらに有している点のみである。尚、構
成各部の作用は図4のフローチャートの該当ステップの
処理と同様であるから、詳細な説明を省略する。 した
がって、この実施例の場合にも、一連の領域分割処理過
程において、複数の領域に対する分割処理を、互に区別
することができる状態で達成することができる。
[Embodiment 4] FIG. 6 is a block diagram showing another embodiment of the area dividing device of the present invention. The difference from the block diagram of FIG. 3 is that area creation is performed only within the area for which the area creation method is designated. A point that further includes an area creation method determination unit 4 that determines whether or not the area creation method determination unit 4 is used as the search area acquisition unit 5 that indicates that the area creation method is an area creation only within the specified area. In response to the determination result from 4, the search area determined based on the cursor position and the search area size is obtained from the area to which the specified cursor position belongs, and conversely, only within the area for which the area creation method is specified. The area data play is obtained in response to the determination result from the area creation method determination unit 4 indicating that the area is not created from the area. Instead of the 9, first the same number of pixels
The area data plane 9a and the second area data plane 9b are used, the new area writing unit 7 writes a new area created in the first area data plane 9a, and the division parameter holding unit 1 performs division processing. A point that also holds data indicating a target area, a change presence / absence determining unit 10 that determines whether or not the target area for division processing has changed, and a change target area that indicates whether the target area for division processing has changed. In response to the determination result of the change presence / absence determining unit 10 shown, the area data of the first area data holding unit is overwritten in the second area data holding unit, the contents of the first area data holding unit are cleared, and then, , The area change processing unit 11 which reads out area data relating to a new area to be divided from the second area data holding unit and writes the area data in the first area data holding unit. Point is only to have a. Since the operation of each component is the same as the process of the corresponding step of the flowchart of FIG. 4, detailed description will be omitted. Therefore, also in the case of this embodiment, in a series of area division processing steps, division processing for a plurality of areas can be achieved in a state where they can be distinguished from each other.

【0039】[0039]

【実施例5】図7はこの発明の領域分割方法のさらに他
の実施例を説明するフローチャートであり、図2のフロ
ーチャートと大きく異なる点は、領域分割処理の過程に
おいてUNDO処理、REDO処理(やり直し処理)を
簡単に選択することができるようにした点である。但
し、UNDO処理を2回行なうことによりREDO処理
を達成することができるので、REDO処理に関して
は、特別には示していない。この実施例においては、分
割処理の対象となる領域の領域データを保持するための
1対の領域データ保持部を有し、ステップSP1におい
て検索領域サイズ、色の閾値等が初期設定されるまで待
ち、ステップSP2において一方の領域データ保持部を
表示のために割り当て、ステップSP3においてマウス
操作(例えば、クリック操作)によりカーソル位置が指
定されるまで待ち、ステップSP4においてカーソル位
置における色データを抽出し、ステップSP5におい
て、領域作成方法が指定された領域内のみからの領域作
成であるか否かを判別する。そして、領域作成方法が指
定された領域内のみからの領域作成であると判別された
場合には、ステップSP6において、カーソル位置が属
する領域の中から、カーソル位置および検索領域サイズ
に基づいて定まる検索領域を得、逆に、領域作成方法が
指定された領域内のみからの領域作成ではないと判別さ
れた場合には、ステップSP7において、カーソル位置
および検索領域サイズに基づいて定まる検索領域を得
る。そして、ステップSP6またはステップSP7の処
理が行なわれた場合には、ステップSP8において、検
索領域の内部から、上記抽出された色データに対して上
記閾値の範囲内となる色が割り当てられた点を抽出して
新たな領域を作成し、ステップSP9において新たな領
域を元の領域に追加して、それまで表示のために割り当
てられていなかった領域データ保持部に書き込むととも
に、他方の領域データ保持部に代えて表示のために割り
当て、ステップSP10においてUNDO処理が選択さ
れたか否かを判別する。そして、UNDO処理が選択さ
れていなければ、ステップSP11において、領域分割
処理の終了が指示されたか否かを判別し、終了が指示さ
れていない場合には、再びステップSP3の処理を行な
う。逆に、ステップSP10においてUNDO処理が選
択されていると判別されれば、ステップSP12におい
て、それまで表示のために割り当てられていた領域デー
タ保持部に代えて、他方の領域データ保持部を表示のた
めに割り当て、再びステップSP3の処理を行なう。ま
た、ステップSP11において領域分割処理の終了が指
示されたと判別された場合には、そのまま一連の処理を
終了する。
[Embodiment 5] FIG. 7 is a flow chart for explaining still another embodiment of the area dividing method of the present invention. The point greatly different from the flow chart of FIG. 2 is that UNDO processing and REDO processing (redoing) are performed in the course of the area dividing processing. This is the point that processing can be easily selected. However, since the REDO processing can be achieved by performing the UNDO processing twice, the REDO processing is not specifically shown. This embodiment has a pair of area data holding units for holding the area data of the area to be divided, and waits until the search area size, color threshold value, etc. are initialized in step SP1. In step SP2, one area data holding unit is allocated for display, in step SP3 waits until the cursor position is designated by a mouse operation (for example, click operation), and in step SP4 color data at the cursor position is extracted, In step SP5, it is determined whether or not the area creation method is area creation only from within the designated area. Then, when it is determined that the area creation method is area creation only within the designated area, in step SP6, a search determined from the area to which the cursor position belongs based on the cursor position and the search area size. On the other hand, if it is determined that the area creation method is not to create an area only within the specified area, in step SP7, a search area determined based on the cursor position and the search area size is obtained. Then, when the process of step SP6 or step SP7 is performed, in step SP8, a point to which a color within the threshold range is assigned to the extracted color data from the inside of the search area. A new area is created by extraction, the new area is added to the original area in step SP9, and the new area is written in the area data holding unit that has not been allocated for the display, and the other area data holding unit is also used. Instead of, the display is allocated for display, and it is determined whether or not the UNDO processing is selected in step SP10. If the UNDO process is not selected, it is determined in step SP11 whether or not the end of the region division process is instructed. If the end is not instructed, the process of step SP3 is performed again. On the contrary, if it is determined in step SP10 that the UNDO process is selected, in step SP12, the other area data holding unit is displayed instead of the area data holding unit that has been allocated for the display. Therefore, the processing of step SP3 is performed again. If it is determined in step SP11 that the end of the area division processing has been instructed, the series of processing ends.

【0040】具体的には、図8のA1に示すように一方
の領域データ保持部(表示のために割り当てられてい
る)に保持されている領域データに対して、カーソル位
置に基づく領域を追加すべきことがマウスピック操作を
行なうことにより指示された場合には、一方の領域デー
タ保持部の内容を変更することなく(A2参照)、他方
の領域データ保持部に、領域が追加された新たな領域を
示す領域データを格納するとともに、新たに表示のため
に割り当て(B2参照)、再びマウス操作によるカーソ
ル位置の指定およびマウスピック操作を行なうことによ
り、他方の領域データ保持部の内容を変更することなく
(B3参照)、一方の領域データ保持部に、領域が追加
された新たな領域を示す領域データを格納するととも
に、新たに表示のために割り当てる(A3参照)。その
後、UNDO処理が選択されれば、両領域データ保持部
の領域データを変更することなく、単に表示のための割
り当てのみを変更し(A4,B4参照)、次いで、マウ
ス操作によるカーソル位置の指定およびマウスピック操
作を行なうことにより、他方の領域データ保持部の内容
を変更することなく(B5参照)、一方の領域データ保
持部に、領域が追加された新たな領域を示す領域データ
を格納するとともに、新たに表示のために割り当てる
(A5参照)。
Specifically, as shown by A1 in FIG. 8, an area based on the cursor position is added to the area data held in one area data holding unit (allocated for display). When it is instructed to do something by performing a mouse pick operation, the area is added to the other area data holding unit without changing the contents of one area data holding unit (see A2). Area data indicating a different area is stored and newly allocated for display (see B2), and the content of the other area data holding section is changed by again specifying the cursor position by mouse operation and performing mouse pick operation. (See B3), the area data indicating the new area to which the area has been added is stored in one area data holding unit, and is newly displayed. Assign (see A3). After that, if UNDO processing is selected, only the allocation for display is changed without changing the area data in both area data holding units (see A4 and B4), and then the cursor position is specified by the mouse operation. By performing the mouse pick operation, the area data indicating the new area to which the area is added is stored in one area data holding section without changing the contents of the other area data holding section (see B5). At the same time, it is newly assigned for display (see A5).

【0041】したがって、マウス操作およびマウスピッ
ク操作に基づいて新たに得られた領域が不適切なもので
ある場合に、単にUNDO処理を選択するだけで直前の
状態に戻すことができ、実施例1の効果に加えて、再処
理を容易に達成することができる。
Therefore, when the newly obtained area based on the mouse operation and the mouse pick operation is inappropriate, it is possible to return to the state immediately before by simply selecting the UNDO process. In addition to the effect of, reprocessing can be easily achieved.

【0042】[0042]

【実施例6】図9はこの発明の領域分割装置のさらに他
の実施例を示すブロック図であり、図3のブロック図と
異なる点は、領域データプレーン9に代えて、同一画素
数の第1領域データプレーン9aおよび第2領域データ
プレーン9bを採用した点、第1領域データプレーン9
aおよび第2領域データプレーン9bを選択的に表示の
ために割り当てる表示割り当て部12をさらに有してい
る点、新領域書き込み部7が表示のために割り当てられ
ていない領域データプレーン9aに対して作成された新
たな領域を追加した領域データを書き込む点、新たな領
域が選択されたこと、またはUNDO処理が選択された
ことに応答して表示のために割り当てられる領域データ
プレーンを変更すべく、新領域書き込み部7および表示
割り当て部12を制御する割り当て制御部13とをさら
に有している点のみである。尚、構成各部の作用は図7
のフローチャートの該当ステップの処理と同様であるか
ら、詳細な説明を省略する。
[Embodiment 6] FIG. 9 is a block diagram showing still another embodiment of the area dividing device of the present invention. The difference from the block diagram of FIG. The point that the 1st area data plane 9a and the 2nd area data plane 9b are adopted, the 1st area data plane 9
a and the second area data plane 9b are further provided with a display allocating section 12 for selectively allocating for display, that is, the new area writing section 7 corresponds to the area data plane 9a which is not allocated for display. In order to change the area data plane allocated for display in response to the point of writing the area data with the new area created added, the new area selected, or the UNDO process selected, The only difference is that it further includes an allocation control unit 13 that controls the new area writing unit 7 and the display allocation unit 12. The operation of each component is shown in FIG.
Since the processing is the same as that of the corresponding step in the flowchart of FIG.

【0043】したがって、この実施例の場合にも、マウ
ス操作およびマウスピック操作に基づいて新たに得られ
た領域が不適切なものである場合に、単にUNDO処理
を選択するだけで直前の状態に戻すことができ、実施例
2の効果に加えて、再処理を容易に達成することができ
る。
Therefore, also in the case of this embodiment, when the newly obtained area based on the mouse operation and the mouse pick operation is unsuitable, the UNDO process is simply selected to bring it to the immediately preceding state. In addition to the effect of the second embodiment, reprocessing can be easily achieved.

【0044】[0044]

【実施例7】図10および図11はこの発明の領域分割
方法のさらに他の実施例を説明するフローチャートであ
り、図7のフローチャートと異なる点は、UNDO処理
を選択する代わりに、カーソル位置を既に作成されてい
る領域から遠ざけることにより同様の処理を達成する点
のみである。
[Embodiment 7] FIGS. 10 and 11 are flowcharts for explaining still another embodiment of the area dividing method of the present invention. The difference from the flowchart of FIG. 7 is that the cursor position is changed instead of selecting UNDO processing. The only difference is that the same processing is achieved by moving away from the already created area.

【0045】この実施例においては、図7の実施例と異
なり、1対の領域データ保持部の一方を、マウスプッシ
ュ操作時に表示のために割り当てられる第1領域データ
保持部として採用し、他方をマウスリリース操作時に表
示のために割り当てられる第2領域データ保持部として
採用している。そして、ステップSP1において検索領
域サイズ、色の閾値等が初期設定されるまで待ち、ステ
ップSP2において第2領域データ保持部を表示のため
に割り当て、ステップSP3においてマウスプッシュ操
作によりカーソル位置が指定されるまで待ち、ステップ
SP4においてカーソル位置における色データを抽出
し、ステップSP5において、カーソル位置および検索
領域サイズに基づいて定まる検索領域を得、ステップS
P6において、検索領域の内部から、上記抽出された色
データに対して上記閾値の範囲内となる色が割り当てら
れた点を抽出して新たな領域を作成し、ステップSP7
においてマウスプッシュ操作が行なわれたことを条件と
して新たな領域を元の領域に追加して、第1領域データ
保持部に書き込むとともに、第2領域データ保持部に代
えて表示のために割り当て、ステップSP8においてカ
ーソル位置がマウスプッシュ位置から所定距離以上離さ
れたか否かを判別する。そして、カーソル位置がマウス
プッシュ位置から所定距離以上は離れていなければ、ス
テップSP9aにおいてマウスリリース操作が行なわれ
たか否かを判別し、マウスリリース操作が行なわれてい
なければ再びステップSP8の判別を行なう。逆に、ス
テップSP9aにおいてマウスリリース操作が行なわれ
たと判別された場合には、ステップSP9bにおいて、
第1領域データ保持部の内容を第2領域データ保持部に
複写し、ステップSP10において、領域分割処理の終
了が指示されたか否かを判別し、終了が指示されていな
い場合には、再びステップSP3の処理を行なう。逆
に、ステップSP8においてカーソル位置がマウスプッ
シュ位置から所定距離以上離れていると判別されれば、
ステップSP11において、第1領域データ保持部に代
えて、第2領域データ保持部を表示のために割り当て、
ステップSP12において、マウス操作が行なわれた結
果、カーソル位置がマウスプッシュ位置から所定距離以
上は離れていない状態になったか否かを判別し、カーソ
ル位置がマウスプッシュ位置から所定距離以上離れたま
まの状態であれば、ステップSP13においてマウスリ
リース操作が行なわれたか否かを判別する。そして、マ
ウスリリース操作が行なわれていなければ、再びステッ
プSP12の判別を行なう。上記ステップSP11にお
いて、カーソル位置がマウスプッシュ位置から所定距離
以上は離れていない状態になったと判別された場合に
は、ステップSP14において、両領域データ保持部の
内容を変更することなく、第1領域データ保持部を表示
のために割り当て、再びステップSP9aの処理を行な
う。また、ステップSP13においてマウスリリース操
作が行なわれたと判別された場合には、ステップSP1
5において第2領域データ保持の内容を第1領域データ
保持部に複写し、再びステップSP3の処理を行なう。
In this embodiment, unlike the embodiment shown in FIG. 7, one of the pair of area data holding units is adopted as the first area data holding unit allocated for display at the time of mouse push operation, and the other is used. It is used as a second area data holding section allocated for display when the mouse is released. Then, in step SP1, wait until the search area size, color threshold value, etc. are initialized, the second area data holding unit is allocated for display in step SP2, and the cursor position is designated by the mouse push operation in step SP3. Until step S4, the color data at the cursor position is extracted, and in step SP5, a search area determined based on the cursor position and the search area size is obtained.
In P6, a point to which a color within the threshold range is assigned to the extracted color data is extracted from inside the search area to create a new area, and step SP7
A new area is added to the original area on condition that the mouse push operation has been performed, and is written in the first area data holding unit, and is allocated for display in place of the second area data holding unit. In SP8, it is determined whether or not the cursor position is separated from the mouse push position by a predetermined distance or more. If the cursor position is not more than the predetermined distance from the mouse push position, it is determined whether or not the mouse release operation is performed in step SP9a, and if the mouse release operation is not performed, the determination in step SP8 is performed again. . On the contrary, if it is determined in step SP9a that the mouse release operation has been performed, in step SP9b,
The contents of the first area data holding unit are copied to the second area data holding unit, and in step SP10, it is determined whether or not the end of the area division processing is instructed. Perform SP3 processing. On the contrary, if it is determined in step SP8 that the cursor position is away from the mouse push position by a predetermined distance or more,
In step SP11, instead of the first area data holding section, the second area data holding section is allocated for display,
At step SP12, it is determined whether or not the cursor position is not separated from the mouse push position by a predetermined distance or more as a result of the mouse operation, and the cursor position remains separated from the mouse push position by a predetermined distance or more. If it is in the state, it is determined in step SP13 whether or not the mouse release operation is performed. Then, if the mouse release operation has not been performed, the determination in step SP12 is performed again. When it is determined in step SP11 that the cursor position is not separated from the mouse push position by a predetermined distance or more, in step SP14, the contents of both area data holding units are not changed and the first area is not changed. The data holding unit is allocated for display, and the process of step SP9a is performed again. If it is determined in step SP13 that the mouse release operation has been performed, step SP1
In 5, the contents of the second area data holding are copied to the first area data holding unit, and the processing of step SP3 is performed again.

【0046】具体的には、図12のB1に示すように第
2領域データ保持部に保持されている領域データに対し
て、カーソル位置に基づく領域を追加すべきことがマウ
スプッシュ操作を行なうことにより指示された場合に
は、第2領域データ保持部の内容を変更することなく
(B2参照)、第1領域データ保持部に、領域が追加さ
れた新たな領域を示す領域データを格納するとともに、
新たに表示のために割り当て(A2参照)、マウスリリ
ース操作を行なうことにより、第1領域データ保持部の
内容を第2領域データ保持部に複写する(A3,B3参
照)。また、マウスプッシュ操作を行なった後、マウス
リリース操作を行なっていない間にカーソル位置をマウ
スプッシュ位置から所定距離以上離した場合には、両領
域データ保持部の内容をA2,B2のままに保持した状
態で第2領域データ保持部を表示のために割り当てる
(A4,B4参照)。そして、そのままの状態でマウス
リリース操作を行なえば、第2領域データ保持部の内容
を第1領域データ保持部に複写することにより、両領域
データ保持部の内容がA1,B1に示すとおりになり、
UNDO処理と同様の処理を達成することができる。ま
た、マウスリリース操作を行なうことなく、カーソル位
置をマウスプッシュ位置から所定距離以上は離れていな
い状態にすれば、A2,B2に示すように、第2領域デ
ータ保持部が再び表示のために割り当てられるので、R
EDO処理と同様の処理を達成することができる。
Specifically, as shown by B1 in FIG. 12, it is necessary to add an area based on the cursor position to the area data held in the second area data holding section by performing a mouse push operation. In response to the instruction, the area data indicating the new area to which the area is added is stored in the first area data holding unit without changing the contents of the second area data holding unit (see B2). ,
By newly allocating for display (see A2) and performing a mouse release operation, the contents of the first area data holding section are copied to the second area data holding section (see A3 and B3). After the mouse push operation is performed, if the cursor position is separated from the mouse push position by a predetermined distance or more while the mouse release operation is not performed, the contents of both area data holding units are kept as A2 and B2. In this state, the second area data holding unit is assigned for display (see A4 and B4). Then, if the mouse release operation is performed in that state, the contents of the second area data holding unit are copied to the first area data holding unit so that the contents of both area data holding units become as shown in A1 and B1. ,
A process similar to the UNDO process can be achieved. If the cursor position is not separated from the mouse push position by a predetermined distance or more without performing the mouse release operation, the second area data holding unit allocates the display area again for display, as indicated by A2 and B2. R
A process similar to the EDO process can be achieved.

【0047】したがって、特別にUNDO処理を選択す
る操作を行なう代わりに、マウスリリース操作を行なう
前にカーソル位置を変化させるだけで簡単にUNDO処
理、REDO処理と同様の処理を達成することかでき
る。
Therefore, it is possible to easily achieve the same processing as the UNDO processing and the REDO processing by changing the cursor position before performing the mouse release operation instead of performing the operation of specially selecting the UNDO processing.

【0048】[0048]

【実施例8】図13はこの発明の領域分割装置のさらに
他の実施例を示すブロック図であり、図9の実施例と異
なる点は、新領域書き込み部7、表示割り当て部12、
割り当て制御部13に代えて、マウスプッシュ操作が行
なわれたことを条件として、第1領域データプレーン9
aの内容に対して作成された新たな領域を追加する領域
追加部14と、単にマウスリリース操作が行なわれたこ
とを条件として第1領域データプレーン9aの内容を第
2領域データプレーン9bに複写する複写部15と、マ
ウスリリース操作が行なわれる前にカーソル位置がマウ
スプッシュ位置から所定距離以上離されたことを条件と
して第2領域データプレーン9bを表示のために割り当
てる仮割り当て部16と、マウスリリース操作が行なわ
れる前にカーソル位置がマウスプッシュ位置から所定距
離以上は離れていない状態にされたことを条件として第
1領域データプレーン9aを再び表示のために割り当て
る割り当て復元部17と、カーソル位置がマウスプッシ
ュ位置から所定距離以上離されたままでマウスリリース
処理が行なわれたことを条件として、第2領域データプ
レーン9bの内容を第1領域データプレーン9aに複写
するとともに、第1領域データプレーン9aを表示のた
めに割り当てる表示復元部18とをさらに有している点
のみである。尚、構成各部の作用は図10および図11
のフローチャートの該当ステップの処理と同様であるか
ら、詳細な説明を省略する。
[Embodiment 8] FIG. 13 is a block diagram showing still another embodiment of the area dividing apparatus of the present invention. The difference from the embodiment of FIG. 9 is that the new area writing unit 7, the display allocation unit 12,
Instead of the allocation control unit 13, the first area data plane 9 is provided on condition that a mouse push operation is performed.
An area adding unit 14 for adding a new area created to the content of a and copying the content of the first area data plane 9a to the second area data plane 9b on condition that a mouse release operation is simply performed. A copy unit 15, a temporary allocation unit 16 for allocating the second area data plane 9b for display on condition that the cursor position is separated from the mouse push position by a predetermined distance before the mouse release operation, and a mouse. An allocation restoring unit 17 for allocating the first area data plane 9a for display again on condition that the cursor position is not separated from the mouse push position by more than a predetermined distance before the release operation is performed, and the cursor position. Was released while the mouse was released from the mouse push position for a certain distance or more. The condition is that the contents of the second area data plane 9b are copied to the first area data plane 9a, and a display restoring section 18 for allocating the first area data plane 9a for display is further provided. Is. The operation of each component is shown in FIGS.
Since the processing is the same as that of the corresponding step in the flowchart of FIG.

【0049】したがって、この実施例の場合にも、特別
にUNDO処理を選択する操作を行なう代わりに、マウ
スリリース操作を行なう前にカーソル位置を変化させる
だけで簡単にUNDO処理、REDO処理と同様の処理
を達成することかできる。
Therefore, also in the case of this embodiment, the same operation as the UNDO processing and the REDO processing can be easily performed by changing the cursor position before performing the mouse release operation instead of performing the operation of selecting the UNDO processing specially. Processing can be achieved.

【0050】[0050]

【実施例9】図14および図15はこの発明の領域分割
方法のさらに他の実施例を説明するフローチャートであ
る。この実施例においては、該当時点において領域分割
処理の対象となる領域データを保持するための、画像と
等しい画素数の第1、第2、第3領域データ保持部を有
しているとともに、該当時点において領域分割処理の対
象とならない領域データを保持するための、画像と等し
い画素数の第4領域データ保持部を有している。
[Ninth Embodiment] FIGS. 14 and 15 are flowcharts for explaining still another embodiment of the area dividing method according to the present invention. In this embodiment, in addition to having the first, second, and third area data holding units having the same number of pixels as the image for holding the area data to be subjected to the area division processing at the relevant time, It has a fourth area data holding unit having the same number of pixels as the image, for holding the area data that is not the target of the area division processing at the time point.

【0051】ステップSP1において検索領域サイズ、
色の閾値、領域作成方法、該当時点で処理対象となる領
域の種別等が初期設定されるまで待ち、ステップSP2
において第1領域データ保持部、第3領域データ保持部
の何れか(以下、単に第1領域データ保持部と称する)
を表示のために割り当て、ステップSP3においてマウ
スプッシュ操作によりカーソル位置が指定されるまで待
ち、ステップSP4においてカーソル位置における色デ
ータを抽出し、ステップSP5において、領域作成方法
が指定された領域内のみからの領域作成であるか否かを
判別する。そして、領域作成方法が指定された領域内の
みからの領域作成であると判別された場合には、ステッ
プSP6において、カーソル位置が属する領域の中か
ら、カーソル位置および検索領域サイズに基づいて定ま
る検索領域を得、逆に、領域作成方法が指定された領域
内のみからの領域作成ではないと判別された場合には、
ステップSP7において、カーソル位置および検索領域
サイズに基づいて定まる検索領域を得る。そして、ステ
ップSP6またはステップSP7の処理が行なわれた場
合には、ステップSP8において、検索領域の内部か
ら、上記抽出された色データに対して上記閾値の範囲内
となる色が割り当てられた点を抽出して新たな領域を作
成し、ステップSP9においてマウスプッシュ操作が行
なわれたことを条件として新たな領域を元の領域に追加
して、第2領域データ保持部に書き込むとともに、第1
領域データ保持部に代えて表示のために割り当て、ステ
ップSP10においてカーソル位置がマウスプッシュ位
置から所定距離以上離されたか否かを判別する。そし
て、カーソル位置がマウスプッシュ位置から所定距離以
上は離れていなければ、ステップSP11においてマウ
スリリース操作が行なわれたか否かを判別し、マウスリ
リース操作が行なわれていなければ、再びステップSP
10の判別を行なう。
In step SP1, the search area size,
Wait until the color threshold, the area creation method, the type of the area to be processed at that time, etc. are initialized, and then step SP2
In either the first area data holding unit or the third area data holding unit (hereinafter, simply referred to as the first area data holding unit)
Is allocated for display, waits until the cursor position is specified by the mouse push operation in step SP3, the color data at the cursor position is extracted in step SP4, and only in the area where the area creating method is specified in step SP5. It is determined whether or not the area is created. Then, when it is determined that the area creation method is area creation only from within the designated area, in step SP6, a search determined from the area to which the cursor position belongs based on the cursor position and the search area size. If the region is created and conversely it is determined that the region creation method is not only the region creation within the specified region,
In step SP7, a search area determined based on the cursor position and the search area size is obtained. Then, when the processing of step SP6 or step SP7 is performed, in step SP8, a point to which a color within the threshold range is assigned to the extracted color data from the inside of the search area. A new area is created by extraction, the new area is added to the original area on condition that the mouse push operation is performed in step SP9, and the new area is written in the second area data holding unit.
It is allocated for display instead of the area data holding unit, and it is determined in step SP10 whether or not the cursor position is separated from the mouse push position by a predetermined distance or more. If the cursor position is not more than the predetermined distance from the mouse push position, it is determined in step SP11 whether or not the mouse release operation is performed. If the mouse release operation is not performed, the step SP is performed again.
Judgment of 10.

【0052】ステップSP11においてマウスリリース
操作が行なわれたと判別された場合には、ステップSP
12において第2領域データ保持部の内容を、第1領域
データ保持部、第3領域データ保持部のうち、直前に表
示のために割り当てられていなかった領域データ保持部
(以下、単に第3領域データ保持部と称する)に複写す
るとともに、第3領域データ保持部を表示のために割り
当て、ステップSP13において処理対象となる領域の
変更が指示されたか否かを判別し、領域の変更が指示さ
れていなければ、ステップSP14においてUNDO処
理が選択されたか否かを判別する。そして、UNDO処
理が選択されていないと判別された場合には、再びステ
ップSP3の処理を行なう。
When it is determined in step SP11 that the mouse release operation has been performed, step SP
In FIG. 12, the contents of the second area data holding unit are stored in the first area data holding unit and the third area data holding unit which are not allocated to the display immediately before (hereinafter, simply the third area data holding unit). (Referred to as a data holding unit), the third region data holding unit is allocated for display, and it is determined in step SP13 whether or not the region to be processed has been instructed to change the region. If not, it is determined whether the UNDO process is selected in step SP14. When it is determined that the UNDO process is not selected, the process of step SP3 is performed again.

【0053】上記ステップSP10においてカーソル位
置がマウスプッシュ位置から所定距離以上離されたと判
別された場合には、ステップSP15において、第2領
域データ保持部に代えて、第1領域データ保持部を表示
のために割り当て、ステップSP16において、マウス
操作が行なわれた結果、カーソル位置がマウスプッシュ
位置から所定距離以上は離れていない状態になったか否
かを判別し、カーソル位置がマウスプッシュ位置から所
定距離以上離れたままの状態であれば、ステップSP1
7においてマウスリリース操作が行なわれたか否かを判
別する。上記ステップSP16において、カーソル位置
がマウスプッシュ位置から所定距離以上は離れていない
状態になったと判別された場合には、ステップSP18
において、両領域データ保持部の内容を変更することな
く、第2領域データ保持部を表示のために割り当て、再
びステップSP11の処理を行なう。また、ステップS
P17においてマウスリリース操作が行なわれたと判別
された場合には、ステップSP19において第1領域デ
ータ保持の内容を第2領域データ保持部に複写し、再び
ステップSP3の処理を行なう。逆に、ステップSP1
7においてマウスリリース操作が行われていないと判別
された場合には、再びステップSP16の判別を行な
う。
When it is determined in step SP10 that the cursor position is separated from the mouse push position by a predetermined distance or more, in step SP15, the first area data holding section is displayed instead of the second area data holding section. In step SP16, it is determined whether or not the cursor position is not more than a predetermined distance from the mouse push position as a result of the mouse operation, and the cursor position is a predetermined distance or more from the mouse push position. If it is in a separated state, step SP1
At 7, it is determined whether a mouse release operation has been performed. If it is determined in the above step SP16 that the cursor position has not moved away from the mouse push position by a predetermined distance or more, step SP18
In, the second area data holding section is allocated for display without changing the contents of both area data holding sections, and the process of step SP11 is performed again. Also, step S
When it is determined in P17 that the mouse release operation has been performed, the contents of the first area data holding are copied to the second area data holding unit in step SP19, and the processing of step SP3 is performed again. Conversely, step SP1
If it is determined in step 7 that the mouse release operation has not been performed, the determination in step SP16 is performed again.

【0054】上記ステップSP13において処理対象と
なる領域の変更が指示されたと判別された場合には、ス
テップSP20において第3領域データ保持部の内容を
第4領域データ保持部に複写するとともに、第1、第
2、第3領域データ保持部の内容をクリアし、ステップ
SP21において、第4領域データ保持部から処理対象
となる領域の領域データを取り出して第1、第2、第3
領域データ保持部に複写し、再びステップSP3の処理
を行なう。
When it is determined in step SP13 that the change of the area to be processed is instructed, the contents of the third area data holding unit are copied to the fourth area data holding unit and the first area is changed in step SP20. , The contents of the second and third area data holding units are cleared, and in step SP21, the area data of the area to be processed is taken out from the fourth area data holding unit, and the first, second, and third areas are fetched.
The data is copied to the area data holding unit and the processing of step SP3 is performed again.

【0055】上記ステップSP14においてUNDO処
理が選択されたと判別された場合には、ステップSP2
2において第1領域データ保持部の内容を第2領域デー
タ保持部に複写するとともに、第1領域データ保持部を
表示のために割り当て、再びステップSP3の処理を行
なう。具体的には、図16のB1に示すように第2領域
データ保持部に保持されている領域データに対して、カ
ーソル位置に基づく領域を追加すべきことがマウスプッ
シュ操作を行なうことにより指示された場合には、第2
領域データ保持部の内容を変更することなく(B2参
照)、第1領域データ保持部に、領域が追加された新た
な領域を示す領域データを格納するとともに、新たに表
示のために割り当て(A2参照)、マウスリリース操作
を行なうことにより、第1領域データ保持部の内容を第
3領域データ保持部に複写する(A3,C3参照)。ま
た、マウスプッシュ操作を行なった後、マウスリリース
操作を行なっていない間にカーソル位置をマウスプッシ
ュ位置から所定距離以上離した場合には、第1、第2領
域データ保持部の内容をA2,B2のままに保持した状
態で第2領域データ保持部を表示のために割り当てる
(A4,B4参照)。そして、そのままの状態でマウス
リリース操作を行なえば、第2領域データ保持部の内容
を第1領域データ保持部に複写することにより、両領域
データ保持部の内容がA1,B1に示すとおりになり、
UNDO処理と同様の処理を達成することができる。ま
た、マウスリリース操作を行なうことなく、カーソル位
置をマウスプッシュ位置から所定距離以上は離れていな
い状態にすれば、第1領域データ保持部が再び表示のた
めに割り当てられる(A2,B2参照)ので、REDO
処理と同様の処理を達成することができる。
If it is determined in step SP14 that the UNDO process is selected, step SP2
In 2, the contents of the first area data holding unit are copied to the second area data holding unit, the first area data holding unit is allocated for display, and the process of step SP3 is performed again. Specifically, as shown by B1 in FIG. 16, it is instructed by the mouse push operation that an area based on the cursor position should be added to the area data held in the second area data holding unit. If the second
The area data indicating the new area to which the area is added is stored in the first area data holding unit without changing the contents of the area data holding unit (see B2), and is newly allocated for display (A2). By performing a mouse release operation, the contents of the first area data holding section are copied to the third area data holding section (see A3 and C3). After the mouse push operation, if the cursor position is separated from the mouse push position by a predetermined distance or more while the mouse release operation is not performed, the contents of the first and second area data holding units are changed to A2, B2. The second area data holding section is allocated for display while being held as it is (see A4 and B4). Then, if the mouse release operation is performed in that state, the contents of the second area data holding unit are copied to the first area data holding unit so that the contents of both area data holding units become as shown in A1 and B1. ,
A process similar to the UNDO process can be achieved. Further, if the cursor position is not separated from the mouse push position by a predetermined distance or more without performing the mouse release operation, the first area data holding unit is again allocated for display (see A2 and B2). , REDO
A process similar to the process can be achieved.

【0056】また、図16のA3,B3,C3,D3に
示す状態において処理対象となる領域の変更が指示され
た場合には、第3領域データ保持部の内容を第4領域デ
ータ保持部に上書き状に書き込んだ後、第4領域データ
保持部から処理対象となる領域データを取り出して第
1、第2、第3領域データ保持部に書き込む(図17の
A5,B5,C5,D5参照)。したがって、その後
は、変更された領域に対して領域分割処理を行なうこと
ができる。さらに、図16のA3,B3,C3,D3に
示す状態においてUNDO処理が選択された場合には、
第2領域データ保持部の内容を第1領域データ保持部に
複写するとともに、第2領域データ保持部を表示のため
に割り当てればよい(図17のA6,B6参照)。
When an instruction to change the area to be processed is issued in the states shown in A3, B3, C3, and D3 in FIG. 16, the contents of the third area data holding unit are transferred to the fourth area data holding unit. After overwriting, the area data to be processed is taken out from the fourth area data holding unit and written in the first, second, and third area data holding units (see A5, B5, C5, D5 in FIG. 17). . Therefore, after that, the area division process can be performed on the changed area. Furthermore, when UNDO processing is selected in the state shown in A3, B3, C3, D3 of FIG.
The contents of the second area data holding unit may be copied to the first area data holding unit, and the second area data holding unit may be allocated for display (see A6 and B6 in FIG. 17).

【0057】したがって、UNDO処理のみならず、マ
ウスリリース操作を行なう前にカーソル位置を変化させ
るだけで簡単にUNDO処理、REDO処理と同様の処
理を達成することができ、領域分割処理の最新の処理の
やり直しを簡単に達成することができる。マウスリリー
ス後は、メニューからUNDO処理、REDO処理を達
成することができる。また、複数の領域分割処理を互に
区別できる状態で達成することができるので、多重合成
等を簡単に達成することができる。さらに、領域分割処
理を行なうための検索領域を著しく小さくすることがで
きるので、領域分割処理を高速化することができるとと
もに、予期しない領域が分割されてしまうという不都合
の発生を未然に防止することができる。
Therefore, not only the UNDO processing but also the same processing as the UNDO processing and the REDO processing can be easily achieved only by changing the cursor position before the mouse release operation, and the latest processing of the area division processing. Redo can be easily achieved. After releasing the mouse, UNDO processing and REDO processing can be achieved from the menu. Moreover, since a plurality of area division processes can be achieved in a state where they can be distinguished from each other, multiple combining and the like can be easily achieved. Furthermore, since the search area for performing the area division processing can be made extremely small, the area division processing can be speeded up and the inconvenience of unexpected area division can be prevented. You can

【0058】[0058]

【実施例10】図18はこの発明の領域分割装置のさら
に他の実施例を示すブロック図であり、図13の実施例
と異なる点は、領域作成方法が指定された領域内のみか
らの領域作成であるか否かを判別する領域作成方法判別
部4をさらに含む点、検索領域獲得部5として、領域作
成方法が指定された領域内のみからの領域作成であるこ
とを示す領域作成方法判別部4からの判別結果に応答し
て、指定されたカーソル位置が属する領域の中から、カ
ーソル位置および検索領域サイズに基づいて定まる検索
領域を得、逆に、領域作成方法が指定された領域内のみ
からの領域作成ではないことを示す領域作成方法判別部
4からの判別結果に応答して、カーソル位置および検索
領域サイズに基づいて定まる検索領域を得るものを採用
した点、該当時点において処理対象となっている領域デ
ータを保持するための第1、第2、第3領域データプレ
ーン9a,9b,9cと、該当時点において処理対象と
なっていない領域データを保持するための領域データプ
レーン9dとを有している点、新領域追加部14に代え
て、マウスプッシュ操作が行なわれたことを条件とし
て、第1領域データプレーン9aの内容に対して作成さ
れた新たな領域を追加する新領域追加部19を採用した
点、複写部15に代えて、単にマウスリリース操作が行
なわれたことを条件として第1領域データプレーン9a
の内容を第3領域データプレーン9cに複写する複写部
20を採用した点、表示復元部18に代えて、カーソル
位置がマウスプッシュ位置から所定距離以上離されたま
までマウスリリース処理が行なわれたことを条件とし
て、第2領域データプレーン9bの内容を第1領域デー
タプレーン9aに複写するとともに、第2領域データプ
レーン9bを表示のために割り当て続ける表示復元部2
1を採用した点、および分割処理の対象となる領域が変
更されたか否かを判別する変更有無判別部22と、分割
処理の対象となる領域が変更されたことを示す変更有無
判別部22の判別結果に応答して、第3領域データプレ
ーン9cの領域データを第4領域データ保持部9dに上
書き状に書き込むとともに、第1、第2、第3領域デー
タプレーン9a,9b,9cの内容をクリアし、次い
で、第4領域データプレーン9dから新たに分割処理の
対象となる領域に関する領域データを読み出して第1、
第2、第3領域データプレーン9a,9b,9cに書き
込む領域変更処理部23と、UNDO処理が選択された
か否かを判別するUNDO処理判別部24と、UNDO
処理が選択されたことを示すUNDO処理判別部24の
判別結果に応答して、第2領域データプレーン9bを表
示のために割り当てるとともに、第2領域データプレー
ン9bの内容を第1領域データプレーン9aに複写する
UNDO処理部25とをさらに有している点のみであ
る。但し、この実施例において第2領域データプレー
ン、第3領域データプレーンは、実施例9の第2領域デ
ータ保持部、第3領域データ保持部と同様の概念として
使用される。尚、構成各部の作用は図14および図15
のフローチャートの該当ステップの処理と同様であるか
ら、詳細な説明を省略する。
[Embodiment 10] FIG. 18 is a block diagram showing still another embodiment of the area dividing device of the present invention. The difference from the embodiment of FIG. 13 is that the area is created only within the area for which the area creating method is designated. A point that further includes an area creation method determination unit 4 that determines whether or not it is creation, and the search area acquisition unit 5 that is an area creation method determination that indicates that the area creation method is area creation only within the specified area In response to the determination result from the unit 4, a search area determined based on the cursor position and the search area size is obtained from the area to which the specified cursor position belongs, and conversely, within the area in which the area creation method is specified. The point that the search area determined based on the cursor position and the search area size is obtained in response to the determination result from the area creating method determination unit 4 indicating that the area is not created from only First, second, and third area data planes 9a, 9b, and 9c for holding the area data that is the processing target, and areas for holding the area data that is not the processing target at the corresponding time A new area created for the contents of the first area data plane 9a is provided on the condition that the mouse push operation is performed instead of the new area adding unit 14 in that the data area 9d is included. The new area adding section 19 to be added is adopted, and instead of the copying section 15, the first area data plane 9a is provided on condition that a mouse release operation is simply performed.
The point that a copying unit 20 for copying the contents of the above to the third area data plane 9c is adopted, and instead of the display restoring unit 18, the mouse release processing is performed while the cursor position is separated from the mouse push position by a predetermined distance or more. Under the condition, the contents of the second area data plane 9b are copied to the first area data plane 9a, and the second area data plane 9b is continuously allocated for display.
1 and the change presence / absence determining unit 22 that determines whether or not the region to be divided is changed, and the change presence / absence determining unit 22 that indicates that the region to be divided is changed. In response to the determination result, the area data of the third area data plane 9c is overwritten in the fourth area data holding unit 9d, and the contents of the first, second, and third area data planes 9a, 9b, 9c are written. Clear, and then read the area data relating to the area to be newly divided from the fourth area data plane 9d,
The area change processing unit 23 to write in the second and third area data planes 9a, 9b, 9c, the UNDO processing determination unit 24 that determines whether or not the UNDO processing is selected, and the UNDO.
In response to the determination result of the UNDO process determination unit 24 indicating that the process has been selected, the second area data plane 9b is allocated for display, and the content of the second area data plane 9b is assigned to the first area data plane 9a. The only difference is that it further includes an UNDO processing unit 25 for copying to. However, in this embodiment, the second area data plane and the third area data plane are used as the same concept as the second area data holding unit and the third area data holding unit of the ninth embodiment. The operation of each component is shown in FIG. 14 and FIG.
Since the processing is the same as that of the corresponding step in the flowchart of FIG.

【0059】したがって、この実施例の場合にも、UN
DO処理のみならず、マウスリリース操作を行なう前に
カーソル位置を変化させるだけで簡単にUNDO処理、
REDO処理と同様の処理を達成することができ、領域
分割処理の最新の処理のやり直しを簡単に達成すること
ができる。マウスリリース後は、メニューからUNDO
処理、REDO処理を達成することができる。また、複
数の領域分割処理を互に区別できる状態で達成すること
ができるので、多重合成等を簡単に達成することができ
る。さらに、領域分割処理を行なうための検索領域を著
しく小さくすることができるので、領域分割処理を高速
化することができるとともに、予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
できる。図19は上記各実施例に好適な拡大表示処理方
法を説明するフローチャートであり、元の画像と共に所
望領域の拡大画像が表示されている状態において、ステ
ップSP1においてオペレータによるオペレーション入
力が行なわれるまで待ち、ステップSP2においてマウ
スカーソルが拡大画像内に位置するか否かを判別し、マ
ウスカーソルが拡大画像内に位置する場合には、ステッ
プSP3においてマウスカーソルの位置を元の画像にお
ける対応位置に変換する。そして、ステップSP2にお
いてマウスカーソルが拡大画像内に位置しないと判別さ
れた場合、またはステップSP3の処理が行なわれた場
合には、ステップSP4において、実際のマウスカーソ
ルの位置、または変換されたマウスカーソルの位置に基
づいてオペレーション入力に対応する処理、例えば、カ
ーソル移動処理、領域分割処理、画像処理、画像合成処
理等を行ない、ステップSP5において処理結果および
マウスカーソルを元の画像に表示する。次いで、ステッ
プSP6において拡大画像が存在しているか否かを判別
し、存在している場合には、ステップSP7において上
記処理結果およびマウスカーソルを拡大画像に表示す
る。そして、ステップSP6において拡大画像が存在し
ないと判別された場合、またはステップSP7の処理が
行なわれた後は、再びステップSP1の処理を行なう。
Therefore, also in the case of this embodiment, the UN
Not only DO processing but also UNDO processing by simply changing the cursor position before mouse release operation,
The same processing as the REDO processing can be achieved, and the latest processing of the area dividing processing can be easily redone. After releasing the mouse, select UNDO from the menu.
Processing, REDO processing can be achieved. Moreover, since a plurality of area division processes can be achieved in a state where they can be distinguished from each other, multiple combining and the like can be easily achieved. Furthermore, since the search area for performing the area division processing can be made extremely small, the area division processing can be speeded up and the inconvenience of unexpected area division can be prevented. You can FIG. 19 is a flowchart for explaining a magnified display processing method suitable for each of the above-described embodiments. In the state where the magnified image of the desired area is displayed together with the original image, the operation waits until the operator inputs an operation in step SP1. In step SP2, it is determined whether or not the mouse cursor is located in the enlarged image. If the mouse cursor is located in the enlarged image, the position of the mouse cursor is converted to the corresponding position in the original image in step SP3. . Then, if it is determined in step SP2 that the mouse cursor is not located within the enlarged image, or if the processing in step SP3 is performed, then in step SP4 the actual position of the mouse cursor or the converted mouse cursor. Based on the position of, the processing corresponding to the operation input, for example, cursor movement processing, area division processing, image processing, image combination processing, etc. is performed, and the processing result and the mouse cursor are displayed in the original image in step SP5. Next, in step SP6, it is determined whether or not there is an enlarged image, and if it is present, the processing result and the mouse cursor are displayed on the enlarged image in step SP7. Then, if it is determined in step SP6 that there is no enlarged image, or after the processing in step SP7 is performed, the processing in step SP1 is performed again.

【0060】したがって、マウスカーソルを用いて所定
のオペレーションを行なうべき領域等を指定する場合
に、元の画像、拡大画像の何れでも領域等の指定が可能
であり、拡大画像が同時に表示されている状態における
領域等の指定作業を簡単化できるとともに、領域等の指
定精度を高めることができる。さらに詳細に説明する
と、従来は拡大画像が同時に表示されている場合に、拡
大画像に基づく処理、元の画像に基づく処理の何れもマ
ウスカーソル等を用いて簡単に実行することができる
が、例えば、拡大画像に基づく処理については、拡大画
像として表示されている範囲内においてのみ許容されて
おり、拡大画像として表示されている部分から拡大画像
として表示されていない部分にわたる領域を処理対象と
して指定することは不可能であった。したがって、この
場合には、例えば、拡大画像を消去して元の画像中にお
いて領域の指定を行なわなければならなかった。しか
し、この方法であれば、拡大画像として表示されている
部分から拡大画像として表示されていない部分にわたる
領域を処理対象として指定することが可能であり、拡大
表示の利点を十分に活用することができる。
Therefore, when an area or the like for performing a predetermined operation is specified using the mouse cursor, the area or the like can be specified for both the original image and the enlarged image, and the enlarged image is displayed at the same time. It is possible to simplify the work of designating the area and the like in the state and improve the accuracy of designating the area and the like. More specifically, conventionally, when an enlarged image is displayed at the same time, both the processing based on the enlarged image and the processing based on the original image can be easily executed using a mouse cursor or the like. , The processing based on the enlarged image is allowed only within the range displayed as the enlarged image, and the area from the portion displayed as the enlarged image to the portion not displayed as the enlarged image is designated as the processing target. It was impossible. Therefore, in this case, for example, it was necessary to delete the enlarged image and specify the area in the original image. However, with this method, it is possible to specify the region from the portion displayed as the enlarged image to the portion not displayed as the enlarged image as the processing target, and the advantages of the enlarged display can be fully utilized. it can.

【0061】図20は拡大表示処理装置を示すブロック
図であり、マウスカーソルの位置を検出する位置検出部
41と、マウスカーソルが拡大画像内に位置するか否か
を判別する判別部42と、マウスカーソルが拡大画像内
に位置することを示す判別部42の判別結果に応答し
て、マウスカーソルの位置を元の画像における対応位置
に変換する位置変換部43と、判別部42の判別結果に
応答して、位置検出部41により検出されたマウスカー
ソルの位置、または位置変換部43により変換された対
応位置に基づいてオペレーション入力に対応する処理を
行なう処理部44と、判別部42の判別結果に応答して
処理部44による処理結果を、元の画像のみ、または元
の画像および拡大画像に表示する処理結果表示部45と
を有している。尚、構成各部の作用は図19のフローチ
ャートの該当ステップの処理と同様であるから詳細な説
明を省略する。尚、拡大画像を表示するための構成、マ
ウスカーソルの位置を設定するための構成は従来公知で
あるから説明を省略してある。
FIG. 20 is a block diagram showing a magnified display processing device, which includes a position detecting section 41 for detecting the position of the mouse cursor, a discriminating section 42 for discriminating whether or not the mouse cursor is positioned within the enlarged image, In response to the determination result of the determination unit 42 indicating that the mouse cursor is located in the enlarged image, the position conversion unit 43 that converts the position of the mouse cursor to the corresponding position in the original image, and the determination result of the determination unit 42 In response, the processing unit 44 that performs processing corresponding to the operation input based on the position of the mouse cursor detected by the position detection unit 41 or the corresponding position converted by the position conversion unit 43, and the determination result of the determination unit 42. In response to the processing result display unit 45 for displaying the processing result by the processing unit 44 only on the original image or on the original image and the enlarged image. Since the operation of each component is the same as the process of the corresponding step of the flowchart of FIG. 19, detailed description will be omitted. Note that the configuration for displaying the enlarged image and the configuration for setting the position of the mouse cursor are conventionally known, and therefore description thereof is omitted.

【0062】したがって、マウスカーソルを用いて所定
のオペレーションを行なうべき領域等を指定する場合
に、元の画像、拡大画像の何れでも領域等の指定が可能
であり、拡大画像が同時に表示されている状態における
領域等の指定作業を簡単化できるとともに、領域等の指
定精度を高めることができる。尚、以上には、直接ピッ
クが選択された場合の処理について説明したが、図1A
に示すペイント、ポリゴン、長方形の何れかを選択した
場合には、マウスカーソルの移動経路に基づいて定まる
範囲を処理対象領域とすることができる。但し、これら
の場合には、カーソル位置がマウスプッシュ位置から離
れた場合の処理を行なわないようにしている。もちろ
ん、これらの場合に、上記範囲から類似の色の領域を検
出するよう構成することは可能である。
Therefore, when designating an area or the like for performing a predetermined operation using the mouse cursor, the area or the like can be designated for both the original image and the enlarged image, and the enlarged image is displayed at the same time. It is possible to simplify the work of designating the area and the like in the state and improve the accuracy of designating the area and the like. In the above, the processing when the direct pick is selected has been described.
When any one of paint, polygon, and rectangle shown in (1) is selected, the range determined based on the movement path of the mouse cursor can be set as the processing target area. However, in these cases, the processing when the cursor position is separated from the mouse push position is not performed. Of course, in these cases, it is possible to configure to detect a region of similar color from the above range.

【0063】[0063]

【発明の効果】以上のように請求項1の発明は、領域分
割のための操作を簡単化することができるとともに、領
域分割所要時間を短縮することができ、しかも予期しな
い領域が分割されてしまうという不都合の発生を未然に
防止することができるという特有の効果を奏する。
As described above, according to the first aspect of the present invention, the operation for area division can be simplified, the time required for area division can be shortened, and an unexpected area is divided. The peculiar effect that it is possible to prevent the occurrence of the inconvenience of being caused is produced.

【0064】請求項2の発明も、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
できるという特有の効果を奏する。請求項3の発明は、
領域分割のための操作を簡単化することができるととも
に、領域分割所要時間を短縮することができ、しかも予
期しない領域が分割されてしまうという不都合の発生を
未然に防止することができ、さらに複数の領域を互に区
別できる状態で分割することができるという特有の効果
を奏する。
The invention of claim 2 can also simplify the operation for area division, shorten the time required for area division, and cause the inconvenience of unexpected area division. It has a unique effect that it can be prevented. The invention of claim 3 is
The operation for area division can be simplified, the time required for area division can be shortened, and the inconvenience of unexpected area division can be prevented. There is a unique effect that the areas can be divided so that they can be distinguished from each other.

【0065】請求項4の発明も、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
でき、さらに複数の領域を互に区別できる状態で分割す
ることができるという特有の効果を奏する。請求項5の
発明は、領域分割のための操作を簡単化することができ
るとともに、領域分割所要時間を短縮することができ、
しかも予期しない領域が分割されてしまうという不都合
の発生を未然に防止することができ、さらに所定の領域
を表示して分割されるべき領域に属する画素を選択して
いる途中において画素の選択を確定することなく解除し
て、直前の画素選択確定状態に戻すことができ、領域分
割処理の初期状態まで戻す必要がないのであるから、途
中で画素選択の解除が行なわれる場合における全体とし
ての処理所要時間を短縮することができるとともに、操
作者に要求される操作も簡単化することができるという
特有の効果を奏する。
The invention according to claim 4 can also simplify the operation for area division, shorten the time required for area division, and cause an inconvenience that an unexpected area is divided. It is possible to prevent this from occurring in advance, and there is a unique effect that a plurality of regions can be divided so that they can be distinguished from each other. According to the invention of claim 5, the operation for area division can be simplified and the time required for area division can be shortened.
Moreover, it is possible to prevent the inconvenience that an unexpected area is divided, and to confirm the pixel selection while displaying a predetermined area and selecting a pixel belonging to the area to be divided. Since it is possible to return to the immediately preceding pixel selection confirmation state without canceling without doing so, and it is not necessary to return to the initial state of the region division processing, it is necessary to perform the entire processing when the pixel selection is canceled halfway. There is a unique effect that the time can be shortened and the operation required by the operator can be simplified.

【0066】請求項6の発明も、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
でき、さらに所定の領域を表示して分割されるべき領域
に属する画素を選択している途中において画素の選択を
確定することなく解除して、直前の画素選択確定状態に
戻すことができ、領域分割処理の初期状態まで戻す必要
がないのであるから、途中で画素選択の解除が行なわれ
る場合における全体としての処理所要時間を短縮するこ
とができるとともに、操作者に要求される操作も簡単化
することができるという特有の効果を奏する。
The invention of claim 6 can also simplify the operation for area division, shorten the time required for area division, and cause the inconvenience of unexpected area division. This can be prevented in advance, and while the pixel belonging to the area to be divided is displayed by displaying the predetermined area, the pixel selection is canceled without being fixed, and the immediately previous pixel selection is fixed. Since it is possible to return to the initial state of the area division processing, it is possible to shorten the processing time as a whole when the pixel selection is canceled in the middle, and to request the operator. There is a unique effect that the operation can be simplified.

【0067】請求項7の発明は、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
でき、さらに所定の領域を表示して分割されるべき領域
に属する画素を選択している途中において画素の選択を
確定することなく解除して、直前の画素選択確定状態に
戻すための操作を簡単化することができるという特有の
効果を奏する。
According to the invention of claim 7, the operation for dividing the area can be simplified, the time required for the area division can be shortened, and an unexpected area is divided. This can be prevented in advance, and while the pixel belonging to the area to be divided is displayed by displaying the predetermined area, the pixel selection is canceled without being fixed, and the immediately previous pixel selection is fixed. The unique effect that the operation for returning is simplified can be achieved.

【0068】請求項8の発明も、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
でき、さらに所定の領域を表示して分割されるべき領域
に属する画素を選択している途中において画素の選択を
確定することなく解除して、直前の画素選択確定状態に
戻すための操作を簡単化することができるという特有の
効果を奏する。
The invention of claim 8 can also simplify the operation for area division, shorten the time required for area division, and cause an inconvenience of unexpected area division. This can be prevented in advance, and while the pixel belonging to the area to be divided is displayed by displaying the predetermined area, the pixel selection is canceled without being fixed, and the immediately previous pixel selection is confirmed. The unique effect of simplifying the returning operation is achieved.

【0069】請求項9の発明は、領域分割のための操作
を簡単化することができるとともに、領域分割所要時間
を短縮することができ、しかも予期しない領域が分割さ
れてしまうという不都合の発生を未然に防止することが
でき、さらに複数の領域を互に区別できる状態で分割す
ることができ、さらにまた所定の領域を表示して分割さ
れるべき領域に属する画素を選択している途中において
画素の選択を確定することなく解除して、直前の画素選
択確定状態に戻すことができ、領域分割処理の初期状態
まで戻す必要がないのであるから、途中で画素選択の解
除が行なわれる場合における全体としての処理所要時間
を短縮することができるとともに、操作者に要求される
操作も簡単化することができ、しかも所定の領域を表示
して分割されるべき領域に属する画素を選択している途
中において画素の選択を確定することなく解除して、直
前の画素選択確定状態に戻すための操作を一層簡単化す
ることができるという特有の効果を奏する。
According to the ninth aspect of the present invention, the operation for area division can be simplified, the time required for area division can be shortened, and an unexpected area is divided. This can be prevented in advance, and a plurality of regions can be divided in a state where they can be distinguished from each other. Furthermore, a pixel is displayed while displaying a predetermined region and selecting a pixel belonging to the region to be divided. Since it is possible to return to the immediately preceding pixel selection confirmation state without canceling the selection of, and it is not necessary to return to the initial state of the area division processing, it is possible to cancel the pixel selection in the middle. The processing time required for the operation can be shortened, the operation required by the operator can be simplified, and a predetermined area must be displayed and divided. Cancel without confirm the selection of the pixels in the middle of selecting the pixels belonging to the region, it exhibited a unique advantageous effect that it is possible to further simplify the operation for returning the pixel selection decision prior state.

【0070】請求項10の発明も、領域分割のための操
作を簡単化することができるとともに、領域分割所要時
間を短縮することができ、しかも予期しない領域が分割
されてしまうという不都合の発生を未然に防止すること
ができ、さらに複数の領域を互に区別できる状態で分割
することができ、さらにまた所定の領域を表示して分割
されるべき領域に属する画素を選択している途中におい
て画素の選択を確定することなく解除して、直前の画素
選択確定状態に戻すことができ、領域分割処理の初期状
態まで戻す必要がないのであるから、途中で画素選択の
解除が行なわれる場合における全体としての処理所要時
間を短縮することができるとともに、操作者に要求され
る操作も簡単化することができ、しかも所定の領域を表
示して分割されるべき領域に属する画素を選択している
途中において画素の選択を確定することなく解除して、
直前の画素選択確定状態に戻すための操作を一層簡単化
することができるという特有の効果を奏する。
The invention according to claim 10 can also simplify the operation for area division, shorten the time required for area division, and cause an inconvenience that an unexpected area is divided. This can be prevented in advance, and a plurality of regions can be divided in a state where they can be distinguished from each other. Furthermore, a pixel is displayed while displaying a predetermined region and selecting a pixel belonging to the region to be divided. Since it is possible to return to the immediately preceding pixel selection confirmation state without canceling the selection of, and it is not necessary to return to the initial state of the area division processing, it is possible to cancel the pixel selection in the middle. It is possible to shorten the processing time required for the operation, simplify the operation required by the operator, and display and divide a predetermined area. Cancel without confirm the selection of the pixels in the middle of selecting a pixel belonging to come region,
There is a unique effect that the operation for returning to the immediately preceding pixel selection confirmed state can be further simplified.

【0071】請求項11の発明は、請求項1,3,5,
7,9の何れかの効果に加え、表示された円内を分割処
理の対象領域として制限することができるとともに、領
域を設定するための操作を簡単化することができるとい
う特有の効果を奏する。請求項12の発明は、請求項
2,4,6,8,10の何れかの効果に加え、表示され
た円内を分割処理の対象領域として制限することができ
るとともに、領域を設定するための操作を簡単化するこ
とができるという特有の効果を奏する。
The invention of claim 11 relates to claims 1, 3, 5,
In addition to any one of the effects 7 and 9, it is possible to restrict the inside of the displayed circle as a target area of the division processing, and to perform a unique effect that the operation for setting the area can be simplified. . According to the invention of claim 12, in addition to the effect of any one of claims 2, 4, 6, 8 and 10, the inside of the displayed circle can be restricted as a target area for the division processing, and the area is set. There is a unique effect that the operation of can be simplified.

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

【図1】この発明の領域分割方法に適用されるメニュー
画面の一例を示す図である。
FIG. 1 is a diagram showing an example of a menu screen applied to an area dividing method of the present invention.

【図2】この発明の領域分割方法の一実施例を説明する
フローチャートである。
FIG. 2 is a flowchart illustrating an embodiment of the area dividing method of the present invention.

【図3】この発明の領域分割装置の一実施例を示すブロ
ック図である。
FIG. 3 is a block diagram showing an embodiment of the area dividing device of the present invention.

【図4】この発明の領域分割方法の他の実施例を説明す
るフローチャートである。
FIG. 4 is a flowchart illustrating another embodiment of the area dividing method according to the present invention.

【図5】図4のフローチャートに基づく処理を説明する
ための説明図である。
5 is an explanatory diagram for explaining a process based on the flowchart of FIG.

【図6】この発明の領域分割装置の他の実施例を示すブ
ロック図である。
FIG. 6 is a block diagram showing another embodiment of the area dividing device of the present invention.

【図7】この発明の領域分割方法のさらに他の実施例を
説明するフローチャートである。
FIG. 7 is a flow chart for explaining still another embodiment of the area dividing method according to the present invention.

【図8】図7のフローチャートに基づく処理を説明する
ための説明図である。
8 is an explanatory diagram for explaining a process based on the flowchart of FIG. 7. FIG.

【図9】この発明の領域分割装置のさらに他の実施例を
示すブロック図である。
FIG. 9 is a block diagram showing still another embodiment of the area dividing device according to the present invention.

【図10】この発明の領域分割方法のさらに他の実施例
の一部を説明するフローチャートである。
FIG. 10 is a flowchart illustrating a part of still another embodiment of the area dividing method according to the present invention.

【図11】この発明の領域分割方法のさらに他の実施例
の残部を説明するフローチャートである。
FIG. 11 is a flowchart illustrating the remaining part of still another embodiment of the area dividing method according to the present invention.

【図12】図10および図11のフローチャートに基づ
く処理を説明するための説明図である。
12 is an explanatory diagram for explaining a process based on the flowcharts of FIGS. 10 and 11. FIG.

【図13】この発明の領域分割装置のさらに他の実施例
を示すブロック図である。
FIG. 13 is a block diagram showing still another embodiment of the area dividing device according to the present invention.

【図14】この発明の領域分割方法のさらに他の実施例
の一部を説明するフローチャートである。
FIG. 14 is a flowchart illustrating a part of still another embodiment of the area dividing method according to the present invention.

【図15】この発明の領域分割方法のさらに他の実施例
の他の残部を説明するフローチャートである。
FIG. 15 is a flowchart for explaining another part of still another embodiment of the area dividing method according to the present invention.

【図16】図14および図15のフローチャートに基づ
く処理の一部を説明するための説明図である。
16 is an explanatory diagram for explaining a part of the processing based on the flowcharts of FIGS. 14 and 15. FIG.

【図17】図14および図15のフローチャートに基づ
く処理の残部を説明するための説明図である。
FIG. 17 is an explanatory diagram for explaining the rest of the processing based on the flowcharts of FIGS. 14 and 15.

【図18】この発明の領域分割装置のさらに他の実施例
を示すブロック図である。
FIG. 18 is a block diagram showing still another embodiment of the area dividing device according to the present invention.

【図19】拡大表示処理方法を説明するフローチャート
である。
FIG. 19 is a flowchart illustrating an enlarged display processing method.

【図20】拡大表示処理装置を示すフローチャートであ
る。
FIG. 20 is a flowchart showing an enlarged display processing device.

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

2 カーソル位置指定部 3 色データ抽出部 5 検索領域獲得部 6 新領域作成部 9 領域データプレーン 9a 第1領域データプレ
ーン 9b 第2領域データプレーン 9c 第3領域デー
タプレーン 9d 第4領域データプレーン 10,22 変更有
無判別部 11,23 領域変更処理部 12 表示割り当て部 13 割り当て制御部 14,19 新領域追加部 15,20 複写部 18,21 表示復元部
2 cursor position designation unit 3 color data extraction unit 5 search region acquisition unit 6 new region creation unit 9 region data plane 9a first region data plane 9b second region data plane 9c third region data plane 9d fourth region data plane 10, 22 Change presence / absence determination unit 11, 23 Area change processing unit 12 Display allocation unit 13 Allocation control unit 14, 19 New area addition unit 15, 20 Copying unit 18, 21 Display restoring unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 画像における類似色の領域を分割する方
法であって、カーソル位置に基づいて定まる所定の領域
を設定し、カーソルにより指定された画素の色との差が
所定の閾値以下であり、かつ上記所定の領域内に位置す
る画素を分割されるべき領域に属する画素として選択す
ることを特徴とする領域分割方法。
1. A method for dividing an area of similar color in an image, wherein a predetermined area determined based on a cursor position is set, and a difference from the color of a pixel designated by the cursor is less than or equal to a predetermined threshold value. And a pixel located in the predetermined area is selected as a pixel belonging to an area to be divided.
【請求項2】 画像における類似色の領域を分割する装
置であって、カーソル位置に基づいて定まる所定の領域
を設定する領域設定手段(2)(5)と、カーソルによ
り指定された画素の色との差が所定の閾値以下であり、
かつ上記所定の領域内に位置する画素を分割されるべき
領域に属する画素として選択する画素選択手段(3)
(6)と、画素選択手段(6)により選択された画素に
基づいて得られる領域情報を保持するための、画像と同
一ピクセル数の領域データ保持手段(9)とを含むこと
を特徴とする領域分割装置。
2. A device for dividing an area of similar color in an image, comprising area setting means (2) (5) for setting a predetermined area determined based on a cursor position, and a color of a pixel designated by the cursor. Is less than or equal to a predetermined threshold,
A pixel selecting means (3) for selecting a pixel located in the predetermined area as a pixel belonging to the area to be divided.
(6) and area data holding means (9) having the same number of pixels as the image for holding area information obtained based on the pixels selected by the pixel selecting means (6). Area dividing device.
【請求項3】 画像における類似色の領域を分割する方
法であって、画像と同一ピクセル数の1対の領域データ
保持手段の一方を所定の領域分割処理のために割り当て
るとともに、他方を残余の分割領域を保持するために割
り当て、一方の領域データ保持手段にカーソル位置に基
づいて定まる所定の領域を設定し、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択し、領域分割処理を行なうべき領
域を変更すべきことが指示されたことに応答して、一方
の領域データ保持手段に保持されている領域データを他
方の領域データ保持手段に書き込み、次いで、他方の領
域データ保持手段から領域分割処理の対象となる領域デ
ータを読み出して一方の領域データ保持手段に書き込む
ことを特徴とする領域分割方法。
3. A method of dividing a region of similar color in an image, wherein one of a pair of region data holding means having the same number of pixels as the image is allocated for a predetermined region dividing process, and the other is retained. Allocating to hold the divided area, setting a predetermined area determined on the basis of the cursor position in one area data holding means, the difference from the color of the pixel designated by the cursor is less than or equal to a predetermined threshold, and In response to an instruction to select a pixel located in a predetermined area as a pixel belonging to the area to be divided and to change the area to be subjected to the area division processing, one of the area data holding means is instructed. The held area data is written in the other area data holding means, and then the area data that is the target of the area division processing is read from the other area data holding means. An area dividing method characterized by writing in one area data holding means.
【請求項4】 画像における類似色の領域を分割する装
置であって、画像と同一ピクセル数の1対の領域データ
保持手段(9a)(9b)の一方が領域分割処理のため
に割り当てられてあるとともに、他方が残余の領域デー
タを保持すべく割り当てられてあり、さらに、一方の領
域データ保持手段(9a)にカーソル位置に基づいて定
まる所定の領域を設定する領域設定手段(2)(5)
と、カーソルにより指定された画素の色との差が所定の
閾値以下であり、かつ上記所定の領域内に位置する画素
を分割されるべき領域に属する画素として選択する画素
選択手段(3)(6)と、領域分割処理の対象となる領
域を選択する領域選択手段(10)と、領域選択手段
(10)により新たな領域が選択されたことに応答し
て、一方の領域データ保持手段(9a)に保持されてい
る領域データを他方の領域データ保持手段(9b)に書
き込み、次いで、他方の領域データ保持手段(9b)か
ら領域分割処理の対象となる領域データを読み出して一
方の領域データ保持手段(9a)に書き込む領域変更手
段(11)とを含むことを特徴とする領域分割装置。
4. A device for dividing a region of similar color in an image, wherein one of a pair of region data holding means (9a) (9b) having the same number of pixels as the image is allocated for the region division processing. In addition, the other is assigned to hold the remaining area data, and the area setting means (2) (5) that sets a predetermined area determined based on the cursor position in one area data holding means (9a). )
And a pixel whose color difference from the pixel designated by the cursor is less than or equal to a predetermined threshold and which selects a pixel located in the predetermined area as a pixel belonging to the area to be divided (3) ( 6), an area selecting means (10) for selecting an area to be subjected to area division processing, and one area data holding means (10) in response to selection of a new area by the area selecting means (10). The area data held in 9a) is written in the other area data holding means (9b), and then the area data to be subjected to area division processing is read out from the other area data holding means (9b) to obtain one area data. An area dividing device comprising area changing means (11) for writing in the holding means (9a).
【請求項5】 画像における類似色の領域を分割する方
法であって、画像と同一ピクセル数の1対の領域データ
保持手段の一方を分割領域の表示のために割り当てると
ともに、他方を直前の分割領域保持のために割り当て、
一方の領域データ保持手段の内容に基づく分割領域の表
示中にカーソル位置に基づいて定まる所定の領域を設定
し、画素の選択を確定すべきことが指示されたことに応
答して、カーソルにより指定された画素の色との差が所
定の閾値以下であり、かつ上記所定の領域内に位置する
画素を分割されるべき領域に属する画素として選択し、
画素の選択を解除すべきことが指示されたことに応答し
て、他方の領域データ保持手段を分割対象領域の表示の
ために割り当てるとともに、一方の領域データ保持手段
を直前の分割領域保持のために割り当てることを特徴と
する領域分割方法。
5. A method of dividing a region of similar color in an image, wherein one of a pair of region data holding means having the same number of pixels as the image is allocated for displaying the divided region, and the other is divided immediately before. Allocate to hold space,
A predetermined area determined based on the cursor position is set during the display of the divided area based on the content of one area data holding unit, and is designated by the cursor in response to an instruction to confirm the pixel selection. The difference between the color of the pixel and the predetermined threshold is less than or equal to a predetermined threshold, and the pixel located in the predetermined area is selected as a pixel belonging to the area to be divided,
In response to the instruction to cancel the pixel selection, the other area data holding means is allocated for displaying the division target area, and one area data holding means is used for holding the immediately previous divided area. A region segmentation method, characterized by allocating to the.
【請求項6】 画像における類似色の領域を分割する装
置であって、画像と同一ピクセル数の1対の領域データ
保持手段(9a)(9b)と、領域データ保持手段の一
方を分割領域の表示のために割り当てるとともに、他方
を直前の分割領域保持のために割り当てる割り当て手段
(12)と、一方の領域データ保持手段の内容に基づく
分割領域の表示中にカーソル位置に基づいて定まる所定
の領域を設定する領域設定手段(2)(5)と、画素の
選択を確定すべきことまたは解除すべきことを指示する
指示手段と、画素の選択を確定すべきことを示す確定指
示信号が指示手段から出力されたことに応答して、カー
ソルにより指定された画素の色との差が所定の閾値以下
であり、かつ上記所定の領域内に位置する画素を分割さ
れるべき領域に属する画素として選択する画素選択手段
(3)(6)と、画素の選択を解除すべきことを示す解
除指示信号が指示手段から出力されたことに応答して、
他方の領域データ保持手段を分割対象領域の表示のため
に割り当てるとともに、一方の領域データ保持手段を直
前の分割領域保持のために割り当てるべく割り当て手段
(12)を制御する制御手段(13)とを含むことを特
徴とする領域分割装置。
6. A device for dividing a region of similar color in an image, wherein one pair of region data holding means (9a) (9b) having the same number of pixels as the image and one of the region data holding means An assigning means (12) for assigning the display area and the other for holding the immediately preceding divided area, and a predetermined area determined based on the cursor position during the display of the divided area based on the content of one area data holding means. Area setting means (2) and (5), setting means for instructing that pixel selection should be confirmed or canceled, and confirmation instruction signals indicating that pixel selection should be confirmed. In response to the output from the pixel, the difference between the color of the pixel designated by the cursor and the color of the pixel is equal to or less than a predetermined threshold value, and the pixel located in the predetermined area belongs to the area to be divided. In response to the pixel selection means (3) and (6) for selecting a pixel to be selected and the cancellation instruction signal indicating that the selection of the pixel should be canceled from the instruction means,
A control means (13) for allocating the other area data holding means for displaying the division target area and controlling the allocation means (12) for allocating one area data holding means for holding the immediately preceding divided area. An area dividing device comprising:
【請求項7】 画像における類似色の領域を分割する方
法であって、画像と同一ピクセル数の1対の領域データ
保持手段の一方を分割領域の一時保持のために割り当て
るとともに、他方を確定した分割領域の保持のために割
り当て、かつ何れかを表示のために割り当て、他方の領
域データ保持手段の内容に基づく分割領域の表示中にカ
ーソル位置に基づいて定まる所定の領域を表示し、画素
の選択を確定すべきことが仮に指示されたことに応答し
て、カーソルにより指定された画素の色との差が所定の
閾値以下であり、かつ上記所定の領域内に位置する画素
を分割されるべき領域に属する画素として選択して一方
の領域データ保持手段に書き込むとともに、一方の領域
データ保持手段を表示のために割り当て、画素の選択を
確定すべきことが指示されたことに応答して、表示のた
めに割り当てられている領域データ保持手段に保持され
ている領域データを表示のために割り当てられていない
領域データ保持手段に書き込むとともに、表示のために
割り当てられていない領域データ保持手段を表示のため
に割り当て、一方の領域データ保持手段が表示のために
割り当てられている状態においてカーソル位置が離れた
ことに応答して、他方の領域データ保持手段を表示のた
めに割り当てることを特徴とする領域分割方法。
7. A method of dividing a region of similar color in an image, wherein one of a pair of region data holding means having the same number of pixels as the image is allocated for temporary holding of the divided region and the other is fixed. Allocating for holding the divided area, and allocating any one for displaying, displaying a predetermined area determined based on the cursor position during display of the divided area based on the content of the other area data holding means, In response to a temporary indication that the selection should be confirmed, the pixel whose color difference from the pixel designated by the cursor is less than or equal to a predetermined threshold and which is located in the predetermined area is divided. It is necessary to select a pixel belonging to a region to be written and write it in one area data holding means, and also to allocate one area data holding means for display to confirm the selection of the pixel. In response to the indication, the area data held in the area data holding means allocated for display is written in the area data holding means not allocated for display, and the area data holding means is allocated for display. The area data holding means which is not set is assigned for display, and the other area data holding means is displayed in response to the cursor position being separated in the state where one area data holding means is assigned for display. A region segmentation method characterized by allocating for.
【請求項8】 画像における類似色の領域を分割する装
置であって、画像と同一ピクセル数の1対の領域データ
保持手段(9a)(9b)と、領域データ保持手段の一
方を分割領域の一時保持のために割り当てるとともに、
他方を確定した分割領域の保持のために割り当て、かつ
何れかを表示のために割り当てる割り当て手段(16)
(17)と、他方の領域データ保持手段の内容に基づく
分割領域の表示中にカーソル位置に基づいて定まる所定
の領域を設定する領域設定手段(2)(5)と、画素の
選択を確定すべきことまたは仮に確定すべきことを指示
する指示手段と、選択を仮に確定すべきことを示す仮確
定指示信号が指示手段から出力されたことに応答して、
カーソルにより指定された画素の色との差が所定の閾値
以下であり、かつ上記所定の領域内に位置する画素を分
割されるべき領域に属する画素として選択して一方の領
域データ保持手段に書き込む画素選択手段(3)(6)
(14)と、画素の選択を確定すべきことを示す確定指
示信号が指示手段から出力されたことに応答して、表示
のために割り当てられている領域データ保持手段に保持
されている領域データを表示のために割り当てられてい
ない領域データ保持手段に書き込む確定手段(15)
と、一方の領域データ保持手段が表示のために割り当て
られている状態においてカーソル位置が離れたことに応
答して、他方の領域データ保持手段を表示のために割り
当てるべく割り当て状態を制御する制御手段(18)と
を含むことを特徴とする領域分割装置。
8. A device for dividing a region of a similar color in an image, wherein one of a pair of region data holding means (9a) (9b) having the same number of pixels as the image and one of the region data holding means is a divided region. Allocate for temporary holding,
Allocation means (16) for allocating the other for holding the confirmed divided area and for allocating any of them for display
(17) and area setting means (2) and (5) for setting a predetermined area determined based on the cursor position during the display of the divided area based on the content of the other area data holding means, and the pixel selection is confirmed. In response to the instruction means for instructing what to do or to be temporarily confirmed and the temporary confirmation instruction signal indicating that the selection should be temporarily confirmed, outputted from the instruction means,
The difference between the color of the pixel designated by the cursor and the color of the pixel is equal to or less than a predetermined threshold value, and the pixel located in the predetermined area is selected as a pixel belonging to the area to be divided and written in one area data holding means Pixel selection means (3) (6)
(14) and the area data held in the area data holding means allocated for display in response to the decision instructing signal indicating that the pixel selection should be decided Deciding means (15) for writing the data into the area data holding means not allocated for display
And a control means for controlling the allocation state so that the other area data holding means is allocated for display in response to the cursor position being separated while the one area data holding means is allocated for display. (18) An area dividing device including:
【請求項9】 画像における類似色の領域を分割する方
法であって、画像と同一ピクセル数の4つの領域データ
保持手段をそれぞれ領域分割処理の対象となる領域デー
タを保持する第1領域データ保持手段、第3領域データ
保持手段、該当する領域データを一時的に保持する第2
領域データ保持手段、残余の領域データを保持する第4
領域データ保持手段に割り当て、第1領域データ保持手
段の内容に基づく分割領域の表示中にカーソル位置に基
づいて定まる所定の領域を設定し、カーソルにより指定
された画素の色との差が所定の閾値以下であり、かつ上
記所定の領域内に位置する画素を分割されるべき領域に
属する画素として選択し、画素の選択を仮に確定させる
べきことを示す確定指示に応答して、元の分割領域に対
して選択された画素を追加して第2領域データ保持手段
に保持させるとともに、第2領域データ保持手段を表示
のために割り当て、画素の選択を確定させるべきことを
示す確定指示に応答して、第2領域データ保持手段に保
持されている領域データを第3領域データ保持手段に書
き込むとともに、第3領域データ保持手段を表示のため
に割り当て、第1領域データ保持手段と第3領域保持手
段とを切り換えて上記一連の処理を必要回数だけ反復さ
せ、しかも、第2領域データ保持手段が表示のために割
り当てられている状態においてカーソル位置が離れたこ
とに応答して、第1又は第3領域データ割り当て手段を
表示のために割り当て、領域分割処理を行なうべき領域
を変更すべきことが指示されたことに応答して、第1又
は第3領域データ保持手段に保持されている領域データ
を第4領域データ保持手段に書き込み、次いで、第4領
域データ保持手段から領域分割処理の対象となる領域デ
ータを読み出して残余の領域データ保持手段に書き込む
ことを特徴とする領域分割方法。
9. A method of dividing an area of similar color in an image, wherein first area data holding means holds four area data holding means each having the same number of pixels as the image, and area data to be subjected to area dividing processing. Means, third area data holding means, second holding means for temporarily holding corresponding area data
Area data holding means, fourth for holding remaining area data
A predetermined area is set which is assigned to the area data holding means and is determined based on the cursor position while the divided area is displayed based on the contents of the first area data holding means. In response to a confirmation instruction indicating that a pixel that is equal to or less than a threshold value and is located in the predetermined region is selected as a pixel belonging to the region to be divided, and the selection of the pixel should be temporarily confirmed, the original divided region The selected pixel is added to the second area data holding means and held in the second area data holding means, the second area data holding means is assigned for display, and the pixel selection is answered in response to the confirmation instruction. Then, the area data held in the second area data holding means is written in the third area data holding means, and the third area data holding means is allocated for display. The area data holding means and the third area holding means are switched to repeat the above series of processing a necessary number of times, and the cursor position is separated in the state where the second area data holding means is allocated for display. In response to the instruction to allocate the first or third area data allocation means for display and to change the area to be subjected to the area division processing, the first or third area data is transmitted. The area data held in the holding means is written in the fourth area data holding means, and then the area data to be subjected to the area division processing is read from the fourth area data holding means and written in the remaining area data holding means. Characteristic area division method.
【請求項10】 画像における類似色の領域を分割する
装置であって、画像と同一ピクセル数の4つの領域デー
タ保持手段(9a)(9b)(9c)(9d)をそれぞ
れ領域分割処理の対象となる領域データを保持する第1
領域データ保持手段(9a)、第3領域データ保持手段
(9c)、該当する領域データを一時的に保持する第2
領域データ保持手段(9b)、残余の領域データを保持
する第4領域データ保持手段(9d)に割り当ててある
とともに、選択的に1つの領域データ保持手段を表示の
ために割り当てられてあり、さらに表示のために割り当
てられた領域データ保持手段の内容に基づく分割領域の
表示中にカーソル位置に基づいて定まる所定の領域を設
定する領域設定手段(2)(5)と、カーソルにより指
定された画素の色との差が所定の閾値以下であり、かつ
上記所定の領域内に位置する画素を分割されるべき領域
に属する画素として選択する画素選択手段(3)(6)
と、画素の選択を確定すべきことまたは仮に確定すべき
ことを指示する指示手段と、画素の選択を仮に確定させ
るべきことを示す確定指示に応答して、元の分割領域に
対して選択された画素を追加して第2領域データ保持手
段(9b)に保持させるとともに、第2領域データ保持
手段(9b)を表示のために割り当て、画素の選択を確
定させるべきことを示す確定指示に応答して、第2領域
データ保持手段(9b)に保持されている領域データを
第3領域データ保持手段(9c)に書き込むとともに、
第3領域データ保持手段(9c)を表示のために割り当
て、第1領域データ保持手段(9a)と第3領域保持手
段(9c)とを切り換えて上記一連の処理を必要回数だ
け反復させ、第2領域データ保持手段(9b)が表示の
ために割り当てられている状態においてカーソル位置が
離れたことに応答して、第1領域データ割り当て手段
(9a)又は第3領域データ保持手段(9c)を表示の
ために割り当て、領域分割処理を行なうべき領域を変更
すべきことが指示されたことに応答して、第1領域デー
タ保持手段(9a)又は第3領域データ保持手段(9
c)に保持されている領域データを第4領域データ保持
手段(9d)に書き込み、次いで、第4領域データ保持
手段(9d)から領域分割処理の対象となる領域データ
を読み出して残余の領域データ保持手段を表示のために
採用する選択手段(19)(20)(21)(22)
(23)とを含むことを特徴とする領域分割装置。
10. A device for dividing regions of similar color in an image, wherein four region data holding means (9a) (9b) (9c) (9d) each having the same number of pixels as the image are subjected to the region division processing. First to hold the area data
Area data holding means (9a), third area data holding means (9c), second holding the corresponding area data temporarily
The area data holding means (9b) is assigned to the fourth area data holding means (9d) for holding the remaining area data, and one area data holding means is selectively assigned for display. Area setting means (2) and (5) for setting a predetermined area determined based on the cursor position during the display of the divided area based on the content of the area data holding means allocated for display, and the pixel designated by the cursor Pixel selection means (3) (6) for selecting a pixel located within the predetermined area as a pixel belonging to an area to be divided, the difference between which is less than or equal to a predetermined threshold value.
And an instructing means for instructing that the pixel selection should be finalized or temporarily fixed, and a finalization instruction indicating that the pixel selection should be temporarily fixed, and the pixel is selected for the original divided area. In response to a confirmation instruction indicating that the pixel selection should be confirmed by additionally adding the pixel to be retained in the second region data retaining means (9b) and allocating the second region data retaining means (9b) for display. Then, the area data held in the second area data holding means (9b) is written in the third area data holding means (9c), and
The third area data holding means (9c) is assigned for display, the first area data holding means (9a) and the third area data holding means (9c) are switched to repeat the above series of processing a required number of times, and In response to the cursor position being separated in the state in which the second area data holding means (9b) is allocated for display, the first area data allocation means (9a) or the third area data holding means (9c) is activated. In response to an instruction to change the area to be allocated for display and to be subjected to area division processing, the first area data holding means (9a) or the third area data holding means (9)
The area data held in c) is written in the fourth area data holding means (9d), and then the area data to be subjected to the area division processing is read from the fourth area data holding means (9d) to obtain the remaining area data. Selection means employing holding means for display (19) (20) (21) (22)
(23) An area dividing device including:
【請求項11】 カーソル位置に基づいて定まる所定の
領域が、カーソル位置を中心とする所定の半径の円であ
る請求項1、請求項3、請求項5、請求項7または請求
項9に記載の領域分割方法。
11. The method according to claim 1, wherein the predetermined area defined based on the cursor position is a circle having a predetermined radius centered on the cursor position. Area division method.
【請求項12】 領域設定手段(2)(5)として、カ
ーソル位置を中心とする所定の半径の円を設定するもの
を採用している請求項2、請求項4、請求項6、請求項
8または請求項10に記載の領域分割装置。
12. The area setting means (2), (5) for setting a circle having a predetermined radius centering on the cursor position is adopted. The area dividing device according to claim 8 or 10.
JP5329009A 1993-12-24 1993-12-24 Method and device for dividing area Pending JPH07182519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5329009A JPH07182519A (en) 1993-12-24 1993-12-24 Method and device for dividing area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5329009A JPH07182519A (en) 1993-12-24 1993-12-24 Method and device for dividing area

Publications (1)

Publication Number Publication Date
JPH07182519A true JPH07182519A (en) 1995-07-21

Family

ID=18216590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5329009A Pending JPH07182519A (en) 1993-12-24 1993-12-24 Method and device for dividing area

Country Status (1)

Country Link
JP (1) JPH07182519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005104041A1 (en) * 2004-04-27 2005-11-03 Hitachi Medical Corporation Image plotting device and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005104041A1 (en) * 2004-04-27 2005-11-03 Hitachi Medical Corporation Image plotting device and method thereof
US7817164B2 (en) 2004-04-27 2010-10-19 Hitachi Medical Corporation Image editing device and method thereof

Similar Documents

Publication Publication Date Title
US5321807A (en) Accelerated graphics display method
US5640522A (en) Method and system for previewing transition effects between pairs of images
EP0635808B1 (en) Method and apparatus for operating on the model data structure on an image to produce human perceptible output in the context of the image
JP4652978B2 (en) Image editing apparatus, control method therefor, and computer program
EP0871933B1 (en) Method and apparatus to display objects using windows
US20080109717A1 (en) Reviewing editing operations
US10013790B2 (en) Executing conditional tasks in a graphics processing pipeline
US5412402A (en) Electronic graphic systems
EP1306810A1 (en) Triangle identification buffer
JP2001034775A (en) History image display method
US20220237730A1 (en) Graphics processing
US20050168473A1 (en) Rendering apparatus
US5222206A (en) Image color modification in a computer-aided design system
US5982364A (en) Video processing system including frame position indicators
GB2233856A (en) Electronic image processing
JP3995114B2 (en) Switch image display method
EP0601116A1 (en) Apparatus and method for generating an anti-aliased display image halo.
EP0607136A1 (en) Graphics output system with bounded updating
JPH07182519A (en) Method and device for dividing area
JPH0565906B2 (en)
JPH05233200A (en) Method for managing display and direct operation of plural image objects
JPH09134422A (en) Continuous coloring method for animation and device therefor
KR100237659B1 (en) Figure editing apparatus and method for displaying edited objects in a form different from objects not yet edited
JPH1027258A (en) Image editing system, document editing system and image editing method
JP4911585B2 (en) Image processing apparatus, image processing method, program, and information recording medium