JPS62222372A - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JPS62222372A JPS62222372A JP61066821A JP6682186A JPS62222372A JP S62222372 A JPS62222372 A JP S62222372A JP 61066821 A JP61066821 A JP 61066821A JP 6682186 A JP6682186 A JP 6682186A JP S62222372 A JPS62222372 A JP S62222372A
- Authority
- JP
- Japan
- Prior art keywords
- information
- memory
- area
- line
- target area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Image Analysis (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
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 image processing using a computer, in which the above-mentioned area is extracted from an image for the purpose of performing various processing such as color change, copying, movement conversion, rotation, etc. on a specific part (area) in the image. This refers to extracting a specific part, and various area extraction methods have been proposed in the past, some of which have been put into practical use.
このような領域切出しを行なう画像処理装置として、本
発明者は最近次のようなしのを提案した。The present inventor recently proposed the following image processing apparatus for performing such area cutting.
この画像処理装置は、処理すべき原画像の各画素の特性
レベルを記憶ずろ画像メモリと、該画像メモリの記憶デ
ータに基づいて画像の表示を行なう表示器と、特性レベ
ルに関する所望のしきい値を入力するためのしきい値入
力手段を備えると共に、−ヒ記しきい値入力手段からの
しきい値信号に基づいて各特性レベルに対する表示又は
非表示の関係を表イつす対照表を定め、該対照表にした
がって特性レベル信号を表示又は非表示信号に変換する
ルックアンプテーブルメモリを備え、上記画像メモリか
ら原画像の6画素の特性レベル信号を順次上記ルックア
ップテーブルメモリに供給して表示又は非表示信号に変
換処理し、該ルックアップテーブルメモリからの変換処
理信号を順次表示器に入力して変換済の画素から順次抽
出画像の表示を行なうようにしている。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 value regarding the characteristic level. a threshold value input means for inputting the threshold value input means; A look-up table memory is provided for converting characteristic level signals into display or non-display signals according to the comparison table, and the characteristic level signals of six pixels of the original image are sequentially supplied from the image memory to the look-up table memory for display or non-display. The converted pixels are converted into non-display signals, and the converted signals from the look-up table memory are sequentially input to a display to display images sequentially extracted from the converted pixels.
この画像処理装置は、例えば、R(レッド)、G(グリ
ーン)、B(ブルー)に色分解された画像メモリに付し
、r+ 、 rt : g+ + gz : h+ 、
btの3色2つづつのしきい値を定め、ルックアップ
テーブルを各しきい値にはさまれた範囲だけ明るく表示
するように設定することにより、flGBの色情報がす
べてしきい値内に含まれる画像領域を表示器に例えば白
色で一旦表示し、その表示された白色領域内の目的の領
域を座標入力手段を用いて指定し、切出し処理を行なう
ため、切出し処理を行なう前に、どの領域が切出される
か白色で確認でき、しきい値を対話的に最適値へ設定で
きる他、色のしきい値を用いて切出すため複雑な形状も
簡単に切出すことができる。例として第3図(a)に3
っの赤いリンゴの原画、第3図(いにしきい値を適当に
設定し、赤い領域を白色に表示した例、第3図(C)に
そのうちの1つを座標入力手段で選択する様子を示す。This image processing device attaches to an image memory color-separated into, for example, R (red), G (green), and B (blue), and processes r+, rt: g+ + gz: h+,
By setting two thresholds for each of the three bt colors and setting the lookup table to brighten only the range between each threshold, all flGB color information is included within the threshold. The image area to be captured is displayed on the display, for example, in white, and the target area within the displayed white area is specified using the coordinate input means, and the cropping process is performed. In addition to being able to confirm in white whether a shape has been cut out, and setting the threshold value to the optimum value interactively, complex shapes can also be easily cut out because color thresholds are used for cutting out. As an example, in Figure 3(a)
Original picture of a red apple, Figure 3 (an example of setting the threshold appropriately and displaying the red area in white, Figure 3 (C) shows how one of them is selected using the coordinate input means) show.
〈発明が解決しようとする問題点〉
ところが、従来のこの方法では、切出したい目的領域の
縁の色カ月部分でら背景の色と同一だった場合、しきい
値をどう1投定しても切出したい目的領域を背景と分離
することができない。その例を第3図(d)に示す。第
3図(d)では赤いリンゴの背景に赤い線が一本通って
いる。この背景の赤い色がリンゴの赤い色と同じ色であ
る場合は、色情報に関するしきい値を定め、リンゴを背
景と分離することができないという問題がある。<Problem to be solved by the invention> However, with this conventional method, if the color of the edge of the target area to be extracted is the same as the background color, no matter how high the threshold value is set, The target area to be extracted cannot be separated from the background. An example is shown in FIG. 3(d). In Figure 3(d), there is a red line running through the background of the red apple. If the red color of this background is the same as the red color of the apple, there is a problem in that it is not possible to set a threshold regarding color information and separate the apple from the background.
そこで、本発明の目的は、切出したい目的領域と池の領
域が同一色彩で、かつ、つながっていても、目的領域を
簡単に切出すことができるようにすることである。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to make it possible to easily cut out a target area even if the target area to be cut out and the pond area have the same color and are connected to each other.
〈問題点を解決するための手段〉
上記目的を達成するため、本発明の画像処理装置は、画
像を構成する各画素の濃度情報と、領域を’I’ll別
するラベル情報と、線情報とを場合に応じて記憶する兼
用メモリと、上記兼用メモリの出力情報を変換して出力
するルックアップテーブルメモリと、上記ルックアップ
テーブルメモリの出力情報に基いて画像を表示する表示
手段と、濃度情報に関する所望のしきい値を入力するた
めのj7きい値入力手段と、画像中の所定の座標を入力
するための座標入力手段と、」1記兼用メモリのどの特
定ビットに濃度情報、ラベル情報および線情報を格納す
るかを設定して、上記ラベル情報および線情報の書き込
みもしくは消去を行なうメモリ設定手段と、上記しきい
値入力手段から入力されたしきい値と、上記濃度情報と
、上記ラベル情報と、上記線情報とに基づいて上記ルッ
クアップテーブルメモリの内容を設定するルックアップ
テーブル設定手段とを備えて、上記兼用メモリからの原
画像の各画素の特性レベルを表わす出力情報をルックア
ップテーブルメモリで変換して、しきい値入力手段から
入ツノされたしきい値で定まる領域を、上記表示手段に
あらかじめ特定の色で表示し、上記特定の色で表示され
た領域が切出したい目的領域以外の他の領域とつながっ
ている場合に、上記座標入力手段により目的領域と他の
領域を区分する線の入力を行なって、線情報によりつな
がっていた目的領域と他の領域を切り雌し、この切離さ
れた目的領域を座標入力手段を用いて選択して、ラベル
情報を書き換えて、目的領域の切出しを行なうようにし
たことを特徴としている。<Means for Solving the Problems> In order to achieve the above object, the image processing device of the present invention uses density information of each pixel constituting an image, label information for classifying regions, and line information. and a look-up table memory that converts and outputs the output information of the dual-purpose memory, a display means that displays an image based on the output information of the look-up table memory, and j7 threshold input means for inputting a desired threshold value regarding information; coordinate input means for inputting predetermined coordinates in an image; memory setting means for writing or erasing the label information and line information by setting whether to store the label information and line information; the threshold value input from the threshold input means; the density information; Lookup table setting means for setting the contents of the lookup table memory based on the label information and the line information; I want to display the area determined by the threshold value entered from the threshold input means in a specific color on the display means by converting it using the up-table memory, and then cut out the area displayed in the above specific color. If the target area is connected to another area, use the coordinate input means to input a line that separates the target area from the other area, and then use the line information to separate the connected target area from the other area. The present invention is characterized in that the separated target area is selected using coordinate input means, the label information is rewritten, and the target area is cut out.
〈作 用〉
いま、フルカラー画像の切出しを行なうためにカラー画
像を蓄える例えばRGB3つの兼用メモリに対応しそれ
ぞれ3つのルックアップテーブルメモリを設置J、それ
ぞれのルックアップテーブルに2つづつ計6つのしきい
値を設定しているとする。そうセると、全てのしきい値
に挾まれた色情報を持つ領域が特定色、例えば白色で一
旦表示される。この時らし切出したい目的領域の色と背
景の他の領域の色か、切出したい目的領域の縁で同じ色
であった場合、その部分では切出したい目的領域と他の
領域が白色でつながって表示されろ。<Function> Now, in order to extract a full-color image, three look-up table memories are installed corresponding to, for example, three RGB dual-purpose memories that store color images, two for each look-up table, for a total of six memories. Suppose you are setting a threshold. When this is done, the area having color information between all the threshold values is temporarily displayed in a specific color, for example, white. In this case, if the color of the target area you want to cut out and the color of another area in the background or the same color at the edge of the target area you want to cut out, the target area you want to cut out and other areas will be connected in white in that part. Be it.
そこで、座標入力手段を用いて、目的領域と他の領域を
区分する線を入力し、つながった部分をその線の線情報
を用いて切離す。そして、ルックアップテーブル設定手
段はルックアップテーブルメモリの目的領域のラベル情
報を書き換え、目的領域の切出しが行なわれる。Therefore, a coordinate input means is used to input a line that separates the target area from another area, and the connected parts are separated using the line information of the line. Then, the lookup table setting means rewrites the label information of the target area in the lookup table memory, and the target area is cut out.
〈実施例〉 以下、本発明を具体例を用いて詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail using specific examples.
第1図はRGB各8ビットの兼用メモリ15を備えた装
置を示す。この兼用メモリ15は画像を構成する濃度情
報と領域を判別するラベル情報と線情報を記憶する。上
記兼用メモリ15はバス14を通じてマイクロプロッサ
I3からアクセスされる。上記兼用メモリ15の出力は
ルックアップテーブルメモリ16のアドレスに接続され
、ルックアップテーブルメモリ16の出力はゲート回路
17を介してD/Aコンバータ18に接続される。FIG. 1 shows a device equipped with a dual-purpose memory 15 of 8 bits each for RGB. This dual-purpose memory 15 stores density information constituting an image, label information for determining areas, and line information. The dual-purpose memory 15 is accessed from the microprocessor I3 via the bus 14. The output of the dual-purpose memory 15 is connected to the address of a lookup table memory 16, and the output of the lookup table memory 16 is connected to a D/A converter 18 via a gate circuit 17.
この例では、ルックアップテーブルメモリ16の出力は
RGB各々8ビット・(0〜255)である。In this example, the output of the lookup table memory 16 is 8 bits for each of RGB (0 to 255).
上記ルックアップテーブルメモリ■6はバス14、ゲー
ト20を通じてマイクロプロッサI3からアクセスされ
る。しきい値入力手段Ifはバス14を通じてマイクロ
プロッサ13からアクセスされ、濃度情報に関するしき
い値を入力する。また、座標入力手段21はマイクロプ
ロッサ13からアクセスされ、画像中の所定の座標を入
力し、線情報を入力したり、切出す目的領域を指定した
りする。The lookup table memory (6) is accessed from the microprocessor I3 through the bus 14 and gate 20. The threshold input means If is accessed from the microprocessor 13 via the bus 14, and inputs a threshold value regarding concentration information. Further, the coordinate input means 21 is accessed by the microprocessor 13, and inputs predetermined coordinates in the image, inputs line information, and specifies a target area to be cut out.
上記マイクロプロセッサ13は、ソフトウェアにより構
成したメモリ設定手段とルックアップテーブル設定手段
を含む。上記メモリ設定手段は上記兼用メモリ15のど
の特定ビットに濃度情報、ラベル情報および線情報を格
納するかを設定して、上記ラベル情報および線情報の書
き込みもしくは消去を行なう。また、ルックアップテー
ブル設定手段は、上記しきい値入力手段11から入力さ
れたしきい値と、上記濃度情報と、上記ラベル情報と上
記線情報とに基づいて後記する演算を行なって上記ルッ
クアップテーブルメモリ16の内容を設定する。The microprocessor 13 includes memory setting means and lookup table setting means configured by software. The memory setting means sets which specific bit of the dual-purpose memory 15 is to store density information, label information, and line information, and writes or erases the label information and line information. Further, the lookup table setting means performs the calculation described later based on the threshold value inputted from the threshold value inputting means 11, the density information, the label information, and the line information to perform the lookup. The contents of table memory 16 are set.
また、D/Aコンバータ18の出力(ビデオアナログ信
号)は表示器19に送られ、画像表示が行なイつれる。Further, the output (video analog signal) of the D/A converter 18 is sent to the display 19, where image display is performed.
次に、本装置の処理について説明する。まず、スキャナ
ー、TVカメラ等の手段を用い、画像を兼用メモリ15
に入力ずろ。この段階では兼用メモリ15はlドツトあ
たりRGB各8ビットの情報を蓄えることとする。次に
一例として兼用メモリ15の上位6ピ′ツトを画像情報
用とし、最下位1ピツトを領域抽出に関するラベル情報
用とする。Next, the processing of this device will be explained. First, images are transferred to the shared memory 15 using a scanner, TV camera, or other means.
Please input it to . At this stage, the dual-purpose memory 15 stores 8 bits of information for each of RGB per l dot. Next, as an example, the upper six pits of the dual-purpose memory 15 are used for image information, and the lowest one pit is used for label information related to area extraction.
また、切離し用線情報を例えばRの兼用メモリ15の下
から2ビツトめに蓄えることとする。兼用メモリ15の
特定ビットに線情報を蓄え、ルックアップテーブルメモ
リ16の設定を変更することによって線を表示したり消
去したりする方法は本発明人らにより既に発明されてい
る。BGの兼用メモリ15の下から2ビツトめは使用し
ない(例えば、0を書きこんでおくものとする)。この
ように兼用メモリ15にメモリ設定手段で蓄えられた情
報は画像情報i(0≦i<2’)、領域抽出用ラベル情
報!、線情報k(k=Oi)となり、兼用メモリ15の
出力は線情報を蓄えたRの兼用メモリ15の出力が22
×i+2×に十え、GI3の兼用メモリ15の出力が2
’xl+4となる。Further, the line information for disconnection is stored in the second bit from the bottom of the R dual-purpose memory 15, for example. The present inventors have already invented a method of displaying or erasing lines by storing line information in specific bits of the dual-purpose memory 15 and changing the settings of the look-up table memory 16. The second bit from the bottom of the BG dual-purpose memory 15 is not used (for example, 0 is written in it). In this way, the information stored in the dual-purpose memory 15 by the memory setting means is image information i (0≦i<2'), region extraction label information! , line information k (k=Oi), and the output of the dual-purpose memory 15 is 22.
×i+2×, and the output of the shared memory 15 of GI3 is 2
'xl+4.
まず、切出しを開始する場合、RG 13の各ルックア
ップテーブルメモリI6の入力をX=22Xi’ +2
Xk’ +、J’とした時、出力rr(x)、fg(x
)。First, when starting extraction, the input of each lookup table memory I6 of RG 13 is set to X=22Xi'+2
When Xk' +, J', outputs rr(x), fg(x
).
rb(x)が次のようになるようにルックアップテーブ
ル設定手段で設定しておく。The lookup table setting means is used to set rb(x) as follows.
i’ <r、またはrt<1’の場合
rr(x)=(1−に’ )x i、’ X2”Xi+
に’ XCr皿≦i′≦r2の場合
rr(x)=(1−に’ )X(克’ x2’x++(
+−4’ )xDrl+に’ xC1′<gIまたはg
、<!’の場合
rg(χ)=乏’ X2’X i
g、≦i′≦g、の場合
rg(x)=、2’ x2”xi+(1−4’ )xD
gi’ <b、またはす、< i’の場合rb(x)=
ju’ x2”xi
b、≦i′≦b2の場合
rb<x)=fl’ X2”Xi+(1−4’ )X
Dbここで、” 、r2: gl+ gt : lll
+ + Lはしきい値入力手段+1により入力されろ6
つのしきい値である。Cは線の濃度情報であり、Dr
、 Dg 。If i'< r or rt <1' then rr(x) = (1-' ) x i,'X2''Xi+
If '
+-4')xDrl+'xC1'<gI or g
, <! 'If rg(χ)=poor'
If gi'< b, or <i' then rb(x)=
ju'x2"xi b, if ≦i'≦b2, rb<x)=fl'
Db where ", r2: gl+ gt: lll
+ +L is input by threshold input means +16
There are two thresholds. C is the density information of the line, and Dr
, Dg.
Dbは切出されるべき領域を一旦表示する特定色を表わ
す濃度情報である。このように設定しておけば、兼用メ
モリ15に蓄えられた内容に従い次のように表示が行な
われることになる。Db is density information representing a specific color that temporarily displays the area to be cut out. With this setting, the following display will be performed according to the contents stored in the dual-purpose memory 15.
(1) Rの線情報を蓄えるメモリ15に線情報が蓄え
られている場合(k’=1)、
itのルックアップテーブルメモリ16の出力かCにな
る。(1) When line information is stored in the memory 15 that stores line information of R (k'=1), the output of the lookup table memory 16 of it becomes C.
(2)Rの線情報を蓄えるメモリに線情報がなく、ラベ
ル情報を蓄えるメモリに1が蓄えられた場合(k’ =
0. Jl’ =1)、しきい値にかかわりなく濃度情
報(2”xi)が出力される。(2) When there is no line information in the memory that stores line information of R, and 1 is stored in the memory that stores label information (k' =
0. Jl' = 1), density information (2''xi) is output regardless of the threshold value.
(3) Rの線情報を蓄えるメモリに線情報がなく、ラ
ベル情報をたくわえるメモリに0が蓄えられた場合(k
’ =O,、M’ =C)、各色において、濃度情報が
しきい値の範囲外であれば出力は0、範囲内であれば出
力はDr。(3) When there is no line information in the memory that stores line information of R, and 0 is stored in the memory that stores label information (k
'=O,, M'=C), for each color, if the density information is outside the threshold range, the output is 0; if it is within the range, the output is Dr.
Dg 、Dbで与えられる値となる。The values are given by Dg and Db.
以上のようにルックアップテーブルメモリ16の内容を
設定後火のような手順で切出しを行なう。After setting the contents of the lookup table memory 16 as described above, the contents are extracted in the following steps.
(i)RGB各色の兼用メモリ15の下位2ビツトにマ
イクロプロセッサ13を用いて0を書き込む。(i) Using the microprocessor 13, write 0 into the lower two bits of the dual-purpose memory 15 for each RGB color.
(ii)Lきい値入力手段11により、しきい値rl+
rz : gI 、 gz : L 、 btを入力す
る。これにより、表示器I9にはRGBとも全てしきい
値範囲内に含まれる領域が特定色(D r。(ii) The L threshold input means 11 inputs the threshold rl+
Input rz: gI, gz: L, bt. As a result, the display device I9 shows a specific color (Dr.
Dg 、 Db)で表示される。Dg, Db).
(iii)切り出したい目的領域と背景の色が同じでつ
ながっていた場合、切出したい目的領域を特定色(+)
r 、 Dg、 Db)で表示すると、背景も同様に特
定色(Dr 、 Dg 、 Db)で連なかって表示さ
れる。例えば第3図(d)を原画とすれば、第2図(a
)のように表示される。(iii) If the target area you want to cut out and the background color are the same and are connected, select the target area you want to cut out in a specific color (+)
r, Dg, Db), the background is similarly displayed in a series of specific colors (Dr, Dg, Db). For example, if Figure 3(d) is the original image, Figure 2(a)
) is displayed.
この場合は座′標入力手段21により切出したい目的領
域を背景から切離すような直線らしくは曲線を入力する
。これらの直線もしくは曲線の入力方法は、具体的には
、線情報を書き込むように設定したRの兼用メモリ15
の下から2ビットめにマイクロプロセッサ13を用い、
メモリ設定手段で線に対応してlを書きこむ。この結果
、線が書きこまれた場所のRの兼用メモリ15のデータ
R(k=1)はその点の濃淡情報のR成分、irを用い
、以下の様になる。In this case, the coordinate input means 21 is used to input a straight line or a curved line that separates the target area to be cut out from the background. Specifically, the method of inputting these straight lines or curves is to input the dual-purpose memory 15 of R that is set to write line information.
Using the microprocessor 13 in the second bit from the bottom,
Write l corresponding to the line using the memory setting means. As a result, the data R (k=1) in the dual-purpose memory 15 for R at the location where the line is written is as follows using the R component, ir, of the gradation information at that point.
R(k= t)=2” x ir +2その結果、Rの
ルックアップテーブルメモリ16の出力fr(R(k=
1 ))は
fr (R(k = 1))=C
となり、表示器19にはR成分がCの色か表示される。R(k=t)=2” x ir +2As a result, the output fr(R(k=
1)) becomes fr(R(k=1))=C, and the display 19 displays whether the R component is the color of C.
線が書きこまれていない部分の兼用メモリ15のデータ
R(k=o)はirを用いR(k =0)=2” X
ir
となり、その結果■えのルックアップテーブルメモリ1
6の出力「r(R(k= O))は、 irとしきい値
r、 、 r2との関係により以下のようにDrらしく
は0となる。The data R (k = o) in the dual-purpose memory 15 in the part where no line is written is R (k = 0) = 2'' using ir.
ir, and as a result, the lookup table memory 1
The output ``r(R(k=O))'' of 6 becomes 0 as expected from Dr. 6 due to the relationship between ir and the thresholds r, , r2 as shown below.
fr (R(k= 0 ))= 0 (ir< rlま
たはr、<1r)=Dr(r、≦ir≦r2)
以上のことがらCの値をDrおよび0のいずれの値とら
異なる値に設定しておけば、表示器19に線を線以外の
領域と区別して表示させることができる。fr (R(k= 0)) = 0 (ir< rl or r, <1r) = Dr(r, ≦ir≦r2) The above makes the value of C different from either Dr or 0. If set, lines can be displayed on the display 19 in a manner that distinguishes them from areas other than lines.
この様子を第2図(b)に示す。This situation is shown in FIG. 2(b).
(iv) (iii)の操作により切出したい領域を背
景から分離した後、ラベル情報の設定処理を行なう。そ
の具体的方法は例えば、座標人手段21により切出しf
こい目的領域内の1点(Xo 、 Yo)を入力する。(iv) After separating the region to be cut out from the background by the operation in (iii), a label information setting process is performed. The specific method is, for example, by cutting out f by the coordinate man means 21.
Input one point (Xo, Yo) within the target area.
その入力後、マイクロブロセソザ13を利用し、入力さ
れた座標点を始点として、次の2つの条件を同時にみた
すつながった領域をさがし、ラベル情報をRGBとも全
て0から1に変更していく。After inputting the information, use the microprocessor 13 to search for a connected area that satisfies the following two conditions, starting from the input coordinate point, and change the label information for both RGB from 0 to 1. .
(条件l)色情報のRGB成分を(ir 、 ig 。(Condition 1) RGB components of color information are (ir, ig).
ib)としたときrl ≦ ir≦r、かっg、≦ig
≦g、かっす、≦ib≦b2(条件2)線情報が書き込
まれていない。ib), then rl ≦ ir≦r, kg, ≦ig
≦g, gas, ≦ib≦b2 (condition 2) Line information is not written.
この結果(iii )において書込まれた切離し用の線
」二の点は(条件2)を満たさないため、特定色で表示
された切出したい目的領域にのみラベル情報が書きこま
れろ。Since the second point of the cutting line drawn in result (iii) does not satisfy (condition 2), label information should be written only in the target area to be cut out, which is displayed in a specific color.
さて上記切離し相線であるが、特定色表示領域がラベル
付けしたくない部分とつながっている場合に、それを切
離す目的で入力すればよいため、ラベル付けしたい領域
の境界綜合てを入力する必要はない。そのため非常に簡
単な線の入力でよい。Now, regarding the above separation phase line, if a specific color display area is connected to a part that you do not want to label, you can input it for the purpose of separating it, so input the total boundary of the area you want to label. There's no need. Therefore, inputting a very simple line is sufficient.
〈発明の効果〉
以上の説明から明らかなように、本発明の画像処理装置
は、例えばRG13に色分解された画像メモリに対し、
rl 、 rt : L 、 Ih : bl、 bv
(’)It色2つづつのしきい値を定め、ルックアッ
プテーブルを各しきい値にはさまれた範囲だけ明るく表
示するように設定することにより、RGBの色情報がす
べてしきい性向に含まれる画像領域を表示器に特定色で
一旦表示し、切出されるべき領域をあらかじめ確認し、
もし切出したい目的領域と背景(他の領域)が同一色彩
であるためつながっていた場合、座標入力手段により切
出したい目的領域と他の領域とを切離すような直線もし
くは曲線を入力し、その後特定色で表示された領域を座
標入力手段を用いて指定することにより領域切出しを行
なうため、切出したい目的領域と他の領域が一部同じ色
でつながっている場合でも、色のしきい値を利用した切
出しを簡単に行なうことができる。<Effects of the Invention> As is clear from the above description, the image processing device of the present invention can perform color separation on an image memory separated into RG13, for example.
rl, rt: L, Ih: bl, bv
(') By setting thresholds for two It colors and setting the lookup table to display brightly only the range between each threshold, all RGB color information is included in the threshold propensity. The image area to be cropped is displayed in a specific color on the display, and the area to be cropped is confirmed in advance.
If the target area you want to cut out and the background (other area) are connected because they have the same color, input a straight line or curve that separates the target area you want to cut out from the other area using the coordinate input means, and then specify Because area extraction is performed by specifying the area displayed in color using a coordinate input means, color thresholds can be used even if the target area to be extracted is connected to other areas with some of the same color. It is possible to easily perform cutouts.
また、直線らしくは曲線の入力は色のしきい値を用いた
切出し法ではつながってしまう部分を切離すだけでよい
ため、簡単な線の入力でよい。このように、本発明によ
れば、色のしきい値を用いた切出し法と線を用いた切出
し法を併用して切出しを行なうため、複雑な形状を簡単
に切出す事が可能である。Moreover, when inputting a curved line instead of a straight line, it is sufficient to input a simple line because it is only necessary to separate the parts that would be connected in the cutting method using color thresholds. As described above, according to the present invention, since the cutting method using the color threshold value and the cutting method using the line are used in combination, it is possible to easily cut out a complicated shape.
第1図は本発明の一実施例のブロック図、第一2図(a
)、 (b)、 (c)は上記実施例の領域の切出しを
説明する図、第3図(a)、 (b)、 (c)、 (
d)は従来例の領域の切出しを説明する図である。
11・・・しきい値入力手段、12・・・主記憶装置、
13・・プロセッサ、14・・・データバス、I5・・
兼用メモリ、16・・・ルックアップテーブルメモリ、
17・・ゲート回路、18・・・D/Aコンバータ、1
9・・・表示器、20・・・ルックアップテーブル読み
書き用ゲート回路、21・・・座標入力手段。
特 許 出 願 人 シャープ昧式会社代 理 人
弁理士 青白 葆 ばか2名第3図
(a) (b)
(C)
(d)FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 12 (a
), (b), (c) are diagrams illustrating the cutting out of the area in the above embodiment, and Figures 3 (a), (b), (c), (
d) is a diagram illustrating region cutting in a conventional example. 11... Threshold input means, 12... Main storage device,
13...Processor, 14...Data bus, I5...
Dual-purpose memory, 16... Lookup table memory,
17...Gate circuit, 18...D/A converter, 1
9...Display device, 20...Gate circuit for reading and writing lookup table, 21...Coordinate input means. Patent applicant Sharp company agent
Patent Attorneys Blue and White Two Idiots Figure 3 (a) (b) (C) (d)
Claims (1)
するラベル情報と、線情報とを場合に応じて記憶する兼
用メモリと、 上記兼用メモリの出力情報を変換して出力するルックア
ップテーブルメモリと、 上記ルックアップテーブルメモリの出力情報に基いて画
像を表示する表示手段と、 濃度情報に関する所望のしきい値を入力するためのしき
い値入力手段と、 画像中の所定の座標を入力するための座標入力手段と、 上記兼用メモリのどの特定ビットに濃度情報、ラベル情
報および線情報を格納するかを設定して、上記ラベル情
報および線情報の書き込みもしくは消去を行なうメモリ
設定手段と、 上記しきい値入力手段から入力されたしきい値と、上記
濃度情報と、上記ラベル情報と、上記線情報とに基づい
て上記ルックアップテーブルメモリの内容を設定するル
ックアップテーブル設定手段とを備えて、 上記兼用メモリからの原画像の各画素の特性レベルを表
わす出力情報をルックアップテーブルメモリで変換して
、しきい値入力手段から入力されたしきい値で定まる領
域を、上記表示手段にあらかじめ特定の色で表示し、上
記特定の色で表示された領域が切出したい目的領域以外
の他の領域とつながっている場合に、上記座標入力手段
により目的領域と他の領域を区分する線の入力を行なっ
て、線情報によりつながっていた目的領域と他の領域を
切り離し、この切離された目的領域を座標入力手段を用
いて選択して、ラベル情報を書き換えて、目的領域の切
出しを行なうようにしたことを特徴とする画像処理装置
。(1) A dual-purpose memory that stores density information for each pixel that makes up an image, label information that identifies areas, and line information depending on the case, and a lookup that converts and outputs the output information of the dual-purpose memory. a table memory; a display means for displaying an image based on the output information of the lookup table memory; a threshold input means for inputting a desired threshold value regarding density information; a coordinate input means for inputting coordinates; and a memory setting means for writing or erasing the label information and line information by setting which specific bit of the dual-purpose memory is to store the concentration information, label information, and line information. , lookup table setting means for setting the contents of the lookup table memory based on the threshold input from the threshold input means, the concentration information, the label information, and the line information; The output information representing the characteristic level of each pixel of the original image from the dual-purpose memory is converted by the look-up table memory, and the area defined by the threshold input from the threshold input means is displayed by the display means. is displayed in a specific color in advance, and if the area displayed in the specific color is connected to another area other than the target area that you want to cut out, a line that separates the target area from the other area using the coordinate input means. input, separate the target area and other areas that were connected by line information, select this separated target area using the coordinate input means, rewrite the label information, and cut out the target area. An image processing device characterized in that:
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61066821A JPS62222372A (en) | 1986-03-24 | 1986-03-24 | Image processing device |
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 |
---|---|---|---|
JP61066821A JPS62222372A (en) | 1986-03-24 | 1986-03-24 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS62222372A true JPS62222372A (en) | 1987-09-30 |
JPH0464113B2 JPH0464113B2 (en) | 1992-10-13 |
Family
ID=13326896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61066821A Granted JPS62222372A (en) | 1985-12-25 | 1986-03-24 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62222372A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011509451A (en) * | 2007-12-20 | 2011-03-24 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Segmentation of image data |
-
1986
- 1986-03-24 JP JP61066821A patent/JPS62222372A/en active Granted
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011509451A (en) * | 2007-12-20 | 2011-03-24 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Segmentation of image data |
US8515172B2 (en) | 2007-12-20 | 2013-08-20 | Koninklijke Philips N.V. | Segmentation of image data |
Also Published As
Publication number | Publication date |
---|---|
JPH0464113B2 (en) | 1992-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0656142B1 (en) | Visual frame buffer architecture | |
JPS61107392A (en) | Image processing system | |
US6091389A (en) | Display controlling apparatus | |
JPH01321578A (en) | Picture display system | |
JPS62222372A (en) | Image processing device | |
US5299301A (en) | Image displaying method and apparatus | |
US7145573B2 (en) | Method and system to combine a digital graphics object and a digital picture | |
JPS62173492A (en) | Image processor | |
JPS61289386A (en) | Contrast conversion control system | |
JPH0812696B2 (en) | Image processing device | |
JPH06124189A (en) | Image display device and image display control method | |
JP4529633B2 (en) | Video composition apparatus and method | |
JP3377179B2 (en) | Screen synthesis apparatus and method | |
JPS62151986A (en) | Picture processor | |
JPS60197073A (en) | Color designation processing unit of color picture | |
JPH06301365A (en) | Image reproducing device | |
JPH0378669B2 (en) | ||
JPH0464112B2 (en) | ||
JPS60179791A (en) | Graphic display unit | |
JPH04342291A (en) | Picture display device | |
JPH08328539A (en) | Image display method and device | |
JPH08161475A (en) | Display controller | |
JPH06168324A (en) | Picture processing method | |
JPH05197353A (en) | Natural picture display system | |
JPH06308927A (en) | Display device |