JPS62222371A - Image processor - Google Patents

Image processor

Info

Publication number
JPS62222371A
JPS62222371A JP6682086A JP6682086A JPS62222371A JP S62222371 A JPS62222371 A JP S62222371A JP 6682086 A JP6682086 A JP 6682086A JP 6682086 A JP6682086 A JP 6682086A JP S62222371 A JPS62222371 A JP S62222371A
Authority
JP
Japan
Prior art keywords
area
input means
coordinates
label information
input
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.)
Granted
Application number
JP6682086A
Other languages
Japanese (ja)
Other versions
JPH0464112B2 (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

Abstract

PURPOSE:To easily and efficiently segment a complex graphic by selecting two different segment methods according to the fact that whether the position of as coordinates inputted by a coordinate input means is a specific area displayed in a white color or not. CONSTITUTION:The output of a combined use memory 15 storing a image and label information is converted by a look-up table 16, and displayed on a display 19. At that time, according to a threshold inputted from a threshold input means 11 the contents in the memory 16 are modified to make a target area distinguished in a white color. Then coordinates are inputted through the coordinate input means 21. When said coordinates are within said white area, label information in the white area including these coordinates is modified to '1': otherwise, the operation enters a closed curve graphic input mode, and label information in said white area within an area surrounded by inputted closed curves is modified to '1'. Finally label information is segmented in an area of '1'.

Description

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

〈従来の技術〉 領域切出しとはコンピュータを利用した画像処理におい
て、画像中の特定部分(領域)に対し色替え、コピー、
移動変換、回転等の種々の処理を行う目的で画像から上
記特定部分を抽出することをいい、従来様々な領域抽出
法が提案され、一部は実用化されるに至っている。
<Prior art> Area extraction refers to the process of color changing, copying, or
This refers to extracting the above-mentioned specific portion from an image for the purpose of performing various processing such as movement conversion and rotation, and various area extraction methods have been proposed in the past, some of which have been put into practical use.

このような領域切出しを行なう画像処理装置として、本
発明晋は次のようなものを提案している。
As an image processing apparatus that performs such area cutting, the present invention proposes the following.

すなわち、この画像処理装置は処理すべき原画像の各画
素の特性レベルを記憶する画像メモリと、該画像メモリ
の記憶データに基づいて画像の表示をiテう表示器と、
特性レベルに関する所望のしきい値を入力するためのし
きい値入力手段と、上記しきいり1入力手段からのしき
い値信号に基づいて3特性レベルに対−4る表示又は非
表示の関係を表す対照表を定め、該対照表にしたがって
特性レベル信号を表示又は非表示信号に変換するルック
アップテーブルメモリとを備えることによって、」−記
画像メモリから原画像の各画素の特性レベル信号を順次
上記ルックアップテーブルメモリに供給して表示又は非
表示信号に変換処理し、該ルックアップテーブルメモリ
からの変換処理信号を順次表示器に入ツノして変換済の
画素から順次抽出画像の表示を行うようにしている。
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 data stored in the image memory, and a display that displays the image based on the data stored in the image memory.
A threshold input means for inputting a desired threshold value regarding the characteristic level, and a display or non-display relationship for the three characteristic levels based on the threshold signal from the threshold 1 input means. and a look-up table memory for converting the characteristic level signal into a display or non-display signal according to the comparison table. The signals are supplied to the lookup table memory to be converted into display or non-display signals, and the converted signals from the lookup table memory are sequentially input to a display to display images extracted sequentially from the converted pixels. That's what I do.

この画像処理装置は、例えば、RGI3に色分解された
画像メモリに対し、r+、 rt : g+、 gz 
: bl。
For example, this image processing device processes r+, rt: g+, gz for an image memory color-separated into RGI3.
: bl.

h、の各色2つづつのしきい値を定め、ルックアップテ
ーブルを各しきい値にはさまれた範囲だけ明るく表示す
るように設定することにより、RGI3の色情報がすべ
てしきい値内に含まれる画像領域を表示器に白色で一旦
表示し、その表示された白色領域内の目的の領域を座標
入力手段を用いて指定し、切出し処理を行なうため、切
出し処理を行なう前に、どの領域が切出されるか白色で
確認でき、しきい値を対話的に最適値へ設定できる他、
色のしきい値を用いて切出すため、複雑な形状も簡単に
切出すことができる。例として第4図(a)に3つの赤
いリンゴの原画、第4図(b)にしきい値を適当に設定
し、赤い領域を白色に表示した例、第4図(C)にその
うちの1つを、座標入力手段で選択する様子を示す。
By setting two thresholds for each color of h and setting the lookup table to display brightly only the range between each threshold, all RGI3 color information is included within the threshold. The image area to be captured is displayed in white on the display, and the target area within the displayed white area is specified using the coordinate input means to perform the cropping process. You can check whether it has been cut out using the white color, 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. 4(a) shows an original drawing of three red apples, Fig. 4(b) shows an example in which the threshold is set appropriately and the red area is displayed in white, and Fig. 4(C) shows one of the three red apples. This shows how one is selected using the coordinate input means.

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

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

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

〈作用〉 例えば、RGB3つの兼用メモリに対応した3つのルッ
クアップテーブルメモリにrl、 rt : g++g
z : b、 btの各色2つづつのしきい値を定め、
各しきい値に挾まれた・範囲だけ明るく表示するように
設定するとする。RGBの色情報がずべてしきい値内に
含まれる画像領域を表示器に特定色たとえば白色で一旦
表示し、切出されるべき特定領域かあらかしめ確認され
る。その後、座標入力手段を用いて指定を行ない、切出
1.処理を行なう。
<Operation> For example, rl, rt: g++g in three lookup table memories corresponding to three RGB dual-purpose memories.
z: Define two threshold values for each color of b and bt,
Suppose you want to set it so that only the range between each threshold is displayed brightly. An image area in which all of the RGB color information is within the threshold value is temporarily displayed on a display in a specific color, for example, white, to make sure that it is a specific area to be cut out. After that, specify using the coordinate input means and cut out 1. Process.

このとき、判別手段により入力された座標点が白色表示
された特定領域内であると判別すれば、その座標点を含
むつながった特定領域のラベル情報を、1Fき換え手段
で書き換えて切出しを実行する。
At this time, if the input coordinate point is determined by the determination means to be within a specific area displayed in white, the label information of the connected specific area including that coordinate point is rewritten by the 1F rewriting means to perform cutting. do.

そのため複雑な形状も簡単に切出すことかできる。Therefore, even complex shapes can be easily cut out.

一方、入力された座標点が」二足特定領域外であるとf
す別手段か判別した場合は、閉曲線を入力し、その閉曲
線領域内に含まれる特定領域のラベル情報を計き換え手
段で書き換えて切出しを実行するため、細かく散らばっ
た領域を一度に切出すことかできる。
On the other hand, if the input coordinate point is outside the biped specific area, f
If it is determined that there is another method, a closed curve is input, and the label information of a specific area included in the closed curve area is rewritten using the rewriting means to perform the cutting, so it is possible to cut out finely scattered areas at once. I can do it.

このように本発明の画像処理装置では2つの異なる切出
し方法を、同じ座標入力手段でただ座標入カケろ場所が
、白色表示された特定領域か否かで選択できろため、複
雑な図形でも非常に簡()1に効率よく切出し作業を行
なうことができる。
In this way, in the image processing device of the present invention, two different cropping methods can be selected using the same coordinate input means, simply depending on whether or not the coordinate entry point is a specific area displayed in white. Cutting work can be performed easily and efficiently.

〈実施例〉 以下、本発明を具体例を用いて詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail using specific examples.

第1図にRGB各8ビットの兼用メモリI5を備えた装
置を示す。この兼用メモリ15は画像を構成する濃度情
報と、領域が切出されたか切出されていないかを表わす
ラベル情報を記憶する。上記兼用メモリ15はバス14
を通じて判別手段と書き換え手段を含むマイクロプロセ
ッサ13からアクセスされる。兼用メモリI5の出力は
ルックアップテーブルメモリ【6のアドレスに接続され
、ルックアップテーブルメモリI6の出力は、ゲート回
路17を介してD/AコンバータI8に接続される。こ
の例では、ルックアップテーブルメモリ16の出力はR
GB各々8ビット(O〜255)である。
FIG. 1 shows a device equipped with a dual-purpose memory I5 of 8 bits each for RGB. 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 mentioned above is the bus 14
The information is accessed by the microprocessor 13 including a determining means and a rewriting means. The output of the dual-purpose memory I5 is connected to the address of the lookup table memory [6], and the output of the lookup table memory I6 is connected to the D/A converter I8 via the gate circuit 17. In this example, the output of lookup table memory 16 is R
Each GB is 8 bits (O~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.

まず、スギャナー、’rvカメラ等の手段を用いて画像
を兼用メモリI5に入力する。この段階では、兼用メモ
リ15はlドツトあたり、RG B各8ビットの情報を
蓄えろこととする。次に一例として111メモリ15の
上位7ビツトを画像情報用とし、下位lビットを領域抽
出に関するラベル情報用とする。通常、画像の濃度情報
は」1位6ビツト程度であればよいため下位1ビツトを
ラベル情報用に設定しても実用上差し支かえない。It
 G [3各色あたりの濃度情報iは0≦i<27、ラ
ベル情報見はfi=o、lの範囲で取ることができ、!
−〇が切出し前、Jl=1h<切出し済と定め、ラベル
情報には、切出しを行なう市、IIG[3とし全てマイ
クロプロセッサI3を用いて0を書き込んでおく。また
、RGBの各ルックアップテーブルメモリ16は、ルッ
クアップテーブルメモリ16の入力をx=2xi’ +
l’ とした時、出力f’r(x)。
First, an image is input into the dual-purpose memory I5 using a camera, an RV camera, or the like. At this stage, it is assumed that the dual-purpose memory 15 stores 8 bits of information for each of RGB for each dot. Next, as an example, the upper 7 bits of the 111 memory 15 are used for image information, and the lower 1 bits are used for label information regarding area extraction. Normally, the density information of an image only needs to be about 6 bits at the first place, so there is no practical problem even if the lower 1 bit is set for label information. It
G [3 Density information i for each color can be taken in the range of 0≦i<27, label information can be taken in the range of fi=o, l,!
-〇 is before cutting out, Jl=1h<cutting completed, and in the label information, the city where cutting is to be performed, IIG[3, and all 0s are written using the microprocessor I3. Further, each RGB lookup table memory 16 inputs the input of the lookup table memory 16 as x=2xi' +
l', the output f'r(x).

「g(x)、 「b(x)が次のようになるように設定
しておく。
Set ``g(x)'' and ``b(x)'' to be as follows.

i’ <Ki   かつL′=0の場合rk(x)= 
O・・・・・・(1) K、≦i′≦に、かつ!′−〇の場合 rk(x)= 255       ・−−(2)に、
< i’    かつ!′−〇 の場合「k(x)= 
O・・・・・(3) !′−1の場合 fk(x)−x         ・・・・・・(4)
ここでkはr、 g、 bのかわりである。また、kl
、 L(r+、 rt : g+、 Fh : b、b
y )は、しきい値入力手段11により入力される6つ
のしきい値である。このように設定すれば、切出し前の
領域でIt G +3の色情報がすべてしきい値内には
いる領域が、表示器19に白い色で示される。
If i'<Ki and L'=0, rk(x)=
O...(1) K, ≦i'≦, and! In the case of '-〇, rk(x) = 255 ・--(2),
<i' Katsu! ′−〇, ``k(x)=
O...(3)! '-1, fk(x)-x (4)
Here, k is a substitute for r, g, and b. Also, kl
, L(r+, rt: g+, Fh: b, b
y) are six threshold values input by the threshold input means 11. With this setting, the area before cutting out where all the color information of It G +3 is within the threshold value is shown in white on the display 19.

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

まず、上記色情報がすべてしきい値内にはいっていた場
合、すなわち白色で表示されている領域内の座標を入力
した場合は、従来の方法と同じく、入力された座標点を
始点とし、色情報がしきい値r+、 rt : g+、
 g2: bIl、 b2内に含まれる点をさがし、ラ
ベル情flj I−をr? G [3とら全て書、\換
オL段で0から1に変更していく。
First, if all of the above color information is within the threshold, that is, if you input coordinates within an area displayed in white, the input coordinates are used as the starting point and the color Information is threshold r+, rt: g+,
g2: Find the point contained in bIl, b2, and change the label information flj I- to r? G [Write all 3 tigers, change from 0 to 1 with the \ exchange o L stage.

−)j、Ij G Bの色情?侵のいずイ1かが1.き
い値外へ−・lこ場合は、閉曲線図形入力モードにはい
り、以後の座標入力を用い閉曲線を入力する。この閉曲
線入力には以下のような様々な方法が考えられるがいず
れの方法を用いて乙よい。
-) j, Ij G B's lust? Invasion Izui 1 Kaga 1. Outside the threshold - In this case, the closed curve figure input mode is entered and a closed curve is input using the subsequent coordinate input. There are various methods for inputting this closed curve, including the following, but it is best to use any of them.

例I)次に入力される座標点(X、、Y、)と(XO。Example I) Next input coordinate points (X,, Y,) and (XO.

YU)を対角線とする長方形を入力する。Input a rectangle whose diagonal is YU).

例2)次に入力される座標点(X I+ Y 1)、(
X 2゜Y、)・(Xn、Yn)を頂点とするn角形を
入力4゛る。
Example 2) Next input coordinate point (X I+ Y 1), (
Input an n-gon whose vertices are X 2° Y, )・(Xn, Yn).

ここで、nはあらかじめ3,11と決めておく方法が考
゛えられるし、また、閉曲線入力モード終了を入力4−
ろ、例えば、ボタンのような入力手段を設け、nをいく
らで6増やせるようにする方法乙ある。
Here, a method can be considered in which n is predetermined as 3 or 11, or the end of the closed curve input mode can be input by inputting 4-
For example, there is a method that allows you to increase n by 6 by providing an input means such as a button.

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

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

以上の切出し手順をフローチャートにまとめ第3図に示
す。
The above extraction procedure is summarized in a flowchart and 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 number pits of the dual-purpose memory 15 are set for storing label information, and that portion is rewritten to zero.

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

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

ステップ35は、入力されたしきい値に従い、ルックア
ップテーブルを変更する。そしてステップ34.35を
繰り返し、目的の領域を白色で浮かびあからU′るよう
にしきい値を設定する。
Step 35 modifies the lookup table according to the input threshold. Steps 34 and 35 are then repeated, and the threshold value is set so that the target area is highlighted 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 value 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 a closed curve, and snap 40 cuts out an area within the area surrounded by the closed curve input in step 39 where the color information is within the threshold range.

なお、上記実施例ではしきい値入力手段と座標入力手段
を別々に設けたが、ディスプレイにしきい値入力用グラ
フを表示し、座標入力手段(しきい値入力手段を兼ねる
)を用いてしきい値を入力するようにしてらよい。また
式(4)では切出(7済みの領域を原画で表示するよう
に設定したが、切出し前の領域と区別できるならば、他
の色で表示するようにしてもよい。また、」1記実施例
ではラヘル情f[3をIビットに設定する場合を示した
が、このビット数を増やし、切出し領域に複数ラベルを
付加することら可能である。
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 want to enter a value. In addition, in equation (4), the area that has been cropped (7) 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 cropping. In the above embodiment, a case is shown in which the Rahel information f[3 is set to the I bit, but it is possible to increase the number of bits and add a plurality of labels to the cutout area.

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

〈発明の効果〉 以」二の1悦明から明らかなように、本発明の画像処理
装置は、例えばR(、+3に色分解された濃度情報とラ
ベル情報を記憶する3つの兼用メモリに対応して、3つ
のルックアップテーブルメモリにr+。
<Effects of the Invention> As is clear from the following, the image processing device of the present invention is compatible with three dual-purpose memories that store density information and label information separated into R(,+3). and r+ into three lookup table memories.

r、: g+、 g2: bl、 b2の各色2つづつ
のしきい値を定め、ルックアップテーブルを各しきい値
に挾まイ=−た範囲たけ明るくに、賀4”ろように設定
4−るごとにより、I? G +1の色情+laか篭)
−へてしきい値内に含まれる画像領域を表示器に特定の
色たとえば白色て−11表示し、切出される特定領域を
イうらかし、め確認した後、座標入力手段を用いて指定
を行ない、切出し処理を行ない、入力された座標点が白
色表示された特定領域内であると判別手段で判別すれば
、その座標点を含むつながった白色表示領域のラベル情
報を書き換え手段で占き換えて切出しを実行するため、
複雑な形状もffti !liに切出−4゛ことができ
る。一方、入力された座標点が、1−記白色表示領域外
であると判別手段で判別した場合は、閉曲線入力された
閉曲線領域内に含まれる白色表示された特定領域のラベ
ル情報を書き換え1段で書き換えて、切出しを実行する
ため、細かく散らばった領域を一度に切出すことができ
る。
r,: g+, g2: Define two threshold values for each color of bl, b2, and set the lookup table to each threshold value to make the range as bright as 4". Depending on the situation, I?G +1 lust + la or basket)
- Display the image area included within the threshold value on the display in a specific color, for example white, and after imagining and confirming the specific area to be cut out, specify it using the coordinate input means. If the input coordinate point is determined to be within a specific area displayed in white by the determining means, the label information of the connected white display area including that coordinate point is rewritten by the rewriting means. In order to perform cutting by changing the
Complex shapes are also ffti! It can be cut to li by -4゛. On the other hand, if the determining means determines that the input coordinate point is outside the white display area described in 1-, the label information of the specific area displayed in white that is included within the closed curve area where the closed curve was input is rewritten and the label information is changed to 1-stage. Since it is rewritten as , and the extraction is executed, it is possible to extract finely scattered areas at once.

このように本発明の画像処理装置では2つの5“dなろ
切出し方法を、同じ座標入力手段でただ座標入力する場
所が、白色表示された特定領域か否かで選択できるため
、複雑な図形でら非常に簡単に効率よく切出し作業を行
なうことができる。
In this way, in the image processing apparatus of the present invention, the two 5"D cutting methods can be selected depending on whether or not the location where the coordinates are input using the same coordinate input means is a specific area displayed in white. The cutting operation can be carried out very easily and efficiently.

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

第1図は本発明の一実施例のブロック図、第2図は上記
実施例の領域の切出しを説明する図、第3図は上記実施
例のフローチャート、第4図は従来例の領域の切出しを
説明する図である。 II−・・しきい値入力手段、12・・・主記憶装置、
13・・プロセツサ、14・・データバス、15・・・
兼用メモリ、+6・・・ルックアップテーブルメモリ、
17・・ゲート回路、1訃・・D/Aコンバータ、19
・・表示器、20・・ルックアップテーブル読み書き用
ゲート回路、21・・・座標入力手段。 特 許 出 願 人  シャープ株式会社代 理 人 
弁理士  前出 葆 ばか2名第4区 第2図 (la)           (lb)(2a)  
         (2b)(2c) 第3図
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a diagram illustrating region extraction in the above embodiment, Fig. 3 is a flowchart of the above embodiment, and Fig. 4 is region extraction in the conventional example. FIG. II-...Threshold input means, 12...Main storage device,
13...Processor, 14...Data bus, 15...
Dual-purpose memory, +6... Lookup table memory,
17...Gate circuit, 1...D/A converter, 19
...Display device, 20.. Gate circuit for reading and writing lookup table, 21.. Coordinate input means. Patent applicant: Sharp Corporation Agent
Patent attorney, above, 2 idiots, 4th ward, Figure 2 (la) (lb) (2a)
(2b) (2c) Figure 3

Claims (2)

【特許請求の範囲】[Claims] (1)画像を構成する各画素の濃度情報と領域が切出さ
れたか切出されていないかを表わすラベル情報とを記憶
する兼用メモリと、 濃度情報に関する所望のしきい値を入力するためのしき
い値入力手段と、 画像中の所定の座標を入力するための座標入力手段と、 上記兼用メモリからの濃度情報を、しきい値入力手段か
ら入力されたしきい値に基づいて変換するルックアップ
テーブルを定め、上記ルックアップテーブルにしたがっ
て上記兼用メモリからの入力情報を変換するルックアッ
プテーブルメモリと、上記ルックアップテーブルメモリ
の出力に基づいて画像を表示する表示手段と、 上記しきい値入力手段で入力されたしきい値で定まり、
特定の色で表示される特定領域に上記座標入力手段で指
定された座標が含まれるか否かを判別する判別手段と、 上記座標入力手段で指定された座標が上記特定領域に含
まれるときに上記兼用メモリのラベル情報を書き換える
一方、上記座標入力手段で指定された座標が上記特定領
域に含まれないときに、上記座標入力手段により指定さ
れた閉曲線領域に含まれる上記特定領域のラベル情報を
書き換える書き換え手段とを備えて、 切出されるべき領域をあらかじめ特定の色で表示し、上
記特定の色で表示された特定領域の中から目的の領域を
座標入力手段を用いて選択し、切出しを行なう際、入力
された座標が特定色で表示された特定領域内にあるか否
かにより切出し方式が変更されるようにしたことを特徴
とする画像処理装置。
(1) A dual-purpose memory for storing density information of each pixel constituting an image and label information indicating whether an area is cropped or not, and a memory for inputting a desired threshold value regarding the density information. a threshold input means; a coordinate input means for inputting predetermined coordinates in the image; and a look for converting the density information from the dual-purpose memory based on the threshold input from the threshold input means. a lookup table memory that defines a lookup table 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; and the threshold value input. determined by the threshold value entered in the means,
determining means for determining whether or not the coordinates specified by the coordinate input means are included in a specific area displayed in a specific color; and when the coordinates specified by the coordinate input means are included in the specific area; While rewriting the label information in the dual-purpose memory, when the coordinates specified by the coordinate input means are not included in the specific area, the label information of the specific area included in the closed curve area specified by the coordinate input means is rewritten. The area to be cut out is displayed in advance in a specific color, the target area is selected from the specific areas displayed in the specific color using the coordinate input means, and the cutting is performed by rewriting the area. An image processing apparatus characterized in that when carrying out the extraction, a cutting method is changed depending on whether or not input coordinates are within a specific area displayed in a specific color.
(2)上記特許請求の範囲第1項に記載の画像処理装置
において、 上記ラベル情報を書き換える手段は、上記特定色で表示
された特定領域外に座標入力手段で座標入力された場合
であって、かつ、上記閉曲線領域内に切出し済領域が存
在する場合には、その切出し済領域を切出し領域から解
除して、切出し前の状態にもどすようにラベル情報を書
き換えるようになっていることを特徴とする画像処理装
置。
(2) In the image processing apparatus according to claim 1, the means for rewriting the label information is configured when coordinates are input by the coordinate input means outside the specific area displayed in the specific color. , and if there is a cut-out area within the closed curve area, the label information is rewritten to remove the cut-out area from the cut-out 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 true JPS62222371A (en) 1987-09-30
JPH0464112B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5264946A (en) * 1990-07-30 1993-11-23 Sharp Kabushiki Kaisha Apparatus and method for image extraction with threshold adjustment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5264946A (en) * 1990-07-30 1993-11-23 Sharp Kabushiki Kaisha Apparatus and method for image extraction with threshold adjustment

Also Published As

Publication number Publication date
JPH0464112B2 (en) 1992-10-13

Similar Documents

Publication Publication Date Title
CN106055295A (en) Picture processing method and device, and picture drawing method and device
US6900817B2 (en) Map image processing apparatus and method for forming birds-eye view from two-dimensional map image
JPS62222371A (en) Image processor
US6430583B1 (en) Scenario editing apparatus for performing editing of multimedia using figure feature points
JPH0767136B2 (en) Image processing device
US6441826B1 (en) Method and apparatus for generating textures for display
US6211885B1 (en) Apparatus for outputting an image in which data of points on texture pattern are mapped to data of dots on display plane
JPH0812696B2 (en) Image processing device
JP2628300B2 (en) How to use the conversion circuit
JPH0462108B2 (en)
JPH0464113B2 (en)
JPH05108774A (en) Picture access system
JPS6224374A (en) Picture converting device
JPS6353587B2 (en)
JP2000115522A (en) Picture processor
JPS5883885A (en) Overlapping of variable density image and binary image for display controller
JPH0756557A (en) Synthesizing method for picture
JPH07146934A (en) Image processor
JPS6286392A (en) Handy image display unit
JPS58140786A (en) Graphic display control system
JPH0375795A (en) Character pattern contraction system
JP2003228728A (en) Outline drawing device and method for image display device for slot machine or pachi-slo machine and computer program for the same
JPH03224071A (en) Line thinning system for binary image
JPH0584940B2 (en)
JPH08160935A (en) Character pattern display device