JP2003283878A - Image quality improvement method - Google Patents
Image quality improvement methodInfo
- Publication number
- JP2003283878A JP2003283878A JP2002087605A JP2002087605A JP2003283878A JP 2003283878 A JP2003283878 A JP 2003283878A JP 2002087605 A JP2002087605 A JP 2002087605A JP 2002087605 A JP2002087605 A JP 2002087605A JP 2003283878 A JP2003283878 A JP 2003283878A
- Authority
- JP
- Japan
- Prior art keywords
- noise
- image
- noise removal
- correction
- image quality
- 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
Links
Landscapes
- Picture Signal Circuits (AREA)
- Processing Of Color Television Signals (AREA)
Abstract
(57)【要約】
【課題】本発明は、画質補正処理を行う画像に対して良
好なノイズ除去を行うことでその画質を改善する新たな
画質改善方法の提供を目的とする。
【解決手段】画像のレベル値を補正する過程と、ノイズ
除去処理を適用する画像の部位またはその近傍の部位に
おけるレベル値補正量に基づいて、ノイズ除去強度を決
定する過程と、その決定したノイズ除去強度に従って、
画像の部位を単位にしてノイズを除去する過程とを備え
るように構成する。そして、この構成に加えて、補正前
の画像に含まれるノイズ強度を評価する過程を備える構
成を採って、その評価したノイズ強度も参照してノイズ
除去強度を決定するように処理することがある。
(57) Abstract: An object of the present invention is to provide a new image quality improving method for improving image quality by performing good noise removal on an image on which image quality correction processing is performed. A process of correcting a level value of an image, a process of determining a noise removal strength based on a level value correction amount in a portion of the image to which the noise removal process is applied or a portion in the vicinity thereof, and a process of determining the determined noise According to the removal strength
And a step of removing noise for each part of the image. Then, in addition to this configuration, a configuration including a process of evaluating the noise intensity included in the image before correction may be adopted, and processing may be performed to determine the noise removal intensity with reference to the evaluated noise intensity. .
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像ノイズを除去
することで画質の改善を図る画質改善方法に関し、特
に、画像のレベル値を補正する場合に、画像ノイズを適
応的に除去できるようにする画質改善方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image quality improving method for improving image quality by removing image noise, and more particularly, to adaptively removing image noise when correcting a level value of an image. To improve the image quality.
【0002】[0002]
【従来の技術】画像ノイズの除去強度を適応的に定め
て、画像ノイズの除去を実施する従来技術として、以下
の技術がある。2. Description of the Related Art The following techniques are known as conventional techniques for adaptively determining the image noise removal intensity to remove image noise.
【0003】(1)特開平11-32236号公報に開示される
画像処理装置
特開平11-32236号公報に開示される画像処理装置では、
階調分布からヒストグラムを生成し、その形状から、γ
補正によって明るさを補正する量を制御するとともに、
ノイズ除去の強度を調整するようにしている。(1) Image processing apparatus disclosed in Japanese Patent Laid-Open No. 11-32236: In the image processing apparatus disclosed in Japanese Patent Laid-Open No. 11-32236,
Generate a histogram from the gradation distribution, and from its shape,
While controlling the amount of brightness correction by correction,
The strength of noise removal is adjusted.
【0004】図7に、この特開平11-32236号公報に開示
される画像処理装置の装置構成を図示する。図中、ロー
パスフィルタがノイズ除去手段である。FIG. 7 shows the configuration of the image processing apparatus disclosed in Japanese Patent Laid-Open No. 11-32236. In the figure, the low-pass filter is the noise removing means.
【0005】(2)特開平5-64038 号公報に開示される
輪郭補正回路
特開平5-64038 号公報に開示される輪郭補正回路では、
画像の平均的な明るさに応じて、ノイズ除去の強度を調
整するようにしている。(2) Contour correction circuit disclosed in JP-A-5-64038 In the contour correction circuit disclosed in JP-A-5-64038,
The noise removal strength is adjusted according to the average brightness of the image.
【0006】図8に、この特開平5-64038 号公報に開示
される輪郭補正回路の装置構成を図示する。図中、YN
Rがノイズ除去手段であり、Beam 検出が平均的な明る
さを求める手段である。FIG. 8 shows a device configuration of the contour correction circuit disclosed in Japanese Patent Laid-Open No. 5-64038. In the figure, YN
R is a noise removing means, and Beam detection is a means for obtaining an average brightness.
【0007】(3)特開平8-18852 号公報に開示される
ビデオカメラのノイズ除去装置
特開平8-18852 号公報に開示されるビデオカメラのノイ
ズ除去装置では、カメラの露光量制御信号(AGCゲイ
ン)を用いて、ノイズ除去の強度を調整するようにして
いる。(3) Noise elimination device for video camera disclosed in Japanese Unexamined Patent Publication No. 8-18852, a noise elimination device for video camera disclosed in Japanese Unexamined Patent Publication No. 8-18852 discloses an exposure amount control signal (AGC) for the camera. The gain) is used to adjust the strength of noise removal.
【0008】図9に、この特開平8-18852 号公報に開示
されるビデオカメラのノイズ除去装置の装置構成を図示
する。FIG. 9 shows a device configuration of a noise removing device for a video camera disclosed in Japanese Patent Laid-Open No. 18852/1996.
【0009】図中、YNRコントローラ及びCNRコン
トローラがAGCゲインを定める手段である。In the figure, a YNR controller and a CNR controller are means for determining the AGC gain.
【0010】(4)特開平8-149343号公報に開示される
雑音低減装置
特開平8-149343号公報に開示される雑音低減装置では、
画素ごとに、画素のレベル値に応じてノイズ除去の強度
を調整するようにしている。(4) Noise reduction device disclosed in Japanese Unexamined Patent Publication No. 8-149343: In the noise reduction device disclosed in Japanese Unexamined Patent Publication No. 8-149343,
The intensity of noise removal is adjusted for each pixel according to the level value of the pixel.
【0011】図10に、この特開平8-149343号公報に開
示される雑音低減装置の装置構成を図示する。FIG. 10 shows the configuration of the noise reduction device disclosed in Japanese Patent Laid-Open No. 8-149343.
【0012】[0012]
【発明が解決しようとする課題】以上の従来技術によれ
ば、画像の状態に応じてノイズを除去することは可能で
ある。しかしながら、以下のような問題点がある。According to the above conventional technique, it is possible to remove noise depending on the state of the image. However, there are the following problems.
【0013】画像処理技術では、通常の場合、画像の画
質(明るさ・コントラストなど)を改善するために、画
像に対して様々な補正処理を施すようにしている。In the image processing technique, in general, various correction processes are performed on the image in order to improve the image quality (brightness, contrast, etc.) of the image.
【0014】例えば、コントラストを上げる補正では、
図11に示すようなS字の補正カーブによる補正処理を
行うことになる。また、コントラストを抑える補正で
は、図12に示すような逆S字の補正カーブによる補正
処理を行うことになる。For example, in the correction for increasing the contrast,
A correction process using an S-shaped correction curve as shown in FIG. 11 is performed. Further, in the correction for suppressing the contrast, a correction process using an inverse S-shaped correction curve as shown in FIG. 12 is performed.
【0015】このような補正カーブによる補正処理を行
う場合、補正処理を行う前に画像に存在したノイズは、
補正カーブの傾きが急な領域では拡大され、補正カーブ
の傾きが緩やかな領域では縮小されることになる。When a correction process using such a correction curve is performed, the noise existing in the image before the correction process is
Areas where the inclination of the correction curve is steep are enlarged, and areas where the inclination of the correction curve is gentle are reduced.
【0016】しかるに、上述した従来技術(1)〜
(3)では、異なる画像に対しては、ノイズ除去の強度
の調整を行うことになるが、一枚の画像に対しては、画
像の部位によらずに同じ強度のノイズ除去を行うように
している。However, the above-mentioned conventional techniques (1)-
In (3), the noise removal intensity is adjusted for different images, but the same intensity noise removal is performed for one image regardless of the image part. ing.
【0017】そのため、ノイズが拡大される領域を基準
にしてノイズ除去強度を設定した場合、ノイズが縮小さ
れる領域に対しては過剰強度のノイズ除去となってしま
うという問題点がある。Therefore, if the noise removal strength is set on the basis of the area where the noise is enlarged, there is a problem that the noise is removed with excessive strength for the area where the noise is reduced.
【0018】上述した従来技術(3)などで指摘されて
いるように、過度のノイズ除去は、画像のシャープさを
損なうため好ましくない。As pointed out in the above-mentioned conventional technique (3) and the like, excessive noise removal impairs the sharpness of an image, which is not preferable.
【0019】逆に、ノイズが縮小される領域を基準にし
てノイズ除去強度を設定した場合、ノイズが拡大される
領域に対しては強度不足となり、その結果、ノイズが現
れてしまうという問題点がある。On the contrary, when the noise removal strength is set on the basis of the area where the noise is reduced, the strength becomes insufficient for the area where the noise is enlarged, and as a result, the noise appears. is there.
【0020】上述した従来技術(4)では、画像のレベ
ル値のみを基準にしてノイズ除去強度を定めており、画
質補正量とは無関係にノイズ除去強度を定めるようにし
ている。In the above-mentioned prior art (4), the noise removal strength is determined based only on the image level value, and the noise removal strength is determined regardless of the image quality correction amount.
【0021】その結果、図11に示すようなコントラス
トを上げる補正を行った場合、図示した中明度の領域で
は、補正前の画像のレンジが補正後には大きく拡大され
ることから、例えば、補正前に振幅10であったノイズ
は、補正後には振幅20に拡大されることになる。As a result, when the correction for increasing the contrast as shown in FIG. 11 is performed, the range of the image before correction is greatly expanded after the correction in the area of medium brightness shown in FIG. The noise having the amplitude of 10 will be expanded to the amplitude of 20 after the correction.
【0022】逆に、図12に示すようなコントラストを
下げる補正を行った場合、図示した中明度の領域では、
補正前の画像のレンジが補正後には縮小されることか
ら、例えば、補正前に振幅10であったノイズは、補正
後には振幅5に縮小されることになる。On the contrary, when the correction for lowering the contrast as shown in FIG. 12 is performed, in the illustrated area of medium brightness,
Since the range of the image before the correction is reduced after the correction, for example, the noise having the amplitude of 10 before the correction is reduced to the amplitude of 5 after the correction.
【0023】このような場合にも、従来技術(4)で
は、画像のレベル値のみを基準にしてノイズ除去強度を
定めていることから、コントラストを上げる補正を行っ
た場合にノイズ除去が不足となり、コントラストを下げ
る補正を行った場合にノイズ除去が過剰となってしまう
という問題点がある。Even in such a case, in the prior art (4), since the noise removal strength is determined only on the basis of the image level value, the noise removal becomes insufficient when the contrast is increased. However, there is a problem that the noise removal becomes excessive when the correction for reducing the contrast is performed.
【0024】以上に説明したように、従来技術では、全
領域に対して、一定値によるノイズ除去や、画像のレベ
ル値に応じたノイズ除去を行うようにしている。As described above, in the prior art, the noise removal by a constant value or the noise removal according to the image level value is performed on the entire area.
【0025】そのため、従来技術に従っていると、部位
によって異なる大きさの画質補正処理の施された画像に
ついて、部位によってノイズ除去不足や過剰なノイズ除
去が引き起こされることになるという問題点の発生を回
避することができないという問題点がある。Therefore, according to the prior art, it is possible to avoid the problem that an image is subjected to image quality correction processing of different sizes depending on the part, which causes insufficient noise removal or excessive noise removal depending on the part. There is a problem that you cannot do it.
【0026】本発明はかかる事情に鑑みてなされたもの
であって、コントラスト補正や明るさ補正といった画質
補正処理を行う画像に対して良好なノイズ除去を行うこ
とでその画質を改善する新たな画質改善方法の提供を目
的とする。The present invention has been made in view of the above circumstances, and a new image quality is improved by performing good noise removal on an image for which image quality correction processing such as contrast correction and brightness correction is performed. The purpose is to provide an improvement method.
【0027】[0027]
【課題を解決するための手段】この目的を達成するため
に、本発明の画質改善方法では、画像のノイズを除去す
ることで画質の改善を図るときにあって、画像のレベ
ル値を補正する過程と、ノイズ除去処理を適用する画
像の部位またはその近傍の部位におけるレベル値補正量
に基づいて、ノイズ除去強度を決定する過程と、決定
したノイズ除去強度に従って、画像の部位を単位にして
ノイズを除去する過程とを備えるように構成する。In order to achieve this object, the image quality improving method of the present invention corrects the level value of the image when the image quality is improved by removing the noise of the image. The process and the process of determining the noise removal strength based on the level value correction amount in the part of the image to which the noise removal processing is applied or the vicinity thereof, and the noise in the part of the image according to the determined noise removal strength And a step of removing.
【0028】この構成を採るときにあって、さらに、
補正前の画像に含まれるノイズ強度を評価する過程を備
えることがあり、このときには、ノイズ除去強度を決定
する過程では、その評価したノイズ強度も参照してノイ
ズ除去強度を決定するように処理することになる。At the time of adopting this configuration,
The method may include a step of evaluating the noise intensity included in the image before correction. At this time, in the step of determining the noise removal intensity, processing is performed so as to determine the noise removal intensity by also referring to the evaluated noise intensity. It will be.
【0029】以上の各処理過程はコンピュータプログラ
ムで実現できるものであり、このコンピュータプログラ
ムは、半導体メモリなどの記録媒体に記録して提供する
ことができる。Each of the above processing steps can be realized by a computer program, and this computer program can be provided by being recorded in a recording medium such as a semiconductor memory.
【0030】そして、この構成を採る本発明の画質改善
方法は、画像のレベル値を補正する手段と、ノイズ
除去処理を適用する画像の部位またはその近傍の部位に
おけるレベル値補正量に基づいて、ノイズ除去強度を決
定する手段と、決定したノイズ除去強度に従って、画
像の部位を単位にしてノイズを除去する手段と、補正
前の画像に含まれるノイズ強度を評価する手段とを備え
る本発明の画質改善装置により実現されることになる。Further, the image quality improving method of the present invention having this configuration, based on the means for correcting the level value of the image and the level value correction amount at the part of the image to which the noise removal processing is applied or the part in the vicinity thereof, The image quality of the present invention, which comprises a unit for determining the noise removal strength, a unit for removing noise in units of image parts in accordance with the determined noise removal intensity, and a unit for evaluating the noise intensity included in the image before correction. It will be realized by the improvement device.
【0031】この構成に従って、本発明によれば、コン
トラスト補正や明るさ補正といった画質補正処理を行う
画像に対して、適応的にノイズ除去強度を決定すること
ができるようになり、これにより、画像に対して様々な
レベル値補正処理を行う場合にも、良好なノイズ除去を
行うことでノイズの少ない画像を生成することができる
ようになる。According to this configuration, according to the present invention, it becomes possible to adaptively determine the noise removal strength for an image on which image quality correction processing such as contrast correction and brightness correction is performed, and thus, the image is corrected. However, even when various level value correction processing is performed, it is possible to generate an image with less noise by performing good noise removal.
【0032】次に、図1及び図2に従って、本発明の基
本的な処理の流れについて説明する。Next, the basic processing flow of the present invention will be described with reference to FIGS.
【0033】図1は、ノイズ除去の強度をレベル値補正
量を基準にして決定する場合の処理を示し、図2は、ノ
イズ除去の強度をレベル値補正量とノイズ強度とを基準
にして決定する場合の処理を示す。この図に示すよう
に、本発明は画像ごとに処理を進める。FIG. 1 shows a process for determining the noise removal strength with reference to the level value correction amount, and FIG. 2 shows the noise removal strength with reference to the level value correction amount and the noise strength. The processing when it does is shown. As shown in this figure, the present invention proceeds with each image.
【0034】本発明では、「発明が解決しようとする課
題」欄で述べたように、コントラスト補正や明るさ補正
といった、画像のレベル値を補正する画質補正処理(以
下、単に「画質補正処理」と称することがある)を行う
場合のノイズ除去処理を対象としている。In the present invention, as described in the section "Problems to be solved by the invention", image quality correction processing for correcting the image level value such as contrast correction and brightness correction (hereinafter, simply referred to as "image quality correction processing"). The noise removal process is performed when performing the (.
【0035】本発明では、図1に示すように、ノイズ除
去の強度を決定する際に、このレベル値の補正量を参照
し、その量を基準にしてノイズ除去の強度を決定する。
したがって、画質補正によってノイズが拡大される(可
能性のある)部分については、ノイズ除去強度を強める
ことが可能になり、効果的なノイズ除去が実施できるよ
うになる。In the present invention, as shown in FIG. 1, when determining the intensity of noise removal, the correction amount of this level value is referred to, and the intensity of noise removal is determined based on this amount.
Therefore, the noise removal strength can be increased for the portion where the noise is enlarged (potentially) by the image quality correction, and the effective noise removal can be performed.
【0036】ここで、図1では、画質補正処理のブロッ
クについては明示していない。その理由は、画質補正処
理については色々な段階での実施の可能性があるからで
ある。例えば、図1の処理の開始前に、予め一括して補
正を行い、その後に図1の処理を行っても良いし、図1
に示す「選択部分またはその近傍に対する補正量参照」
と同時(直前・直後)に、行っても良い。Here, in FIG. 1, the blocks of the image quality correction processing are not explicitly shown. The reason is that the image quality correction process may be performed at various stages. For example, before the processing of FIG. 1 is started, correction may be collectively performed in advance, and then the processing of FIG. 1 may be performed.
"Refer to the correction amount for the selected part or its vicinity"
You may go at the same time (immediately before or after).
【0037】なお、図1及び図2の処理は、画像の部分
ごとに実行することになるが、例えば、画素ごとに処理
を進めると、画像全体を簡単なスキャンで処理できるた
め効果的である。Although the processing of FIGS. 1 and 2 is executed for each part of the image, it is effective to proceed the processing for each pixel, for example, because the entire image can be processed by a simple scan. .
【0038】また、ノイズ除去の強度の決定にあたっ
て、図2に示すように、補正量だけでなく、選択部分の
補正前のノイズ出現レベル(大きさ)についても参照
し、基準とすることも効果的である。例えば、エッジ近
傍でノイズが出やすいような場合には、エッジの有無を
評価して、その結果に基づいてノイズ強度を推定しても
良い。こうした推定結果も、ノイズ除去強度を決定する
際に参照すると効果的である。Further, in determining the noise removal strength, it is also effective to refer to not only the correction amount but also the noise appearance level (magnitude) of the selected portion before correction, as shown in FIG. Target. For example, when noise is likely to occur near the edge, the presence or absence of the edge may be evaluated and the noise intensity may be estimated based on the result. These estimation results are also effective when referred to when determining the noise removal strength.
【0039】その他に、レベル値の大小(通常、輝度や
明るさに相当)で、ノイズの強度が変わる場合(例え
ば、暗いところでノイズが出やすい)には、予め、テー
ブルや数式などを使ってレベル値とノイズ強度との対応
関係を定義しておき、このテーブルや数式などを参照す
ることでノイズ強度を推定しても良い。In addition, if the intensity of noise changes depending on the level value (usually equivalent to brightness or brightness) (for example, noise is likely to occur in the dark), a table or a mathematical formula is used in advance. It is also possible to define the correspondence between the level value and the noise intensity and estimate the noise intensity by referring to this table or mathematical formulas.
【0040】また、ノイズ除去強度の決定の際に基準と
する、レベル値の補正量は、補正量の絶対値とすること
も効果的である。たとえば、ハイライト部分をはっきり
させるようにする補正として、図3のようなクリッピン
グ処理がある。It is also effective to use the absolute value of the correction amount for the level value correction amount, which is used as a reference when determining the noise removal strength. For example, there is a clipping process as shown in FIG. 3 as a correction for making the highlight part clear.
【0041】この場合、暗部は補正量が小さいことか
ら、補正前後で色の変化は小さく、ノイズの目立ち方の
変化は補正前後で大差ない。しかし、明部は補正量が大
きいことから、ノイズの目立ち方が大きく変化する可能
性がある。つまり、補正量の絶対値を基準にすること
で、ノイズの目立ちやすさが変化しそうなところのノイ
ズ除去強度を強めることが可能となり、効果的なノイズ
除去を行うことができる。In this case, since the dark area has a small correction amount, the change in color before and after the correction is small, and the change in the conspicuousness of noise is not so different before and after the correction. However, since the bright part has a large correction amount, there is a possibility that the conspicuousness of noise may significantly change. In other words, by using the absolute value of the correction amount as a reference, it is possible to increase the noise removal strength at a place where the noticeability of noise is likely to change, and effective noise removal can be performed.
【0042】また、図11や図12に示すようなコント
ラストの補正では、画質補正処理によるレベル値の微小
変化に対するレベル値補正量の変化量によって補正後の
ノイズの目立ちやすさの増大(または低下)を推定で
き、こうした値を基準にすることも有効である。こうし
た変化量の評価基準としては、入力データの変化幅と出
力データの変化幅との比が望ましい。この比の微小区間
での値である微係数などと概ね同等の方法で求めてもよ
い。In contrast correction as shown in FIG. 11 and FIG. 12, the observability of noise after correction is increased (or decreased) depending on the change amount of the level value correction amount with respect to the minute change of the level value by the image quality correction processing. ) Can be estimated, and it is also effective to use such a value as a reference. The ratio of the change width of the input data and the change width of the output data is desirable as the evaluation criterion for such a change amount. The ratio may be obtained by a method substantially equivalent to a differential coefficient which is a value in a minute section.
【0043】また、ノイズ強度の推定や補正レベルの絶
対値やレベル値の微小変化に対するレベル値補正量の変
化量については、人間の感覚に沿った評価が好ましいの
で、CIELABといった均等色空間で行うことが有効
である。The noise intensity estimation, the absolute value of the correction level, and the change amount of the level value correction amount with respect to a minute change in the level value are preferably evaluated in accordance with the human sense, and therefore, they are performed in a uniform color space such as CIELAB. Is effective.
【0044】[0044]
【発明の実施の形態】以下、実施の形態に従って本発明
を詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail according to embodiments.
【0045】図4に、本発明を具備するデジタルスチル
カメラ1の装置構成を図示する。FIG. 4 shows an apparatus configuration of the digital still camera 1 having the present invention.
【0046】ここで、この図では、デジタルスチルカメ
ラ1の持つ機能の中で、本発明に関連する画像処理に関
連した部分のみを示しており、本発明の説明において無
視できるモータ駆動関連の機能などといった画像処理と
の関連の薄い機能については示していない。In this figure, among the functions of the digital still camera 1, only the portions related to the image processing related to the present invention are shown, and the functions related to motor drive which can be ignored in the description of the present invention. Functions not related to image processing, such as, are not shown.
【0047】本発明を具備するデジタルスチルカメラ1
は、画像の明るさを自動的に補正する機能(γ補正機
能)と、画像のノイズを除去する機能とを有している。Digital still camera 1 having the present invention
Has a function of automatically correcting the brightness of an image (γ correction function) and a function of removing image noise.
【0048】この図に示すように、本発明を具備するデ
ジタルスチルカメラ1では、CCD10で撮像された画
像信号は、A/D変換器11でA/D変換されて、演算
ユニット12に入力されてγ補正が施されることにな
る。As shown in this figure, in the digital still camera 1 equipped with the present invention, the image signal picked up by the CCD 10 is A / D converted by the A / D converter 11 and input to the arithmetic unit 12. Γ correction will be performed.
【0049】γ補正とは、
Soutput=Sinput r
という式による補正であり、画像の階調特性を変更する
ものであって、例えば明るさを変更する場合に用いられ
る。The γ correction is a correction by the formula S output = S input r , which changes the gradation characteristics of the image and is used, for example, when changing the brightness.
【0050】ここで、Sinput は補正前の信号レベル
(1から0の範囲で正規化されているものとする)を示
し、Soutputは補正後の信号レベルを示す。Here, S input represents the signal level before correction (assumed to be normalized in the range of 1 to 0), and S output represents the signal level after correction.
【0051】なお、以下の説明において、記述の便宜
上、式中に示す“γ”について“r”で表すことがあ
る。In the following description, "γ" shown in the equation may be represented by "r" for convenience of description.
【0052】演算ユニット12は、ROM13に格納さ
れたコードに応じて処理を実行するCPUと、JPEG
圧縮などのような定型画像処理を行うImage Processing
Unit とから構成される。The arithmetic unit 12 has a CPU for executing processing according to a code stored in the ROM 13 and a JPEG.
Image Processing that performs standard image processing such as compression
It is composed of Unit and.
【0053】この演算ユニット12は、RAM14に対
して適宜データを書き込むとともに、RAM14からデ
ータを読み出して、処理を進める。演算ユニット12に
よりJPEG圧縮された画像データは、不揮発記憶媒体
15に格納されることになる。The arithmetic unit 12 appropriately writes data in the RAM 14 and reads the data from the RAM 14 to proceed with the processing. The image data JPEG-compressed by the arithmetic unit 12 is stored in the non-volatile storage medium 15.
【0054】図5に、演算ユニット12のCPUで実行
されることになる、本発明にかかる画質改善処理のフロ
ーチャートを示す。FIG. 5 shows a flowchart of the image quality improving process according to the present invention, which is executed by the CPU of the arithmetic unit 12.
【0055】CCD10で撮像された画像は、一旦、R
AM14に格納されるものとする。本実施形態例では、
この格納の前に、予め一般的なγ補正(例えばγ=1/
2.2)が行われるとともに、0 から255の間に値が分
布するようにデータレンジを設定する処理がなされるも
のとする。The image picked up by the CCD 10 is once R
It shall be stored in AM14. In this embodiment example,
Before this storage, general γ correction (eg γ = 1 /
2.2) shall be performed and the data range shall be set so that the values should be distributed between 0 and 255.
【0056】この格納された画像を処理対象画像として
入力し、図5に示すフローチャートに従って処理を実施
する。The stored image is input as the image to be processed, and the process is executed according to the flowchart shown in FIG.
【0057】先ず最初に、ステップ1で、処理対象画像
を入力する。続いて、ステップ2で、この画像の明るさ
が適切になるような補正(γ補正)を行うために必要と
されるγ値(上述した一般的なγ補正の後に、さらに補
正することで明るさを適切なものにするためのγ値)を
算出する。First, in step 1, an image to be processed is input. Then, in step 2, the γ value required to perform the correction (γ correction) such that the brightness of the image becomes appropriate (the general γ correction described above is followed by further correction Γ value) for adjusting the appropriateness.
【0058】このγ値の算出処理は、画像が明るすぎれ
ば、1 よりも大きな値のγ値を算出し、画像が暗すぎれ
ば、1 よりも小さな値のγ値を算出することで行われ
る。例えば、文献「Juha Katajamaki and Pekka Laihan
en, "Image Dependent Gamma Selection Based on Colo
r Palette Equalization and a Simple Lightness Mode
l", Proc. of 7th CIC, 301-306 (1999)」に記載された
方法で定めることが可能である。The calculation process of the γ value is performed by calculating a γ value larger than 1 if the image is too bright and calculating a γ value smaller than 1 if the image is too dark. . For example, the document “Juha Katajamaki and Pekka Laihan
en, "Image Dependent Gamma Selection Based on Colo
r Palette Equalization and a Simple Lightness Mode
l ", Proc. of 7th CIC, 301-306 (1999)".
【0059】続いて、ステップ3で、画像全体のノイズ
除去を行う処理を開始する。本実施形態例では画素単位
に処理を進めるものとする。Subsequently, in step 3, a process for removing noise from the entire image is started. In this example of the embodiment, the process proceeds in units of pixels.
【0060】すなわち、左上の画素を起点(ステップ
3)として、左上から右下へと順次画素を選択(ステッ
プ9)しながら、まず、ステップ4で、その選択した画
素に対して、ステップ2で求めたγ値による補正を行っ
た場合のレベル値の補正量を計算する。That is, starting from the upper left pixel as the starting point (step 3), the pixels are sequentially selected from the upper left to the lower right (step 9). First, at step 4, the selected pixel is selected at step 2 The correction amount of the level value when the correction is performed by the obtained γ value is calculated.
【0061】例えば、
Rcorrect =〔(Rinput /255)r 〕×255−R
input
Gcorrect =〔(Ginput /255)r 〕×255−G
input
Bcorrect =〔(Binput /255)r 〕×255−B
input
という式に従って、レベル値の補正量を計算するのであ
る。For example, R correct = [(R input / 255) r ] × 255-R
input G correct = [(G input / 255) r ] × 255-G
input B correct = [(B input / 255) r ] × 255-B
The correction amount of the level value is calculated according to the formula called input .
【0062】ここで、Rcorrect は補正量であり、R
input は補正前の補正対象のR値である。G,Bについ
ても同様の表記方法に従っている。Here, R correct is a correction amount, and R correct
input is the R value of the correction target before correction. The same notation is used for G and B.
【0063】続いて、ステップ5で、この補正量を用い
てノイズ除去の強度を計算する。ここでは、γ補正によ
る補正量が大きいほど補正による色の変化が大きいた
め、ノイズの見え方の変化も大きく、ノイズが拡大され
て見える危険性が高いものと判断して、ノイズ除去の強
度を強くする。Then, in step 5, the noise removal strength is calculated using this correction amount. Here, the larger the amount of correction by γ correction, the greater the change in color due to correction, so the change in the appearance of noise is also large, and it is determined that there is a high risk of noise being magnified and the noise removal strength is determined. Make stronger
【0064】例えば、
〔数式1〕
Rremove-power=|Rcorrect |/20+0.5
if Rremove-power>1 then Rremove-power=1
Gremove-power=|Gcorrect |/20+0.5
if Gremove-power>1 then Gremove-power=1
Bremove-power=|Bcorrect |/20+0.5
if Bremove-power>1 then Bremove-power=1
という式(以下、数式1と称することがある)に従っ
て、ノイズ除去の強度を計算するのである。For example, [Formula 1] R remove-power = | R correct | /20+0.5 if R remove-power > 1 then R remove-power = 1 G remove-power = | G correct | /20+0.5 if G remove-power > 1 then G remove-power = 1 B remove-power = | B correct | /20+0.5 if B remove-power > 1 then B remove-power = 1 (hereinafter referred to as formula 1) Then, the strength of denoising is calculated.
【0065】ここで、Rremove-powerはR値に対するノ
イズ除去強度であり、G,Bについても同様の表記方法
に従っている。Here, R remove-power is the noise removal strength for the R value, and G and B follow the same notation method.
【0066】この数式1では、全ての画素に対して、除
去強度0.5以上のノイズ除去を行い、また、前述の基準
に従って、強めにノイズを除去する必要があると判断さ
れた画素については、除去強度を1に近い値(最大で
1)としている。In this equation 1, noise removal with a removal intensity of 0.5 or more is performed on all pixels, and regarding the pixels determined to be required to remove noise strongly according to the above-mentioned criteria, , The removal strength is set to a value close to 1 (1 at the maximum).
【0067】続いて、ステップ6で、決定したノイズ除
去強度に従ってノイズ除去を実行する。ノイズ除去の方
法についてはLPFなど様々な方法があるが、ここで
は、この技術分野では公知であるメジアンフィルタ(近
傍画素の画素値に含まれる中間の大きさの画素値で注目
画素の画素値を置き換えるフィルタ操作)によるノイズ
除去処理を行うこととする。例えば、フィルタサイズ
は、3 ×3画素とすればよい。Subsequently, in step 6, noise removal is executed according to the determined noise removal strength. There are various methods such as LPF as a method of removing noise, but here, a median filter (pixel value of the target pixel is set to a pixel value of an intermediate size included in the pixel values of neighboring pixels, which is known in this technical field. Noise removal processing is performed by a replacement filter operation). For example, the filter size may be 3 × 3 pixels.
【0068】なお、メジアンフィルタについては、「Ch
ristopher Watkins, Alberto Sadunand Stephen Marenk
a, "Modern Image Processing", Academic Press,Inc.
(1993) 64頁〜65頁」などに記載されている。Regarding the median filter, "Ch
ristopher Watkins, Alberto Sadunand Stephen Marenk
a, "Modern Image Processing", Academic Press, Inc.
(1993) pp. 64-65 ".
【0069】例えば、
〔数式2〕
Rnoize-removed =Rremove-power×Rmedian
+(1−Rremove-power)×Rinput
Gnoize-removed =Gremove-power×Gmedian
+(1−Gremove-power)×Ginput
Bnoize-removed =Bremove-power×Bmedian
+(1−Bremove-power)×Binput
という式(以下、数式2と称することがある)に従っ
て、ノイズ除去を実行するのである。For example, [Formula 2] R noize-removed = R remove-power × R median + (1-R remove-power ) × R input G noize-removed = G remove-power × G median + (1-G remove-power ) × G input B noize-removed = B remove-power × B median + (1-B remove-power ) × B input according to the formula (hereinafter, may be referred to as Formula 2) To do.
【0070】ここで、Rnoize-removed はノイズ除去結
果であり、Rmedianはメジアンフィルタ適用結果(置き
換えた画素値)である。G,Bについても同様の表記方
法に従っている。Here, R noize-removed is the noise removal result, and R median is the median filter application result (replaced pixel value). The same notation is used for G and B.
【0071】この式から分かるように、Rremove-power
が大きいほど、ノイズ除去結果はR medianに近い値とな
り、Gremove-powerが大きいほど、ノイズ除去結果はG
medi anに近い値となり、Bremove-powerが大きいほど、
ノイズ除去結果はBmedianに近い値となる。As can be seen from this equation, Rremove-power
Is larger, the noise removal result is R medianValue close to
R, Gremove-powerIs larger, the noise removal result is G
medi anBecomes a value close toremove-powerIs larger,
The noise removal result is BmedianIt is a value close to.
【0072】続いて、ステップ7で、γ補正を実行する
ことで画質補正を実行し、続くステップ8で、全画素に
ついて処理を終了したのか否かを判断して、全画素につ
いて処理を終了していないことを判断するときには、ス
テップ9に進んで、次の画素を選択し、一方、全画素に
ついて処理を終了したことを判断するときには、処理を
終了する。Subsequently, in step 7, the image quality is corrected by executing the γ correction, and in the following step 8, it is judged whether or not the processing is completed for all the pixels, and the processing is completed for all the pixels. If it is determined that the processing is not completed, the process proceeds to step 9, and the next pixel is selected. On the other hand, if it is determined that the processing is completed for all the pixels, the processing is ended.
【0073】このようにして、本発明を具備するデジタ
ルスチルカメラ1では、γ補正による補正量の大きい場
所を重点的にノイズ除去することが可能となり、γ補正
によるノイズの拡大を防止することができるようにな
る。As described above, in the digital still camera 1 including the present invention, it is possible to focus noise removal on a place where the correction amount by the γ correction is large, and prevent the noise expansion by the γ correction. become able to.
【0074】さらに、この実施形態例に関して、以下の
ような変更を加えることも有効である。Furthermore, it is also effective to make the following modifications to this embodiment.
【0075】(1)変更例1
上述した実施形態例では、画像のレベル値の補正量の計
算をRGB値で行っているが、CIELAB(CIEの
規定するLAB色空間)などの均等色空間で行うことも
効果的である。(1) Modified Example 1 In the above-described embodiment, the amount of correction of the image level value is calculated using RGB values, but in a uniform color space such as CIELAB (LAB color space defined by CIE). It is also effective to do.
【0076】この場合には、上述した数式1(ノイズ除
去強度の計算式)を以下に説明する数式3に置き換える
とともに、上述した数式2(ノイズ除去実行の計算式)
を以下に説明する数式4に置き換えればよい。In this case, Expression 1 (calculation expression for noise removal strength) described above is replaced with Expression 3 described below, and Expression 2 (calculation expression for executing noise removal) described above.
May be replaced with the following Equation 4.
【0077】γ補正前のRGB値(Rinput ,
Binput ,Ginput )と、γ補正後のRGB値(R
corrected =Rinput +Rcorrect ,Gcorrected =G
input +Gcorrec t ,Bcorrected =Binput +B
correct )とを、例えばsRGBの定義に従うものとし
て、それぞれ、CIELAB値(L* input ,a*
input ,b* input)と、CIELAB値(L*
corrected ,a* corrected ,b* corrected )とに変
換する。この変換は、画像処理の分野では広く行われて
いる公知のものである。RGB values before γ correction (R input ,
B input , G input ) and the RGB value (R
corrected = R input + R correct , G corrected = G
input + G correc t , B corrected = B input + B
correct ) and, for example, according to the definition of sRGB, CIELAB values (L * input , a *)
input , b * input ) and CIELAB value (L *
corrected , a * corrected , b * corrected ). This conversion is a well-known method widely used in the field of image processing.
【0078】そして、下記に示す数式3に従って、例え
ば、
〔数式3〕
CIELABremove-power=〔((L* corrected −L* input )2+
(a* corrected -a* input )2+(b* corrected -b* input )2)1/2〕/10
if CIELABremove-power>1 then CIELAB remove-power=1
というように、γ補正前後のCIELABの差分値の
“1/10”の値をノイズ除去強度として算出する。[0078] Then, according to Equation 3 shown below, for example, [Equation 3] CIELAB remove-power = [((L * corrected -L * input ) 2 + (a * corrected -a * input) 2 + (b * corrected -b * input ) 2 ) 1/2 ] / 10 if CIELAB remove-power > 1 then CIELAB remove-power = 1 such that “1/10” of the difference value of CIELAB before and after γ correction is noise. It is calculated as the removal strength.
【0079】一方、ノイズ除去については、下記に示す
数式4に従って、例えば、
〔数式4〕
Rnoize-removed =CIELABremove-power×Rmedian
+(1−CIELABremove-power)×Rinput
Gnoize-removed =CIELABremove-power×Gmedian
+(1−CIELABremove-power)×Ginput
Bnoize-removed =CIELABremove-power×Bmedian
+(1−CIELABremove-power)×Binput
という形で実行する。On the other hand, for noise removal, for example, according to Equation 4 below, [Equation 4] R noize-removed = CIELAB remove-power × R median + (1-CIELAB remove-power ) × R input G noize- removed = CIELAB remove-power × G median + (1-CIELAB remove-power ) × G input B noize-removed = CIELAB remove-power × B median + (1-CIELAB remove-power ) × B input .
【0080】(2)変更例2
上述した実施形態例では、数式1で示すノイズ除去強度
の計算式については、補正量の絶対値で計算を行ってい
るが、絶対値ではなくて、レベル値の微小変化に対する
レベル値補正量の変化量(微係数に相当)で計算を行っ
てもよい。(2) Modification 2 In the above-described embodiment, the noise removal strength calculation formula shown in Formula 1 is calculated using the absolute value of the correction amount, but not the absolute value, but the level value. The calculation may be performed by the change amount (corresponding to the differential coefficient) of the level value correction amount with respect to the minute change of.
【0081】この微小変化に対する変化量の関係は、画
像のノイズの振幅の画質補正処理前後の関係に相当する
ため、画質補正によるノイズの目立ちやすさの変化を表
す指標の一つといえる。この値が大きければ、ノイズ除
去強度を大きくする。Since the relationship of the amount of change with respect to this minute change corresponds to the relationship of the amplitude of the noise of the image before and after the image quality correction processing, it can be said that it is one of the indexes showing the change in the visibility of the noise due to the image quality correction. If this value is large, the noise removal strength is increased.
【0082】例えば、
Rremove-power-correct=(γ/2)×(Rinput /255)r-1
if Rremove-power-correct>1 then Rremove-power1correct=1
Gremove-power-correct=(γ/2)×(Ginput /255)r-1
if Gremove-power-correct>1 then Gremove-power-correct=1
Bremove-power-correct=(γ/2)×(Binput /255)r-1
if Bremove-power-correct>1 then Bremove-power-correct=1
というように、γ補正の式の微係数に“1/2”をかけ
た値によりノイズ除去強度を算出する。For example, R remove-power-correct = (γ / 2) x (R input / 255) r-1 if R remove-power-correct > 1 then R remove-power1correct = 1 G remove-power-correct = (Γ / 2) × (G input / 255) r-1 if G remove-power-correct > 1 then G remove-power-correct = 1 B remove-power-correct = (γ / 2) × (B input / 255) r-1 if B remove-power-correct > 1 then B remove-power-correct = 1, so that the noise removal strength is calculated by multiplying the differential coefficient of the γ-correction formula by “1/2”. To do.
【0083】(3)変更例3
上述した実施形態例では、ノイズ除去強度の算出を画質
補正の補正量をもとに行っていたが、これに加えて、更
に、除去部分のノイズ強度(推定値など)を付加しても
良い。具体的には、エッジの近傍でノイズが目立つ場合
には、エッジの強度を基準にノイズ強度を計算する。(3) Modification 3 In the above-described embodiment, the noise removal strength is calculated based on the correction amount of the image quality correction. In addition to this, the noise strength (estimation) of the removed portion is further calculated. Value) may be added. Specifically, when noise stands out near the edge, the noise intensity is calculated based on the edge intensity.
【0084】これを実現するために、図5に示すフロー
チャートを図6に示すものに変更する。In order to realize this, the flow chart shown in FIG. 5 is changed to that shown in FIG.
【0085】すなわち、ステップ4とステップ5との間
に、ノイズ強度の算出過程(ステップα)を追加して、
ノイズ除去強度の算出式を下記に示すもののように変更
することで、ノイズが強いと推定される部分のノイズ除
去強度を強めることができ、良好にノイズの除去を行う
ことが可能となる。That is, a step of calculating the noise intensity (step α) is added between step 4 and step 5,
By changing the calculation formula of the noise removal strength as shown below, the noise removal strength of the portion where the noise is estimated to be strong can be increased, and the noise can be satisfactorily removed.
【0086】ここでは、エッジ検出を、公知技術である
3×3画素のソベルフィルタ(エッジに位置する画素に
ついて大きな値を示すソベルフィルタ適用値(エッジ強
度)が得られるフィルタ操作)によって行うものとす
る。Here, it is assumed that the edge detection is performed by a publicly known technique of a 3 × 3 pixel Sobel filter (a filter operation for obtaining a Sobel filter applied value (edge strength) showing a large value for a pixel located at an edge). To do.
【0087】なお、ソベルフィルタについては、「Chri
stopher Watkins, Alberto Sadun and Stephen Marenk
a, "Modern Image Processing", Academic Press,Inc.
(1993) 59頁〜60頁」などに記載されている。Regarding the Sobel filter, "Chri
stopher Watkins, Alberto Sadun and Stephen Marenk
a, "Modern Image Processing", Academic Press, Inc.
(1993) pp. 59-60 ".
【0088】ノイズは、基本的には、エッジの画素その
ものではなくて、エッジの近傍で目立つという性質を有
する。そこで、処理対象画素のソベルフィルタ適用結果
(R sobel ,Gsobel ,Bsobel )と、その近傍(例え
ば5×5画素の範囲)におけるソベルフィルタ適用結果
の最大値(Rsobel-max ,Gsobel-max ,
Bsobel-ma x )とを比較して、近傍画素エッジ強度最大
値の方が大きい場合には、処理対象画素がエッジの近傍
に位置すると判断して、ノイズ除去強度を強めるように
する。Noise is basically the pixel of an edge.
It is not a thing, but it has the property that it stands out near the edge.
To do. Therefore, the result of applying the Sobel filter for the pixel to be processed
(R sobel, Gsobel, Bsobel) And its vicinity (eg
Sobel filter application result in 5 x 5 pixel range)
Maximum value (Rsobel-max, Gsobel-max,
Bsobel-ma x) And the maximum pixel edge strength
If the value is larger, the target pixel is near the edge.
So that the noise removal strength is strengthened.
To do.
【0089】例えば、
という式に従って、ノイズ除去強度を強める量を算出す
るのである。For example, The amount of enhancing the noise removal strength is calculated according to the following equation.
【0090】具体的なノイズ除去強度については、例え
ば、このようにして算出される(R edge,Gedge,B
edge)を用いて、数式1中に記載する
(Rremove-power,Gre move-power,Bremove-power)
を、
〔数式5〕
Rremove-power-new=(Rremove-power+Redge)/2
Gremove-power-new=(Gremove-power+Gedge)/2
Bremove-power-new=(Bremove-power+Bedge)/2
という式(以下、数式5と称することがある)に従っ
て、(Rremove-power-new,Gremove-power-new,B
remove-power-new)に置き換えることでノイズ除去強度
を求めて、そのようにして求めたノイズ除去強度を使っ
てノイズ除去を行うことになる。For concrete noise removal strength, for example,
For example, it is calculated in this way (R edge, Gedge, B
edge) Is used to describe in Equation 1.
(Rremove-power, Gre move-power, Bremove-power)
To
[Formula 5]
Rremove-power-new= (Rremove-power+ Redge) / 2
Gremove-power-new= (Gremove-power+ Gedge) / 2
Bremove-power-new= (Bremove-power+ Bedge) / 2
According to the formula (hereinafter, sometimes referred to as Formula 5)
, (Rremove-power-new, Gremove-power-new, B
remove-power-new) Noise removal strength
And use the noise removal strength thus obtained
Noise will be removed.
【0091】あるいは、このようにして算出される(R
edge,Gedge,Bedge)を用いて、数式1中に記載する
(Rremove-power,Gremove-power,Bremove-power)
を、
〔数式6〕
Rremove-power-new=(Rremove-power+Redge)
if Rremove-power-new>1 then Rremove-power-new=1
Gremove-power-new=(Gremove-power+Gedge)
if Gremove-power-new>1 then Gremove-power-new=1
Bremove-power-new=(Bremove-power+Bedge)
if Bremove-power-new>1 then Bremove-power-new=1
という式(以下、数式6と称することがある)に従っ
て、(Rremove-power-new,Gremove-power-new,B
remove-power-new)に置き換えることでノイズ除去強度
を求めて、そのようにして求めたノイズ除去強度を使っ
てノイズ除去を行ってもよい。Alternatively, it is calculated in this way (R
edge , G edge , B edge ) and describe it in Formula 1 (R remove-power , G remove-power , B remove-power )
[Equation 6] R remove-power-new = (R remove-power + R edge ) if R remove-power-new > 1 then R remove-power-new = 1 G remove-power-new = (G remove- power + G edge ) if G remove-power-new > 1 then G remove-power-new = 1 B remove-power-new = (B remove-power + B edge ) if B remove-power-new > 1 then B remove- According to the formula power-new = 1 (hereinafter, may be referred to as Formula 6), (R remove-power-new , G remove-power-new , B
remove-power-new ) to obtain the noise removal strength, and the noise removal strength thus obtained may be used to perform the noise removal.
【0092】また、この変更例3の類似の例として、暗
い部分にノイズが目立つ場合には、暗さを評価する係数
を求めて、数式5や数式6と同様の方法に従って、ノイ
ズ除去強度を変更してもよい。Further, as a similar example to this modification 3, when noise is noticeable in a dark part, a coefficient for evaluating the darkness is obtained, and the noise removal strength is calculated according to the same method as in the equations (5) and (6). You may change it.
【0093】具体的には、例えば、RGB値のそれぞれ
について、レベル値と評価係数との対応関係をテーブル
化してROM13に格納しておき、この値を参照してノ
イズ除去強度を変更する。例えば、R=0では係数値
“64/64”、R=1では係数値“63/64”、R
=2では係数値“62/64”、・・・・、R>64で
は係数値“0/64”というようなテーブルを参照し
て、ノイズ除去強度を変更するのである。Specifically, for example, for each of the RGB values, the correspondence between the level value and the evaluation coefficient is tabulated and stored in the ROM 13, and the noise removal strength is changed with reference to this value. For example, when R = 0, the coefficient value “64/64”, when R = 1, the coefficient value “63/64”, R
= 2, the coefficient removal value is changed by referring to the coefficient value "62/64", ..., And the coefficient value "0/64" when R> 64.
【0094】さらには、無彩色でノイズが目立つ場合に
は、彩度に応じて同様のテーブルを作成しておいて、こ
の値を参照してノイズ除去強度を変更することになる。Further, when noise is noticeable in an achromatic color, a similar table is created according to the saturation, and the noise removal strength is changed with reference to this value.
【0095】以上、本発明の実施形態例とその変形例と
について述べた。ここでは、ノイズ除去の処理は、メジ
アンフィルタを用いたが、他の方法でも構わない。例え
ば、単純平均やLPFなどでもよい。The embodiments of the present invention and the modifications thereof have been described above. Here, the median filter is used for the noise removal processing, but other methods may be used. For example, simple average or LPF may be used.
【0096】また、画素ごとにノイズ除去強度を定めた
が、周囲の画素の値を参照(例えば数画素で平均化した
値を算出)して定めても良い。なぜならば、ノイズは、
周囲の画素との相対的な関係で顕在化するからである。Further, although the noise removal strength is set for each pixel, it may be set by referring to the values of surrounding pixels (for example, calculating a value averaged by several pixels). Because the noise is
This is because it becomes apparent in a relative relationship with surrounding pixels.
【0097】また、画質補正処理としては、γ補正を例
としたが、ダイナミックレンジ補正など、他の補正とと
もに用いてもよい。Further, as the image quality correction processing, γ correction is taken as an example, but it may be used together with other correction such as dynamic range correction.
【0098】また、補正量の決定を計算により算出せ
ず、何らかのユーザインタフェースを用いて、ユーザに
設定させても良い。The correction amount may not be calculated but may be set by the user using some kind of user interface.
【0099】(付記1)画像のノイズを除去することで
画質の改善を図る画質改善方法であって、画像のレベル
値を補正する過程と、ノイズ除去処理を適用する画像の
部位またはその近傍の部位におけるレベル値補正量に基
づいて、ノイズ除去強度を決定する過程と、上記決定し
たノイズ除去強度に従って、画像の部位を単位にしてノ
イズを除去する過程とを備えることを、特徴とする画質
改善方法。(Supplementary Note 1) An image quality improving method for improving image quality by removing noise from an image, in which a process of correcting a level value of an image and a portion of an image to which noise removal processing is applied or a vicinity thereof are performed. Image quality improvement comprising a step of determining a noise removal strength based on a level value correction amount in a part and a step of removing noise in units of an image part according to the determined noise removal strength. Method.
【0100】(付記2)付記1記載の画質改善方法にお
いて、補正前の画像に含まれるノイズ強度を評価する過
程を備え、上記ノイズ除去強度を決定する過程では、上
記評価したノイズ強度も参照してノイズ除去強度を決定
することを、特徴とする画質改善方法。(Supplementary Note 2) The image quality improving method according to Supplementary Note 1 includes a step of evaluating the noise intensity included in the image before correction, and in the step of determining the noise removal intensity, the evaluated noise intensity is also referred to. A method of improving image quality, characterized in that the noise removal strength is determined by
【0101】(付記3)付記2記載の画質改善方法にお
いて、上記ノイズ強度を評価する過程では、ノイズ強度
を均等色空間で評価することを、特徴とする画質改善方
法。(Supplementary Note 3) In the image quality improving method according to Supplementary Note 2, in the process of evaluating the noise intensity, the noise intensity is evaluated in a uniform color space.
【0102】(付記4)付記2又は3記載の画質改善方
法において、上記ノイズ強度を評価する過程では、画像
のレベル値に対応付けられるノイズ強度を定義する記憶
データを使ってノイズ強度を評価するか、規定の数式を
使ってノイズ強度を評価することを、特徴とする画質改
善方法。(Supplementary Note 4) In the image quality improving method according to Supplementary Note 2 or 3, in the process of evaluating the noise intensity, the noise intensity is evaluated using the stored data defining the noise intensity associated with the level value of the image. Alternatively, an image quality improvement method characterized in that the noise intensity is evaluated using a prescribed mathematical formula.
【0103】(付記5)付記1ないし4のいずれか1項
に記載の画質改善方法において、上記ノイズ除去強度を
決定する過程では、ノイズ除去強度を画素単位に決定す
ることを、特徴とする画質改善方法。(Supplementary Note 5) In the image quality improving method described in any one of Supplementary Notes 1 to 4, in the process of determining the noise removal strength, the noise removal strength is determined for each pixel. How to improve.
【0104】(付記6)付記1ないし5のいずれか1項
に記載の画質改善方法において、上記ノイズ除去強度を
決定する過程では、ノイズ除去処理を適用する画像の部
位またはその近傍の部位におけるレベル値補正量の絶対
値に応じて、ノイズ除去強度を決定することを、特徴と
する画質改善方法。(Supplementary Note 6) In the image quality improving method according to any one of Supplementary Notes 1 to 5, in the process of determining the noise removal strength, the level at the part of the image to which the noise removal process is applied or a part in the vicinity thereof is applied. An image quality improving method characterized in that the noise removal strength is determined according to the absolute value of the value correction amount.
【0105】(付記7)付記1ないし5のいずれか1項
に記載の画質改善方法において、上記ノイズ除去強度を
決定する過程では、画質補正処理によるレベル値の微小
変化に対するレベル値補正量の変化量に応じて、ノイズ
除去強度を決定することを、特徴とする画質改善方法。(Supplementary Note 7) In the image quality improving method according to any one of Supplementary Notes 1 to 5, in the process of determining the noise removal strength, a change in the level value correction amount with respect to a minute change in the level value due to the image quality correction processing is changed. An image quality improving method characterized in that the noise removal strength is determined according to the amount.
【0106】(付記8)付記6記載の画質改善方法にお
いて、上記ノイズ除去強度を決定する過程では、レベル
値補正量の絶対値を均等色空間で評価することを、特徴
とする画質改善方法。(Supplementary Note 8) In the image quality improving method according to Supplementary Note 6, in the process of determining the noise removal strength, the absolute value of the level value correction amount is evaluated in the uniform color space.
【0107】(付記9)付記7記載の画質改善方法にお
いて、上記ノイズ除去強度を決定する過程では、レベル
値補正量の変化量を均等色空間で評価することを、特徴
とする画質改善方法。(Supplementary Note 9) In the image quality improving method according to Supplementary Note 7, in the process of determining the noise removal strength, the change amount of the level value correction amount is evaluated in the uniform color space.
【0108】(付記10)画像のノイズを除去すること
で画質の改善を図る画質改善装置であって、画像のレベ
ル値を補正する手段と、ノイズ除去処理を適用する画像
の部位またはその近傍の部位におけるレベル値補正量に
基づいて、ノイズ除去強度を決定する手段と、上記決定
したノイズ除去強度に従って、画像の部位を単位にして
ノイズを除去する手段とを備えることを、特徴とする画
質改善装置。(Supplementary Note 10) An image quality improving apparatus for improving image quality by removing noise from an image, comprising means for correcting the level value of the image, and a portion of the image to which noise removal processing is applied or a portion in the vicinity thereof. Image quality improvement comprising means for determining noise removal strength based on a level value correction amount in a region, and means for removing noise in units of image regions in accordance with the determined noise removal intensity apparatus.
【0109】(付記11)画像のノイズを除去すること
で画質の改善を図る処理を行う画像改善プログラムであ
って、画像のレベル値を補正する処理と、ノイズ除去処
理を適用する画像の部位またはその近傍の部位における
レベル値補正量に基づいて、ノイズ除去強度を決定する
処理と、上記決定したノイズ除去強度に従って、画像の
部位を単位にしてノイズを除去する処理とをコンピュー
タに実行させるための画像改善プログラム。(Supplementary Note 11) An image improvement program for performing a process for improving the image quality by removing noise from an image, which is a process for correcting a level value of an image and a portion of an image to which a noise removing process is applied. A method for causing a computer to execute a process of determining a noise removal intensity based on a level value correction amount in a region in the vicinity thereof and a process of removing noise in a unit of an image region according to the determined noise removal intensity Image improvement program.
【0110】(付記12)画像のノイズを除去すること
で画質の改善を図る処理を行うプログラムを記録した画
像改善プログラムの記録媒体であって、画像のレベル値
を補正する処理と、ノイズ除去処理を適用する画像の部
位またはその近傍の部位におけるレベル値補正量に基づ
いて、ノイズ除去強度を決定する処理と、上記決定した
ノイズ除去強度に従って、画像の部位を単位にしてノイ
ズを除去する処理とをコンピュータに実行させるための
プログラムを記録した画像改善プログラムの記録媒体。(Supplementary Note 12) A recording medium of an image improvement program recording a program for performing a process for improving image quality by removing noise from an image, which is a process for correcting an image level value and a noise removing process. A process of determining the noise removal strength based on the level value correction amount in the region of the image to which is applied or a region in the vicinity thereof, and a process of removing noise in units of the image region according to the determined noise removal intensity. A recording medium for an image improvement program, which stores a program for causing a computer to execute.
【0111】[0111]
【発明の効果】以上説明したように、本発明では、ノイ
ズ除去処理を適用する画像の部位またはその近傍の部位
におけるレベル値補正量に基づいて、ノイズ除去強度を
決定して、それに従って、画像の部位を単位にしてノイ
ズを除去するという構成を採る。As described above, according to the present invention, the noise removal strength is determined based on the level value correction amount in the part of the image to which the noise removal process is applied or the part in the vicinity thereof, and the image is corrected accordingly. The noise is removed in units of.
【0112】この構成に従って、本発明によれば、画像
に対してコントラスト補正などといったような様々なレ
ベル値補正処理を行った場合にも、良好なノイズ除去を
行うことでその画質を改善することが可能になる。According to the present invention, according to this configuration, even when various level value correction processing such as contrast correction is performed on an image, the image quality is improved by performing good noise removal. Will be possible.
【図1】本発明の原理について説明する図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の原理について説明する図である。FIG. 2 is a diagram illustrating the principle of the present invention.
【図3】本発明の原理について説明する図である。FIG. 3 is a diagram illustrating the principle of the present invention.
【図4】本発明を具備するデジタルスチルカメラの装置
構成図である。FIG. 4 is a device configuration diagram of a digital still camera including the present invention.
【図5】本発明で実行する画質改善処理のフローチャー
トである。FIG. 5 is a flowchart of image quality improvement processing executed in the present invention.
【図6】本発明で実行する画質改善処理のフローチャー
トである。FIG. 6 is a flowchart of image quality improvement processing executed in the present invention.
【図7】従来技術の説明図である。FIG. 7 is an explanatory diagram of a conventional technique.
【図8】従来技術の説明図である。FIG. 8 is an explanatory diagram of a conventional technique.
【図9】従来技術の説明図である。FIG. 9 is an explanatory diagram of a conventional technique.
【図10】従来技術の説明図である。FIG. 10 is an explanatory diagram of a conventional technique.
【図11】コントラストを上げるための補正で用いるS
字補正カーブの説明図である。FIG. 11: S used in correction for increasing contrast
It is explanatory drawing of a character correction curve.
【図12】コントラストを抑えるための補正で用いる逆
S字補正カーブの説明図である。FIG. 12 is an explanatory diagram of an inverse S-shaped correction curve used for correction for suppressing contrast.
1 デジタルスチルカメラ 10 CCD 11 A/D変換器 12 演算ユニット 13 ROM 14 RAM 15 不揮発記憶媒体 1 Digital still camera 10 CCD 11 A / D converter 12 arithmetic unit 13 ROM 14 RAM 15 Non-volatile storage medium
Claims (5)
善を図る画質改善方法であって、 画像のレベル値を補正する過程と、 ノイズ除去処理を適用する画像の部位またはその近傍の
部位におけるレベル値補正量に基づいて、ノイズ除去強
度を決定する過程と、 上記決定したノイズ除去強度に従って、画像の部位を単
位にしてノイズを除去する過程とを備えることを、 特徴とする画質改善方法。1. An image quality improving method for improving image quality by removing noise from an image, comprising: a step of correcting a level value of an image; and a portion of an image to which noise removal processing is applied or a portion in the vicinity thereof. An image quality improving method comprising: a step of determining a noise removal strength based on a level value correction amount; and a step of removing noise in units of image parts according to the determined noise removal strength.
え、 上記ノイズ除去強度を決定する過程では、上記評価した
ノイズ強度も参照してノイズ除去強度を決定すること
を、 特徴とする画質改善方法。2. The image quality improving method according to claim 1, further comprising a step of evaluating the noise intensity included in the image before correction, wherein the step of determining the noise removal intensity also refers to the evaluated noise intensity. An image quality improvement method characterized by determining the noise removal strength.
色空間で評価することを、 特徴とする画質改善方法。3. The image quality improving method according to claim 2, wherein, in the step of evaluating the noise intensity, the noise intensity is evaluated in a uniform color space.
の画質改善方法において、 上記ノイズ除去強度を決定する過程では、ノイズ除去処
理を適用する画像の部位またはその近傍の部位における
レベル値補正量の絶対値に応じて、ノイズ除去強度を決
定することを、 特徴とする画質改善方法。4. The image quality improving method according to claim 1, wherein in the step of determining the noise removal strength, a level value at a site of an image to which the noise removal process is applied or a site in the vicinity thereof is applied. An image quality improvement method characterized in that the noise removal strength is determined according to the absolute value of the correction amount.
の画質改善方法において、 上記ノイズ除去強度を決定する過程では、画質補正処理
によるレベル値の微小変化に対するレベル値補正量の変
化量に応じて、ノイズ除去強度を決定することを、 特徴とする画質改善方法。5. The image quality improving method according to claim 1, wherein in the process of determining the noise removal strength, a change amount of the level value correction amount with respect to a minute change of the level value by the image quality correction process. A method of improving image quality, characterized in that the noise removal strength is determined according to.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002087605A JP4109001B2 (en) | 2002-03-27 | 2002-03-27 | Image quality correction method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002087605A JP4109001B2 (en) | 2002-03-27 | 2002-03-27 | Image quality correction method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003283878A true JP2003283878A (en) | 2003-10-03 |
| JP4109001B2 JP4109001B2 (en) | 2008-06-25 |
Family
ID=29233742
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002087605A Expired - Fee Related JP4109001B2 (en) | 2002-03-27 | 2002-03-27 | Image quality correction method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4109001B2 (en) |
Cited By (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2007013621A1 (en) * | 2005-07-28 | 2007-02-01 | Kyocera Corporation | Imaging device and image processing method |
| JP2007036844A (en) * | 2005-07-28 | 2007-02-08 | Hitachi Ltd | Video signal processing device and display device equipped with the same |
| JP2007234000A (en) * | 2006-02-01 | 2007-09-13 | Fujifilm Corp | Image correction apparatus and method |
| JP2008017157A (en) * | 2006-07-05 | 2008-01-24 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| JP2008085387A (en) * | 2006-09-25 | 2008-04-10 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| JP2008085697A (en) * | 2006-09-28 | 2008-04-10 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| US7944490B2 (en) | 2006-05-30 | 2011-05-17 | Kyocera Corporation | Image pickup apparatus and method and apparatus for manufacturing the same |
| US7999863B2 (en) | 2006-02-01 | 2011-08-16 | Fujifilm Corporation | Image correction apparatus and method |
| US8044331B2 (en) | 2006-08-18 | 2011-10-25 | Kyocera Corporation | Image pickup apparatus and method for manufacturing the same |
| US8125537B2 (en) | 2007-06-28 | 2012-02-28 | Kyocera Corporation | Image processing method and imaging apparatus using the same |
| US8149298B2 (en) | 2008-06-27 | 2012-04-03 | Kyocera Corporation | Imaging device and method |
| US8310583B2 (en) | 2008-09-29 | 2012-11-13 | Kyocera Corporation | Lens unit, image pickup apparatus, electronic device and an image aberration control method |
| US8334500B2 (en) | 2006-12-27 | 2012-12-18 | Kyocera Corporation | System for reducing defocusing of an object image due to temperature changes |
| US8363129B2 (en) | 2008-06-27 | 2013-01-29 | Kyocera Corporation | Imaging device with aberration control and method therefor |
| US8502877B2 (en) | 2008-08-28 | 2013-08-06 | Kyocera Corporation | Image pickup apparatus electronic device and image aberration control method |
| US8567678B2 (en) | 2007-01-30 | 2013-10-29 | Kyocera Corporation | Imaging device, method of production of imaging device, and information code-reading device |
| CN104243770A (en) * | 2013-06-19 | 2014-12-24 | 日立产业控制解决方案有限公司 | Image signal processing apparatus, imaging apparatus and image processing program |
| WO2021230708A1 (en) * | 2020-05-15 | 2021-11-18 | Samsung Electronics Co., Ltd. | Image processing method, electronic device and readable storage medium |
-
2002
- 2002-03-27 JP JP2002087605A patent/JP4109001B2/en not_active Expired - Fee Related
Cited By (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007036844A (en) * | 2005-07-28 | 2007-02-08 | Hitachi Ltd | Video signal processing device and display device equipped with the same |
| JP2007181170A (en) * | 2005-07-28 | 2007-07-12 | Kyocera Corp | Imaging device |
| WO2007013621A1 (en) * | 2005-07-28 | 2007-02-01 | Kyocera Corporation | Imaging device and image processing method |
| US7999863B2 (en) | 2006-02-01 | 2011-08-16 | Fujifilm Corporation | Image correction apparatus and method |
| JP2007234000A (en) * | 2006-02-01 | 2007-09-13 | Fujifilm Corp | Image correction apparatus and method |
| US7944490B2 (en) | 2006-05-30 | 2011-05-17 | Kyocera Corporation | Image pickup apparatus and method and apparatus for manufacturing the same |
| JP2008017157A (en) * | 2006-07-05 | 2008-01-24 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| US8044331B2 (en) | 2006-08-18 | 2011-10-25 | Kyocera Corporation | Image pickup apparatus and method for manufacturing the same |
| US8059955B2 (en) | 2006-09-25 | 2011-11-15 | Kyocera Corporation | Image pickup apparatus and method and apparatus for manufacturing the same |
| JP2008085387A (en) * | 2006-09-25 | 2008-04-10 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| JP2008085697A (en) * | 2006-09-28 | 2008-04-10 | Kyocera Corp | Imaging device, manufacturing apparatus and manufacturing method thereof |
| US8334500B2 (en) | 2006-12-27 | 2012-12-18 | Kyocera Corporation | System for reducing defocusing of an object image due to temperature changes |
| US8567678B2 (en) | 2007-01-30 | 2013-10-29 | Kyocera Corporation | Imaging device, method of production of imaging device, and information code-reading device |
| US8125537B2 (en) | 2007-06-28 | 2012-02-28 | Kyocera Corporation | Image processing method and imaging apparatus using the same |
| US8149298B2 (en) | 2008-06-27 | 2012-04-03 | Kyocera Corporation | Imaging device and method |
| US8363129B2 (en) | 2008-06-27 | 2013-01-29 | Kyocera Corporation | Imaging device with aberration control and method therefor |
| US8502877B2 (en) | 2008-08-28 | 2013-08-06 | Kyocera Corporation | Image pickup apparatus electronic device and image aberration control method |
| US8773778B2 (en) | 2008-08-28 | 2014-07-08 | Kyocera Corporation | Image pickup apparatus electronic device and image aberration control method |
| US8310583B2 (en) | 2008-09-29 | 2012-11-13 | Kyocera Corporation | Lens unit, image pickup apparatus, electronic device and an image aberration control method |
| CN104243770A (en) * | 2013-06-19 | 2014-12-24 | 日立产业控制解决方案有限公司 | Image signal processing apparatus, imaging apparatus and image processing program |
| WO2021230708A1 (en) * | 2020-05-15 | 2021-11-18 | Samsung Electronics Co., Ltd. | Image processing method, electronic device and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4109001B2 (en) | 2008-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2003283878A (en) | Image quality improvement method | |
| JP3465226B2 (en) | Image density conversion processing method | |
| US8165419B2 (en) | Histogram stretching apparatus and histogram stretching method for enhancing contrast of image | |
| JP5901667B2 (en) | Image processing apparatus and method, image processing program, and imaging apparatus | |
| JP2010056774A (en) | Apparatus, method and program for processing image | |
| JP2004040235A (en) | Image processing apparatus and image processing method | |
| JP4526445B2 (en) | Imaging device | |
| JP4099936B2 (en) | Image processing apparatus, image processing method, and recording medium storing image processing program | |
| CN101273381A (en) | Image signal processing device and image signal processing program | |
| JP4869653B2 (en) | Image processing device | |
| JP2012108898A (en) | Image processing device and image processing method | |
| JP2005252869A (en) | Video signal processing apparatus and video signal processing method | |
| JP5099275B2 (en) | Adaptive overshoot control for sharpening images | |
| JPH10232927A (en) | Image gradation conversion device, image gradation changing method, medium recording program for executing the method, and infrared camera | |
| JP6558935B2 (en) | Image processing apparatus, control method thereof, control program, and imaging apparatus | |
| JP5142833B2 (en) | Image processing apparatus and image processing method | |
| JP2001045298A (en) | Image processing method, recording medium storing image processing program, and image processing apparatus | |
| JP2006217277A (en) | Imaging device | |
| EP2410731B1 (en) | Edge correction apparatus, edge correction method, program, and storage medium | |
| JP4176681B2 (en) | Image edge correction apparatus and image edge correction method | |
| EP1622080A1 (en) | Signal processing device and method, recording medium, and program | |
| JP4550090B2 (en) | Image processing apparatus and image processing method | |
| JPH10340332A (en) | Image processor, image processing method and medium recording image processing control program | |
| JP2014155167A (en) | Image processing apparatus, method, and program, and recording medium | |
| KR100989719B1 (en) | Recording medium on which the image processing apparatus, the edge enhancement method and the edge enhancement method of the image processing apparatus are recorded |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050322 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070725 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070731 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071001 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080401 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080403 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110411 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120411 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130411 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140411 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |