JP5111310B2 - Image processing method and image processing apparatus - Google Patents
Image processing method and image processing apparatus Download PDFInfo
- Publication number
- JP5111310B2 JP5111310B2 JP2008230801A JP2008230801A JP5111310B2 JP 5111310 B2 JP5111310 B2 JP 5111310B2 JP 2008230801 A JP2008230801 A JP 2008230801A JP 2008230801 A JP2008230801 A JP 2008230801A JP 5111310 B2 JP5111310 B2 JP 5111310B2
- Authority
- JP
- Japan
- Prior art keywords
- enhancer
- image
- gradation conversion
- value
- processing
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Picture Signal Circuits (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、ダイナミックγ処理を実行する画像処理方法及び画像処理装置に関する。 The present invention relates to an image processing method and an image processing apparatus that execute dynamic γ processing.
入力映像信号の特徴に応じて適応的にγ変換処理を実行する画像処理方法がある。本明細書では、この処理をダイナミックγ処理と表記する。画像データが8bitの場合を例として、ダイナミックγ処理の流れについて説明する。まず、図8に示したように、1フレーム中の画素について、横軸を輝度の階調、縦軸を画素の個数とするヒストグラムを検出する。次に、図8に矢印で示したように、そのヒストグラムから1フレーム中の最小輝度値と最大輝度値を検出する。続いて、図9のように最小輝度値を0階調、最大輝度値を255階調に出力されるような階調変換カーブを作成し、γ変換を行う。 There is an image processing method that adaptively executes γ conversion processing according to the characteristics of an input video signal. In this specification, this processing is referred to as dynamic γ processing. The flow of dynamic γ processing will be described by taking the case where the image data is 8 bits as an example. First, as shown in FIG. 8, for a pixel in one frame, a histogram is detected with the horizontal axis representing luminance gradation and the vertical axis representing the number of pixels. Next, as indicated by arrows in FIG. 8, the minimum luminance value and the maximum luminance value in one frame are detected from the histogram. Subsequently, as shown in FIG. 9, a gradation conversion curve is generated so that the minimum luminance value is output to 0 gradation and the maximum luminance value is output to 255 gradation, and γ conversion is performed.
しかしながら、1フレーム分のヒストグラム検出を終了すると同時にγ変換を行うと、階調変換カーブの書き換えが間に合わず、ヒストグラムを検出したフレームに対して階調変換カーブを適用できないという課題があった。 However, if γ conversion is performed at the same time as the histogram detection for one frame is completed, the tone conversion curve cannot be rewritten in time, and there is a problem that the tone conversion curve cannot be applied to the frame in which the histogram is detected.
この課題への対応として、特開2006−295686号公報(特許文献1)に記載されている方法がある。これは、ヒストグラム検出、IP変換(インターレース−プログレッシブ変換)、ヒストグラム情報を使用したダイナミックγ処理、の順で画像処理を行うものである。特許文献1に記載されている画像処理装置を図10に示す。
As a countermeasure to this problem, there is a method described in Japanese Patent Application Laid-Open No. 2006-295686 (Patent Document 1). This performs image processing in the order of histogram detection, IP conversion (interlace-progressive conversion), and dynamic γ processing using histogram information. An image processing apparatus described in
特許文献1には、IP変換においてはフレームメモリが必要であり、1フレーム分画像が遅延することが記載されている。したがって、図10に記載の処理順であれば、IP変換でフレーム遅延が発生するため、ヒストグラムを検出した入力映像信号に対して遅延することなくダイナミックγ処理を行うことが可能である。
一般的にテレビジョンに表示される画像には、IP変換、ダイナミックγ処理だけではなく、様々な画像処理が行われている。その処理の一つとして、エンハンサ処理(輪郭強調処理)がある。エンハンサ処理は、画像の輪郭を強調するために入力映像信号の高周波成分を抽出し、元の入力映像信号に加算することで、画像の輪郭部分にアンダーシュート、オーバーシュートを付与して輪郭強調を行い、輪郭強調済み信号を出力する処理である。エンハンサ処理は、図11(a)に示すような波形が入力されると図11(b)のようなアンダーシュート、オーバーシュートの成分を付与した信号を出力する。そのため、アンダーシュートを付与すると入力映像信号より暗い輝度値の画素が発生し、オーバーシュートを付与すると入力映像信号より明るい輝度値の画素が発生する。 In general, an image displayed on a television is subjected not only to IP conversion and dynamic γ processing but also to various image processing. One of the processes is an enhancer process (outline enhancement process). The enhancer process extracts the high-frequency component of the input video signal to enhance the contour of the image, and adds it to the original input video signal to add undershoot and overshoot to the contour portion of the image to enhance the contour. This is a process for performing an outline-enhanced signal. In the enhancer process, when a waveform as shown in FIG. 11A is input, a signal with an undershoot and overshoot component as shown in FIG. 11B is output. For this reason, when an undershoot is applied, a pixel having a darker luminance value than the input video signal is generated, and when an overshoot is applied, a pixel having a brighter luminance value than the input video signal is generated.
エンハンサ処理は、プログレッシブ信号に対して処理を行う方が、インターレース信号に処理を行うよりも強調する周波数の選択自由度が高まるため、IP変換後にエンハンサ処理を行うのが好ましいと考えられる。 In the enhancer process, it is considered preferable to perform the enhancer process after the IP conversion because the process for the progressive signal has a higher degree of freedom of selection of the emphasized frequency than the process for the interlaced signal.
しかしながら、例えば、ヒストグラム検出、IP変換、エンハンサ処理、ダイナミックγ処理、という処理順で画像処理を実行する場合、以下のような問題がある。階調変換カーブ作成においては、エンハンサ処理により付与されるアンダーシュート、オーバーシュートが反映されていないヒストグラムから図9のような階調変換カーブを作成している。
エンハンサ処理で発生するアンダーシュートにより、画像の最小輝度値はエンハンサ処理前より小さくなり、オーバーシュートにより、画像の最大輝度値はエンハンサ処理前より大きくなる。しかし、図9の階調変換カーブではエンハンサ処理後に発生するアンダーシュートは0階調、オーバーシュートは255階調で出力されてしまう。そのため、アンダーシュートとオーバーシュートの効果が打ち消され、エンハンサ処理により向上した画像の鮮鋭感が低減してしまうという課題があった。
However, for example, when image processing is executed in the processing order of histogram detection, IP conversion, enhancer processing, and dynamic γ processing, there are the following problems. In the gradation conversion curve creation, a gradation conversion curve as shown in FIG. 9 is created from a histogram that does not reflect undershoot and overshoot given by the enhancer process.
Due to the undershoot that occurs in the enhancer process, the minimum brightness value of the image is smaller than before the enhancer process, and due to the overshoot, the maximum brightness value of the image is greater than that before the enhancer process. However, in the gradation conversion curve of FIG. 9, the undershoot generated after the enhancer process is output at 0 gradation, and the overshoot is output at 255 gradation. For this reason, there is a problem that the effects of undershoot and overshoot are canceled and the sharpness of the image improved by the enhancer processing is reduced.
本発明は上記実情に鑑みてなされたものであり、その目的とするところは次のとおりである。すなわち、鮮鋭感向上のためにエンハンサ処理で付与されたアンダーシュート、オーバーシュートの効果を抑制しないようなダイナミックγ処理を行う画像処理方法及び画像処理装置を提供することである。 The present invention has been made in view of the above circumstances, and the objects thereof are as follows. That is, it is an object to provide an image processing method and an image processing apparatus that perform dynamic γ processing so as not to suppress the effects of undershoot and overshoot imparted by enhancer processing in order to improve sharpness.
上記目的を達成するために、本発明の第一の発明では、以下の構成を採用する。すなわち、映像信号に含まれる画像中の画素の輝度値の最小値及び最大値を検出する検出手段と、前記検出手段で検出した輝度値の最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成手段と、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理手段と、前記作成手段により作成された前記階調変換カーブを用いて、前記処理手段による前記エンハンサ処理を行った画像に対して階調変換を行う階調変換手段と、を有し、前記検出手段で検出された輝度値の最小値及び最大値は、前記エンハンサ強度に応じて変更され、前記作成手段は、変更後の変更最小値及び変更最大値を用いて、前記階調変換カーブを作成することを特徴とする画像処理装置である。
In order to achieve the above object, the first aspect of the present invention employs the following configuration. That is, detection means for detecting the minimum and maximum luminance values of pixels in an image included in the video signal, and input in gradation conversion based on the minimum and maximum luminance values detected by the detection means A creation unit that creates a gradation conversion curve that indicates the relationship between the luminance value and the output luminance value, and a process that performs the enhancer process on the image according to an enhancer intensity that indicates the intensity of the enhancer process that enhances the contour of the image And gradation conversion means for performing gradation conversion on the image subjected to the enhancer processing by the processing means using the gradation conversion curve created by the creation means, and the detection The minimum value and the maximum value of the luminance value detected by the means are changed according to the enhancer intensity, and the creating means uses the changed minimum value and the changed maximum value after the change to change the gradation conversion card. An image processing apparatus characterized by creating a.
また本発明の第二の発明では、以下の構成を採用する。すなわち、映像信号に含まれる画像中の画素の輝度値からヒストグラムを検出する第1検出手段と、前記第1検出手段で検出したヒストグラムをローパスフィルタで補正する補正手段と、前記補正手段によりローパスフィルタで補正されたヒストグラムにおける輝度値の最小値及び最大値を検出する第2検出手段と、前記第2検出手段で検出された前記最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成手段と、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理手段と、前記作成手段により作成された前記階調変換カーブを用いて、前記処理手段による前記エンハンサ処理を行った画像に対して階調変換を行う階調変換手段と、を有することを特徴とする画像処理装置である。
In the second invention of the present invention, the following configuration is adopted. That is, first detection means for detecting a histogram from luminance values of pixels in an image included in a video signal, correction means for correcting the histogram detected by the first detection means with a low-pass filter, and low-pass filter by the correction means Second detection means for detecting a minimum value and a maximum value of the luminance value in the histogram corrected in step (b), and an input luminance value in gradation conversion based on the minimum value and the maximum value detected by the second detection means; Creating means for creating a gradation conversion curve indicating a relationship between output luminance values; processing means for performing enhancer processing on the image according to enhancer strength indicating the strength of enhancer processing for enhancing the contour of the image; Using the gradation conversion curve created by the creating means, a scale is applied to an image that has undergone the enhancer processing by the processing means. A gradation conversion unit for converting an image processing apparatus characterized by having a.
また本発明の第三の発明では、以下の構成を採用する。すなわち、検出手段が、映像信号に含まれる画像中の画素の輝度値の最小値及び最大値を検出する検出ステップと、作成手段が、前記検出ステップで検出した輝度値の最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成ステップと、
処理手段が、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理ステップと、階調変換手段が、前記作成ステップにより作成された前記階調変換カーブを用いて、前記処理ステップによる前記エンハンサ処理を行った画像に対して階調変換を行う階調変換ステップと、を有し、前記検出ステップで検出された輝度値の最小値及び最大値は、前記エンハンサ強度に応じて変更され、前記作成ステップでは、変更後の変更最小値及び変更最大値を用いて、前記階調変換カーブが作成されることを特徴とする画像処理方法である。
In the third invention of the present invention, the following configuration is adopted. That is, the detecting means detects the minimum and maximum luminance values of the pixels in the image included in the video signal, and the creating means sets the minimum and maximum luminance values detected in the detecting step. A creation step for creating a gradation conversion curve indicating a relationship between an input luminance value and an output luminance value in gradation conversion,
A processing step in which processing means performs enhancer processing on the image according to an enhancer strength indicating the strength of enhancer processing that emphasizes the contour of the image, and a gradation conversion means is created in the creation step. A gradation conversion step for performing gradation conversion on an image that has been subjected to the enhancer process in the processing step using a gradation conversion curve, and a minimum luminance value detected in the detection step; In the image processing method, the maximum value is changed according to the enhancer intensity, and in the creation step, the gradation conversion curve is created using the changed minimum value and the changed maximum value after the change. is there.
また本発明の第四の発明では、以下の構成を採用する。すなわち、第1検出手段が、映像信号に含まれる画像中の画素の輝度値からヒストグラムを検出する第1検出ステップと、補正手段が、前記第1検出ステップで検出したヒストグラムをローパスフィルタで補正する補正ステップと、第2検出手段が、前記補正ステップにてローパスフィルタで補正されたヒストグラムにおける輝度値の最小値及び最大値を検出する第2検出ステップと、作成手段が、前記第2検出ステップで検出された前記最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成ステップと、処理手段が、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理ステップと、階調変換手段が、前記作成ステップで作成された前記階調変換カーブを用いて、前記処理ステップにおいて前記エンハンサ処理を行った画像に対して階調変換を行う階調変換ステップと、を有することを特徴とする画像処理方法である。
In the fourth aspect of the present invention, the following configuration is adopted. That is, the first detection unit detects a histogram from the luminance value of the pixel in the image included in the video signal, and the correction unit corrects the histogram detected in the first detection step with a low-pass filter. A correction step; a second detection step in which the second detection means detects a minimum value and a maximum value of luminance values in the histogram corrected by the low-pass filter in the correction step; and a creation means in the second detection step. A creation step for creating a gradation conversion curve indicating a relationship between an input luminance value and an output luminance value in gradation conversion based on the detected minimum value and maximum value, and processing means enhances the contour of the image A processing step for performing enhancer processing on the image in accordance with enhancer strength indicating the strength of enhancer processing, and a gradation converting means, A gradation conversion step of performing gradation conversion on the image subjected to the enhancer processing in the processing step using the gradation conversion curve created in the creation step. Is the method.
本発明によれば、鮮鋭感向上のためにエンハンサ処理で付与されたアンダーシュート、オーバーシュートの効果を抑制しないで済むようなダイナミックγ処理を行うことが可能となる。 According to the present invention, it is possible to perform dynamic γ processing that does not suppress the effects of undershoot and overshoot imparted by the enhancer processing in order to improve sharpness.
以下に図面を参照して、この発明の好適な実施の形態を例示的に詳しく説明する。 Exemplary embodiments of the present invention will be described in detail below with reference to the drawings.
<実施例1>
図1は本実施例における画像処理装置のブロック図を示している。この画像処理装置はヒストグラム検出部101、エンハンサ強度設定部102、Min/Max検出部103、Min/Max変更部104、階調変換カーブ作成部105、IP変換部106、エンハンサ部107、およびγ変換部108から構成されている。以上のように構成された本実施例の動作を以下で説明する。
<Example 1>
FIG. 1 shows a block diagram of an image processing apparatus in this embodiment. This image processing apparatus includes a
ヒストグラム検出部101は、入力映像信号から1フレーム中の輝度信号を0〜255の階調の256カテゴリーでヒストグラムを検出する。
The
エンハンサ強度設定部102は、エンハンサ強度Gを設定する。そして、設定した強度に応じてMin/Max変更部104およびエンハンサ部107に値を出力する。この出力値は例えばユーザが指定する値である。本実施例では出力値を0、1、または2とし、エンハンサ強度を大きくする場合は「2」、強度を中間にする場合は「1」、強度を小さくする場合は「0」をエンハンサ強度Gとして出力する。本実施例においては、エンハンサ強度設定部102で出力されるエンハンサ強度Gを「2」とする。
The enhancer
Min/Max検出部103は、ヒストグラム検出部101で検出した輝度信号のヒストグラムから1フレーム中の最小輝度値と最大輝度値を検出する。本実施例では、Min/Max検出部103で検出された最小輝度値をMin、最大輝度値をMaxとする。なお、本発明の輝度値検出部は、本実施例におけるMin/Max検出部103に当たる。
The Min / Max
Min/Max変更部104は、Min/Max検出部103で検出した1フレーム中のMinとMaxを変更し、Min/Max変更部104には図2(a)、(b)のようなテーブルがある。これらのテーブルには、エンハンサ強度設定部102から出力されるエンハンサ強度Gに応じた最小輝度値変更量および最大輝度値変更量が格納されている。本実施例では、Min/Max変更部104で更新された後の更新済み最小輝度値と更新済み最大輝度値をそれぞれMin_a、Max_aとする。本実施例では、エンハンサ強度設定部102で出力されるエンハンサ強度Gが2であるので、図2(a)、(b)のテーブルから、Min_a=Min−10、Max_a=Max+10という値が得られる。なお、本発明の輝度値変更部は、本実施例におけるMin/Max変更部104に当たる。
The Min / Max changing
このような方法により、エンハンサ部107でアンダーシュート、オーバーシュートが発生することで変化する一画面中の最小輝度値と最大輝度値の変化を予測することができる。なお、Min_a、Max_aを求める際には、本実施例のようなテーブルによる方
法に限らず、Gの関数である計算式で行ってもよい。
By such a method, it is possible to predict a change in the minimum luminance value and the maximum luminance value in one screen that changes due to occurrence of undershoot and overshoot in the
階調変換カーブ作成部105は、Min/Max変更部104で変更されたMin_aとMax_aから階調変換カーブを作成する。Min/Max検出部103で検出したMinとMaxから作成した階調変換カーブを図3の点線で示す。ここで、前述したように、MinとMaxはエンハンサ処理前のヒストグラムから検出した最小輝度値、最大輝度値である。図3は、横軸の入力輝度と、それに対応した縦軸の出力輝度との関係を示している。しかし、エンハンサ処理によりアンダーシュートとオーバーシュートが発生するため、画素値がMinより小さい画素や、Maxより大きい画素ができる。図3の点線で示した階調変換カーブでは、それらの階調が圧縮されてしまう。
The tone conversion
一方、本実施例では、Min/Max変更部104で得られたMin_a=Min−10、Max_a=Max+10という値から階調変換カーブを作成するので、図3の実線で示すような階調変換カーブになる。この階調変換カーブは、エンハンサ処理後に発生するアンダーシュート、オーバーシュートによって変化する1フレーム中の最小輝度値と最大輝度値の変化を予測して作成している。そのため、アンダーシュート、オーバーシュートによって発生する画素の輝度値を圧縮しておらず、エンハンサ処理の効果を打ち消さない階調変換を行うことができる。
On the other hand, in the present embodiment, the gradation conversion curve is created from the values Min_a = Min−10 and Max_a = Max + 10 obtained by the Min /
IP変換部106は、入力されたインターレース信号をプログレッシブ信号へ変換する処理を行う。IP変換部106には、フレームメモリがあり、IP変換を行う際に1フレーム分画像が遅延している。そのため、ヒストグラムを検出したフレームに対して階調変換カーブを作成し、ダイナミックγ処理を行う時間を確保することができる。
The
エンハンサ部107は、エンハンサ強度設定部102からの出力値に応じてエンハンサ処理を行う。本実施例においては、エンハンサ強度設定部102がエンハンサ強度として「2」を設定しているため、付与されるアンダーシュート、オーバーシュートは大きくなる。
The
γ変換部108は、入力された輪郭強調済み信号から、階調変換カーブ作成部105で作成した階調変換カーブを用いて入力輝度データに応じて階調変換を行い、γ変換後のデータを出力する。なお、本発明の階調変換部は、本実施例におけるγ変換部108に当たる。
The
上記の構成による画像処理装置において、鮮鋭感向上のためにエンハンサ処理で付与されたアンダーシュート、オーバーシュートの効果を予測した上で階調変換カーブを作成することができる。これにより、ダイナミックγ処理がエンハンサ処理の効果を抑制する問題を低減することができる。また、ヒストグラムを検出したフレームに対して遅延なくダイナミックγ処理を行うことができる。 In the image processing apparatus having the above-described configuration, it is possible to create a gradation conversion curve after predicting the effects of undershoot and overshoot imparted by enhancer processing to improve sharpness. Thereby, the problem that the dynamic γ processing suppresses the effect of the enhancer processing can be reduced. In addition, dynamic γ processing can be performed on a frame in which a histogram is detected without delay.
<実施例2>
図4は本実施例における画像処理装置のブロック図を示している。この画像処理装置は、実施例1で用いた図1の画像処理装置に加えて、エッジ強度検出部201を備えている。実施例1で用いた図1と同じブロックには同じ符号を付した。以上のように構成された本実施例の動作を以下で説明する。
<Example 2>
FIG. 4 shows a block diagram of the image processing apparatus in the present embodiment. This image processing apparatus includes an edge
エッジ強度検出部201は、1フレーム中における輝度データの前進差分絶対値S1を検出する。前進差分絶対値S1が大きいほど、その画像には大きなエッジが含まれていることを意味する。本実施例では、前進差分絶対値S1は隣り合う画素の輝度差の絶対値を算出する(式1)に示すような水平方向前進差分絶対値である。
|Y(i,j)−Y(i+1,j)| … (式1)
The edge
| Y (i, j) -Y (i + 1, j) | (Formula 1)
ここで、Y(i,j)は画面内の(x,y)座標の位置(i,j)の輝度データである。また、(式1)とは別に(式2)に示すような垂直方向の前進差分絶対値を検出してエッジ強度を求めてもよい。
|Y(i,j)−Y(i,j+1)| … (式2)
Here, Y (i, j) is the luminance data of the position (i, j) of the (x, y) coordinates in the screen. In addition to (Equation 1), the edge strength may be obtained by detecting the absolute value of the forward difference in the vertical direction as shown in (Equation 2).
| Y (i, j) −Y (i, j + 1) | (Formula 2)
エッジ強度検出部201は続いて、検出される前進差分絶対値S1の1フレーム中の最大値に応じてエッジ強度Sを出力する。本実施例ではエッジ強度は0、1、2の3段階とする。ここで、任意の整数A,Bが「0<B<A」の関係にあるものとする。エッジ強度検出部201で検出されるS1の1フレーム中の最大値がA以上の場合は「S=2」、B以下の場合は「S=0」、B<S1<Aの場合は「S=1」を出力する。本実施例においては、エッジ強度検出部201で出力されるエッジ強度Sを「1」とする。
Next, the edge
Min/Max変更部104は、Min/Max検出部103で検出した1フレーム中の最小輝度値と最大輝度値を変更する。Min/Max変更部104には図5(a)、(b)のようなテーブルがある。これらのテーブルには、エンハンサ強度設定部102から出力されるエンハンサ強度Gと、エッジ強度検出部201から出力されるエッジ強度Sに応じて最小輝度値と最大輝度値を変更する値が格納されている。本実施例では、Min/Max変更部104で更新された後の更新済み最小輝度値と更新済み最大輝度値をそれぞれMin_b、Max_bとする。そして、本実施例においては、エッジ強度検出部201で出力されるエッジ強度Sが「1」であり、エンハンサ強度設定部102で出力されるエンハンサ強度Gを「2」とする。
The Min /
Min/Max変更部104では、図5(a)、(b)のテーブルから、Min_b=Min−7、Max_b=Max+7という値が得られる。本実施例では、このように、エッジ強度Sとエンハンサ強度Gから、エンハンサ部107でアンダーシュート、オーバーシュートが発生することで変化する最小輝度値と最大輝度値の変化を予測する。そのため、より高精度にエンハンサ処理後の最小輝度値と最大輝度値を予測することができる。
In the Min /
そして実施例1と同様に、Min/Max変更部104で得られたMin_b=Min−7、Max_b=Max+7という値から、階調変換カーブ作成部105で階調変換カーブを作成する。そして、γ変換部108で入力輝度データに応じて階調変換を行い、γ変換後のデータを出力する。
As in the first embodiment, the tone conversion
上記の構成による画像処理装置によって、エンハンサで付与されたアンダーシュート、オーバーシュートの効果をダイナミックγ処理が抑制する問題を低減することができる。また、ヒストグラムを検出したフレームに対して遅延なくダイナミックγ処理を行うことができる。 With the image processing apparatus having the above configuration, it is possible to reduce the problem that the dynamic γ processing suppresses the effects of undershoot and overshoot imparted by the enhancer. In addition, dynamic γ processing can be performed on a frame in which a histogram is detected without delay.
<実施例3>
図6は本実施例における画像処理装置のブロック図を示している。この画像処理装置はヒストグラム検出部101、エンハンサ強度設定部102、Min/Max検出部103、階調変換カーブ作成部105、IP変換部106、エンハンサ部107、γ変換部108、およびヒストグラムLPF部301から構成されている。実施例1で用いた図1と同じブロックには同じ符号を付した。以上のように構成された本実施例の動作を以下で説明する。
<Example 3>
FIG. 6 shows a block diagram of the image processing apparatus in this embodiment. This image processing apparatus includes a
本実施例において、エンハンサ強度設定部102は、エンハンサ強度Gを設定し、ヒストグラムLPF部301及びエンハンサ部107に出力する。
In the present embodiment, the enhancer
ヒストグラムLPF部301は、ヒストグラム検出部101で検出したヒストグラムにLPF(ローパスフィルタ)をかける。ここで、エンハンサ処理後のヒストグラムは、エッジ部にアンダーシュート、オーバーシュートが付与されるため、図7に示したように低階調側、高階調側に拡張されることが分かっている。なお、図7の点線はエンハンサ処理前のヒストグラム、実線はエンハンサ処理後のヒストグラムを表している。本実施例では、ヒストグラム検出部101で検出されたヒストグラムに、ヒストグラムLPF部301でLPFをかけることで低階調側及び高階調側に拡張されたヒストグラムが作成されるため、簡易的にエンハンサ後のヒストグラムを予測できる。
The
前述したように、ヒストグラムLPF部301には、エンハンサ強度設定部102からエンハンサ強度Gが入力されている。ここで、LPFの係数を大きくするとヒストグラムはより広い範囲に拡張されるという関係がある。したがって、エンハンサ強度設定部102から出力されるエンハンサ強度Gが大きいほどヒストグラムLPF部301でのLPFの係数を大きくするようにする。
As described above, the enhancer strength G is input from the enhancer
Min/Max検出部103は、ヒストグラムLPF部301から出力されるヒストグラムから最小輝度値Minと最大輝度値Maxを検出する。なお、得られたMin及びMaxは既にLPFによる補正を受けた値であるため、本実施例においてはMin/Max変更部104は必要ない。
The Min /
階調変換カーブ作成部105は、Min/Max検出部103で得られたMinとMaxから階調変換カーブを作成する。γ変換部108は入力輝度データに応じて階調変換を行い、γ変換後のデータを出力する。
The gradation conversion
上記の構成による画像処理装置において、エンハンサで付与されたアンダーシュート、オーバーシュートの効果をダイナミックγ処理が抑制する問題を低減することができる。また、ヒストグラムを検出したフレームに対して遅延なくダイナミックγ処理を行うことができる。 In the image processing apparatus having the above configuration, it is possible to reduce the problem that the dynamic γ processing suppresses the effects of undershoot and overshoot imparted by the enhancer. In addition, dynamic γ processing can be performed on a frame in which a histogram is detected without delay.
101 ヒストグラム検出部
102 エンハンサ強度設定部
103 Min/Max検出部
104 Min/Max変更部
105 階調変換カーブ作成部
106 IP変換部
107 エンハンサ部
108 γ変換部
201 エッジ強度検出部
301 ヒストグラムLPF部
DESCRIPTION OF
Claims (9)
前記検出手段で検出した輝度値の最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成手段と、 Creating means for creating a gradation conversion curve indicating the relationship between the input luminance value and the output luminance value in the gradation conversion based on the minimum value and the maximum value of the luminance values detected by the detecting means;
前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理手段と、 Processing means for performing enhancer processing on the image according to enhancer strength indicating the strength of enhancer processing for enhancing the contour of the image;
前記作成手段により作成された前記階調変換カーブを用いて、前記処理手段による前記エンハンサ処理を行った画像に対して階調変換を行う階調変換手段と、 Gradation conversion means for performing gradation conversion on an image subjected to the enhancer processing by the processing means, using the gradation conversion curve created by the creation means;
を有し、Have
前記検出手段で検出された輝度値の最小値及び最大値は、前記エンハンサ強度に応じて変更され、 The minimum and maximum luminance values detected by the detection means are changed according to the enhancer intensity,
前記作成手段は、変更後の変更最小値及び変更最大値を用いて、前記階調変換カーブを作成する The creation means creates the gradation conversion curve using the changed minimum value and changed maximum value after the change.
ことを特徴とする画像処理装置。An image processing apparatus.
ことを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1.
前記作成手段は、前記変更後の変更最小値及び変更最大値を用いて、前記階調変換カーブを作成する The creation means creates the gradation conversion curve using the changed minimum value and the changed maximum value after the change.
ことを特徴とする請求項1または2に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
ことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus.
前記処理手段は、前記IP変換手段でIP変換を行った映像信号に対してエンハンサ処理を行う The processing means performs an enhancer process on the video signal subjected to IP conversion by the IP conversion means.
ことを特徴とする請求項1に記載の画像処理装置。The image processing apparatus according to claim 1.
前記第1検出手段で検出したヒストグラムをローパスフィルタで補正する補正手段と、 Correction means for correcting the histogram detected by the first detection means with a low-pass filter;
前記補正手段によりローパスフィルタで補正されたヒストグラムにおける輝度値の最小値及び最大値を検出する第2検出手段と、 Second detection means for detecting a minimum value and a maximum value of luminance values in the histogram corrected by the low-pass filter by the correction means;
前記第2検出手段で検出された前記最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成手段と、 Creating means for creating a gradation conversion curve indicating a relationship between an input luminance value and an output luminance value in gradation conversion based on the minimum value and the maximum value detected by the second detection means;
前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理手段と、 Processing means for performing enhancer processing on the image according to enhancer strength indicating the strength of enhancer processing for enhancing the contour of the image;
前記作成手段により作成された前記階調変換カーブを用いて、前記処理手段による前記エンハンサ処理を行った画像に対して階調変換を行う階調変換手段と、 Gradation conversion means for performing gradation conversion on an image subjected to the enhancer processing by the processing means, using the gradation conversion curve created by the creation means;
を有することを特徴とする画像処理装置。An image processing apparatus comprising:
ことを特徴とする請求項6に記載の画像処理装置。The image processing apparatus according to claim 6.
作成手段が、前記検出ステップで検出した輝度値の最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成ステップと、 A creating step for creating a gradation conversion curve indicating a relationship between an input luminance value and an output luminance value in the gradation conversion based on the minimum value and the maximum value of the luminance value detected in the detection step;
処理手段が、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理ステップと、 A processing step of performing an enhancer process on the image according to an enhancer intensity indicating an intensity of an enhancer process that enhances an outline of the image;
階調変換手段が、前記作成ステップにより作成された前記階調変換カーブを用いて、前記処理ステップによる前記エンハンサ処理を行った画像に対して階調変換を行う階調変換ステップと、 A gradation conversion step in which gradation conversion means performs gradation conversion on the image subjected to the enhancer processing by the processing step using the gradation conversion curve created in the creation step;
を有し、Have
前記検出ステップで検出された輝度値の最小値及び最大値は、前記エンハンサ強度に応じて変更され、 The minimum and maximum luminance values detected in the detection step are changed according to the enhancer intensity,
前記作成ステップでは、変更後の変更最小値及び変更最大値を用いて、前記階調変換カーブが作成される In the creation step, the gradation conversion curve is created using the changed minimum value and the changed maximum value after the change.
ことを特徴とする画像処理方法。An image processing method.
補正手段が、前記第1検出ステップで検出したヒストグラムをローパスフィルタで補正する補正ステップと、 A correction step in which the correction means corrects the histogram detected in the first detection step with a low-pass filter;
第2検出手段が、前記補正ステップにてローパスフィルタで補正されたヒストグラムにおける輝度値の最小値及び最大値を検出する第2検出ステップと、 A second detecting step for detecting a minimum value and a maximum value of the luminance value in the histogram corrected by the low-pass filter in the correcting step;
作成手段が、前記第2検出ステップで検出された前記最小値及び最大値に基づいて、階調変換における入力輝度値と出力輝度値の関係を示す階調変換カーブを作成する作成ステップと、 A creation step for creating a gradation conversion curve indicating a relationship between an input luminance value and an output luminance value in gradation conversion based on the minimum value and the maximum value detected in the second detection step;
処理手段が、前記画像の輪郭を強調するエンハンサ処理の強度を示すエンハンサ強度に応じて、前記画像に対してエンハンサ処理を行う処理ステップと、 A processing step of performing an enhancer process on the image according to an enhancer intensity indicating an intensity of an enhancer process that enhances an outline of the image;
階調変換手段が、前記作成ステップで作成された前記階調変換カーブを用いて、前記処理ステップにおいて前記エンハンサ処理を行った画像に対して階調変換を行う階調変換ス A gradation conversion unit that performs gradation conversion on the image that has undergone the enhancer processing in the processing step using the gradation conversion curve created in the creation step.
テップと、Tep,
を有することを特徴とする画像処理方法。An image processing method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008230801A JP5111310B2 (en) | 2008-09-09 | 2008-09-09 | Image processing method and image processing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008230801A JP5111310B2 (en) | 2008-09-09 | 2008-09-09 | Image processing method and image processing apparatus |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2010068090A JP2010068090A (en) | 2010-03-25 |
| JP2010068090A5 JP2010068090A5 (en) | 2011-10-13 |
| JP5111310B2 true JP5111310B2 (en) | 2013-01-09 |
Family
ID=42193312
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008230801A Expired - Fee Related JP5111310B2 (en) | 2008-09-09 | 2008-09-09 | Image processing method and image processing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5111310B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6604131B2 (en) * | 2015-10-07 | 2019-11-13 | 富士通コネクテッドテクノロジーズ株式会社 | Electronic device and information display program |
| CN113724145B (en) * | 2021-07-13 | 2024-04-26 | 西姆高新技术(江苏)有限公司 | X-ray image processing method and device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0638043A (en) * | 1992-07-17 | 1994-02-10 | Sony Corp | Quantization circuit |
| JPH08115418A (en) * | 1994-10-17 | 1996-05-07 | Nec Corp | Picture processing method |
| JP3267200B2 (en) * | 1997-07-11 | 2002-03-18 | 松下電器産業株式会社 | Image processing device |
| JP4207259B2 (en) * | 1998-09-01 | 2009-01-14 | ソニー株式会社 | Video signal processing device |
| JP3865127B2 (en) * | 2002-03-01 | 2007-01-10 | ソニー株式会社 | Signal processing apparatus and method, recording medium, and program |
| JP4200890B2 (en) * | 2003-12-10 | 2008-12-24 | 株式会社日立製作所 | Video signal processing apparatus, television receiver using the same, and video signal processing method |
| JP4497959B2 (en) * | 2004-03-05 | 2010-07-07 | キヤノン株式会社 | Video signal processing apparatus and video signal processing method |
| JP4457787B2 (en) * | 2004-07-14 | 2010-04-28 | ソニー株式会社 | Video signal processing apparatus and method, and program |
| JP4526445B2 (en) * | 2005-06-15 | 2010-08-18 | オリンパス株式会社 | Imaging device |
-
2008
- 2008-09-09 JP JP2008230801A patent/JP5111310B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010068090A (en) | 2010-03-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4641704B2 (en) | Noise reduction method, noise reduction device, recording medium, and program | |
| US8340419B2 (en) | Image processing device, image processing method, image processing program, and integrated circuit | |
| JP5137464B2 (en) | Image processing apparatus, image processing method, image processing program, and integrated circuit | |
| JP2014050099A (en) | Image processing method and image processing apparatus for enhancing image quality by using local luminance gain | |
| US20090002562A1 (en) | Image Processing Device, Image Processing Method, Program for Image Processing Method, and Recording Medium Having Program for Image Processing Method Recorded Thereon | |
| JP4523926B2 (en) | Image processing apparatus, image processing program, and image processing method | |
| US8279346B2 (en) | Frame rate converting apparatus and method thereof | |
| JP6485068B2 (en) | Image processing method and image processing apparatus | |
| JP4497959B2 (en) | Video signal processing apparatus and video signal processing method | |
| JP4467416B2 (en) | Tone correction device | |
| JP5111310B2 (en) | Image processing method and image processing apparatus | |
| JP5615043B2 (en) | Image processing apparatus and image processing method | |
| JP2009267671A (en) | Image processing apparatus | |
| JP2007195216A (en) | Image processing apparatus, image processing method, and image processing program | |
| JP5933332B2 (en) | Image processing apparatus, image processing method, image processing program, and recording medium storing image processing program | |
| JP5559275B2 (en) | Image processing apparatus and control method thereof | |
| JP4246178B2 (en) | Image processing apparatus and image processing method | |
| JP5135134B2 (en) | Image processing apparatus and method | |
| JP2010124257A (en) | Video processing apparatus, video display device, and frame-rate conversion method | |
| JP2021087083A (en) | Image processing device, image processing method, and program | |
| JP6031993B2 (en) | Image processing apparatus and image processing method | |
| JP4176681B2 (en) | Image edge correction apparatus and image edge correction method | |
| JP4549723B2 (en) | Image signal enhancement device | |
| JP2009268011A (en) | Image processing apparatus | |
| JP2006208854A (en) | Image processing apparatus, program, recording medium, and image display apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110831 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110831 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120827 |
|
| 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: 20120911 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121009 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151019 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151019 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |