JP3318588B2 - Local binarization method - Google Patents

Local binarization method

Info

Publication number
JP3318588B2
JP3318588B2 JP2000056170A JP2000056170A JP3318588B2 JP 3318588 B2 JP3318588 B2 JP 3318588B2 JP 2000056170 A JP2000056170 A JP 2000056170A JP 2000056170 A JP2000056170 A JP 2000056170A JP 3318588 B2 JP3318588 B2 JP 3318588B2
Authority
JP
Japan
Prior art keywords
threshold value
image
cell
local
binarized
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.)
Expired - Fee Related
Application number
JP2000056170A
Other languages
Japanese (ja)
Other versions
JP2001245148A (en
Inventor
正弘 野田
努 遠藤
正浩 石川
満博 青木
巨貴 伊藤
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.)
Chuo Electronics Co Ltd
Original Assignee
Chuo Electronics 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 Chuo Electronics Co Ltd filed Critical Chuo Electronics Co Ltd
Priority to JP2000056170A priority Critical patent/JP3318588B2/en
Publication of JP2001245148A publication Critical patent/JP2001245148A/en
Application granted granted Critical
Publication of JP3318588B2 publication Critical patent/JP3318588B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技.術分野】多値画像から2値画像を取
得する画像処理方法に関する。
The present invention relates to an image processing method for obtaining a binary image from a multi-valued image.

【0002】[0002]

【従来の技術】従来技術による多値画像の2値化方法に
ついて図3のフローチャートを参照しながら説明する。
従来技術では、多値画像(ステップS101)に対する
輝度ヒストグラム(ステップS102)から一律のしき
い値を求め(ステップS103)、前記一律のしきい値
を用いて2値化し(ステップS104)、2値画像を取
得していた(ステップS105)。
2. Description of the Related Art A conventional binarizing method of a multi-valued image will be described with reference to a flowchart of FIG.
In the prior art, a uniform threshold is obtained from a luminance histogram (step S102) for a multi-valued image (step S101) (step S103), and binarization is performed using the uniform threshold (step S104). An image has been obtained (step S105).

【0003】[0003]

【発明が解決しようとする課題】しかしながら全画面一
律のしきい値を用いて2値化を行なった場合、「ノイ
ズ」と「薄い図形」の判別が困難であった。
However, when binarization is performed using a uniform threshold value for the entire screen, it is difficult to distinguish between "noise" and "thin figure".

【0004】[0004]

【課題を解決するための手段】処理対象画像を分割して
n×n画素の「セル」を取得し、前記セルを中心にm×
m画素の測定領域を設定する(n<m)。さらに前記測
定領域内の輝度ヒストグラムから前記セルに対する局所
的しきい値を求め、該局所的しきい値を用いてセルを2
値化する処理を処理対象画像全領域のセルに対して繰り
返して実施することにより全処理対象画像を2値化す
る。なお前記局所的しきい値に予め制限値を設定してお
き、ノイズ成分を取り出すことを抑制する。
An image to be processed is divided to obtain a “cell” of n × n pixels, and m × n pixels are centered on the cell.
A measurement area of m pixels is set (n <m). Further, a local threshold value for the cell is obtained from a luminance histogram in the measurement area, and the local threshold value is used to divide the cell into two.
By repeatedly performing the process of converting the value into the cells of the entire region of the image to be processed, all the images to be processed are binarized. It should be noted that a limit value is set in advance for the local threshold value, and the extraction of noise components is suppressed.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施形態を図面を
参照して説明する。判別分析2値化法は輝度分布の双峰
性の高いデータに対して有効であるが、3要素から成り
立つような画像データ等では限界がある。図1に輝度成
分が3要素から成り立つ画像データの輝度ヒストグラム
を示す。例えば、しきい値を「濃い」方に設定すると
「記号」の抽出は容易に行えるが、「淡い」方に設定す
ると、「記号」がつぶれるなど急速に画質が低下する。
しかしながら地図データを直接人間が見た場合、背景を
含めて多くの情報を抽出して認識することができる。こ
れは人間の視覚の特徴として、刺激の強い部分の周囲に
対してはその感度をさげ、不明な部分に対しては、周囲
との差分(微分)で強調して感度を上げているためであ
る。そこで本発明による局所的2値化方法では人間の視
覚メカニズムを援用して2値画像を取得する。
Embodiments of the present invention will be described below with reference to the drawings. The discriminant analysis binarization method is effective for data having a high bimodal luminance distribution, but there is a limit in image data or the like consisting of three elements. FIG. 1 shows a luminance histogram of image data in which a luminance component is composed of three elements. For example, if the threshold value is set to “dark”, “symbols” can be easily extracted, but if the threshold value is set to “light”, the image quality deteriorates rapidly, such as the “symbols” being crushed.
However, when the map data is directly viewed by a human, much information including the background can be extracted and recognized. This is because, as a feature of human vision, the sensitivity is reduced around areas with strong stimuli, and the sensitivity is increased by emphasizing the difference (differential) with surrounding areas for unknown parts. is there. Therefore, in the local binarization method according to the present invention, a binary image is acquired with the help of a human visual mechanism.

【0006】まず対象画像全体の輝度ヒストグラムを作
成し、判別2値化法を用いて一律のしきい値を取得す
る。次に処理対象画像を分割してn×n画素の「セル」
を取得し、前記セルを中心にしてひとまわり大きい範囲
のm×m画素の測定領域を設定する。さらに前記測定領
域の輝度ヒストグラムを作成し、判別分析2値化法を用
いてセルに対して局所的しきい値を求め、該局所的しき
い値を用いて前記セルを2値化する。なおノイズの取り
出しを抑制するために、予め設定させた制限値によりし
きい値の評価を行う。すなわち処理対象画像全領域に対
する一律のしきい値と局所的しきい値を求め、該局所的
しきい値が前記制限値内であれば該局所的しきい値を用
いてセルを2値化し、前記制限値外であれば一律のしき
い値を用いてセルを2値化する。この処理を処理対象画
像全領域のセルに対して繰り返して実施し、全処理対象
画像を2値化し、2値画像を取得する。
First, a luminance histogram of the entire target image is created, and a uniform threshold value is obtained using a discriminant binarization method. Next, the image to be processed is divided into “cells” of n × n pixels.
Is obtained, and a measurement area of m × m pixels which is slightly larger than the cell is set. Further, a luminance histogram of the measurement area is created, a local threshold value is obtained for the cell using a discriminant analysis binarization method, and the cell is binarized using the local threshold value. In order to suppress noise extraction, a threshold value is evaluated based on a preset limit value. That is, a uniform threshold value and a local threshold value are obtained for the entire image to be processed, and if the local threshold value is within the limit value, the cell is binarized using the local threshold value, If the value is outside the limit value, the cell is binarized using a uniform threshold value. This processing is repeatedly performed on the cells in the entire area of the image to be processed, and all the images to be processed are binarized to obtain a binary image.

【0007】本発明による局所的2値化法について図2
のフローチャートを参照しながら説明する。本発明によ
る局所的2値化方法では、処理対象画像(ステップS
1)を判別2値化法を用いて一律のしきい値を求めると
ともに(ステップS2)、前記処理対象画像を分割して
n×n画素の「セル」取得し(ステップS3)、該セル
を中心にして測定領域(m×m)を設定する(ステップ
S4)。次に該測定領域の輝度ヒストグラムを作成し
(ステップS5)、前記セルに対する局所的しきい値を
求める(ステップS6)。次に前記局所的しきい値の評
価を行い(ステップS7)、前記局所的しきい値が制限
値内である場合(YES)は、該局所的しきい値を採用
し(ステップS8)、セル(n×n)を2値化する(ス
テップS10)。反対に局所的しきい値が制限値を超え
た場合(NO)は、一律のしきい値を採用して(ステッ
プS9)、セル(n×n)を2値化する(ステップS1
0)。この処理を処理対象画像全領域のセルに対して繰
り返して実施し、全処理対象画像を2値化し(ステップ
S11)、2値画像を取得する(ステップS12)。
FIG. 2 shows the local binarization method according to the present invention.
This will be described with reference to the flowchart of FIG. In the local binarization method according to the present invention, the processing target image (step S
A uniform threshold value is obtained using the discriminant binarization method (step S2), and the image to be processed is divided to obtain a “cell” of n × n pixels (step S3). A measurement area (m × m) is set at the center (step S4). Next, a luminance histogram of the measurement area is created (step S5), and a local threshold value for the cell is obtained (step S6). Next, the local threshold value is evaluated (step S7). If the local threshold value is within the limit value (YES), the local threshold value is adopted (step S8), and the cell (N × n) is binarized (step S10). Conversely, if the local threshold value exceeds the limit value (NO), a uniform threshold value is adopted (step S9), and the cell (n × n) is binarized (step S1).
0). This processing is repeatedly performed on the cells in the entire area of the image to be processed, so that all the images to be processed are binarized (step S11), and a binary image is obtained (step S12).

【0008】[0008]

【発明の効果】以上説明したように本発明による局所的
2値化法では、処理対象画像を分割してn×n画素の
「セル」を取得し、前記セルを中心にm×m画素の測定
領域を設定する(n<m)。さらに前記測定領域の輝度
ヒストグラムから前記セルに対する局所的しきい値を求
め、該局所的しきい値を用いてセルを2値化し、この処
理を処理対象画像全領域のセルに対して繰り返して実施
することにより全処理対象画像を2値化する。なおノイ
ズの取り出しを抑制するため局所的しきい値に制限値を
設定し、局所的しきい値が制限値内なら局所的しきい値
を用いてセルを2値化し、局所的しきい値が制限値外な
ら一律のしきい値を用いてセルを2値化する。すなわち
人間の視覚メカニズムを援用し、刺激の強い部分の周囲
に対してはその感度をさげ、不明な部分に対しては周囲
との差分(微分)で強調して感度を上げて多値画像を2
値化するため、「濃い図形」「薄い図形」や「ノイズ」
などを含む画像から多くの情報を抽出して認識すること
ができる。従って本発明は地図データなど「濃い図形」
「薄い図形」や「ノイズ」など、多くの情報を有する画
像から2値画像を取得するのに有効である。
As described above, in the local binarization method according to the present invention, an image to be processed is divided to obtain a "cell" of n × n pixels, and m × m pixels of the cell are centered on the cell. Set the measurement area (n <m). Further, a local threshold value for the cell is obtained from the luminance histogram of the measurement region, the cell is binarized using the local threshold value, and this process is repeatedly performed on the cells in the entire region of the image to be processed. By doing so, all the processing target images are binarized. Note that a limit value is set for the local threshold value in order to suppress noise extraction, and if the local threshold value is within the limit value, the cell is binarized using the local threshold value. If the value is outside the limit value, the cell is binarized using a uniform threshold value. In other words, by using the human visual mechanism, the sensitivity is reduced around the area with strong stimulation, and the unknown area is emphasized with the difference (differential) from the surroundings to increase the sensitivity and increase the multi-valued image. 2
In order to convert to a value, "dark figures", "light figures" or "noise"
A lot of information can be extracted and recognized from the image including the information. Therefore, the present invention relates to "dark figures" such as map data.
This is effective for obtaining a binary image from an image having a lot of information such as “thin figure” and “noise”.

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

【図1】輝度成分が3要素から成り立つ画像の輝度ヒス
トグラム
FIG. 1 is a luminance histogram of an image in which a luminance component is composed of three elements.

【図2】本発明による局所的2値化法についてのフロー
チャート
FIG. 2 is a flowchart of a local binarization method according to the present invention;

【図3】従来技術による2値化法についてのフローチャ
ート
FIG. 3 is a flowchart of a conventional binarization method;

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石川 正浩 東京都八王子市元本郷町1丁目9番9号 中央電子株式会社内 (72)発明者 青木 満博 東京都八王子市元本郷町1丁目9番9号 中央電子株式会社内 (72)発明者 伊藤 巨貴 東京都八王子市元本郷町1丁目9番9号 中央電子株式会社内 (56)参考文献 特開 昭59−178872(JP,A) 特開 平1−108684(JP,A) 特開 昭61−62979(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masahiro Ishikawa 1-9-9 Moto-Hongo-cho, Hachioji-shi, Tokyo Inside Chuo Denshi Co., Ltd. (72) Inventor Mitsuhiro Aoki 1-9-1, Moto-Hongo-cho, Hachioji-shi, Tokyo No. 9 Inside Chuo Denshi Co., Ltd. (72) Inventor Koki Ito 1-9-9 Motohongo-cho, Hachioji-shi, Tokyo Chuo Denshi Co., Ltd. (56) References JP-A-1-108684 (JP, A) JP-A-61-62979 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1/40-1/409

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 処理対象画像を2値化する画像処理方法
において、 処理対象画像全領域に対する一律のしきい値を求めると
ともに、 処理対象画像を(n×n)画素の「セル」に分割し、1
セルを中心にして(m×m)画素の測定領域を設定し
(n<m)、該測定領域内の輝度分布から判別分析2値
化法を用いて前記セルを2値化する局所的しきい値を求
め、 予め設定された制限値によりしきい値の評価を行い、局
所的しきい値が制限値内ならば前記局所的しきい値を用
いて前記セルを2値化し、局所的しきい値が制限値外な
らば前記一律のしきい値を用いて前記セルを2値化し、
この処理を全処理対象画像に対して繰り返すことによっ
て前記処理対象画像を2値化することを特徴とする局所
的2値化方法。
1. An image processing method for binarizing an image to be processed, wherein a uniform threshold value is obtained for the entire region of the image to be processed, and the image to be processed is divided into “cells” of (n × n) pixels. , 1
A measurement area of (m × m) pixels is set around the cell (n <m), and a localization is performed on the luminance distribution in the measurement area using the discriminant analysis binarization method to binarize the cell. A threshold value is determined, a threshold value is evaluated based on a preset limit value, and if the local threshold value is within the limit value, the cell is binarized using the local threshold value, and the local If the threshold is outside the limit, the cell is binarized using the uniform threshold,
A local binarization method, wherein the processing target image is binarized by repeating this processing for all the processing target images.
JP2000056170A 2000-03-01 2000-03-01 Local binarization method Expired - Fee Related JP3318588B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000056170A JP3318588B2 (en) 2000-03-01 2000-03-01 Local binarization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000056170A JP3318588B2 (en) 2000-03-01 2000-03-01 Local binarization method

Publications (2)

Publication Number Publication Date
JP2001245148A JP2001245148A (en) 2001-09-07
JP3318588B2 true JP3318588B2 (en) 2002-08-26

Family

ID=18577170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000056170A Expired - Fee Related JP3318588B2 (en) 2000-03-01 2000-03-01 Local binarization method

Country Status (1)

Country Link
JP (1) JP3318588B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4322032B2 (en) * 2003-03-28 2009-08-26 株式会社フローベル Autofocus device and autofocus method
US7333656B2 (en) 2003-11-26 2008-02-19 Matsushita Electric Industrial Co., Ltd. Image processing method and image processing apparatus
JP5162874B2 (en) * 2006-10-05 2013-03-13 株式会社明電舎 Trolley wire wear measuring device
JP4912374B2 (en) 2008-09-10 2012-04-11 富士フイルム株式会社 Face illustration drawing generation method and face illustration drawing generation apparatus
US11128781B2 (en) 2019-10-29 2021-09-21 Kyocera Document Solutions Inc. Image processing apparatus

Also Published As

Publication number Publication date
JP2001245148A (en) 2001-09-07

Similar Documents

Publication Publication Date Title
CN110008969B (en) Method and device for detecting image saliency region
CN109785285B (en) Insulator damage detection method based on ellipse characteristic fitting
JP3017384B2 (en) Feature region extraction device
CN110346699B (en) Insulator discharge information extraction method and device based on ultraviolet image processing technology
JP2022553979A (en) Medical image processing method, image processing method, medical image processing device, image processing device, computer device and program
CN109447912B (en) Fluorescent image self-adaptive enhancement and noise reduction method of fluorescent navigation endoscope system
JP4201602B2 (en) Image processing apparatus and method for improving image, and image display apparatus having the image processing apparatus
JP2004265264A (en) Image processor
JP3318588B2 (en) Local binarization method
JP5286215B2 (en) Outline extracting apparatus, outline extracting method, and outline extracting program
CN113538304A (en) Training method and device of image enhancement model, and image enhancement method and device
JP2000357226A (en) Method for binarizing light and shade image and recording medium where binarizing program is recorded
JPH10285399A (en) Binarization method for image
Das et al. Cloud detection and cloud removal of satellite image—A case study
Huang et al. An efficient single image enhancement approach using luminance perception transformation
Asadi et al. Improving dark channel prior for single image dehazing
JP2002084422A (en) Image processor
JPH0512441A (en) Edge image generator
Wu et al. Multiexposure image fusion for dynamic scenes
US20060110039A1 (en) Adaptive segmentation of television images
CN116228559A (en) Image enhancement method, system, medium and image processing device
US6778296B1 (en) Color imaging processing method with boundary detection and enhancement
CN113962891A (en) Image denoising method based on multi-resolution wavelet transform
JP3460216B2 (en) Binarization method and apparatus
JP3785306B2 (en) Image processing method and apparatus

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080621

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090621

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090621

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100621

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110621

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120621

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130621

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees