Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0659089B2 - Image signal processing method - Google Patents
[go: Go Back, main page]

JPH0659089B2 - Image signal processing method - Google Patents

Image signal processing method

Info

Publication number
JPH0659089B2
JPH0659089B2 JP62327501A JP32750187A JPH0659089B2 JP H0659089 B2 JPH0659089 B2 JP H0659089B2 JP 62327501 A JP62327501 A JP 62327501A JP 32750187 A JP32750187 A JP 32750187A JP H0659089 B2 JPH0659089 B2 JP H0659089B2
Authority
JP
Japan
Prior art keywords
level
image
density
image signal
histogram
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
JP62327501A
Other languages
Japanese (ja)
Other versions
JPH01170274A (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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP62327501A priority Critical patent/JPH0659089B2/en
Publication of JPH01170274A publication Critical patent/JPH01170274A/en
Publication of JPH0659089B2 publication Critical patent/JPH0659089B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、イメージセンサにより画像を走査して得られ
る画像信号を、二値化するための画像処理方法に関する
ものである。
Description: TECHNICAL FIELD The present invention relates to an image processing method for binarizing an image signal obtained by scanning an image with an image sensor.

(発明の技術的背景) CCDラインセンサやCCDエリヤセンサ等のイメージ
センサにより画像を読出し、この画像信号を二値化する
ことが従来より行なわれている。この場合に二値化レベ
ルは一定の固定した値として設定することが考えられる
が、実際には画像はそれぞれ濃度が異なるため二値化レ
ベルを一定に設定することは出来ない。そこで二値化処
理に先だって画像のヒストグラムを求め、このヒストグ
ラムから二値化レベルを決定することが考えられてい
る。たとえば濃度レベル毎の出現頻度をバックグラウン
ド濃度側から順に加算してゆき、この加算値が全画素数
の一定割合(例えば80%)になった濃度レベルを二値
化レベルとするものである(特開昭56−1660
号)。
(Technical background of the invention) It has been conventionally practiced to read an image by an image sensor such as a CCD line sensor or a CCD area sensor and to binarize the image signal. In this case, it is conceivable to set the binarization level as a fixed value, but in reality, since the images have different densities, the binarization level cannot be set constant. Therefore, it is considered that a histogram of an image is obtained before the binarization process and the binarization level is determined from this histogram. For example, the appearance frequency for each density level is sequentially added from the background density side, and the density level at which the added value becomes a fixed ratio (for example, 80%) of the total number of pixels is used as the binarization level ( JP-A-56-1660
issue).

しかしこの場合には、バックグラウンドの山の形状、す
なわちこの山の広がりの程度により二値化レベルは大き
く影響を受け、画像によっては最適な二値化レベルを設
定できないことがある。このためバックグラウンドのノ
イズを含んでしまったり、画像が飛んでしまったりして
画質が低下するという問題があった。
However, in this case, the binarization level is greatly affected by the shape of the background mountain, that is, the extent of the mountain extension, and the optimum binarization level may not be set depending on the image. Therefore, there is a problem in that the image quality is deteriorated due to background noise being included or the image being skipped.

(発明の目的) 本発明はこのような事情に鑑みなされたものであり、画
像が変化しても常に最適な二値化レベルを高精度に設定
でき、画像を二値化処理した後の画質を良好にすること
が可能な画像信号処理方法を提供することを目的とす
る。
(Object of the Invention) The present invention has been made in view of such circumstances, and it is possible to always set the optimum binarization level with high accuracy even if the image changes, and to obtain the image quality after binarizing the image. It is an object of the present invention to provide an image signal processing method capable of improving the image quality.

(発明の構成) 本発明によればこの目的は、フィルム投影画像をイメー
ジセンサで走査して得られる画像信号を所定の二値化レ
ベルにより二値化する画像信号処理方法において、前記
画像信号から濃度に対するヒストグラムを求め、このヒ
ストグラムのバックグラウンドに対応する山が前記イメ
ージセンサの総画素数の約1/40の頻度となる濃度レ
ベルのうち画像を含む濃度レベル側の濃度レベルに一定
濃度レベルを加算または減算した濃度レベルを前記二値
化レベルに設定することを特徴とする画像信号処理方法
により達成される。
(Structure of the Invention) According to the present invention, an object of the present invention is to provide an image signal processing method for binarizing an image signal obtained by scanning a film projection image with an image sensor according to a predetermined binarization level. A histogram for the density is obtained, and a certain density level is set to the density level on the density level side including the image among the density levels in which the mountain corresponding to the background of the histogram has a frequency of about 1/40 of the total number of pixels of the image sensor. This is achieved by an image signal processing method characterized by setting the added or subtracted density level to the binarized level.

すなわち総画素数の約1/40の頻度となる濃度レベル
のうち画像を含む濃度レベル側の濃度レベルを基準にす
ることにより、バックグラウンドに対応するヒストグラ
ムの山の幅が変化してもその影響を受けにくくしたもの
である。
That is, by using the density level on the density level side including the image as a reference among the density levels having a frequency of about 1/40 of the total number of pixels, even if the mountain width of the histogram corresponding to the background changes, the effect It is hard to receive.

(実施例) 第1図は本発明の一実施例のブロック図、第2図はその
具体例の一部の概念図、第3A〜3C図は処理過程の信
号波形を示す図、第4図は3×3マトリックスを示す
図、第5図はネガフィルムに対するヒストグラムを示す
図である。
(Embodiment) FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a conceptual diagram of a part of a concrete example thereof, and FIGS. 3A to 3C are diagrams showing signal waveforms during processing, and FIG. Shows a 3 × 3 matrix, and FIG. 5 shows a histogram for a negative film.

第1図において符号10は光源であり、この光源10の
光はコンデンサレンズ12、フィルム14、投影レンズ
16、ミラー18を介してイメージセンサ20に導か
れ、フィルム14の投影画像はイメージセンサ20に結
像する。イメージセンサ20はCCDラインセンサやC
CDエリヤセンサ等で形成され、パルス回路(図示せ
ず)から供給されるパルスにより駆動されて画像を走査
し時系列画像信号aを出力する。この画像信号aはフィ
ルム14がネガの場合には第3A図のような出力波形と
なる。なお第3A〜C図で横軸は時間t或は画素順を示
し、縦軸は出力(濃度)レベルを示す。
In FIG. 1, reference numeral 10 is a light source. Light from the light source 10 is guided to an image sensor 20 via a condenser lens 12, a film 14, a projection lens 16 and a mirror 18, and a projected image of the film 14 is directed to the image sensor 20. Form an image. The image sensor 20 is a CCD line sensor or C
It is formed of a CD area sensor or the like and is driven by a pulse supplied from a pulse circuit (not shown) to scan an image and output a time-series image signal a. The image signal a has an output waveform as shown in FIG. 3A when the film 14 is negative. 3A to 3C, the horizontal axis represents time t or pixel order, and the vertical axis represents output (density) level.

一走査線分あるいは一画面分の画像信号aはラインメモ
リあるいはフレームメモリ等の半導体メモリ22に一時
記憶される。この画像信号aはCPU(図示せず)によ
り構成されるヒストグラム手段24に入力されて、ここ
で第5図に示すように濃度に対するヒストグラムAが求
められる。CPUはこのCPU自身が持つ下地ノイズカ
ットレベル検出手段26および二値化レベル検出手段2
7により、このヒストグラムAから下地ノイズカットレ
ベルbおよび二値化レベルfを求める。
The image signal a for one scanning line or one screen is temporarily stored in the semiconductor memory 22 such as a line memory or a frame memory. This image signal a is input to the histogram means 24 composed of a CPU (not shown), and the histogram A for the density is obtained here as shown in FIG. The CPU has a background noise cut level detecting means 26 and a binarization level detecting means 2 which the CPU itself has.
7, the background noise cut level b and the binarization level f are obtained from this histogram A.

ヒストグラムAは横軸に画像信号aの出力(濃度)レベ
ルV、縦軸に頻度Hをとったもので、ネガのフィルム1
4に対しては低出力レベル側にバックグラウンドに対応
する山Bが現れる。CPUはこのヒストグラムAの山B
の右側すなわち画像を含む高出力(濃度)レベル側のす
そ野付近に、下地ノイズカットレベルbとこれよりも更
に高出力レベル側に二値化レベルfを決める。
In the histogram A, the horizontal axis represents the output (density) level V of the image signal a and the vertical axis represents the frequency H.
For No. 4, a mountain B corresponding to the background appears on the low output level side. CPU is mountain B of this histogram A
On the right side, that is, near the skirt on the high output (density) level side including the image, the background noise cut level b and the binarization level f on the higher output level side are determined.

これらのレベルb、fは次のように決定される。すなわ
ちイメージセンサ20の総画素数をNとした時、約N/
40の頻度となる出力レベルのうち画像の信号に近い方
の点Cの濃度レベルαに、一定の濃度レベルβを加算し
てα+βを下地ノイズカットレベルbと決める。また点
Cの濃度レベルαに一定の濃度レベルγを加算してα+
γを二値化レベルfと決める。例えば4000画素のラ
インセンサを用い、濃度レベルが64段階(6ビットに
相当する)に設定可能な場合には、頻度が約100とな
る点Cの濃度レベルαを求め、これに2段階分の濃度レ
ベルを加算してα+2を下地カットレベルbとし、αに
8段階分の濃度レベルを加算してα+8を二値化レベル
fとすることができる。ここに頻度N/40は実験に基
づき決められたものである。また一定値β、γも実験に
基づき最適値に決められるべきものである。
These levels b and f are determined as follows. That is, when the total number of pixels of the image sensor 20 is N, about N /
A constant density level β is added to the density level α of the point C, which is closer to the image signal, among the output levels having a frequency of 40, and α + β is determined as the background noise cut level b. Further, a constant density level γ is added to the density level α at the point C to obtain α +
Let γ be the binarization level f. For example, when a line sensor of 4000 pixels is used and the density level can be set in 64 steps (corresponding to 6 bits), the density level α at the point C at which the frequency is about 100 is obtained, and the density level α for two steps is obtained. The density levels can be added to make α + 2 the base cut level b, and the density levels for 8 levels can be added to α to make α + 8 the binarization level f. Here, the frequency N / 40 is determined based on experiments. Further, the constant values β and γ should be set to optimum values based on experiments.

画像信号aと、下地ノイズカットレベルbとは下地ノイ
ズカット回路28に入力され、ここでバックグラウンド
域に含まれるノイズを除去する。すなわちこの回路28
は例えば第2図に示すように比較器30とスイッチ32
とで構成され、比較器30は画像信号aと下地カットレ
ベルbとを比較する。またスイッチ32はこの比較器3
0がa<bと判断した時に下地カットレベルbを選択
し、a≧bの時には画像信号aを選択する。この結果こ
の回路28の出力Cは下地ノイズカットレベルbでスラ
イスされ、バックグラウンド域のノイズがカットされて
第3B図のようになる。このようにして下地カットレベ
ルbはバックグラウンドレベルd(第3A図)に近く、
これより僅かに高いレベルに設定される。
The image signal a and the background noise cut level b are input to the background noise cut circuit 28, where noise included in the background region is removed. That is, this circuit 28
Is, for example, a comparator 30 and a switch 32 as shown in FIG.
The comparator 30 compares the image signal a with the background cut level b. Also, the switch 32 is the comparator 3
When 0 is judged to be a <b, the background cut level b is selected, and when a ≧ b, the image signal a is selected. As a result, the output C of this circuit 28 is sliced at the background noise cut level b, and the noise in the background region is cut, as shown in FIG. 3B. In this way, the background cut level b is close to the background level d (Fig. 3A),
It is set to a level slightly higher than this.

34はボケ修正回路であり、例えば高域強調フィルタ3
6を用いて信号cの高周波成分を強調し画像のエッジ強
調を行うものである。
Reference numeral 34 is a blur correction circuit, for example, the high-frequency emphasis filter 3
6 is used to emphasize the high frequency component of the signal c and to emphasize the edge of the image.

この高域強調フィルタ36は、例えば画像空間を中心画
素が現れる奇数マトリックスとした時、その中心画素を
強調するように機能する。この高域強調フィルタ36と
しては、例えば第4図に示すように3×3マトリックス
の各画素データをa〜iとした時、中心画素に対するデ
ータeをその周囲の4画素のデータを用いて E=5e−(b+d+h+f) に変換し、このEを新たな画像信号とする。この場合高
域強調フィルタ36は第2図に示すように設定され、こ
のマトリックスの各要素が中心画素を中心とする周囲4
つの画素の画像データに積算され、その積算値の和Eが
求められる。このようにして強調された画像信号eは比
較器38において二値化レベルfと比較され、二値化信
号gが得られる。
The high-frequency emphasis filter 36 functions to emphasize the center pixel when the image space is an odd matrix in which the center pixel appears. As the high-frequency emphasis filter 36, for example, when each pixel data of a 3 × 3 matrix is set to a to i as shown in FIG. 4, the data e for the central pixel is obtained by using the data of the four pixels around it. = 5e- (b + d + h + f), and E is used as a new image signal. In this case, the high-frequency emphasis filter 36 is set as shown in FIG. 2, and each element of this matrix has a perimeter 4 centered on the central pixel.
The image data of one pixel is integrated and the sum E of the integrated values is obtained. The image signal e thus emphasized is compared with the binarization level f in the comparator 38 to obtain the binarization signal g.

この実施例では、バックグラウンドノイズを下地ノイズ
カットレベルbにより除去してから高域強調によるボケ
修正の処理をするから、ボケ修正処理する時に画像信号
の特にバックグラウンド域の細かいノイズによる変動が
過大に拡大されることが無い。このためバックグラウン
ドのノイズの影響を受けることがない。しかし本発明は
ボケ修正を行なわないものや、下地ノイズカットレベル
bによるノイズカットを行なわないものも含む。
In this embodiment, since the background noise is removed by the background noise cut level b and the blur correction processing by high-frequency emphasis is performed, the fluctuation due to the fine noise of the image signal, especially in the background area, is excessive during the blur correction processing. Never be expanded to. Therefore, it is not affected by background noise. However, the present invention also includes the case where the blur correction is not performed and the case where the noise cut based on the background noise cut level b is not performed.

本発明は、ヒストグラムのバックグラウンド側から各濃
度レベルの出現頻度を加算してこの加算値が全画素数の
一定割合になる濃度レベルを二値化レベルとするのでは
なく、全画素数の約1/40の頻度となる濃度レベルC
を基準として、この濃度レベルαに一定の濃度レベルγ
を加算することにより決定するから、バックグラウンド
に対するヒストグラムの山の幅や高さが画像により変化
しても常に適切な二値化レベルfを決定できる。
The present invention does not add the appearance frequency of each density level from the background side of the histogram and set the density level at which the added value becomes a constant ratio of the total number of pixels as a binarization level, but about the total number of pixels. Concentration level C with a frequency of 1/40
With reference to
Since it is determined by adding, the appropriate binarization level f can always be determined even if the width or height of the peak of the histogram with respect to the background changes depending on the image.

なおこの実施例の平滑回路50としては、例えば中心画
素を中心とする3×3のマトリックスの中間値(メディ
アン)を中心画素の画像データとして採用するメディア
ンフィルタを用いることができる。
As the smoothing circuit 50 of this embodiment, it is possible to use, for example, a median filter that adopts an intermediate value (median) of a 3 × 3 matrix centered on the center pixel as image data of the center pixel.

また下地ノイズカットレベルbや二値化レベルfは、ネ
ガフィルムによる画像を用いる場合には、前記実施例の
ようにバックグラウンドdよりも高濃度レベル側に設定
されるが、ポジフィルムを用いる場合には反対にバック
グラウンドより低濃度レベル側に設定するのは勿論であ
り、この場合にはヒストグラムの山の左側に位置する約
N/40の頻度になる濃度レベルαから濃度レベルβ,
γを減算して下地ノイズカットレベルb=α−βと二値
化レベルf=α−γが決定される。本発明はこのような
ものも包含する。
Further, the background noise cut level b and the binarization level f are set to a higher density level side than the background d as in the above embodiment when an image formed by a negative film is used, but when a positive film is used. On the contrary, it is, of course, set to a lower density level side than the background, and in this case, the density level α to the density level β, which is located on the left side of the histogram peak and has a frequency of about N / 40,
By subtracting γ, the background noise cut level b = α-β and the binarization level f = α-γ are determined. The present invention also includes such a thing.

(発明の効果) 本発明は以上のように、二値化レベルを、イメージセン
サの総画素数Nの約1/40の頻度となる濃度レベルの
うち画像の信号側の濃度レベルに一定の濃度レベルを加
算または減算した濃度レベルに設定するものであるか
ら、バックグラウンドに対応するヒストグラムの山の裾
野に近い位置を基準にして二値化レベルを決めることが
できる。従ってこのヒストグラムの山の幅が変動しても
その影響を大きく受けることなく二値化レベルを決める
ことができ、画像が変っても常に適正なレベルに二値化
レベルを設定できる。このため、高画質の二値化処理が
可能となる。
(Effect of the Invention) As described above, the present invention sets the binarization level to a certain density level on the signal side of the image among the density levels having a frequency of about 1/40 of the total number N of pixels of the image sensor. Since the density level is obtained by adding or subtracting the level, the binarization level can be determined based on the position near the foot of the histogram corresponding to the background. Therefore, even if the width of the peaks of the histogram changes, the binarization level can be determined without being greatly affected, and even if the image changes, the binarization level can always be set to an appropriate level. Therefore, high-quality binarization processing is possible.

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

第1図は本発明の一実施例のブロック図、第2図はその
具体例の概念図、第3A〜3C図は処理過程の信号波形
を示す図、第4図は3×3のマトリックスを示す図、第
5図はヒストグラムを示す図である。 20……イメージセンサ、 24……ヒストグラム手段、 27……二値化レベル検出回路、 a……画像信号、 f……二値化レベル、 A……ヒストグラム。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a conceptual diagram of a specific example thereof, FIGS. 3A to 3C are diagrams showing signal waveforms in a processing process, and FIG. 4 is a 3 × 3 matrix. FIG. 5 is a diagram showing a histogram. 20 ... Image sensor, 24 ... Histogram means, 27 ... Binarization level detection circuit, a ... Image signal, f ... Binarization level, A ... Histogram.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】フィルム投影画像をイメージセンサで走査
して得られる画像信号を所定の二値化レベルにより二値
化する画像信号処理方法において、 前記画像信号から濃度に対するヒストグラムを求め、こ
のヒストグラムのバックグラウンドに対応する山が前記
イメージセンサの総画素数の約1/40の頻度となる濃
度レベルのうち画像を含む濃度レベル側の濃度レベルに
一定濃度レベルを加算または減算した濃度レベルを前記
二値化レベルに設定することを特徴とする画像信号処理
方法。
1. An image signal processing method for binarizing an image signal obtained by scanning a film projection image with an image sensor according to a predetermined binarization level, wherein a histogram for density is obtained from the image signal, and the histogram of the histogram is calculated. The density level obtained by adding or subtracting a constant density level to or from the density level on the density level side including an image among the density levels in which the peak corresponding to the background has a frequency of about 1/40 of the total number of pixels of the image sensor. An image signal processing method characterized by setting to a digitization level.
【請求項2】フィルム投影画像はネガフィルムにより得
られる投影像であり、前記二値化レベルは、バックグラ
ウンドに対するヒストグラムの山の高濃度レベル側のす
そ野付近に設定されていることを特徴とする特許請求の
範囲第1項記載の画像信号処理方法。
2. A film projection image is a projection image obtained by a negative film, and the binarization level is set in the vicinity of the skirt of the high density level side of the mountain of the histogram with respect to the background. The image signal processing method according to claim 1.
【請求項3】フィルム投影画像はポジフィルムにより得
られる投影像であり、前記二値化レベルは、バックグラ
ウンドに対するヒストグラムの山の低濃度レベル側のす
そ野付近に設定されていることを特徴とする特許請求の
範囲第1項記載の画像信号処理方法。
3. The film projection image is a projection image obtained by a positive film, and the binarization level is set in the vicinity of the skirt of the low density level side of the mountain of the histogram with respect to the background. The image signal processing method according to claim 1.
JP62327501A 1987-12-25 1987-12-25 Image signal processing method Expired - Fee Related JPH0659089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62327501A JPH0659089B2 (en) 1987-12-25 1987-12-25 Image signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62327501A JPH0659089B2 (en) 1987-12-25 1987-12-25 Image signal processing method

Publications (2)

Publication Number Publication Date
JPH01170274A JPH01170274A (en) 1989-07-05
JPH0659089B2 true JPH0659089B2 (en) 1994-08-03

Family

ID=18199850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62327501A Expired - Fee Related JPH0659089B2 (en) 1987-12-25 1987-12-25 Image signal processing method

Country Status (1)

Country Link
JP (1) JPH0659089B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5208842B2 (en) 2009-04-20 2013-06-12 株式会社カプコン GAME SYSTEM, GAME CONTROL METHOD, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS561660A (en) * 1979-06-20 1981-01-09 Ricoh Co Ltd Reading method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吹技敬彦著「FAX,OAのための画像の信号処理」(昭57−10−20)日刊工業新聞社P.10

Also Published As

Publication number Publication date
JPH01170274A (en) 1989-07-05

Similar Documents

Publication Publication Date Title
JP3485454B2 (en) Image gradation conversion device, image gradation changing method, medium recording program for executing the method, and infrared camera
JPH0659089B2 (en) Image signal processing method
JP2871601B2 (en) Character string detecting apparatus and method
JPH0659087B2 (en) Image signal processing method
JP3427354B2 (en) Video binarization method and binary image generation method
JPH0659086B2 (en) Image signal processing method
JPH0657048B2 (en) Image signal processing method
JPH01160173A (en) Picture signal processing method
JPH0620238B2 (en) Image signal processing method
JP3359377B2 (en) Background concentration detector
JPH07105890B2 (en) Image signal processing method
JP3036244B2 (en) Image signal processing device
JP3358133B2 (en) Image processing device
JPH05274429A (en) Picture quality improving device
JP2853141B2 (en) Image area identification device
JPH05284357A (en) Picture binarizing device
JPH0561677B2 (en)
JPS62297981A (en) Binarization system for image
JPH01160170A (en) Picture signal processing method
JPH01160171A (en) Picture signal processing method
JP2001197306A (en) White background area detection method, white background area detection device, image area separation method, and recording medium
JPH0750913B2 (en) Image signal processing method
JPH01160172A (en) Picture signal processing method
JPH0337229B2 (en)
JPH07118014B2 (en) Pattern recognizer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees