JPH0464112B2 - - Google Patents

Info

Publication number
JPH0464112B2
JPH0464112B2 JP6682086A JP6682086A JPH0464112B2 JP H0464112 B2 JPH0464112 B2 JP H0464112B2 JP 6682086 A JP6682086 A JP 6682086A JP 6682086 A JP6682086 A JP 6682086A JP H0464112 B2 JPH0464112 B2 JP H0464112B2
Authority
JP
Japan
Prior art keywords
input means
area
input
image
coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP6682086A
Other languages
Japanese (ja)
Other versions
JPS62222371A (en
Inventor
Masaki Takakura
Hideo Takemura
Masao Izumi
Keisuke Iwasaki
Yoji Noguchi
Yasukuni Yamane
Nobutoshi Gako
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP6682086A priority Critical patent/JPS62222371A/en
Priority to US06/946,482 priority patent/US4878178A/en
Publication of JPS62222371A publication Critical patent/JPS62222371A/en
Publication of JPH0464112B2 publication Critical patent/JPH0464112B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、所望の領域の切出し機能を備えた画
像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an image processing device having a function of cutting out a desired area.

<従来の技術> 領域切出しとはコンピユータを利用した画像処
理において、画像中の特定部分(領域)に対し色
替え、コピー、移動変換、回転等の種々の処理を
行う目的で画像から上記特定部分を抽出すること
をいい、従来様々な領域抽出法が提案され、一部
は実用化されるに至つている。
<Prior art> Area extraction is a method of image processing using a computer, in which a specific part (region) of an image is extracted from an image for the purpose of performing various processes such as color change, copying, movement conversion, rotation, etc. Various area extraction methods have been proposed in the past, and some have even been put into practical use.

このような領域切出しを行なう画像処理装置と
して、本発明者は次のようなものを提案してい
る。すなわち、この画像処理装置は処理すべき原
画像の各画素の特性レベルを記憶する画像メモリ
と、該画像メモリの記憶データに基づいて画像の
表示を行う表示器と、特性レベルに関する所望の
しきい値を入力するためのしきい値入力手段と、
上記しきい値入力手段からのしきい値信号に基づ
いて各特性レベルに対する表示又は非表示の関係
を表す対照表を定め、該対照表にしたがつて特性
レベル信号を表示又は非表示信号に変換するルツ
クアツプテーブルメモリとを備えることによつ
て、上記画像メモリから原画像の各画素の特性レ
ベル信号を順次上記ルツクアツプテーブルメモリ
に供給して表示又は非表示信号に変換処理し、該
ルツクアツプテーブルメモリからの変換処理信号
を順次表示器に入力して変換済の画素から順次抽
出画像の表示を行うようにしている。
The present inventor has proposed the following as an image processing apparatus that performs such area cutting. That is, this image processing device includes an image memory that stores the characteristic level of each pixel of the original image to be processed, a display that displays the image based on the data stored in the image memory, and a desired threshold regarding the characteristic level. a threshold input means for inputting a value;
A comparison table representing display or non-display relationships for each characteristic level is determined based on the threshold signal from the threshold input means, and the characteristic level signal is converted into a display or non-display signal according to the comparison table. A lookup table memory is provided to sequentially supply characteristic level signals of each pixel of the original image from the image memory to the lookup table memory and convert them into display or non-display signals, The conversion processing signals from the table memory are sequentially input to the display, and images extracted from the converted pixels are displayed sequentially.

この画像処理装置は、例えば、RCBに色分解
された画像メモリに対し、r1,r2;g1,g2;b1
b2の各色2つづつのしきい値を定め、ルツクアツ
プテーブルを各しきい値にはさまれた範囲だけ明
るく表示するように設定することにより、RGB
の色情報がすべてしきい値内に含まれる画像領域
を表示器に白色で一旦表示し、その表示された白
色領域内の目的の領域を座標入力手段を用いて指
定し、切出し処理を行なうため、切出し処理を行
なう前に、どの領域が切出されるか白色で確認で
き、しきい値を対話的に最適値へ設定できる他、
色のしきい値を用いて切出すため、複雑な形状も
簡単に切出すことができる。例として第4図aに
3つの赤いリンゴの原画、第4図bにしきい値を
適当に設定し、赤い領域を白色に表示した例、第
4図cにそのうちの1つを、座標入力手段で選択
する様子を示す。
For example, this image processing device processes r 1 , r 2 ; g 1 , g 2 ; b 1 ,
By setting two thresholds for each color in b2 and setting the lookup table to display brightly only the range between each threshold, RGB
In order to temporarily display an image area in which all of the color information is within the threshold value in white on the display, and to specify a target area within the displayed white area using a coordinate input means and perform cutting processing. , before performing the cropping process, you can check which area will be cropped in white, and you can interactively set the threshold to the optimal value.
Since the image is extracted using a color threshold, even complex shapes can be easily extracted. As an example, Fig. 4a shows an original drawing of three red apples, Fig. 4b shows an example in which the threshold value is set appropriately and the red area is displayed in white, and Fig. 4c shows one of them. This shows how to select.

<発明が解決しようとする問題点> ところが、上記従来の画像処理装置では、白色
で表示された領域を座標入力手段を用いて順番に
指向していくため、第4図dに示す着物の模様の
ように切出したい領域が細かく散らばつている場
合、それを1つ1つ指定するのは、大変手間がか
かるという問題があつた。
<Problems to be Solved by the Invention> However, in the above-mentioned conventional image processing device, since the area displayed in white is sequentially directed using the coordinate input means, the kimono pattern shown in FIG. There is a problem in that when the areas to be cut out are scattered finely as shown in the figure, it is very time-consuming to specify them one by one.

そこで、本発明の目的は、その切出したい領域
が細かく散らばつている場合でも、それらを簡単
に、かつ効率よく切出すことができるようにする
ことである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to make it possible to easily and efficiently cut out the areas to be cut out even if the areas are scattered in small pieces.

<問題点を解決するための手段> 本発明の画像処理装置は、画像を構成する各画
素の濃度情報と領域が切出されたか切出されてい
ないかを表わすラベル情報とを記憶する兼用メモ
リと、濃度情報に関する所望のしきい値を入力す
るためのしきい値入力手段と、画像中の所定の座
標を入力するための座標入力手段と、上記兼用メ
モリからの濃度情報を、しきい値入力手段から入
力されたしきい値に基づいて変換するルツクアツ
プテーブルを定め、上記ルツクアツプテーブルに
したがつて上記兼用メモリからの入力情報を変換
するルツクアツプテーブルメモリと、上記ルツク
アツプテーブルメモリの出力に基づいて画像を表
示する表示手段と、上記しきい値入力手段で入力
されたしきい値で定まり、特定の色で表示される
特定領域に上記座標入力手段で指定された座標が
含まれるか否かを判別する判別手段と、上記座標
入力手段で指定された座標が上記特定領域に含ま
れるときに上記兼用メモリのラベル情報を書き換
える一方、上記座標入力手段で指定された座標が
上記特定領域に含まれないときに、上記座標入力
手段により指定された閉曲線領域に含まれる上記
特定領域のラベル情報を書き換える書き換え手段
とを備えて、切出されるべき領域をあらかじめ特
定の色で表示し、上記特定の色で表示された特定
の領域の中から目的の領域を座標入力手段を用い
て選択し、切出しを行なう際、入力された座標が
特定色で表示された特定領域内にあるか否かによ
り切出し方式が変更されるようにしたことを特徴
としている。
<Means for Solving the Problems> The image processing device of the present invention includes a dual-purpose memory that stores density information of each pixel constituting an image and label information indicating whether an area is cropped or not. , a threshold input means for inputting a desired threshold value regarding density information, a coordinate input means for inputting predetermined coordinates in the image, and a threshold value input means for inputting a desired threshold value regarding density information; A lookup table memory that determines a lookup table to be converted based on a threshold value input from an input means and converts input information from the dual-purpose memory according to the lookup table; A display means for displaying an image based on the output, and a specific area determined by a threshold input by the threshold input means and displayed in a specific color includes the coordinates specified by the coordinate input means. a determination means for determining whether or not the coordinates specified by the coordinate input means are included in the specific area; a rewriting means for rewriting label information of the specific region included in the closed curve region designated by the coordinate input means when the region is not included in the region, displaying the region to be cut out in a specific color in advance; When selecting a target area from the specific area displayed in the specific color above using the coordinate input means and performing cropping, check whether the input coordinates are within the specific area displayed in the specific color. The feature is that the cutting method can be changed depending on the situation.

<作用> 例えば、RGB3つの兼用メモリに対応した3つ
のルツクアツプテーブルメモリにr1,r2;g1
g2;b1,b2の各色2つづつのしきい値を定め、各
しきい値に挟まれた範囲だけ明るく表示するよう
に設定するとする。RGBの色情報がすべてしき
い値内に含まれる画像領域を表示器に特定色たと
えば白色で一旦表示し、切出されるべき特定領域
があらかじめ確認される。その後、座標入力手段
を用いて指定を行ない、切出し処理を行なう。こ
のとき、判別手段により入力された座標点が白色
表示された特定領域内であると判別すれば、その
座標点を含むつながつた特定領域のラベル情報を
書き換え手段で書き換えて切出しを実行する。そ
のため複雑な形状も簡単に切出すことができる。
一方、入力された座標点が上記特定領域外である
と判別手段が判別した場合は、閉曲線を入力し、
その閉曲線領域内に含まれる特定領域のラベル情
報を書き換え手段で書き換えて切出しを実行する
ため、細かく散らばつた領域を一度に切出すこと
ができる。
<Function> For example, r 1 , r 2 ; g 1 ,
Suppose that two threshold values are determined for each color of g 2 ; b 1 and b 2 , and settings are made so that only the range between the threshold values is displayed brightly. An image area in which all RGB color information is included within the threshold value is temporarily displayed on a display in a specific color, for example, white, and the specific area to be cut out is confirmed in advance. Thereafter, the coordinate input means is used to specify the designation, and the cutting process is performed. At this time, if the input coordinate point is determined by the determining means to be within the specific area displayed in white, the label information of the connected specific area including the coordinate point is rewritten by the rewriting means to perform cutting. Therefore, even complex shapes can be easily cut out.
On the other hand, if the determining means determines that the input coordinate point is outside the specific area, input a closed curve,
Since the label information of the specific area included in the closed curve area is rewritten by the rewriting means and the cutting is executed, it is possible to cut out finely scattered areas at once.

このように本発明の画像処理装置では2つの異
なる切出し方法を、同じ座標入力手段でただ座標
入力する場所が、白色表示された特定領域か否か
で選択できるため、複雑な図形でも非常に簡単に
効率よく切出し作業を行なうことができる。
In this way, with the image processing device of the present invention, two different cropping methods can be selected using the same coordinate input means, depending on whether or not the location where the coordinates are input is a specific area displayed in white, making it very easy to crop even complex figures. Cutting work can be carried out efficiently.

<実施例> 以下、本発明を具体例を用いて詳細に説明す
る。第1図にRGB各8ビツトの兼用メモリ15
を備えた装置を示す。この兼用メモリ15は画像
を構成する濃度情報と、領域が切出されたか切出
されていないかを表わすラベル情報を記憶する。
上記兼用メモリ15はバス14を通じて判別手段
と書き換え手段を含むマイクロプロセツサ13か
らアクセスされる。兼用メモリ15の出力はルツ
クアツプテーブルメモリ16のアドレスに接続さ
れ、ルツクアツプテーブルメモリ16の出力は、
ゲート回路17を介してD/Aコンバータ18に
接続される。この例はでは、ルツクアツプテーブ
ルメモリ16の出力はRGB各々8ビツト(0〜
255)である。
<Example> Hereinafter, the present invention will be explained in detail using specific examples. Figure 1 shows 15 dual-purpose memories of 8 bits each for RGB.
This shows a device equipped with This dual-purpose memory 15 stores density information constituting an image and label information indicating whether an area is cropped or not.
The dual-purpose memory 15 is accessed via the bus 14 from the microprocessor 13 which includes determining means and rewriting means. The output of the dual-purpose memory 15 is connected to the address of the lookup table memory 16, and the output of the lookup table memory 16 is
It is connected to a D/A converter 18 via a gate circuit 17. In this example, the output of the lookup table memory 16 is 8 bits each for RGB (0 to 8 bits).
255).

また、D/Aコンバータ18の出力(ビデオア
ナログ信号)は、表示器19に送られ、画像表示
が行なわれる。
Further, the output (video analog signal) of the D/A converter 18 is sent to a display 19, where an image is displayed.

次に、本画像処理装置の動作について説明す
る。
Next, the operation of this image processing apparatus will be explained.

まず、スキヤナー、TVカメラ等の手段を用い
て画像を兼用メモリ15に入力する。この段階で
は、兼用メモリ15は1ドツトあたり、RGB各
8ビツトの情報を蓄えることとする。次に一例と
して兼用メモリ15の上位7ビツトを画像情報用
とし、下位1ビツトを領域抽出に関するラベル情
報用とする。通常、画像の濃度情報は上位6ビツ
ト程度であればよいため下位1ビツトをラベル情
報用に設定しても実用上差し支かえない。RGB
各色あたりの濃度情報iは0≦i<27、ラベル情
報は=0.1の範囲で取ることができ、=0
が切出し前、=1が切出し済と定め、ラベル情
報には、切出しを行なう前、RGBとも全てマイ
クロプロセツサ13を用いて0を書き込んでお
く。また、RGBの各ルツクアツプテーブルメモ
リ16は、ルツクアツプテーブル16の入力をx
=2×i′+′とした時、出力FR(x),FG(x),
fb(x)が次のようになるように設定しておく。
First, an image is input into the dual-purpose memory 15 using a scanner, a TV camera, or other means. At this stage, the dual-purpose memory 15 stores 8-bit information for each of RGB for each dot. Next, as an example, the upper 7 bits of the dual-purpose memory 15 are used for image information, and the lower 1 bit is used for label information regarding area extraction. Normally, the density information of an image only needs to be about the upper 6 bits, so there is no practical problem even if the lower 1 bit is set for label information. RGB
The density information i for each color is 0≦i<2 7 , and the label information can be taken in the range of =0.1, =0
is before cutting out, and =1 means that cutting has been completed. In the label information, before cutting out, 0 is written for both RGB using the microprocessor 13. In addition, each RGB lookup table memory 16 stores the input of the lookup table 16 as
=2×i′+′, the outputs FR(x), FG(x),
Set fb(x) as follows.

I′<ki かつ′=0の場合 fk(x)=0 ……(1) K1≦i′≦k2かつ′=0の場合 fk(x)=255 ……(2) k<i′ かつ′=0の場合 fk(x)=0 ……(3) ′=1の場合 fk(x)=x ……(4) ここでkはr,g,bのかわりである。また、
k1,k2(r1,r2;g1,g2;b1,b2)は、しきい値入
力手段11により入力される6つのしきい値入で
ある。このように設定すれば、切出し前の領域で
RGBの色情報がすべてしきい値内にはいる領域
が、表示器19に白い色で示される。
If I′<ki and ′=0, fk(x)=0 ……(1) If K 1 ≦i′≦k 2 and ′=0, fk(x)=255 ……(2) k<i′ And when '=0, fk(x)=0...(3) When '=1, fk(x)=x...(4) Here, k is a substitute for r, g, and b. Also,
k 1 , k 2 (r 1 , r 2 ; g 1 , g 2 ; b 1 , b 2 ) are six threshold values input by the threshold input means 11. If you set it like this, the area before cutting out will be
An area where all the RGB color information falls within the threshold value is shown in white on the display 19.

次に、この表示を見ながら、切出す場所を指定
する方法であるが、座標入力手段21によつて座
標(X0,Y0)を入力し、入力された座標(X0
Y0)の色情報がすべてしきい値内にはいつてい
るかいないかを判別手段で判別して、切出し方法
を変える。
Next, while looking at this display, you can specify the location to cut out by inputting the coordinates (X 0 , Y 0 ) using the coordinate input means 21, and inputting the input coordinates (X 0 , Y 0 ).
A determining means determines when all the color information of Y 0 ) is within the threshold value or not, and the extraction method is changed.

まず、上記色情報がすべてしきい値内にはいつ
ていた場合、すなわち白色で表示されている領域
内の座標を入力した場合は、従来の方法と同じ
く、入力された座標点を始点とし、色情報がしき
い値r1,r2;g1,g2;b1,b2内に含まれる点をさ
がし、ラベル情報をRGBとも全て書き換え手
段で0から1に変更していく。
First, if all of the above color information is within the threshold, that is, if coordinates within the area displayed in white are input, the input coordinate point is used as the starting point, as in the conventional method, A point where the color information is included in the threshold values r 1 , r 2 ; g 1 , g 2 ; b 1 , b 2 is searched for, and the label information for both RGB is changed from 0 to 1 by the rewriting means.

一方、RGBの色情報のいずれかがしきい値外
だつた場合は、閉曲線図形入力モードにはいり、
以後の座標入力を用い閉曲線を入力する。この閉
曲線入力には以下のような様々な方法が考えられ
るがいずれの方法を用いてもよい。
On the other hand, if any of the RGB color information is outside the threshold, the closed curve figure input mode is entered.
Input the closed curve using the following coordinate input. Various methods can be considered for this closed curve input, and any method may be used.

例1 次に入力される座標点(X1,Y1)と
(X0,Y0)を対角線とする長方形を入力する。
Example 1 Next, input a rectangle whose diagonals are the coordinate points (X 1 , Y 1 ) and (X 0 , Y 0 ).

例2 次に入力される座標点(X1,Y1),(X2
Y2)…(Xo,Yo)を頂点とするn角形を入力
する。ここで、nはあらかじめ3,4と決めて
おく方法が考えられるし、また、閉曲線入力モ
ード終了を入力する。例えば、ボタンのような
入力手段を設け、nをいくらかでも増やせるよ
うにする方法もある。
Example 2 Next input coordinate points (X 1 , Y 1 ), (X 2 ,
Y 2 )...Input an n-gon whose vertices are (X o , Yo ) . Here, a method may be considered in which n is determined in advance as 3 or 4, or the end of the closed curve input mode is input. For example, there is a method of providing an input means such as a button so that n can be increased by any amount.

以上のように、閉曲線入力が終了すると、ただ
ちに閉曲線内に含まれる白色表示領域、すなわ
ち、色情報がRGBすべて角しきい値範囲内であ
る特定領域のラベル情報を0から1に書き換え手
段で書き換えて上記特定領域の切出しを行なう。
As described above, as soon as the closed curve input is completed, the label information of the white display area included in the closed curve, that is, the specific area where the color information of RGB is all within the angle threshold range, is rewritten from 0 to 1 using the rewriting means. Then, the specific area is cut out.

以上の過程を第2図を用いて説明する。第2図
1aは入力座標点X0,Y0が白色表示領域内だつ
た場合で、第2図1bのように、その点を含むつ
ながつた白色表示領域が切出される。それに対
し、第2図2aは入力座標点、X0,Y0が白色表
示領域外だつた場合で、第2図2bのように、閉
曲線入力モードになり、第2図2cのように閉曲
線入力が終了すると、その閉曲線内の白色表示領
域が切出される。
The above process will be explained using FIG. 2. FIG. 2 1a shows a case where the input coordinate points X 0 and Y 0 are within the white display area, and a continuous white display area including the points is cut out as shown in FIG. 2 1b. On the other hand, Fig. 2 2a shows the case where the input coordinate points X 0 and Y 0 are outside the white display area, and the closed curve input mode is entered as shown in Fig. 2 2 b, and the closed curve input mode is shown in Fig. 2 2 c. Once completed, the white display area within the closed curve is cut out.

以上の切出し手順をフローチヤートにまとめ第
3図に示す。
The above cutting procedure is summarized in a flowchart as shown in FIG.

ステツプ31では兼用メモリ15に画像入力を行
なう。
In step 31, an image is input to the dual-purpose memory 15.

ステツプ32では兼用メモリ15の下位数ビツト
をラベル情報保存用に設定し、その部分をゼロに
書きかえる。
In step 32, the lower several bits of the dual-purpose memory 15 are set for storing label information, and that portion is rewritten to zero.

ステツプ33はしきい値を変更するか、切出しを
実行するか、終了するかの分岐である。
Step 33 is a branch to change the threshold, execute extraction, or end.

ステツプ34はしきい値入力手段11によるしき
い値入力である。
Step 34 is a threshold value input by the threshold value input means 11.

ステツプ35は、入力されたしきい値に従い、ル
ツクアツプテーブルを変更する。そしてステツプ
34,35を繰り返し、目的の領域を白色で浮かびあ
がらせるようにしきい値を設定する。
Step 35 modifies the lookup table according to the input threshold. and step
Repeat steps 34 and 35 and set the threshold so that the desired area stands out in white.

ステツプ36は座標入力手段21による座標値入
力である。
Step 36 is the input of coordinate values by the coordinate input means 21.

ステツプ37は、入力された座標点の色情報がし
きい値範囲内か外かの判断ステツプである。
Step 37 is a step for determining whether the color information of the input coordinate point is within or outside the threshold range.

ステツプ38は入力された座標を始点とし、切出
しを行なう。
In step 38, cutting is performed using the input coordinates as a starting point.

ステツプ39は閉曲線の入力であり、ステツプ40
はステツプ39で入力された閉曲線で囲まれた領域
内で、色情報がしきい値範囲内である領域の切出
しを行なう。
Step 39 is the input of the closed curve, and step 40
In the area surrounded by the closed curve input in step 39, an area whose color information is within the threshold range is cut out.

なお、上記実施例ではしきい値入力手段と座標
入力手段を別々に設けたが、デイスプレイにしき
い値入力用グラフを表示し、座標入力手段(しき
い値入力手段を兼ねる)を用いてしきい値を入力
するようにしてもよい。また式(4)では切出し済み
の領域を原画で表示するように設定したが、切出
し前の領域と区別できるならば、他の色で表示す
るようにしてもよい。また、上記実施例ではラベ
ル情報を1ビツトに設定する場合を示したが、こ
のビツト数を増やし、切出し領域に複数ラベルを
付加することも可能である。
In the above embodiment, the threshold value input means and the coordinate input means are provided separately, but a threshold value input graph is displayed on the display, and the coordinate input means (which also serves as the threshold value input means) is used to input the threshold value. You may also enter a value. Further, in equation (4), the cut out area is set to be displayed in the original image, but it may be displayed in another color as long as it can be distinguished from the area before cutting out. Further, in the above embodiment, the label information is set to 1 bit, but it is also possible to increase the number of bits and add a plurality of labels to the cutout area.

また、上記実施例では初めて切出しを行なう処
理に対して説明したが、閉曲線領域内に既に切出
し済みの領域がある場合、その切出し済みの領域
には、何ら処理を行なわないようにするか、切出
しを解除し、切出し前の状態にもどすか、2つの
処理が考えられるが、いずれを用いてもよい。
In addition, in the above embodiment, the process of cutting out for the first time was explained, but if there is a region that has already been cut out within the closed curve region, either no processing is performed on that region that has already been cut out, or There are two possible processes: canceling the process and returning to the state before cutting out, but either of these processes may be used.

<発明の効果> 以上の説明から明らかなように、本発明の画像
処理装置は、例えばRGBに色分解された濃度情
報とラベル情報を記憶する3つの兼用メモリに対
応して、3つのルツクアツプテーブルメモリに
r1,r2;g1,g2;b1,b2の各色2つづつのしきい
値を定め、ルツクアツプテーブルを各しきい値に
挾まれた範囲だけ明るく表示するように設定する
ことにより、RGBの色情報がすべてしきい値内
に含まれる画像領域を表示器に特定の色たとえば
白色で一旦表示し、切出される特定領域をあらか
じめ確認した後、座標入力手段を用いて指定を行
ない、切出し処理を行ない、入力された座標点が
白色表示された特定領域内であると判別手段で判
別すれば、その座標点を含むつながつた白色表示
領域のラベル情報を書き換え手段で書き換えて切
出しを実行するため、複雑な形状も簡単に切出す
ことができる。一方、入力された座標点が、上記
白色表示領域外であると判別手段で判別した場合
し、閉曲線入力された閉曲線領域内に含まれる白
色表示された特定の領域ラベル情報を書き換え手
段で書き換えて、切出しを実行するため、細かく
散らばつた領域を一度に切出すことができる。
<Effects of the Invention> As is clear from the above description, the image processing device of the present invention has three lookup memories corresponding to three dual-purpose memories that store density information and label information separated into RGB colors, for example. to table memory
Define two threshold values for each color of r 1 , r 2 ; g 1 , g 2 ; b 1 , b 2 , and set the lookup table so that only the range between each threshold value is displayed brightly. The image area where all RGB color information is within the threshold is displayed on the display in a specific color, for example white, and after confirming the specific area to be cut out, specify it using the coordinate input means. If the determination means determines that the input coordinate point is within a specific area displayed in white, the rewriting means rewrites the label information of the continuous white display area including that coordinate point and cuts it out. Because of this, even complex shapes can be easily cut out. On the other hand, if the input coordinate point is determined by the determining means to be outside the white display area, the rewriting means rewrites the specific area label information displayed in white that is included in the closed curve input closed curve area. , because it performs cutting, it is possible to cut out finely scattered areas at once.

このように本発明の画像処理装置では2つの異
なる切出し方法を、同じ座標入力手段でただ座標
入力する場所が、白色表示された特定領域か否か
で選択できるため、複雑な図形でも非常に簡単に
効率よく切出し作業を行なうことができる。
In this way, with the image processing device of the present invention, two different cropping methods can be selected using the same coordinate input means, depending on whether or not the location where the coordinates are input is a specific area displayed in white, making it very easy to crop even complex figures. Cutting work can be carried out efficiently.

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

第1図は本発明の一実施例のブロツク図、第2
図は上記実施例の領域の切出しを説明する図、第
3図は上記実施例のフローチヤート、第4図は従
来例の領域の切出しを説明する図である。 11……しきい値入力手段、12……主記憶装
置、13……プロセツサ、14……データバス、
15……兼用メモリ、16……ルツクアツプテー
ブルメモリ、17……ゲート回路、18……D/
Aコンバータ、19……表示器、20……ルツク
アツプテーブル読み書き用ゲート回路、21……
座標入力手段。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG.
FIG. 3 is a flowchart of the above embodiment, and FIG. 4 is a diagram illustrating the region extraction of the conventional example. 11... Threshold input means, 12... Main memory, 13... Processor, 14... Data bus,
15... Dual-purpose memory, 16... Lookup table memory, 17... Gate circuit, 18... D/
A converter, 19...display unit, 20...gate circuit for reading and writing lookup table, 21...
Coordinate input means.

Claims (1)

【特許請求の範囲】 1 画像を構成する各画素の濃度情報と領域が切
出されたか切出されていないかを表わすラベル情
報とを記憶する兼用メモリと、 濃度情報に関する所望のしきい値を入力するた
めしきい値入力手段と、 画像中の所定の座標を入力するための座標入力
手段と、 上記兼用メモリからの濃度情報を、しきい値入
力手段から入力されたしきい値に基づいて変換す
るルツクアツプテーブルを定め、上記ルツクアツ
プテーブルにしたがつて上記兼用メモリからの入
力情報を変換するルツクアツプテーブルメモリ
と、 上記ルツクアツプテーブルメモリの出力に基づ
いて画像を表示する表示手段と、 上記しきい値入力手段で入力されたしきい値で
定まり、特定の色で表示される特定領域に上記座
標入力手段で指定された座標が含まれるか否かを
判別する判別手段と、 上記座標入力手段で指定された座標が上記特定
領域に含まれるときに上記兼用メモリのラベル情
報を書き換える一方、上記座標入力手段で指定さ
れた座標が上記特定領域に含まれないときに、上
記座標入力手段により指定された閉曲線領域に含
まれる上記特定領域のラベル情報を書き換える書
き換え手段とを備えて、 切出されるべき領域をあらかじめ特定の色で表
示し、上記特定の色で表示された特定領域の中か
ら目的の領域を座標入力手段を用いて選択し、切
出しを行なう際、入力された座標が特定色で表示
された特定領域内にあるか否かにより切出し方式
が変更されるようにしたことを特徴とする画像処
理装置。 2 上記特許請求の範囲第1項に記載の画像処理
装置において、 上記ラベル情報を書き換える手段は、上記特定
色で表示された特定領域外に座標入力手段で座標
入力された場合であつて、かつ、上記閉曲線領域
内に切出し済領域が存在する場合には、その切出
し済領域を切出し領域から解除して、切出し前の
状態にもどすようにラベル情報を書き換えるよう
になつていることを特徴とする画像処理装置。
[Scope of Claims] 1. A dual-purpose memory that stores density information of each pixel constituting an image and label information indicating whether a region is cropped or not; and a desired threshold value regarding the density information. a coordinate input means for inputting predetermined coordinates in the image; and a coordinate input means for inputting predetermined coordinates in the image; and a coordinate input means for inputting the density information from the dual-purpose memory based on the threshold value input from the threshold input means. a lookup table memory that determines a lookup table to be converted and converts the input information from the dual-purpose memory according to the lookup table; a display means that displays an image based on the output of the lookup table memory; a determining means for determining whether or not the coordinates specified by the coordinate input means are included in a specific area determined by the threshold input by the threshold input means and displayed in a specific color; When the coordinates specified by the input means are included in the specific area, the label information in the dual-purpose memory is rewritten, and when the coordinates specified by the coordinate input means are not included in the specific area, the coordinate input means and a rewriting means for rewriting the label information of the specific area included in the closed curve area specified by When a target area is selected using a coordinate input means and cropped, the cropping method is changed depending on whether or not the input coordinates are within a specific area displayed in a specific color. Characteristic image processing device. 2. In the image processing device according to claim 1, the means for rewriting the label information is configured such that when coordinates are input by the coordinate input means outside the specific area displayed in the specific color, and , if a cutout area exists within the closed curve area, the label information is rewritten so as to remove the cutout area from the cutout area and return it to the state before cutting out. Image processing device.
JP6682086A 1985-12-25 1986-03-24 Image processor Granted JPS62222371A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6682086A JPS62222371A (en) 1986-03-24 1986-03-24 Image processor
US06/946,482 US4878178A (en) 1985-12-25 1986-12-24 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6682086A JPS62222371A (en) 1986-03-24 1986-03-24 Image processor

Publications (2)

Publication Number Publication Date
JPS62222371A JPS62222371A (en) 1987-09-30
JPH0464112B2 true JPH0464112B2 (en) 1992-10-13

Family

ID=13326868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6682086A Granted JPS62222371A (en) 1985-12-25 1986-03-24 Image processor

Country Status (1)

Country Link
JP (1) JPS62222371A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0485678A (en) * 1990-07-30 1992-03-18 Sharp Corp Picture processor

Also Published As

Publication number Publication date
JPS62222371A (en) 1987-09-30

Similar Documents

Publication Publication Date Title
EP0369702B1 (en) Image processing apparatus and method
US5214718A (en) Scan-in polygonal extraction of video images
JP2000331156A (en) Method for automatically deciding tracker set along outline and storage medium storing program for execution of the method
US5299301A (en) Image displaying method and apparatus
JPH0464112B2 (en)
JPS6146839B2 (en)
JP2634126B2 (en) Graphics display method and apparatus
JPH0767136B2 (en) Image processing device
JPH0812696B2 (en) Image processing device
JPH0464113B2 (en)
JP2000115522A (en) Picture processor
JP2005159971A (en) Apparatus and method for processing image
US5680153A (en) Image Processing apparatus
JP3384873B2 (en) Image display system and image display method
JP2577276B2 (en) Line break detection method
JPH08115424A (en) Picture processor
JPS6063677A (en) Storage system for image information
EP0263584A2 (en) Scan-in polygonal extraction of video images
JPH07104915B2 (en) Color image processing device
JPH0139153B2 (en)
JPH11308438A (en) Image processor
JPS61223894A (en) Contrast conversion control system
JP2655838B2 (en) Image registration search method of image filling system
KR930004645B1 (en) Apparatus for encoding image signal
JP2662947B2 (en) Image search method