JPS59114687A - 画像デ−タの2値化方法 - Google Patents

画像デ−タの2値化方法

Info

Publication number
JPS59114687A
JPS59114687A JP57224318A JP22431882A JPS59114687A JP S59114687 A JPS59114687 A JP S59114687A JP 57224318 A JP57224318 A JP 57224318A JP 22431882 A JP22431882 A JP 22431882A JP S59114687 A JPS59114687 A JP S59114687A
Authority
JP
Japan
Prior art keywords
point
image
threshold value
image data
picture
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
JP57224318A
Other languages
English (en)
Other versions
JPS6353584B2 (ja
Inventor
Haruhiko Yokoyama
晴彦 横山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP57224318A priority Critical patent/JPS59114687A/ja
Publication of JPS59114687A publication Critical patent/JPS59114687A/ja
Publication of JPS6353584B2 publication Critical patent/JPS6353584B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、画像の濃淡データ(以後画像データと略す)
を部分画像に分割し、各部分画像の画像データの平均値
から、補間式により各点におけるしきい値を決定して2
値化を行なう画像データの2値化方法に関するものであ
る。
従来例の構成とその問題点 従来例における、画像の2値化方法を以下に述べる。画
像データを、配列1di、+1≦i<A、1≦j≦8で
表わす。A、BはそれぞれX座標方向、y座標方向の画
像サイズである。しきい値の初期値t。
と、0(k(1なる係数kを与えて、次の漸化式(1)
と(2)により、各点におけるしきい値+t、、+13
i<A、’+5;j≦Bを算出する。
画像データ(d・)としきい値(t、lより、(3)式
1] により、2値画像データib、、+1イiイA、1<j
鴇を求める。
ちなみに、水平方向の画像サイズB140とし、しきい
値の初期値t。を10、係数kを0.2とおいて、各点
のしきい値を求めた例を第1図に示した。
第1図の1は、水平な1ライン上の画像データ、第1図
の2は、上記方法で求めた同じライン上のしきい値から
得られた2値画像データをあられす。
この方法の欠点は、水平方向の画像データの変化はしき
い値に影響するのに、垂直方向の画像データの変化はし
きい値に影響しないので、垂直方向の明るさの変化をう
まく2値化できない場合があることである。
発明の目的 本発明は、以上の欠点に鑑み、垂直方向の明るさの変化
を水平方向と同じようにう壕くとらえて2値化する画像
データの2値化方法を提供するものである。
発明の構成 本発明は画像をn個の水平ラインとm個の垂直ラインに
よってm X n個の同じ大きさの部分画像に分割し、
部分画像の濃淡データの平均をその部分画像の中心点に
おける2値化しきい値とし、前記mxn個の部分画像の
m X n個の中心点におけるしきい値を定め、つぎに
それらの点のうち長方形の頂点をなす位置にある隣接し
た4点01 * fI L(tl、r2L(N2.JI
L(+2.J2)  (tl<12++1<+2)にお
ける前記方法によって定まった2値化しきい値t11J
1・1山2・112j1・t12j2がら・この長方形
内部の任意の点(i、i)におけるしきい値ti+]を
補間式 %式% ) (1) により算出して、画像上の各点における2値化しきい値
を得、しかる後に画像上の各点で濃淡データ値と、上記
2値化しきい値を比較することにょって、2値画像デー
タを作成することによシ、求めたい対象を2値化して、
対象を周囲と区別することを容易にする。
実施例の説明 以下本発明の実施例の画像の2値化方法を図面によシ説
明する。第3図は、AxBOサイズの画像である。これ
をm x n個の同じ大きさの部分画像Pklに分割す
る。(1≦に≦m、1≦l≦n)第4図は、各部分画像
Pklの中心位置qkl=(xk、yl) tv分布図
である。Pkl内の画像データの平均f rnk、gと
し、これをP kitの中心位置qk1= (xk、 
yl)におけるしきい値tXk、 7iとする。Iqk
l;1≦k<m、1≦l≦n)以外の点におけるしきい
値は以下のように決める。
第5図は、全体画像を、ql 11qm1 +qmn+
q1nの4点を順次結んでできる長方形yの領域と、そ
の外側の領域p //を図示したもの。P′に含捷れる
画像−Fの任意点(i、Dは、’ qM ’ 1 <k
<m、 1<71<Bのうち長方形の頂点をなすある4
点に囲まれる。即ち、X k’−1< X k+ s、
 、 71≦j≦”7+1が成立するようなに、7が存
在するN1j)を囲む4点は(xl(+3’k) r 
(xlc+Vk−1−1L(”k+1 tVk)l (
”k+117に+1 )である )。 (i+j)Kお
けるしきい値”yl を次の補間式(2)によって定め
る。
tij””!”k+1 1)(y7+1  )戸txk
yf(”k+1−リ(j−y7) ・txk74(、+
(11()(y、、−2)・txh+yp<’ xh)
(j−5r7)・tX1+t 、7.g+t +/”k
+1−Xk)(y、+1−yl)     =−山−−
旧=−(5)((5)式は(1)式でxk=111xk
+1=12 、yl=i113’l+1=”2とおいた
ものと同一である。) P“に属する点(i、i)について(i、j)に最も近
いP′の点(z/、j/)をえらび、補間式(2)で得
られた(i′+]’)のしきい値1.. −/を(iI
+)のしき”  +] い値t とする。以上で得られたしきい値は、画1] 像上で連続的に変化する。点(i、i)における画像デ
ータ値をd・・とじ、(6)式により、2値画像デー1 りす、を求める。
発明の効果 以上、本発明によると、明暗の差の小さな画像や、照明
ムラのある画像に対しても、部分画像すイズを適当に設
定することによシ、求めたい対象を2値化して周囲と区
別することが容易になった。
【図面の簡単な説明】
第1図は画像データと従来例の方法によって求めたしき
い値のグラフ、第2図は第1図のデータから得られた2
値画像データのグラフ、第3図は画像を部分画像への分
解方法の説明図、第4図は各部分画像の中心位置の分布
図、第5図は本発明の一実施例の2値化方法の説明図で
ある。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1

Claims (1)

  1. 【特許請求の範囲】 画像をn個の水平ラインとm個の垂直ラインによってm
     X n個の同じ大きさの部分画像に分割し、部分画像
    の濃淡データの平均を、その部分画像の中心点における
    2値化しきい値とし、前記m x n個の部分画像のm
     x n個の中心点におけるしきい値を定め、つぎにそ
    れらの点のうち長方形の頂点をなす位置にある隣接した
    4点(’1+]IL(11+]2)D2+ 11 L 
    (12+ 12)(’1<12t 31<12)におけ
    る前記方法によって定まった2値化しきい値ti1 j
    l Iti1j2’  t2j11ti2j2から、こ
    の長方形内部の任意の点(i、 i)におけるしきい値
    ti、3 k補間式%式% (1) により算出して、画像上の各点における2値化しきい値
    を得、しかる後に画像上の各点で濃淡データ値と、上記
    2値化しきい値を比較することによって、2値画像デー
    タを作成する画像データの2値化方法。
JP57224318A 1982-12-20 1982-12-20 画像デ−タの2値化方法 Granted JPS59114687A (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57224318A JPS59114687A (ja) 1982-12-20 1982-12-20 画像デ−タの2値化方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57224318A JPS59114687A (ja) 1982-12-20 1982-12-20 画像デ−タの2値化方法

Publications (2)

Publication Number Publication Date
JPS59114687A true JPS59114687A (ja) 1984-07-02
JPS6353584B2 JPS6353584B2 (ja) 1988-10-24

Family

ID=16811866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57224318A Granted JPS59114687A (ja) 1982-12-20 1982-12-20 画像デ−タの2値化方法

Country Status (1)

Country Link
JP (1) JPS59114687A (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61194580A (ja) * 1985-02-25 1986-08-28 Nippon Telegr & Teleph Corp <Ntt> 濃淡画像の2値化方法
JP2009070387A (ja) * 2007-09-12 2009-04-02 Core Logic Inc 映像処理装置と方法及びその記録媒体

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61194580A (ja) * 1985-02-25 1986-08-28 Nippon Telegr & Teleph Corp <Ntt> 濃淡画像の2値化方法
JP2009070387A (ja) * 2007-09-12 2009-04-02 Core Logic Inc 映像処理装置と方法及びその記録媒体

Also Published As

Publication number Publication date
JPS6353584B2 (ja) 1988-10-24

Similar Documents

Publication Publication Date Title
JP3740065B2 (ja) 領域分割された映像の領域特徴値整合に基づいた客体抽出装置およびその方法
EP1274228A2 (en) Method for representing a digital color image using a set of palette colors based on detected important colors
JP2004508639A (ja) 画像のマッチング
CN1460380A (zh) 用于分割多重分辨率视频对象的方法
US7848567B2 (en) Determining regions of interest in synthetic images
JP3634266B2 (ja) カラー映像処理方法及びその装置
JP2000181992A (ja) カラー文書画像認識装置
JP2002165105A (ja) 画像処理装置及びその方法並びに記憶媒体
JP2003162719A (ja) ディジタルイメージの中のパターンの検出
CN116579946A (zh) 图像轮廓保留的高斯模糊方法以及相关装置
JP2004508641A (ja) ディジタル画像のセグメンテーション
CN1153470C (zh) 静态图象产生方法和装置
US7689060B2 (en) Digital image processing method transforming a matrix representation of pixels into a vector representation
JPH10187972A (ja) 光源色の判定方法
Ablameyko et al. Vectorization and representation of large-size 2-D line-drawing images
JP2003069819A (ja) 画像処理装置及び画像処理方法
CN111986277B (zh) 基于灰度值的图像局部比对方法、装置、设备和介质
JP2988097B2 (ja) 濃淡画像の領域分割方法
CN115908114A (zh) 黑白漫画风格的二值化图片转化方法、装置、设备和介质
Wang et al. Color image segmentation and understanding through connected components
Wilson et al. Algorithm for forming relationships between objects in a scene
JP3115725B2 (ja) 背景付き文字列からの文字列画像の抽出処理方式
JP3295561B2 (ja) 画像処理装置
JP3060922B2 (ja) 特徴生成装置
CN111161250A (zh) 一种多尺度遥感图像密集房屋检测方法及装置