JPS63219081A - Image binarization method - Google Patents

Image binarization method

Info

Publication number
JPS63219081A
JPS63219081A JP62051922A JP5192287A JPS63219081A JP S63219081 A JPS63219081 A JP S63219081A JP 62051922 A JP62051922 A JP 62051922A JP 5192287 A JP5192287 A JP 5192287A JP S63219081 A JPS63219081 A JP S63219081A
Authority
JP
Japan
Prior art keywords
image
illumination
binarization
remove
background
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62051922A
Other languages
Japanese (ja)
Inventor
Yoichi Seto
洋一 瀬戸
Nobuo Hamano
浜野 亘男
Fuminobu Furumura
文伸 古村
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62051922A priority Critical patent/JPS63219081A/en
Publication of JPS63219081A publication Critical patent/JPS63219081A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To remove the influence of the non-uniformity of the illumination and background in an image and the variety of the reflecting characteristic of an object by providing a threshold automatic determining function and an adaptive capacity to an image strength change depending on a place. CONSTITUTION:An input image 10, in which an illumination component and the reflecting characteristic of an object are non-uniform, is stored first through an image analyzing processing part 60 to an image file 90. next, for the stored image, a binarizing image to remove the non-conformity by the processing part 60 is calculated, and outputted to a conversational image displaying terminal 70. In this case, a filter to presume the noise of the illumination component, etc. is obtained and after a low frequency component is extracted and removed from the inside of the image by the filter, the image is divided into plural small blocks. A local threshold based on a discriminating analyzing method is calculated for respective blocks, the image is binarized (block threshold value determining processing) and displayed at a displaying terminal 70. Thus, the binarization to remove the influence of the non-uniformity of the illumination and background in the image and the variety of the reflecting characteristic of the object can be executed and the binarizing accuracy can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像解析処理に係り、特に照射成分の分布が
不均一で、かつ多様な反射特性をもつ対象物が存在する
ような悪条件下で撮影された画像の2値化に好適な2値
化方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to image analysis processing, particularly when the distribution of illumination components is uneven and there are objects with various reflection characteristics. The present invention relates to a binarization method suitable for binarizing images taken below.

[従来の技術] 従来の画像2値化方式は、長尾真編岩披講座情報処理料
学21「パターン認識と図形処理J 1983年3月岩
波書店151頁から153頁に記載されているように、
(a)6度ヒストグラムの谷検出法、(b)判別分析に
よる方法、(Q)対話形式による方法がある。
[Prior art] The conventional image binarization method is as described in Nagao Makoto Iwahiro's Information Processing Science 21 "Pattern Recognition and Graphic Processing J, March 1983, Iwanami Shoten, pages 151 to 153. ,
There are (a) a 6-degree histogram valley detection method, (b) a discriminant analysis method, and (Q) an interactive method.

観測した濃淡画像から、背景と対象領域より成る2値画
像を生成する際には1画像中の画像強度特性の変動つま
り、照明および背景の不均一性、および対象物の反射特
性の多様性の問題があるが。
When generating a binary image consisting of a background and a target area from an observed grayscale image, variations in image intensity characteristics within one image, that is, non-uniformity of illumination and background, and diversity of reflection characteristics of the target are considered. There is a problem though.

従来方式では、これにたいする対策が不充分であった。Conventional methods have insufficient countermeasures against this problem.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は1次の2点について配慮がされておらず
、広範囲の種類の物質が同一画像上に存在する場合の2
値化を行う際、精度に問題があった。
The above-mentioned conventional technology does not take into consideration the two points of first order, and when a wide range of types of substances exist on the same image,
There was a problem with accuracy when converting into values.

(イ)照明および背景の不拘−性二同−画像中で照明の
分布が不均一であると、たとえば同じ反射特性をもつ対
象物であっても、その位置により、観測される画像強度
が異なる。従ってこのような状態の画像に2値化のため
の単一のしきい値を設定するのは不適当である。背景分
布の不均一性でも同じことが言える。
(b) Illumination and background inconsistency - If the distribution of illumination in an image is non-uniform, the observed image intensity will differ depending on its position, even for objects with the same reflection characteristics. . Therefore, it is inappropriate to set a single threshold value for binarization for images in such a state. The same can be said for the heterogeneity of the background distribution.

(ロ)対象物の反射特性の多様性:複数種類の対象物が
存在し、各々異なる反射特性をもっている場合は、その
観測画像中の画像強度の変動が大きく (イ)と同様、
単一のしきい値を設定するのは不適当である。
(b) Diversity of reflection characteristics of objects: If there are multiple types of objects, each with different reflection characteristics, the image intensity in the observed image will vary greatly, as in (b).
It is inappropriate to set a single threshold.

本発明の目的は、上記問題のある画像2値化処理におい
てしきい値自動決定機能および場所に依存する画像強度
変動への適応能力を備えた2値化力式を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a binarization formula that has an automatic threshold value determination function and an adaptability to location-dependent image intensity fluctuations in image binarization processing, which has the above-described problem.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、(イ)照明および背景の不均一性に対して
は、1測画像からその低周波成分を差引くことにより変
動要因を除去する。(低周波成分は観測画像を低域通過
フィルタに通すことにより得る。)(ロ)対象物の反射
特性の多様性に対しては、低周波成分の除去された画像
を複数の小ブロックに分割し、各ブロック毎に判別分析
法にもとづく局所的しきい値を算出して2値化すること
により達成される。
The above purpose is (a) to remove the variation factor for non-uniformity of illumination and background by subtracting the low frequency component from the single measurement image. (Low-frequency components are obtained by passing the observed image through a low-pass filter.) (B) To account for the diversity of the reflection characteristics of the target, the image from which the low-frequency components have been removed is divided into multiple small blocks. This is achieved by calculating a local threshold value for each block based on a discriminant analysis method and binarizing it.

〔作用〕[Effect]

(イ)の観測画像からその低周波成分を差引くことによ
り照明および背景の不均一性を除去する方法は、リモー
トセンシング画像の場合、地上の対象物の空間周波数に
比べて太陽光等の照明の地上における分布(また背景の
画像強度分布)の空間周波数は十分に低いことに着目し
て低周波の照明、あるいは背景成分を除去している。
In the case of remote sensing images, the method (b) of removing non-uniformity in illumination and background by subtracting the low frequency components from the observed image is a method in which illumination such as sunlight Focusing on the fact that the spatial frequency of the distribution on the ground (and background image intensity distribution) is sufficiently low, low-frequency illumination or background components are removed.

(ロ)の低周波成分の除去された画像を複数ブロックに
分割し、ブロック毎に判別分析法により局所的しきい値
を算出する方法により、対象物の反射特性の違いに基づ
く局所的画像強度変動に対応できる。
(b) The image from which low frequency components have been removed is divided into multiple blocks, and a local threshold value is calculated for each block using a discriminant analysis method. Able to respond to fluctuations.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図〜第3図により説明す
る。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 3.

実施例は、濃淡の衛星画像より2値化画像を得ることを
目的とする画像解析処理システムである。
The embodiment is an image analysis processing system whose purpose is to obtain a binarized image from a grayscale satellite image.

本システムの概要を第2図に示す。照明成分および対象
物の反射特性の不均一な入力画像10を入力し画像ファ
イル90に格納する。格納された画像は1画像解析処理
部60にて、上記不均一性を除去した2値化画像を算出
し会話型画像表示端末7oへ出力する。
Figure 2 shows an overview of this system. An input image 10 with non-uniform illumination components and reflection characteristics of an object is input and stored in an image file 90. A single image analysis processing section 60 calculates a binarized image from which the non-uniformity has been removed from the stored image and outputs it to the conversational image display terminal 7o.

画像解析処理部60において照明成分等を精密に推定す
る際、画像解析処理システム使用者80は、画像中で検
出したい対象物の大きさを仮定し照明成分等の雑音を推
定するフィルタを求める。
When accurately estimating illumination components and the like in the image analysis processing unit 60, the image analysis processing system user 80 assumes the size of the object to be detected in the image and finds a filter for estimating noise such as the illumination components.

画像解析処理部60の詳細を以下に述べる。Details of the image analysis processing section 60 will be described below.

まず最初に、太陽光等により生じた画像上の不均一性を
以下のように除去する。
First, non-uniformity on the image caused by sunlight or the like is removed as follows.

画像中からその低周波成分を除去するため、入力画像f
 (x、y)10を第3図(a)の特性を有するローパ
スフィルタh  (x、y)20に通し低周波成分を抽
出する。
In order to remove the low frequency components from the image, the input image f
(x, y) 10 is passed through a low-pass filter h (x, y) 20 having the characteristics shown in FIG. 3(a) to extract low frequency components.

ローパスフィルタh Cxt y’)の特性および決定
方法は次のように行う。
The characteristics and determination method of the low-pass filter h Cxt y') are performed as follows.

画像強度差演算30後の出力をg (X、y)とすると
、 g(x+  y)  = f (xt  y)−f (
x+  y)oh(x、y)  (1)嘲:コンボリュ
ーション 周波数域では、 G(ω8.ωy)=F(ω8.ωy)(1−IH(ω8
.ω、)) (2)ここでG、F、Hは、それぞれg、
f、hの周波数域表現である。
If the output after image intensity difference calculation 30 is g (X, y), then g (x + y) = f (xt y) - f (
x+y)oh(x,y) (1) Mocking: In the convolution frequency range, G(ω8.ωy)=F(ω8.ωy)(1-IH(ω8
.. ω, )) (2) Here, G, F, and H are g, respectively.
This is a frequency domain representation of f and h.

(2)式よりG(ω8.ωy)は、入力画像F(ω8.
ωy)に(1−H,(ω8.ωy))で表わされる周波
数特性に持つフィルタを作用させた結果である。
From equation (2), G(ω8.ωy) is the input image F(ω8.ωy).
This is the result of applying a filter having a frequency characteristic expressed by (1-H, (ω8.ωy)) to ωy).

たとえば、h(ω8.ωy)として次の矩形関係を設定
すると O;上記以外 この時のl H((,1,、ωy) lは第3図(a)
に示すようにS inc関数の絶対値となる。ただし同
図では簡単のためωツ=0 とおいて−次元表示してい
る。一方1−IH(ω8.ωy)1で表わされる周波数
特性を第3図(b)に示す。すなわちこれが入力画像に
対する減衰特性となる。
For example, if we set the following rectangular relationship as h(ω8.ωy), O; other than the above, in this case l H((,1,,ωy) l is shown in Figure 3(a)
This is the absolute value of the S inc function as shown in . However, in the figure, for simplicity, ω = 0 and a -dimensional representation is shown. On the other hand, the frequency characteristic represented by 1-IH(ω8.ωy)1 is shown in FIG. 3(b). In other words, this becomes the attenuation characteristic for the input image.

ところで、入力画像中から照明成分、および背景成分を
有効に除去するには、これらの成分の周波数特性を推定
し、それに基づいた減衰特性を決定することが必要であ
る。しかし、入力画像から照明成分、および背景成分を
精密に推定するのは一般に困難である。よって本方式で
は次の近似によりh(x、y)を求める。すなわち画像
解析システムの使用者は、画像中で検出したい最大の正
方形を仮定し、その−辺の画素数をh(x、y)の定義
域の一辺の大きさNとする。この範囲でのh(x、y)
の形状としては、(3)式の矩形関数の他の通過域での
周波数特性にリップルの発生しない利点を持つガウス関
数も使用可能である。ここで述べたh(xty)の決定
方法では一辺の長さがN画素以下の対象物であればフィ
ルタのための照明成分あるいは、背景成分と共に除去さ
れてしまうことはない。
By the way, in order to effectively remove illumination components and background components from an input image, it is necessary to estimate the frequency characteristics of these components and determine the attenuation characteristics based on the frequency characteristics. However, it is generally difficult to accurately estimate illumination components and background components from an input image. Therefore, in this method, h(x, y) is determined by the following approximation. That is, the user of the image analysis system assumes the largest square that he wants to detect in the image, and sets the number of pixels on the negative side to the size N of one side of the domain of h(x, y). h(x,y) in this range
As the shape of , it is also possible to use a Gaussian function which has the advantage of not generating ripples in the frequency characteristics in other passbands than the rectangular function in equation (3). In the method for determining h(xty) described here, if the object has a side length of N pixels or less, it will not be removed together with the illumination component for the filter or the background component.

次に反射特性の多様性に対しては、上記のように低周波
成分の除去された画像を複数の小ブロックに分割し、各
ブロック毎に判別分析法に基づく局所的しきい値を算出
して画像2値化を行う。これをブロックしきい値決定処
理40と呼ぶ、結果を2値化画像表示50により出力す
る。
Next, in order to deal with the diversity of reflection characteristics, the image from which the low frequency components have been removed is divided into multiple small blocks as described above, and a local threshold value based on the discriminant analysis method is calculated for each block. Then perform image binarization. This is called block threshold value determination processing 40, and the result is output on a binarized image display 50.

ブロックの大きさは、2値化精度に関係する。The size of the block is related to the binarization accuracy.

ブロックを小さくとれば、2値化精度は向上するが、処
理時間は、増大する。抽出対像物の大きさにより決定す
る。実施例によれば本方式は、対象物の輪郭のみの抽出
で画像φの雑音も少ない。また画像全体を単一しきい値
で処理した場合より画像強度の異なる領域において、本
方式による2値化画像の方が対象物の構造を詳細に表現
でき、2値化精度向上の効果がある。
If the blocks are made smaller, the binarization accuracy will improve, but the processing time will increase. Determined by the size of the object to be extracted. According to the embodiment, this method extracts only the outline of the object, and the noise in the image φ is also small. In addition, compared to processing the entire image with a single threshold, the binarized image produced by this method can express the structure of the object in more detail in areas with different image intensities, and has the effect of improving binarization accuracy. .

本発明は、リモートセンシングを対象とした画像解析シ
ステムの他にも微細形状解析を必要とする工業検査、例
えば走査型電子顕微鏡(SEM)あるいは医療における
染色体検査にも適用可能である。
The present invention is applicable not only to image analysis systems for remote sensing but also to industrial inspections that require microscopic shape analysis, such as scanning electron microscopes (SEMs) or chromosome inspections in medicine.

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

本発明によれば、画像中の照明および背景の不均一性、
対象物の反射特性の多様性の影響を除去した2値化が行
えるので2値化精度向上の効果がある。
According to the invention, illumination and background non-uniformity in the image;
Since binarization can be performed while removing the influence of the diversity of reflection characteristics of the object, there is an effect of improving the binarization accuracy.

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

第1図は、本発明の一実施例の適応型2値化処理手順を
示すフローチャート、第2図は、画像解析処理システム
のブロック構成図、第3図はローパスフィルタおよび低
周波成分除去システムの周第3図
FIG. 1 is a flowchart showing the adaptive binarization processing procedure according to an embodiment of the present invention, FIG. 2 is a block diagram of the image analysis processing system, and FIG. 3 is a diagram of the low-pass filter and low-frequency component removal system. Zhou Diagram 3

Claims (1)

【特許請求の範囲】[Claims] 1、画素強度の2値化処理と2値化画像の表示処理より
なる画像解析処理方式において、入力画像の低周波成分
を抽出し、入力画像と該画像の低周波成分画像の画素強
度差を演算し、該演算後の差画像を小領域に分割し、該
分割した小領域ごとに2値化処理をおこなうことを特徴
とする画像の2値化方式。
1. In an image analysis processing method consisting of binarization processing of pixel intensity and display processing of the binarized image, the low frequency components of the input image are extracted and the pixel intensity difference between the input image and the low frequency component image of the image is calculated. An image binarization method characterized in that a difference image after the calculation is divided into small regions, and a binarization process is performed for each of the divided small regions.
JP62051922A 1987-03-09 1987-03-09 Image binarization method Pending JPS63219081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62051922A JPS63219081A (en) 1987-03-09 1987-03-09 Image binarization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62051922A JPS63219081A (en) 1987-03-09 1987-03-09 Image binarization method

Publications (1)

Publication Number Publication Date
JPS63219081A true JPS63219081A (en) 1988-09-12

Family

ID=12900366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62051922A Pending JPS63219081A (en) 1987-03-09 1987-03-09 Image binarization method

Country Status (1)

Country Link
JP (1) JPS63219081A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016212092A (en) * 2015-05-13 2016-12-15 御木本製薬株式会社 Method for analyzing horny layer cell specimen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016212092A (en) * 2015-05-13 2016-12-15 御木本製薬株式会社 Method for analyzing horny layer cell specimen

Similar Documents

Publication Publication Date Title
Ansari et al. A comprehensive analysis of image edge detection techniques
Sharifi et al. A classified and comparative study of edge detection algorithms
US5081689A (en) Apparatus and method for extracting edges and lines
CN111080661A (en) Image-based line detection method, device and electronic device
JPH0467275A (en) Recognizing method and recognizing device
KR960006477A (en) Error diffusion method binarization method and device
Zhang et al. Efficient fusion scheme for multi-focus images by using blurring measure
JP2005165387A (en) Screen streak defect detection method and apparatus, and display device
KR102386930B1 (en) Apparatus for detecting edge of road image and method thereof
Ushma et al. Object detection in image processing using edge detection techniques
Choudhary et al. A novel approach for edge detection for blurry images by using digital image processing
Bora An optimal color image edge detection approach
JPS63219081A (en) Image binarization method
JPH0217832B2 (en)
Khurana Comparative study on threshold techniques for image analysis
JPH0345898A (en) Image identifying and tracing apparatus
JPH0512440A (en) Edge detection device
JP4008093B2 (en) Isolated area determination device
JP3118484B2 (en) Image segmentation method
Khalil et al. On edge detector using local histogram analysis
CN113286079B (en) Image focusing method and device, electronic equipment and readable storage medium
Mathur Edge Detection Techniques In Image Processing With Elaborative Approach Towards Canny
Nevis Low-contrast enhancement for electro-optic data
Roy Study of some edge detection techniques
Marcel et al. Edge and line detection in low level analysis