JP3116936B2 - Image contrast enhancement method and image contrast processing device - Google Patents

Image contrast enhancement method and image contrast processing device

Info

Publication number
JP3116936B2
JP3116936B2 JP11026440A JP2644099A JP3116936B2 JP 3116936 B2 JP3116936 B2 JP 3116936B2 JP 11026440 A JP11026440 A JP 11026440A JP 2644099 A JP2644099 A JP 2644099A JP 3116936 B2 JP3116936 B2 JP 3116936B2
Authority
JP
Japan
Prior art keywords
value
pixel
image
density
contrast
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
JP11026440A
Other languages
Japanese (ja)
Other versions
JP2000222568A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP11026440A priority Critical patent/JP3116936B2/en
Publication of JP2000222568A publication Critical patent/JP2000222568A/en
Application granted granted Critical
Publication of JP3116936B2 publication Critical patent/JP3116936B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像表示における
コントラストを強調する画像コントラスト強調方法及び
画像コントラスト処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image contrast enhancement method and an image contrast processing device for enhancing contrast in image display.

【0002】[0002]

【従来の技術】従来、画像のコントラストは、画像を認
識する上で極めて重要なパラメータであり、ブラウン管
に画像を表示しようとする場合に、コントラスト性能が
20dB乃至30dB以上を求められ、液晶パネルの場
合の開発要素として、特に反射型液晶パネルの場合に、
画像コントラストの向上のため日夜開発が進められてい
る。この表示装置に表示する画像のコントラストばかり
でなく、印刷用紙やコピー用紙、スキャナーで読み取っ
た画像におけるコントラスト、カメラ写真のフィルムや
印画紙表示画像等にも画像コントラストが高いことが求
められている。
2. Description of the Related Art Conventionally, the contrast of an image is an extremely important parameter for recognizing an image. When an image is to be displayed on a cathode ray tube, a contrast performance of 20 to 30 dB or more is required. As a development factor in the case, especially in the case of reflective liquid crystal panels,
Development is underway day and night to improve image contrast. It is required that not only the contrast of an image displayed on the display device but also the contrast of an image read by a printing paper, a copy paper, a scanner, a camera photograph film, a photographic paper, and the like be high.

【0003】このようなコントラスト強調の一つとし
て、特開平8−190611号公報には、「画像処理装
置」として、周辺画素の平均値に基いて2値化のための
しきい値を適応的に求め、これをしきい値設定手段に設
定して2値化するため、比較的簡単なハードウェアで、
コントラストの低い文字画像の場合に、上記しきい値を
用いて画像データを2値化して低ノイズの画像に再現す
ることが記載されている。
As one of such contrast enhancements, Japanese Patent Application Laid-Open No. 8-190611 discloses an "image processing apparatus" that adaptively sets a threshold value for binarization based on an average value of peripheral pixels. , Which is set in the threshold value setting means and binarized.
It is described that, in the case of a character image having a low contrast, the image data is binarized using the threshold value and reproduced as a low-noise image.

【0004】また、特開平6−131455号公報に
は、画像のエッジを強調するフィルタリング手段を有し
て、原稿をRGBのディジタル画像信号として読み出
し、補色インクでディジタル的にプリントするディジタ
ルカラー画像再生装置に関し、注目画素近傍の特徴量に
応じて、平滑化の度合いあるいはエッジ強調の度合いを
制御するフィルタリングを備え、網点印刷原稿に発生す
るモアレを除去して、画質を向上することが記載されて
いる。
Japanese Unexamined Patent Publication No. Hei 6-131455 discloses a digital color image reproducing apparatus which has a filtering means for enhancing the edge of an image, reads an original as an RGB digital image signal, and digitally prints it with complementary ink. The document describes that the apparatus is provided with filtering for controlling the degree of smoothing or the degree of edge enhancement in accordance with the feature amount in the vicinity of the pixel of interest, thereby removing moiré occurring in a halftone printed document and improving image quality. ing.

【0005】また、特開昭62−88073号公報に
は、所定の画像信号を中心に画像のコントラストを所定
の強調度で強調する場合の低輝度部や高輝度部がサチュ
レーションする部分を減少させるウインドイング処理方
法に関し、任意に設定された中心画像信号を中心として
コントラストの強調割合がその画像信号と中心画像信号
との差が大きくなるに従って小さくなるようにしたこと
が記載されている。
Japanese Patent Laid-Open Publication No. Sho 62-88073 discloses a technique for reducing a portion where a low-luminance portion or a high-luminance portion saturates when the contrast of an image is emphasized at a predetermined degree of emphasis around a predetermined image signal. It is described that the windowing processing method is such that the contrast enhancement ratio with respect to an arbitrarily set center image signal is reduced as the difference between the image signal and the center image signal increases.

【0006】また、特開昭61−45677号公報に
は、1ページ分の画信号を記憶するページメモリと、画
信号中の画素の階調度の最大値と最小値とを保持するホ
ールド手段と、上記最大値と最小値との階調度に対応し
た階調に変換する階調変換器とから構成され、読み取り
信号等の記録すべき画信号のページ毎の最大値及び最小
値を認識し、画像分布の偏った画像をコントラストを強
め、鮮鋭な画像として記録することができることが記載
されている。
Japanese Patent Application Laid-Open No. 61-45677 discloses a page memory for storing an image signal for one page, and a holding means for holding a maximum value and a minimum value of the gradation of pixels in the image signal. A gradation converter that converts the image signal to a gradation corresponding to the gradation of the maximum value and the minimum value, and recognizes a maximum value and a minimum value for each page of an image signal to be recorded such as a read signal, It is described that an image having an uneven image distribution can be recorded as a sharp image with enhanced contrast.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上述し
た画像信号のコントラストを強調する際に、今まで中心
画像信号というように、特定範囲のマスクを用いて、最
白値、最黒値及び原画像の注目画素の濃度から画像を変
換することは行っていたが、中心画像又はマスクされた
範囲の周辺の情報が全く加味されないため、コントラス
トの強調に点の情報から結果を求めていたので、画像全
体としてのバランスあるコントラストの強調には至って
いなかった。
However, when enhancing the contrast of the image signal described above, the maximum whiteness value, the maximum blackness value and the original image value are determined by using a mask in a specific range, such as the center image signal. Although the image was converted from the density of the pixel of interest, since the information around the center image or the masked area was not taken into account at all, the result was obtained from the point information to enhance the contrast, so the image The overall contrast was not emphasized.

【0008】本発明は、画像信号のコントラストの強調
の際に、マスク的な点の情報から結果を求めず、画像全
体としてのバランスあるコントラストの強調を行うこと
を課題とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a method for enhancing the contrast of a balanced image as a whole without obtaining a result from information on a mask-like point when enhancing the contrast of an image signal.

【0009】[0009]

【課題を解決するための手段】本発明は、画像のコント
ラストを強調する画像コントラスト強調方法において、
前記画像の内所定マスク内の各画素の情報から最黒値、
最白値、平均値、注目画素の濃度値を検出し、前記注目
画素の周辺近傍の濃度情報から移動平均法で前記平均値
を求め、前記注目画素と前記平均値とを比較し、前記注
目画素が前記平均値に近い濃度であり、前記平均値の結
果が白に近かった場合、前記注目画素は白画素に変更
し、前記平均値の結果が黒に近かった場合は黒画素に変
更し、次に前記マスク内の各画素の濃淡に大きくばらつ
きがある場合、前記マスク内で濃淡の差を広げ、濃度変
換処理(コントラスト強調処理)を行い、前記画像の前
記注目画素よりも濃淡の差が大きくなるように変換され
た注目画素の濃度値を取り出すことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides an image contrast enhancement method for enhancing the contrast of an image.
From the information of each pixel in the predetermined mask in the image, the maximum black value,
Most white value, average value, and detects the density value of the pixel of interest, determined the average value in the moving average method from the density information around the vicinity of the target pixel, comparing the average value and the pixel of interest, the note
If the eye pixel has a density close to the average value and the result of the average value is close to white, the target pixel is changed to a white pixel, and if the result of the average value is close to black, the pixel is changed to a black pixel. Then, when the density of each pixel in the mask greatly varies, the density difference is expanded in the mask, density conversion processing (contrast enhancement processing) is performed, and the density of the image is higher than that of the target pixel. It is characterized in that the density value of the target pixel converted so as to increase the difference is extracted.

【0010】また、本発明は、画像のコントラストを強
調する画像コントラスト処理装置において、原画像前記
原画像のコントラストを強調するための注目画素とその
周囲の画素とをマスクとするマスク処理回路と、前記マ
スク処理回路の前記マスク範囲内の各画素の内の最白値
を検出する最白値検出回路と、前記マスク処理回路の前
記マスク範囲内の各画素の内の最黒値を検出する最黒値
検出回路と、前記マスク処理回路の前記マスク範囲内の
各画素の濃度平均値を求める平均値検出回路と、前記最
白値検出回路と前記最黒値検出回路と前記原画像との各
出力から注目画素のコントラストを強調処理するコント
ラスト処理回路と、前記平均値検出回路と前記原画像と
の各出力から注目画素を平滑化して滑らかな画像とする
平滑化処理回路と、前記コントラスト処理回路と前記平
滑化処理回路とで処理された注目画素の処理結果からい
ずれかを選択する判定回路とからなることを特徴とす
る。
According to the present invention, there is provided an image contrast processing apparatus for enhancing the contrast of an image, comprising: a mask processing circuit for masking a pixel of interest for enhancing the contrast of the original image and surrounding pixels; A whiteness value detection circuit for detecting the whitest value of each pixel in the mask range of the mask processing circuit; and a blackness value detection circuit for detecting a blackest value of each pixel in the mask range of the mask processing circuit. A black value detection circuit, an average value detection circuit that calculates an average density value of each pixel within the mask range of the mask processing circuit, and each of the whitest value detection circuit, the blackest value detection circuit, and the original image. A contrast processing circuit that enhances the contrast of the pixel of interest from the output, and a smoothing processing circuit that smoothes the pixel of interest from each output of the average value detection circuit and the original image to obtain a smooth image. Characterized in that comprising a decision circuit for selecting either the processing result of the pixel of interest the treated with the contrast processing circuit wherein the smoothing circuits.

【0011】また、本発明による本方式は、具体的に説
明すれば、3×3マスクの情報から最黒値、最白値、平
均値、注目画素の濃度値を用い、画像のコントラストを
強調するものである。注目画素周辺の8つの近傍の濃度
情報から、リアルタイムにダイナミックに平均値を求め
る移動平均法で平均値を求め、結果が白に近かった場
合、注目画素は白画素に変更する(図2)。また、黒の
場合は黒に変更する。これは簡易的に平滑化を行ってい
ると同様である。次に濃淡に大きくばらつきがある場合
(3×3のマスクでは9画素が対象)、そのマスク内で
濃淡の差を広げ、濃度変換処理(コントラスト強調処
理)を行う。これにより原画の注目画素よりも濃淡の差
が大きくなるように変換された注目画素画素を取り出す
ことが可能となり、コントラストが強調される。
The method according to the present invention, specifically, enhances the contrast of an image by using the maximum black value, the maximum white value, the average value, and the density value of the target pixel from the information of the 3 × 3 mask. Is what you do. From the density information of the eight neighborhoods around the target pixel, an average value is obtained by a moving average method for dynamically obtaining an average value in real time, and when the result is close to white, the target pixel is changed to a white pixel (FIG. 2). If it is black, change it to black. This is the same as performing simple smoothing. Next, when there is a large variation in shading (9 pixels are targeted in a 3 × 3 mask), the shading difference is widened in the mask, and a density conversion process (contrast enhancement process) is performed. This makes it possible to extract a pixel of interest converted so that the difference in shading is larger than that of the pixel of interest in the original image, and the contrast is enhanced.

【0012】[0012]

【発明の実施の形態】本発明による実施形態について、
図面を参照しつつ詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments according to the present invention will be described.
This will be described in detail with reference to the drawings.

【0013】[本実施形態の構成]本発明の実施形態に
よる画像コントラスト強調装置のブロック図を、図1に
示して説明する。
[Structure of the Present Embodiment] A block diagram of an image contrast enhancing apparatus according to an embodiment of the present invention will be described with reference to FIG.

【0014】図1において、11は原画像であり、静止
画、動画を問わず、デジタル画像によるVGA(640
×480画素),XGA(1024×768画素),U
XGA(1600×1200画素)等の解像度の差異を
問わず、コントラスト強調の対象画像であり、信号処理
のためにはフレームメモリやハードディスク等に格納し
ておいたほうがよい。12はマスク処理回路であり、原
画像11のコントラストを強調するための注目画素とそ
の周囲の画素とをマスクとして、注目画素の処理が完了
したならば次の注目画素を中心としてその注目画素の処
理を行い、このマスク処理を1フレーム画像に対して完
了するまで行う。
In FIG. 1, reference numeral 11 denotes an original image, which is a digital image VGA (640) regardless of a still image or a moving image.
× 480 pixels), XGA (1024 × 768 pixels), U
Regardless of the difference in resolution, such as XGA (1600 × 1200 pixels), this is an image to be contrast-enhanced, and should be stored in a frame memory, hard disk, or the like for signal processing. Reference numeral 12 denotes a mask processing circuit, which uses a pixel of interest for enhancing the contrast of the original image 11 and surrounding pixels as a mask, and completes processing of the pixel of interest when the processing of the pixel of interest is completed. Processing is performed until the mask processing is completed for one frame image.

【0015】また、13は最白値検出回路で、マスク処
理回路12のマスク範囲内の各画素の内の最白値を検出
する最白値検出回路である。14は最黒値検出回路であ
り、マスク処理回路12のマスク範囲内の各画素の内の
最黒値を検出する最黒値検出回路である。15は平均値
検出回路であり、マスク処理回路12のマスク範囲内の
各画素の平均値を求め、各画素の画素毎の輝度レベルを
検出して輝度平均値を検出したり、カラー画像であれば
輝度平均値と各色度の平均値を求めてもよい。16はコ
ントラスト処理回路であり、最白値検出回路13と、最
黒値検出回路14と、原画像11との各出力から注目画
素のコントラストを強調処理するコントラスト処理回路
である。
Numeral 13 denotes a maximum white value detection circuit which detects a maximum white value of each pixel within the mask range of the mask processing circuit 12. Reference numeral 14 denotes a maximum black value detection circuit which detects the maximum black value of each pixel within the mask range of the mask processing circuit 12. Reference numeral 15 denotes an average value detection circuit which calculates an average value of each pixel within the mask range of the mask processing circuit 12, detects a luminance level of each pixel of each pixel, detects an average luminance value, or detects a color image. For example, a luminance average value and an average value of each chromaticity may be obtained. Reference numeral 16 denotes a contrast processing circuit, which is a contrast processing circuit that emphasizes the contrast of the pixel of interest from each output of the original image 11 and the whitest value detection circuit 13, the blackest value detection circuit 14, and the like.

【0016】また、17は平滑化処理回路であり、平均
値検出回路15と原画像11との各出力から注目画素を
平滑化して滑らかな画像とする平滑化処理回路である。
18はコントラスト処理回路16と平滑化処理回路17
とで処理された注目画素の処理結果からいずれかを選択
する判定回路であり、判定回路18の出力によって注目
画素の補正された輝度値を得ると共に、次の注目画素に
対して同様な処理を1画像分が終了するまで続行する。
Reference numeral 17 denotes a smoothing processing circuit which smoothes a pixel of interest from each output of the average value detection circuit 15 and the original image 11 to obtain a smooth image.
18 is a contrast processing circuit 16 and a smoothing processing circuit 17
And a determination circuit for selecting any one of the processing results of the target pixel processed in step (1). The output of the determination circuit 18 obtains a corrected luminance value of the target pixel, and performs the same processing on the next target pixel. Continue until one image is completed.

【0017】ここで、最白値、最黒値、平均値検出、原
画像の注目画素から濃度変換処理を行う。最白値及び最
黒値はマスク内のもっとも白い濃度、黒い濃度である。
平均値はマスク内の全画素の濃度平均値である。これら
の濃度値と注目する原画像の濃度値から濃度変換処理を
施し、最終出力結果を決定する。濃度変換判定にはあら
かじめ条件を設定しておき、それを満たす結果が変換後
の注目画素濃度として出力される。
Here, the whiteness value, the blackest value, the average value detection, and the density conversion processing are performed from the target pixel of the original image. The whitest value and the blackest value are the whitest density and black density in the mask.
The average value is the average density value of all pixels in the mask. A density conversion process is performed based on these density values and the density value of the target original image to determine a final output result. Conditions are set in advance for density conversion determination, and a result that satisfies the conditions is output as the target pixel density after conversion.

【0018】[本実施形態の動作]本実施形態の動作に
ついて説明する。文字の書かれた紙面をスキャナで取り
込むと背面は見かけ上白色であるにも関わらず、実際は
ある程度必ず濃淡を持っている。まず、紙面の濃淡によ
るざらつきを取るためにマスクの平均値から紙面レベル
を白に変換する。コントラスト処理回路16では、これ
は原画像の注目画素と平均値を比較し、注目画素が平均
値に近い濃度であり、さらにある定めた値よりも白けれ
ば白に変換という処理をすることによりレベルを変化さ
せる。
[Operation of this Embodiment] The operation of this embodiment will be described. When the paper on which the characters are written is captured by a scanner, the back surface is apparently white, but in fact, it always has some shades. First, the paper surface level is converted to white from the average value of the mask in order to remove roughness due to the lightness and darkness of the paper surface. The contrast processing circuit 16 compares the target pixel of the original image with the average value, and performs a process of converting the target pixel to white if the target pixel has a density close to the average value and is whiter than a predetermined value. Change the level.

【0019】例えば、平均値が64階調の58で、原画
像が57と仮定した時、濃度変換回路で、平均値から増
減3の範囲で原画の濃度が検出された場合、55以上の
原画像濃度は白と設定してあれば、変換後の濃度は63
を出力する(64階調で最白値は63、最黒値は0とす
る)。このようにして紙面のコントラストを強調し、紙
面のノイズを低減する。黒も同様の検査を行う。
For example, assuming that the average value is 58 of 64 gradations and the original image is 57, if the density conversion circuit detects the density of the original image in the range of 3 increase / decrease from the average value, if the density of the original image is 55 or more, If the image density is set to white, the converted density is 63
(The whitest value is 63 and the blackest value is 0 in 64 gradations). In this way, the contrast of the paper is enhanced, and the noise of the paper is reduced. Perform the same inspection for black.

【0020】図2において、コントラスト処理回路16
では、3×3画素をマスク範囲とし、注目画素をその中
心画素として、その輝度値を56として表示する。ま
た、本マスク内の平均輝度値は56である。又。注目画
素と平均値が近く、かつ白レベルなので、注目画素を6
3にする修正作業を行う。この場合の輝度値の中心は0
〜63の32となり、平均値が注目画素に近く、注目画
素の濃度値が31であれば、黒レベルの0に設定され
る。
In FIG. 2, the contrast processing circuit 16
In this case, 3 × 3 pixels are set as a mask range, a pixel of interest is set as its central pixel, and its luminance value is displayed as 56. The average luminance value in this mask is 56. or. Since the average value of the pixel of interest is close to the average value and the white level, the pixel of interest is 6
3. Perform the correction work. The center of the luminance value in this case is 0
If the average value is close to the target pixel and the density value of the target pixel is 31, the black level is set to 0.

【0021】また、マスク内で濃度にばらつきがあれ
ば、最白値、最黒値、注目画素を用いて、そのマスク内
で濃度レベル変換を行うことにより、コントラストを強
調させる(式1)。コントラスト処理回路16の出力
は、変換後濃度値Outとすると、 Out=63×(注目する画素−最黒値)÷(最白値−最黒値)…(式1) により求める。
If the density varies within the mask, the contrast is emphasized by performing density level conversion within the mask using the whitest value, the blackest value, and the pixel of interest (Equation 1). Assuming that the output of the contrast processing circuit 16 is the converted density value Out, Out = 63 × (pixel of interest−blackest value) ÷ (whitest value−blackest value) (Equation 1)

【0022】また、濃度変換処理は、前記マスク内の各
画素の濃度中の最黒値と、最白値を求め、前記濃度をn
ビットの分解度で示せば、 Out=n −1)×(注目画素の濃度値−最黒値)
÷(最白値−最黒値)…(式1) の数式により求めることができる。
In the density conversion processing, the blackest value and the whiteness value of the density of each pixel in the mask are obtained, and the density is calculated as n.
In terms of the bit resolution, Out = ( 2 n -1) × (density value of target pixel−blackest value)
÷ (most white value−most black value) ... (Equation 1)

【0023】次に、マスク内の各画素の濃度にあまりば
らつきがない場合は、特に濃度は変更せずそのまま出力
を行う。ここで、バラツキの度合いを判断するのは、例
えば6ビットの分解能の場合には経験則で定めてもよ
く、濃度数値で2割の変化があればバラツキが大きいと
判断して、式1を適用して、コントラストを強調する。
例えば、6ビットの階調度で輝度値を示す場合、平均値
が輝度値15以下では最黒値に、平均値が50以上では
最白値とし、その間は式1に従って目標画素の輝度値を
設定してもよい。
Next, when there is not much variation in the density of each pixel in the mask, the output is performed without changing the density. Here, the degree of the variation may be determined by an empirical rule in the case of, for example, a resolution of 6 bits, and if there is a 20% change in the density value, it is determined that the variation is large, and Equation 1 is determined. Apply to enhance contrast.
For example, when the luminance value is indicated by a 6-bit gradient, the average value is the darkest value when the luminance value is 15 or less, and the whiteness value is set when the average value is 50 or more. May be.

【0024】図3に式1を導くための濃度変換グラフを
示す。横軸に濃度を示し、縦軸にその濃度の値を示し、
最黒値を0に、最白値を63の6ビット階調とし、注目
画素の値は式1に従って濃度変換されて出力される。
FIG. 3 shows a density conversion graph for deriving Equation 1. The horizontal axis shows the concentration, the vertical axis shows the value of the concentration,
The blackest value is set to 0 and the whitest value is set to 6-bit gradation of 63, and the value of the target pixel is density-converted according to Expression 1 and output.

【0025】また、図4にマスク内の各画素の濃度にば
らつきがある場合の例を示し、コントラストが上がるこ
とを示す。マスク範囲画素を3×3の画素とし、各画素
の濃度平均値は43となり、注目画素の濃度が53であ
る。式1に各数値を入力すると、変換後濃度値Outは
58となる。従って、濃度が原画の注目画素より、(5
8−53=5)の5濃度広がったことになる。濃度レベ
ル変換処理は作成段階でパラメータをもち、その定めら
れた条件により平滑化を行うか、もしくは、コントラス
ト調整を行うかを決定する。
FIG. 4 shows an example in which the density of each pixel in the mask varies, showing that the contrast increases. The mask range pixels are 3 × 3 pixels, the average density value of each pixel is 43, and the density of the target pixel is 53. When each numerical value is input to Expression 1, the converted density value Out becomes 58. Therefore, the density is (5)
8-53 = 5). The density level conversion process has parameters at the creation stage, and determines whether to perform smoothing or contrast adjustment based on the determined conditions.

【0026】また、本説明では、マスクを3×3の画素
として説明したが、マスク範囲はこれだけに限らない。
5×5の画素としても、7×7の画素、9×9の画素と
してもよく、注目画素はその中心の画素とすることが好
ましい。また、濃度変換においては任意に値を設定する
ことが出来る(例えば、濃度50以上は63に変換する
等)。階調についても同様で任意の階調に適用出来る。
In this description, the mask is described as 3 × 3 pixels, but the mask range is not limited to this.
The pixel may be a 5 × 5 pixel, a 7 × 7 pixel, or a 9 × 9 pixel, and the target pixel is preferably the central pixel. In the density conversion, a value can be arbitrarily set (for example, a density of 50 or more is converted into 63). The same applies to gradations, and can be applied to any gradations.

【0027】[0027]

【発明の効果】本発明によれば、マスク内で最黒値と最
白値の濃度差が大きい時、その範囲内で濃度の差をさら
に広げることによりコントラストが強調された画像を得
ることが可能である。その注目画素を中心としたマスク
範囲を次々に移動してゆけば、画像全体のコントラスト
が強調された画像が得られる。
According to the present invention, when the density difference between the maximum black value and the maximum white value in the mask is large, it is possible to obtain an image with enhanced contrast by further expanding the density difference within the range. It is possible. By successively moving the mask range centering on the target pixel, an image in which the contrast of the entire image is enhanced can be obtained.

【0028】また、マスク内の各画素の濃度による平均
値を用いることにより、ある一定の値を閾値として用い
ることが出来るため、紙面ノイズ(ざらつき)を押さえ
ることが出来る。また、文字をより濃くすることも可能
となる。
Also, by using an average value based on the density of each pixel in the mask, a certain value can be used as a threshold value, so that paper noise (roughness) can be suppressed. Also, it is possible to make the characters darker.

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

【図1】本発明による画像コントラスト強調装置の構成
ブロック図である。
FIG. 1 is a configuration block diagram of an image contrast enhancement device according to the present invention.

【図2】本発明による画像コントラスト強調装置の作用
的具体例である。
FIG. 2 is an operational example of an image contrast enhancement device according to the present invention.

【図3】本発明による画像コントラスト強調装置の濃度
変換のグラフである。
FIG. 3 is a graph of density conversion of the image contrast enhancement device according to the present invention.

【図4】本発明による画像コントラスト強調装置の作用
的具体例である。
FIG. 4 is an operational example of an image contrast enhancement device according to the present invention.

【符号の説明】[Explanation of symbols]

11 原画像 12 マスク処理回路 13 最白値検出回路 14 最黒値検出回路 15 平均値検出回路 16 コントラスト処理回路 17 平滑化処理回路 18 判定回路 Reference Signs List 11 Original image 12 Mask processing circuit 13 Maximum white value detection circuit 14 Maximum black value detection circuit 15 Average value detection circuit 16 Contrast processing circuit 17 Smoothing processing circuit 18 Judgment circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−190611(JP,A) 特開 平6−131455(JP,A) 特開 昭62−88073(JP,A) 特開 昭61−45677(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 5/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-8-190611 (JP, A) JP-A-6-131455 (JP, A) JP-A-62-288073 (JP, A) JP-A-61-88073 45677 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06T 5/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像のコントラストを強調する画像コン
トラスト強調方法において、前記画像の内所定マスク内
の各画素の情報から最黒値、最白値、平均値、注目画素
の濃度値を検出し、前記注目画素の周辺近傍の濃度情報
から移動平均法で前記平均値を求め、前記注目画素と前
記平均値とを比較し、前記注目画素が前記平均値に近い
濃度であり、前記平均値の結果が白に近かった場合、前
記注目画素は白画素に変更し、前記平均値の結果が黒に
近かった場合は黒画素に変更し、次に前記マスク内の各
画素の濃淡に大きくばらつきがある場合、前記マスク内
で濃淡の差を広げ、濃度変換処理(コントラスト強調処
理)を行い、前記画像の前記注目画素よりも濃淡の差が
大きくなるように変換された注目画素の濃度値を取り出
すことを特徴とする画像コントラスト強調方法。
1. An image contrast enhancement method for enhancing the contrast of an image, comprising detecting a blackest value, a whiteness value, an average value, and a density value of a pixel of interest from information of each pixel in a predetermined mask in the image; obtains the average value with the moving-average method from the density information around the vicinity of the target pixel, the pixel of interest and before
Comparing with the average value, and the pixel of interest is close to the average value.
Density, and when the result of the average value is close to white, the pixel of interest is changed to a white pixel, and when the result of the average value is close to black, the pixel is changed to a black pixel. If there is a large variation in the shading of each pixel, the shading difference is widened in the mask, a density conversion process (contrast enhancement process) is performed, and the image is converted so that the shading difference is larger than that of the target pixel of the image. An image contrast enhancement method for extracting the density value of the target pixel.
【請求項2】 請求項1に記載の画像コントラスト強調
方法において、前記濃度変換処理は、前記マスク内の各
画素の濃度中の最黒値と、最白値を求め、前記濃度をn
ビットの分解度で示せば、 Out=n −1)×(注目画素の濃度値−最黒値)
÷(最白値−最黒値)…(式1) の数式により求めることを特徴とする画像コントラスト
強調方法。
2. The image contrast enhancement method according to claim 1, wherein in the density conversion processing, a blackest value and a whiteness value of the density of each pixel in the mask are obtained, and the density is set to n.
In terms of the bit resolution, Out = ( 2 n -1) × (density value of target pixel−blackest value)
÷ (most white value−most black value)... An image contrast enhancement method characterized by being obtained by the equation (Equation 1).
【請求項3】 画像のコントラストを強調する画像コン
トラスト強調方法において、前記画像の内所定マスク内
の各画素の情報から最黒値、最白値、平均値、注目画素
の濃度値を検出し、前記注目画素の前記マスク内の濃度
情報からリアルタイムに平均演算して前記平均値を求
め、前記注目画素と前記平均値とを比較し、前記注目画
素が前記平均値に近い濃度であり、前記平均値の結果が
白に近かった場合、前記注目画素は前記最白値に変更
し、前記平均値の結果が黒に近かった場合は前記最黒値
に変更し、前記注目画素の輝度値を順次決定することを
特徴とする画像コントラスト強調方法。
3. An image contrast enhancement method for enhancing the contrast of an image, comprising detecting a blackest value, a whiteness value, an average value, and a density value of a pixel of interest from information of each pixel in a predetermined mask in the image; the calculated the mean value from the density information in said mask of the pixel of interest by averaging calculation in real time, comparing the average value and the pixel of interest, the target image
If the element has a density close to the average value, and the result of the average value is close to white, the pixel of interest is changed to the whitest value, and if the result of the average value is close to black, the blackest value is obtained. A brightness value of the pixel of interest is sequentially determined.
【請求項4】 画像のコントラストを強調する画像コン
トラスト処理装置において、原画像と、前記原画像のコ
ントラストを強調するための注目画素とその周囲の画素
とをマスクとするマスク処理回路と、前記マスク処理回
路の前記マスク範囲内の各画素の内の最白値を検出する
最白値検出回路と、前記マスク処理回路の前記マスク範
囲内の各画素の内の最黒値を検出する最黒値検出回路
と、前記マスク処理回路の前記マスク範囲内の各画素の
濃度平均値を求める平均値検出回路と、前記最白値検出
回路と前記最黒値検出回路と前記原画像との各出力から
前記注目画素のコントラストを強調処理するコントラス
ト処理回路と、前記平均値検出回路と前記原画像との各
出力から前記注目画素を平滑化して滑らかな画像とする
平滑化処理回路と、前記コントラスト処理回路と前記平
滑化処理回路とで処理された前記注目画素の処理結果か
前記マスク範囲内の各画素の濃度ばらつきが大きい場
合には前記コントラスト処理回路を選択する判定回路と
からなることを特徴とする画像コントラスト処理装置。
4. An image contrast processing apparatus for enhancing the contrast of an image, wherein the mask processing circuit masks an original image, a pixel of interest for enhancing the contrast of the original image, and surrounding pixels, and the mask A whiteness value detection circuit for detecting the whitest value of each pixel within the mask range of the processing circuit; and a blackest value for detecting the blackest value of each pixel within the mask range of the mask processing circuit A detection circuit, an average value detection circuit that calculates an average density value of each pixel within the mask range of the mask processing circuit, and a whiteness value detection circuit, a blackest value detection circuit, and an output from each of the original image.
Wherein the contrast processing circuit for enhancement of contrast of the pixel of interest, and smoothing circuit to smooth the image by smoothing the pixel of interest from the output of the original image and the average value detecting circuit, the contrast processing circuit density deviation is large field of each pixel in the mask range from the processing result of the pixel of interest the treated with the smoothing circuit and
And a determination circuit for selecting the contrast processing circuit in the case .
【請求項5】 前記コントラスト処理回路は、前記マス
ク内の各画素の濃度中の最黒値と、最白値を求め、前記
濃度をnビットの分解度で示せば、 Out=n −1)×(注目画素の濃度値−最黒値)
÷(最白値−最黒値)…(式1) の数式により求めることを特徴とする画像コントラスト
処理装置。
5. The contrast processing circuit obtains the blackest value and the whiteness value of the density of each pixel in the mask, and if the density is represented by n-bit resolution, Out = ( 2 n − 1) × (density value of target pixel-blackest value)
÷ (whitest value−blackest value) (1) An image contrast processing apparatus characterized by being obtained by the equation:
JP11026440A 1999-02-03 1999-02-03 Image contrast enhancement method and image contrast processing device Expired - Fee Related JP3116936B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11026440A JP3116936B2 (en) 1999-02-03 1999-02-03 Image contrast enhancement method and image contrast processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11026440A JP3116936B2 (en) 1999-02-03 1999-02-03 Image contrast enhancement method and image contrast processing device

Publications (2)

Publication Number Publication Date
JP2000222568A JP2000222568A (en) 2000-08-11
JP3116936B2 true JP3116936B2 (en) 2000-12-11

Family

ID=12193580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11026440A Expired - Fee Related JP3116936B2 (en) 1999-02-03 1999-02-03 Image contrast enhancement method and image contrast processing device

Country Status (1)

Country Link
JP (1) JP3116936B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377205C (en) * 2003-12-12 2008-03-26 南京Lg新港显示有限公司 Method for compensating gamma value of image signal sampled by using non-linearity
CN100365684C (en) * 2004-09-16 2008-01-30 乐金电子(南京)等离子有限公司 Contrast control device and method for plasma display
CN101303765B (en) * 2008-06-23 2010-06-02 四川虹微技术有限公司 Method for reinforcing image contrast based on image mean-squared deviation

Also Published As

Publication number Publication date
JP2000222568A (en) 2000-08-11

Similar Documents

Publication Publication Date Title
US6195467B1 (en) Method and apparatus for sharpening a grayscale image
US5450502A (en) Image-dependent luminance enhancement
JP2871127B2 (en) Image processing apparatus and method
JP4358980B2 (en) How to change the darkness level of a digital image
EP0747855A2 (en) Method and apparatus for enhancing a digital image
JP2001005960A (en) Method and device for processing image
JPH0372778A (en) Area identification system for picture processing unit
JP2000013623A (en) Image processing method, device and recording medium
JPH08251432A (en) Real time picture enhancing technique
KR20050009153A (en) Apparatus and method for signal processing, recording medium, and program products
JP2006217277A (en) Imaging device
JP3581270B2 (en) Image processing apparatus, image processing method, and recording medium recording image processing program
JP2010102426A (en) Image processing apparatus and image processing method
JP3116936B2 (en) Image contrast enhancement method and image contrast processing device
JP3378601B2 (en) Image processing device
JP4499095B2 (en) Method for selectively smoothing pixels of an image to reduce bleed-through
JPH10283470A (en) Image processor, image processing method and recording medium
JP2001045303A (en) Image thresholding method
US7773824B2 (en) Signal processing device and method, recording medium, and program
JP2010033527A (en) Method, program, and apparatus for processing photographic image
JP4445026B2 (en) Image processing method, apparatus, and program
JP2004260835A (en) Image processor, image processing method, and medium recording image processing control program
JPH1042191A (en) Method and device for correcting back light of picture
JP2578409B2 (en) Image processing device
JP2001061075A (en) Image processing method, image processor and recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071006

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081006

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091006

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees