JPS63301374A - Vanishing method for background of image - Google Patents

Vanishing method for background of image

Info

Publication number
JPS63301374A
JPS63301374A JP62136654A JP13665487A JPS63301374A JP S63301374 A JPS63301374 A JP S63301374A JP 62136654 A JP62136654 A JP 62136654A JP 13665487 A JP13665487 A JP 13665487A JP S63301374 A JPS63301374 A JP S63301374A
Authority
JP
Japan
Prior art keywords
image
background
partial
gradation
extracted
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
JP62136654A
Other languages
Japanese (ja)
Other versions
JPH07122903B2 (en
Inventor
Kazuya Asano
一哉 浅野
Satoshi Maruyama
智 丸山
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP62136654A priority Critical patent/JPH07122903B2/en
Publication of JPS63301374A publication Critical patent/JPS63301374A/en
Publication of JPH07122903B2 publication Critical patent/JPH07122903B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Collating Specific Patterns (AREA)
  • Image Input (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To obtain inter-gradation conversion coefficients corresponding to an image and its background image and to simplify a background vanishing operation, by separating a partial background image from the image and extracting a proper number of aggregates of image elements out of said partial image to analyze the gradation of the corresponding image element via the extracted aggregates of image elements. CONSTITUTION:An image A where a background is superposed on a graphic image is recorded in an image memory 4 and an image B including a background only is recorded in an image memory 11. A threshold value calculating circuit 14 obtains a threshold value to separate a partial background image from the image A and inputs this threshold value to a comparator 16. At the same time, a random number produced from a random number generating circuit 10 is sent to an address generating circuit 9 for generation of the address of the memory 4. Then the image elements of the image A are extracted at random. The gradation (ga) of the extracted image element is sent to the comparator 16 and a background part if decided is stored in a regression analyzing data buffer 17. At the same time, the gradation (gb) of the image element of the image B is also stored in the buffer 17.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、図形画像の処理に関り、特に図形画像に重畳
した背景画像を消去する技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to the processing of graphic images, and particularly to a technique for erasing a background image superimposed on a graphic image.

〔従来の技術〕[Conventional technology]

一般にCCD (charge coupled de
vice)カメラなどで物体に付着した物質が発する蛍
光を図形としてとらえようとするとき、必然的に付着し
ている物体表面の模様か背景として重畳する。
Generally, CCD (charge coupled de
(vice) When trying to capture the fluorescence emitted by a substance attached to an object with a camera, etc., the pattern on the surface of the attached object is inevitably superimposed as a background.

例えば、レーザ光を指紋付着物体に照射し、指紋か発す
る蛍光により指紋を検出するレーザ蛍光法による指紋検
出装置では、指紋画像を撮影しようとすると、必然的に
指紋が付着している物体の模様も重畳して背景画像とし
て撮影されてしまう。
For example, in a fingerprint detection device using a laser fluorescence method, which irradiates a fingerprint-attached object with a laser beam and detects the fingerprint by the fluorescence emitted by the fingerprint, when trying to take a fingerprint image, the pattern of the fingerprint-attached object inevitably appears. will also be superimposed and photographed as a background image.

このような場合に背景画像を消去する手段を備えた装置
として、例えば特開昭61−240383に開示された
指紋検出装置がある。同装置はレーザ光の投光部、受像
部および受像部の画像を加算もしくは減算記憶処理する
画像記憶処理装置を備え、レーザ光により照射された指
紋からの発光像を受像し、複数枚の画像を加算処理する
ことにより画像を強調した後、レーザ光の照射を止め、
減算処理を行い、背景像の消去を行うことができるよう
になっている。
An example of a device equipped with means for erasing a background image in such a case is a fingerprint detection device disclosed in Japanese Patent Laid-Open No. 61-240383. The device is equipped with a laser beam emitter, an image receiver, and an image storage processor that adds or subtracts images from the image receiver. After enhancing the image by adding , the laser light irradiation is stopped,
It is now possible to perform subtraction processing and erase the background image.

しかし、レーザ光の照射の有無により対象物体の照明状
態が異なるため、適切な加算および減算回数を得るには
多くの試行vI誤か必要であった。
However, since the illumination state of the target object differs depending on whether or not the laser beam is irradiated, many trials or errors are required to obtain an appropriate number of additions and subtractions.

例えば、指紋画像に背景画像が重畳している画像をm回
加算するとしてそれらをAt(t =1゜・・・、m)
とし、加算された画像から背景だけの画像をn回減算す
るとしてそれらをBE(t =1゜・・・、n)とする
。Aiの中で背景部分の画像の平均レベルをf (At
 )とし、Biてそれに対応する部分の画像の平均レベ
ルをf (Bt )とすれば、加算および減算処理によ
り背景画像をできるたけ消去するには、 なるeを最小にするm、nの組を見出す必要かある。
For example, if an image in which a background image is superimposed on a fingerprint image is added m times, they are At(t = 1°..., m)
Assuming that the background image is subtracted n times from the added image, let BE (t = 1° . . . , n). The average level of the background image in Ai is f (At
), and if the average level of the image in the corresponding part is f (Bt ), then in order to erase as much of the background image as possible through addition and subtraction processing, find the pair of m and n that minimizes e. Is there a need to find out?

実用的にmを20〜30程度とするにしても、それに対
応するnを見出すには減算を数十回繰り返して行わなけ
ればならず、多くの試行錯誤か必要であった。またその
段階で過度に減算を行うことにより、図形画像を損ねる
こともあった。
Even if m is practically set to about 20 to 30, subtraction must be repeated dozens of times to find the corresponding n, which requires a lot of trial and error. Furthermore, excessive subtraction at that stage may damage the graphic image.

〔発明か解決しようとする問題点〕[The problem that the invention attempts to solve]

CCDカメラなどで物体に付着した物質が発する蛍光を
図形としてとらえようとするとき、必然的に付着してい
る物体表面の模様が背景として重畳する。
When a CCD camera or the like attempts to capture the fluorescence emitted by a substance attached to an object as a figure, the pattern on the surface of the attached object is inevitably superimposed as a background.

本発明はこのような場合に背景を消去して鮮明な画像を
得ようとするものである。
The present invention aims to eliminate the background in such a case and obtain a clear image.

このような背景画像を消去する従来の方法として、図形
画像に背景画像が重畳した画像を複数回加算した後、背
景画像だけの画像を繰り返し減算する方法かあるか適切
な加減算の回数を得るには多くの試行錯誤が必要であり
、また図形像を損ねることもあった。
The conventional method for erasing such a background image is to add an image with the background image superimposed on the figure image multiple times, and then repeatedly subtract the background image only.Is there a way to obtain an appropriate number of additions and subtractions? This required a lot of trial and error, and could sometimes damage the graphic image.

本発明はこのような試行錯誤によらず、1回の操作で最
適な背景消去を行うことを目的とする。
An object of the present invention is to perform optimal background erasure in a single operation without relying on such trial and error.

(問題点を解決するための手段) 本発明は上述の問題点を解決するもので、第1図にその
手順をフローチャートて示すごとく、抽出すべき図形に
背景が重畳している濃淡画像(以下画像Aと表す)と、
背景だけの濃淡画像(以下画像Bと表す)とから、背景
を消去して抽出すべき図形だけを抽出する背景消去方法
において、次の工程からなるものである。
(Means for Solving the Problems) The present invention solves the above-mentioned problems, and as shown in the flowchart of the procedure in FIG. (denoted as image A) and
A background erasing method for extracting only figures to be extracted by erasing the background from a grayscale image of only the background (hereinafter referred to as image B) consists of the following steps.

(イ)画像Aから背景画像の一部分を分離すること。(b) Separating a portion of the background image from image A.

(ロ)分離した背景画像の部分画像から適当数の画素の
集合Cを抽出すること。
(b) Extracting a set C of an appropriate number of pixels from the separated partial image of the background image.

(ハ)画像Bで集合Cに対応する画素の集合りを抽出す
ること。
(c) Extracting a set of pixels corresponding to set C in image B.

(ニ)集合Cと集合りとで対応する画素の階調について
回帰分析を行い、その結果から画像Aの背景部分と画像
Bのそれに対応する部分の階調間の変数係数を求めるこ
と。
(d) Performing a regression analysis on the gradations of pixels corresponding to the set C and the set, and determining the variable coefficient between the gradations of the background part of the image A and the corresponding part of the image B from the result.

(ホ)該変換係数を用いて画像Bを補正しつつ画像Aか
ら画像Bを減算すること。
(e) Subtracting image B from image A while correcting image B using the conversion coefficient.

次に本発明の好ましい具体的手段を示す実施態様として
は、前記画像Aから背景画像の部分画像を分離する手段
が、画像レベルにしきい値を設定し、該しきい値以下の
部分を背景とすること、または図形部分と背景部分のテ
キスチャの違いを利用することか好ましく、さらに場合
によっては操作者か画像の一部分を指定することによっ
て行うことも可能である。
Next, as an embodiment showing preferable specific means of the present invention, the means for separating a partial image of the background image from the image A sets a threshold at the image level, and the portion below the threshold is regarded as the background. It is preferable to use the difference in texture between the figure part and the background part, and in some cases, it is also possible for the operator to specify a part of the image.

(作用) 第1図は本発明の手順を示すフローチャートである。本
発明においては図形画像に背景画像を重畳した画像(以
下画像Aと表す)から、背景画像の部分画像を分離する
必要がある。
(Operation) FIG. 1 is a flowchart showing the procedure of the present invention. In the present invention, it is necessary to separate a partial image of the background image from an image (hereinafter referred to as image A) in which a background image is superimposed on a graphic image.

図形に背景か重畳している場合、背景部分だけを完全に
分離するのは困難であるが、本発明では背景画像の部分
画像を分離するようにした。
When a background is superimposed on a figure, it is difficult to completely separate only the background part, but in the present invention, a partial image of the background image is separated.

通例、対象物に付着している物質は蛍光により背景より
も階調が高く、明るいのでしきい値を設定し、それ以下
の部分を背景とみなすことで背景画像の部分画像を分離
することができる。この際に背景画像の中に階調が高く
、しきい値を超えている部分があり、その部分が除外さ
れるようなことがあってもかまわない。
Usually, substances attached to an object have a higher gradation and are brighter than the background due to fluorescence, so it is possible to separate partial images of the background image by setting a threshold and treating the area below that value as the background. can. At this time, there may be a portion in the background image that has a high gradation and exceeds the threshold value, and that portion may be excluded.

次に分離した背景画像の部分画像から適当数の画素の集
合Cを抽出する。これはCCDカメラからの有効な画素
数は数万から数十万あるのが通例であり、前述の部分画
像も画素数が多すぎて全てを回帰分析に用いるのは不適
切であるため、精度良く回帰分析を行うのに必要十分な
画素を抽出する必要があるためである。集合Cは背景画
像の種々の階調の部分をなるべくむらなく含むように抽
出する必要があるが、これには例えば乱数を用いて、背
景画像の部分画像からランダムに画素を抽出することに
より行うことができる。
Next, a set C of an appropriate number of pixels is extracted from the separated partial image of the background image. This is because the effective number of pixels from a CCD camera is usually tens to hundreds of thousands, and the aforementioned partial images also have too many pixels and it is inappropriate to use all of them for regression analysis, so the accuracy This is because it is necessary to extract enough pixels to perform regression analysis well. The set C needs to be extracted so as to include parts of various gradations of the background image as evenly as possible, but this is done by, for example, using random numbers to randomly extract pixels from partial images of the background image. be able to.

次いで背景だけの濃淡画像(以下画像Bと表す)から集
合Cに対応する位置の画素の集合りを抽出し、対応する
画素の階調について回帰分析を行う。集合Cに属する画
素なC1その階調をgcとし、Cに対応する集合りの画
素なd、その階調をgdとし、gcとgdの関係を gc =f (gd) +e    ・・・・−(1)
の形に求める。ここにeは誤差であり、これを最小にす
るように関数f (x)のパラメータを決める。関数f
 (x)の形は例えば f   (x)   =px+q          
       ・・拳・−(2)のように仮定できる。
Next, a set of pixels at positions corresponding to set C is extracted from a grayscale image of only the background (hereinafter referred to as image B), and regression analysis is performed on the gradation of the corresponding pixels. A pixel C1 belonging to a set C, whose gradation is gc, a pixel d of the set corresponding to C, whose gradation is gd, and the relationship between gc and gd is gc = f (gd) +e ....- (1)
Find in the form of. Here, e is an error, and the parameters of the function f(x) are determined so as to minimize this. function f
For example, the form of (x) is f (x) = px + q
・・Fist・−(2) can be assumed.

求めたf (x)を用いて画像Bを補正しつつ、画像A
と画像Bのすべての対応する画素間で減算を行う。すな
わち、画像Aに属する画素をa、その階調をga、対応
する画像Bの画素なgbとし、減算処理後の画像なHと
し、その色素をh、その階調をghとして、gh =g
a −f (gb )     ・・・・・・(3)の
演算をすべてのa、bの組について行う。
While correcting image B using the obtained f (x), image A
and all corresponding pixels of image B. That is, a pixel belonging to image A is a, its gradation is ga, the corresponding pixel of image B is gb, the image after the subtraction process is H, its pigment is h, its gradation is gh, and gh = g.
a − f (gb) ...The operation in (3) is performed for all pairs of a and b.

背景の部分は(1)より gh =gc −f (gci ) = e =O・・・・・・(4) となり、背景像の消去をすることがてきる。The background part is from (1) gh = gc - f (gci) = e =O...(4) Thus, the background image can be erased.

すなわち本発明ては画面Aの背景部分と画面Bのそれに
対応する部分の階調の平均値を一致させてから減算を行
うことにより、処理後の画像の背景部分の階調の平均値
を最小にし、なおかつ注目すべき図形画像に与える影響
を最小にするという意味で最適な背景消去を1回の操作
で行うことがてきる。
In other words, the present invention minimizes the average value of the gradations of the background part of the processed image by matching the average value of the gradations of the background part of screen A and the corresponding part of screen B, and then performing subtraction. The background can be erased in a single operation, which is optimal in the sense that it minimizes the influence on the graphical image that is of interest.

なお、画像Aからの背景画像の部分画像の分離に関して
は、図形部分と背景部分とテキスチャの違いを利用し、
公知のテキスチャ解析を行い、その結果を用いる方法も
可能である。ここにテキスチャとは物の表面の規則的な
模様を云い1例えば木目、織物の編み目などである。ま
た、第5図に示すごとく、画像Aにおいて1図形像の占
める部分の割合が小さく、明らかに背景像だけの部分と
識別できる部分が存在する場合には、操作者が画像Aか
ら背景部分を判別し、その一部分を例えばカーソル線、
ライトペンなど公知の方法で指定して背景画像の部分画
像を分離する方法も可能である。
Regarding the separation of the partial image of the background image from image A, the difference between the figure part, the background part, and the texture is used.
It is also possible to perform a known texture analysis and use the results. Texture here refers to a regular pattern on the surface of an object, such as the grain of wood or the stitching of textiles. Furthermore, as shown in Fig. 5, if the proportion of the area occupied by one graphic image in image A is small and there is a part that can be clearly identified as only the background image, the operator can remove the background part from image A. For example, a cursor line,
It is also possible to separate partial images of the background image by specifying them using a known method such as a light pen.

〔実施例〕〔Example〕

第2図は本発明を実施するのに好適な背景画像消去装置
の構成の一例を示す図である。
FIG. 2 is a diagram showing an example of the configuration of a background image erasing device suitable for implementing the present invention.

第2図をもとに実施例を説明する。An embodiment will be described based on FIG.

第2図において、6はCCDカメラ、7はA/D変換器
、8は入力切換回路であり、まず図形画像に背景が重畳
した画像(画像A)が画像メモリ4に記録される0次に
背景だけの画像(画像B)が画像メモリ11に記録され
る。アドレス発生回路9は、シーケンシャルな書き込み
あるいは読み出しを行うときは、インクリメンタルカウ
ンタとして働く。
In FIG. 2, 6 is a CCD camera, 7 is an A/D converter, and 8 is an input switching circuit. First, an image (image A) in which a background is superimposed on a graphic image is recorded in the image memory 4. An image containing only the background (image B) is recorded in the image memory 11. The address generation circuit 9 functions as an incremental counter when performing sequential writing or reading.

しきい値算出回路14は、画像Aから背景画像の部分画
像を分離するためのしきい値を算出する。しきい値は例
えば濃淡画像を2値化する時のしきい値設定法として公
知である大津の判別しきい値法で算出されるものを用い
ることができる。
The threshold calculation circuit 14 calculates a threshold for separating a partial image of the background image from the image A. As the threshold value, for example, one calculated by Otsu's discriminant threshold method, which is a well-known threshold setting method when binarizing a grayscale image, can be used.

算出されたしきい値thは出力端Tから比較回路16に
送られる。
The calculated threshold value th is sent from the output terminal T to the comparator circuit 16.

乱数発生回路10で発生した乱数は、アドレス発生回路
9に送られ画像メモリ4のアドレスをランダムに発生さ
せて、画像Aの画素を無作為に抽出する。
The random numbers generated by the random number generation circuit 10 are sent to the address generation circuit 9, which randomly generates addresses for the image memory 4, and randomly extracts pixels of the image A.

抽出された画素の階21gg aは比較回路16に送ら
れ、gaがthよりも小さければ背景部分であるとみな
し、回帰分析用データバッファ17にストアされ、また
対応する画像Bの画素の階調gbも17に送られてスト
アされる。
The extracted pixel level 21gga is sent to the comparison circuit 16, and if ga is smaller than th, it is considered to be a background part, and stored in the regression analysis data buffer 17, and the gradation of the corresponding pixel of image B is gb is also sent to 17 and stored.

このようなデータの抽出はバッファ17が満たされるま
で行われる。データの抽出が終わると、回帰分析回路1
9で回帰分析が行われる。
Such data extraction is performed until the buffer 17 is filled. After data extraction is completed, regression analysis circuit 1
9, regression analysis is performed.

この例ではy=px+qの形の関数を仮定しており、画
像Aの背景部分と画像Bの対応する部分との変換係数p
、qがそれぞれ出力端P、Qから乗算器12、加算器1
3に送られる0次いで画像メモリ4および11から逐次
画素の階調を読み出し、メモリ11からの値については
乗算器12、加算器13で補正を行った後、減算器5で
減算処理を行い、背景を消去する。
This example assumes a function of the form y=px+q, where the transformation coefficient p between the background part of image A and the corresponding part of image B is
, q are connected to the multiplier 12 and adder 1 from the output terminals P and Q, respectively.
Then, the gradations of the pixels are read out sequentially from the image memories 4 and 11, and the value from the memory 11 is corrected by the multiplier 12 and adder 13, and then subtracted by the subtracter 5. Erase the background.

処理後の値は切換回路8を経由して画像メモリ4あるい
は11に記録される。
The processed value is recorded in the image memory 4 or 11 via the switching circuit 8.

出力切換回路1は、CCDカメラ6からの信号、画像メ
モリ4.11からの信号を選択し、この信号はD/A変
換器2を経て、モニタ3に表示される。
The output switching circuit 1 selects the signal from the CCD camera 6 and the signal from the image memory 4.11, and this signal passes through the D/A converter 2 and is displayed on the monitor 3.

タイミング会コントローラ15は、上述した処理を順序
よく行うために各回路に制御信号を送るためのものであ
る。
The timing controller 15 is for sending control signals to each circuit in order to perform the above-described processing in an orderly manner.

18は操作スイッチであり、これを操作して画像A、画
像Bを記録後、背景処理のスイッチを操作することによ
り、背景消去を行うことができる。
Reference numeral 18 denotes an operation switch, and after recording images A and B by operating this switch, the background can be erased by operating a background processing switch.

また画像A、Bは1回の書き込みでなくてもよく、S/
N向上のため、加算器を設けてA/D変換器7からの出
力を何回か加算したものであってもよい。
Also, images A and B do not need to be written once, S/
In order to improve N, an adder may be provided to add the output from the A/D converter 7 several times.

また、その際の加算回数は画像メモリ4,11がオーバ
ーフローしない限りは任意でよく、画像メモリ4と11
で回数が異なってもかまわない。
Further, the number of times of addition at that time may be arbitrary as long as the image memories 4 and 11 do not overflow;
It doesn't matter if the number of times is different.

また第3図は本発明の別の実施例を示す図である。Further, FIG. 3 is a diagram showing another embodiment of the present invention.

第3図において、第2図と異なる点は、しきい値算出回
路14、比較回路16に代り、テキスチャ解析回路20
、背景像マツピングメモリ21、背景部分判定回路22
が設けられている点である。第3図の実施例においては
1画像A、画像Bを記録した後1画像Aについてテキス
チャ解析回路20においてテキスチャー解析が行われる
。その結果、すなわち画像Aの各画素が背景部分に属す
るか否かが背景像マツピングメモリ21に記憶される0
次いで乱数発生回路10で乱数を発生させアドレス発生
回路9に送り、画像メモリ4のアドレスをランダムに発
生させる。このアドレスは背景部分判定回路22に送ら
れ、そこで背景像マツピングメモリ21を参照して、そ
れが背景部分の画素に対応するアドレスであれば、その
画素の階調gaは回帰分析用データバッファ17にスト
アされ、また対応する画像Bの画素の階調gbもデータ
バッファ17に送られてストアされる。以下の動作は第
2図に示した実施例と全く同様である。
3, the difference from FIG. 2 is that a texture analysis circuit 20 is used instead of the threshold calculation circuit 14 and comparison circuit 16.
, background image mapping memory 21 , background portion determination circuit 22
The point is that this is provided. In the embodiment shown in FIG. 3, after recording one image A and one image B, a texture analysis circuit 20 performs texture analysis on one image A. As a result, whether or not each pixel of image A belongs to the background portion is stored in the background image mapping memory 21.
Next, the random number generation circuit 10 generates a random number and sends it to the address generation circuit 9, which randomly generates an address for the image memory 4. This address is sent to the background portion determination circuit 22, where the background image mapping memory 21 is referred to, and if the address corresponds to a pixel in the background portion, the gradation ga of that pixel is stored in the data buffer for regression analysis. The gradation gb of the pixel of the corresponding image B is also sent to the data buffer 17 and stored therein. The following operations are completely similar to the embodiment shown in FIG.

また、第4図は本発明のさらに別の実施例を示す図であ
る。第4図ではカーソル発生回路23および加算回路2
4が設けられており、操作者は操作スイッチ18を操作
して、モニタ3の画面りの縦軸および横軸の任意の位置
にカーソル線を発生させ、それによって画像上の位置の
指定ができるようになっている。
Moreover, FIG. 4 is a diagram showing still another embodiment of the present invention. In FIG. 4, the cursor generation circuit 23 and the addition circuit 2
4, the operator can operate the operation switch 18 to generate a cursor line at any position on the vertical and horizontal axes of the screen of the monitor 3, thereby specifying the position on the image. It looks like this.

画像Aが第5図に示すごとく、図形像の占める部分の割
合が小さく、明らかに背景と識別できる部分が存在する
場合には、操作者が操作スイッチ18によりカーソル線
を操作し、まず、第6図に示すごとく縦横のカーソル線
の交点により図形像の左上の座標Cを指定し、次いで第
7図に示すごとく図形像の右下の座標りを指定すること
により1画面上で線分CDを1つの対角線とする長方形
の内側が図形像を含む部分であり、外側が背景だけの部
分であると指定することができる。
As shown in FIG. 5, when the image A occupies a small proportion of the figure image and there is a portion that can be clearly identified as the background, the operator operates the cursor line using the operation switch 18, and first As shown in Figure 6, by specifying the upper left coordinate C of the figure image using the intersection of the vertical and horizontal cursor lines, and then specifying the lower right coordinate C of the figure image as shown in Figure 7, line segment CD can be drawn on one screen. It can be specified that the inside of a rectangle with one diagonal is the part that contains the graphic image, and the outside is the part that contains only the background.

従って、画像Aと画像Bを記録した後、操作者は操作ス
イッチ18を操作して画像Aをモニター13上で観察し
ながら上述の方法により、背景部分を指定することがで
きる。
Therefore, after recording images A and B, the operator can operate the operation switch 18 and while observing image A on the monitor 13, specify the background portion using the method described above.

次いで乱数発生回路10で乱数を発生させ、アドレス発
生回路9に送り、画像メモリ4のアドレをランダムに発
生させる。このアドレスはアドレス判定回路25へ送ら
れ、カーソル発生回路23からのデータを参照して、そ
れが背景部分の画素に対応するアドレスであれば、その
画素の階調gaは回帰分析用データバッファ17にスト
アされ、また対応する画像Bの画素の階調gbもデータ
バッファ17に送られストアされる。以下の動作は第2
図に示した実施例と全く同様である。
Next, a random number is generated by the random number generation circuit 10, and sent to the address generation circuit 9, which randomly generates an address for the image memory 4. This address is sent to the address determination circuit 25, which refers to the data from the cursor generation circuit 23, and if the address corresponds to a pixel in the background part, the gray level ga of that pixel is determined by the regression analysis data buffer 17. The gradation gb of the pixel of the corresponding image B is also sent to the data buffer 17 and stored therein. The following operation is the second
It is completely similar to the embodiment shown in the figure.

第2図、第3図、第4図に示した実施例は画像Aから背
景画像の部分画像を分離する方法が異なるだけであり、
他の部分は共通であるから、これらを2つ以」−組み合
わせて、1つの装置を構成し1種々の画像Aの状態に対
応して適した背景画像の分離方法を選択することができ
るようにすることも可能である。
The embodiments shown in FIGS. 2, 3, and 4 differ only in the method of separating a partial image of the background image from image A.
Since the other parts are common, two or more of these can be combined to form a single device, and a suitable background image separation method can be selected in response to various conditions of the image A. It is also possible to

〔発明の効果〕〔Effect of the invention〕

本発明は以上述べてきたように、図形画像に背景が重畳
した濃淡画像(両像A)と背景だけの濃淡画像(画像B
)とから背景を消去するにあたり、画像Aの背景部分と
画像Bのそれに対応する部分の変換係数を求め、その係
数で画像Bを補正しつつ、画像Aから画像Bを減算する
ことにより、従来のように多くの錯誤を繰り返したり、
その過程で図形画像を損ねたりすることなく、1回の操
作で最適な背景消去を行うことができる。
As described above, the present invention provides a grayscale image in which the background is superimposed on a figure image (both images A) and a grayscale image with only the background (image B).
), we calculate the conversion coefficients of the background part of image A and the corresponding part of image B, and subtract image B from image A while correcting image B with the coefficients. repeating many mistakes like
Optimum background erasure can be performed in a single operation without damaging the graphic image in the process.

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

第1図は本発明方法の手順を示すフローチャート、第2
図は本発明の実施に好適な背景画像消去装置の一例のブ
ロック図、第3図は・本発明の実施に好適な背景画像消
去装置の別のブロック図、第4図は本発明の実施に好適
な背景画像消去装置のさらに別の一例のブロック図、第
5図は図形像に背景像が重畳した画像の一例を示す画像
図、第6図は図形像に背景像が重畳した画像に対し、図
形像の左上の座標を指定した一例を示す画像図、第7図
は図形像に背景像が重畳した画像に対し、図形像の右上
の座標を指定した一例を示す画像図である。 l・・・出力切換回路 2・・・D/A変換器 3・・・モニタ 4・・・画像メモリ(画像A用) 5・・・減算器 6・・・CODカメラ 7・・・A/D変換器 8・・・人力切換回路 9・・・アドレス発生回路 10・・・乱数発生回路 11・・・画像メモリ(画像B Jfl )12・・・
乗算器 13・・・加算器 14・・・しきい植立出回路 15・・・タイミング・コントローラ 16・・・比較回路 17・・・回帰分析用データバッファ 18・・・操作スイッチ 19・・・回帰分析回路 20・・・テキスチャ解析回路 21・・・背景像マツピングメモリ 22・・・背景部分判定回路 23・・・カーソル発生回路 24・・・加算回路 25・・・アドレス判定回路 26・・・図形像 27・・・背景像 28・・・横カーソル線 29・・・縦カーソル線
FIG. 1 is a flowchart showing the procedure of the method of the present invention;
3 is a block diagram of an example of a background image erasing device suitable for implementing the present invention, FIG. 3 is another block diagram of a background image erasing device suitable for implementing the present invention, and FIG. 4 is a block diagram for implementing the present invention. A block diagram of yet another example of a suitable background image erasing device, FIG. 5 is an image diagram showing an example of an image in which a background image is superimposed on a figure image, and FIG. 6 is an image diagram showing an example of an image in which a background image is superimposed on a figure image. , an image diagram showing an example of designating the upper left coordinates of a graphic image, and FIG. 7 is an image diagram showing an example of designating the upper right coordinates of a graphic image for an image in which a background image is superimposed on the graphic image. l...Output switching circuit 2...D/A converter 3...Monitor 4...Image memory (for image A) 5...Subtractor 6...COD camera 7...A/ D converter 8...Manual switching circuit 9...Address generation circuit 10...Random number generation circuit 11...Image memory (image B Jfl) 12...
Multiplier 13... Adder 14... Threshold output circuit 15... Timing controller 16... Comparison circuit 17... Regression analysis data buffer 18... Operation switch 19... Regression analysis circuit 20...texture analysis circuit 21...background image mapping memory 22...background portion judgment circuit 23...cursor generation circuit 24...addition circuit 25...address judgment circuit 26...・Graphic image 27...Background image 28...Horizontal cursor line 29...Vertical cursor line

Claims (1)

【特許請求の範囲】 1 抽出すべき図形に背景が重畳している濃淡画像(以
下画像Aと表す)と、背景だけの濃淡画像(以下画像B
と表す)とから、背景を消去して抽出すべき図形だけを
抽出する画像の背景消去方法において、 (a)画像Aから背景画像の部分画像を分 離し、 (b)該部分画像から適当数の画素の集合 Cを抽出し、 (c)画像Bで集合Cに対応する画素の集 合Dを抽出し、 (d)集合Cと集合Dで対応する画素の階 調について回帰分析を行い、その結果から 画像Aの背景部分と画像Bのそれに対応す る部分の階調間の変換係数を求め、 (e)該変換係数を用いて画像Bを補正し つつ画像Aから画像Bを減算することを特 徴とする図形画像の背景消去方法。 2 前記画像Aから背景画像の部分画像を分離する手段
が、画像レベルにしきい値を設定 し、該しきい値以下の部分を背景とすることである特許
請求の範囲第1項に記載の図形画像の背景消去方法。 3 前記画像Aから背景画像の部分画像を分離する手段
が、図形部分と背景部分のテキス チャの違いを利用することである特許請求の範囲第1項
に記載の図形画像の背景消去方 法。
[Claims] 1. A grayscale image in which the background is superimposed on the figure to be extracted (hereinafter referred to as image A), and a grayscale image with only the background (hereinafter referred to as image B).
In an image background removal method that removes the background and extracts only the figure to be extracted, (a) separates a partial image of the background image from image A, and (b) extracts an appropriate number of images from the partial image. (c) extract a set D of pixels corresponding to set C in image B; (d) perform regression analysis on the gradation of corresponding pixels in set C and set D; From the results, find a conversion coefficient between the gradations of the background part of image A and the corresponding part of image B, and (e) subtract image B from image A while correcting image B using the conversion coefficient. A featured method for removing backgrounds from graphic images. 2. The figure according to claim 1, wherein the means for separating a partial image of the background image from the image A is to set a threshold at the image level, and set a portion below the threshold as the background. How to erase the background of an image. 3. The background erasing method for a graphic image according to claim 1, wherein the means for separating the partial image of the background image from the image A is to utilize a difference in texture between the graphic part and the background part.
JP62136654A 1987-05-30 1987-05-30 Image background erasing method Expired - Fee Related JPH07122903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62136654A JPH07122903B2 (en) 1987-05-30 1987-05-30 Image background erasing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62136654A JPH07122903B2 (en) 1987-05-30 1987-05-30 Image background erasing method

Publications (2)

Publication Number Publication Date
JPS63301374A true JPS63301374A (en) 1988-12-08
JPH07122903B2 JPH07122903B2 (en) 1995-12-25

Family

ID=15180382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62136654A Expired - Fee Related JPH07122903B2 (en) 1987-05-30 1987-05-30 Image background erasing method

Country Status (1)

Country Link
JP (1) JPH07122903B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02166567A (en) * 1988-12-20 1990-06-27 Fujitsu Ltd Personal collating device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101915426B1 (en) * 2016-03-22 2018-11-05 선전 구딕스 테크놀로지 컴퍼니, 리미티드 Method, device and terminal for correcting fingerprint image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02166567A (en) * 1988-12-20 1990-06-27 Fujitsu Ltd Personal collating device

Also Published As

Publication number Publication date
JPH07122903B2 (en) 1995-12-25

Similar Documents

Publication Publication Date Title
JP2686274B2 (en) Cell image processing method and apparatus
JP2010525486A (en) Image segmentation and image enhancement
JP3035920B2 (en) Moving object extraction device and moving object extraction method
JPS6042990B2 (en) Pattern recognition method
US5621825A (en) Image processor, image processing method and apparatus applying same
KR960002548B1 (en) The method and the system for specific image fetching
JPS63301374A (en) Vanishing method for background of image
US20040037475A1 (en) Method and apparatus for processing annotated screen capture images by automated selection of image regions
JP2732608B2 (en) Background image erasing and binarization processing method for linear figure image and apparatus therefor
Sim et al. Effects of video filters for learning an action recognition model for construction machinery from simulated training data
JP2841866B2 (en) Image processing apparatus and method and its application
US5532843A (en) Parallel processing apparatus based on arbitrary determination of processing areas of image data
JP3008438B2 (en) Binary image coding device
KR20240097437A (en) Method and apparatus for multi-channel synchronous object detection
JP2000115522A (en) Picture processor
JP2509448B2 (en) How to reduce the amount of image information
CN116245744A (en) Classroom blackboard pure blackboard writing reduction method based on target detection
JP2024077091A (en) Method and device for creating teacher data
JPH0385681A (en) Picture processor
JPH08115424A (en) Picture processor
JPH0129643Y2 (en)
JP2003228691A (en) Slip read device and program for processing slip read
JPH10187967A (en) Template matching method and device
JPS638512B2 (en)
JPH077666A (en) Object extracting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees