JP4682866B2 - Signal processing apparatus and signal processing method - Google Patents
Signal processing apparatus and signal processing method Download PDFInfo
- Publication number
- JP4682866B2 JP4682866B2 JP2006041112A JP2006041112A JP4682866B2 JP 4682866 B2 JP4682866 B2 JP 4682866B2 JP 2006041112 A JP2006041112 A JP 2006041112A JP 2006041112 A JP2006041112 A JP 2006041112A JP 4682866 B2 JP4682866 B2 JP 4682866B2
- Authority
- JP
- Japan
- Prior art keywords
- frequency component
- bits
- bit
- low frequency
- signal
- 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
- Picture Signal Circuits (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Description
本発明は、信号処理装置および信号処理方法に関し、特に、量子化された信号に対して所定の信号処理を施す際の前処理としてそのビット長を拡張する場合に用いて好適な画像処理装置および画像処理方法に関する。 The present invention relates to a signal processing device and a signal processing method, and more particularly to an image processing device suitable for use when extending the bit length as preprocessing when performing predetermined signal processing on a quantized signal, and The present invention relates to an image processing method.
例えばデジタル映像信号のような量子化されている信号を処理する場合、その量子化ビット(ビット長)は、信号処理を実施するハードウェアの規模の拡大を抑止する目的や、信号の通信帯域の制限などにより、一般的に8ビット程度に制限されている。 For example, when processing a quantized signal such as a digital video signal, the quantization bit (bit length) is used for the purpose of suppressing the expansion of the hardware for performing signal processing, Generally, it is limited to about 8 bits due to limitations.
映像信号のビット長(8ビット)は、通常、テレビジョン受像機などで映像信号を表示した際、1LSB(Least Significant Bit)の差分、すなわち、映像信号の1階調(ダイナミックレンジ/256)の差異を人が視認できない上限のビット数であり、効率的な映像信号の伝送が考慮されて決定されたものである。 The bit length (8 bits) of the video signal is usually the difference of 1 LSB (Least Significant Bit) when the video signal is displayed on a television receiver or the like, that is, one gradation (dynamic range / 256) of the video signal. The upper limit is the number of bits at which the person cannot visually recognize the difference, and is determined in consideration of efficient video signal transmission.
しかしながら、映像信号に対してテレビジョン受像機などにおいて、増幅したり、ゲイン特性をコントロールするガンマ特性を調整したり、黒レベルをより黒へ引き込むようにしてダイナミックレンジを拡大したりするような非線形画像処理を施した場合、8ビットのビット精度を増幅して画面に表示することが発生し、元の映像信号のビット精度が画面上で認識されてしまう擬似輪郭などの画質劣化が生じていた。 However, the nonlinearity that amplifies the video signal in a television receiver, adjusts the gamma characteristic that controls the gain characteristic, or expands the dynamic range by drawing the black level more into black. When image processing is performed, the bit precision of 8 bits is amplified and displayed on the screen, and image quality degradation such as a pseudo contour that causes the bit precision of the original video signal to be recognized on the screen has occurred. .
このような画像劣化を抑止するため、従来、図1に示すビット拡張装置が提案されている(例えば、特許文献1参照)。 In order to suppress such image deterioration, a bit extension device shown in FIG. 1 has been proposed (for example, see Patent Document 1).
このビット拡張装置10は、非線形画像処理を行う電子回路などの前段に設けられるものであり、入力信号Siのビット長を、例えば8ビットから10ビットに拡張し、その結果得られた10ビットの信号Soを出力するものである。
This
このビット拡張装置10は、入力信号Siの低周波成分を抽出するローパスフィルタ(LPF)11、ローパスフィルタ11の処理に要する時間だけ入力信号Siを遅延させる遅延部12、遅延された入力信号Siから抽出された低周波成分を減算することによって高周波成分を抽出する減算部13、抽出された高周波成分の四捨五入演算を行う丸め処理演算部14、抽出された低周波成分と丸め処理された高周波成分を加算する加算部15、および、加算部15の出力を10ビットに制限するリミッタ16から構成される。
The
次にビット拡張装置10の動作について説明する。前段からの8ビットの入力信号Siは、ビット拡張装置10においてローパスフィルタ11および遅延部12に供給される。
Next, the operation of the
ローパスフィルタ11は、所定の演算により入力信号Siの高周波成分を除去し、その結果得られる10ビットの低周波成分を減算部13および加算部15に出力する。遅延部12は、ローパスフィルタ11の処理に要する時間nD(nはローパスフィルタ11の遅延段数、Dは1サンプリング周期)だけ入力信号Siを遅延させて減算部13に出力する。
The low-
減算部13は、遅延された入力信号Siから10ビットの低周波成分を減算し、その結果得られる高周波成分を丸め処理演算部14に出力する。丸め処理演算部14は、減算部13から入力される高周波成分を、四捨五入演算によって(s+8)ビットに丸めて加算部15に出力する。
The
加算部15は、ローパスフィルタ11から出力された10ビットの低周波成分と、丸め処理演算部14から入力された(s+8)ビットの高周波成分を加算し、その結果得られる(s+10)ビットの信号をリミッタ16に出力する。リミッタ16は、加算部15から入力された(s+10)ビットの信号を10ビットに制限し、出力信号Soとして後段に出力する。
The
以上説明したように、ビット拡張装置10の動作によれば、例えば図2に示すように、黒丸●で示す8ビットの入力信号Siが、白丸○で示す10ビットの出力信号Soに拡張される。より詳細には、区間AおよびCでは黒丸●で示す8ビットの入力信号Siが、白丸○で示す10ビットの出力信号Soに拡張され、区間Bでは出力信号Soは入力信号Siと同じ値であって変化はない。同図から明らかなように、区間A,B,Cにおいて入力信号Siはそれぞれ8ビットの1LSB分ずつ変化しているにも拘らず、出力信号Soには区間Bに平坦部分が生じてしまい滑らかな変化とは言い難い。
As described above, according to the operation of the
ところで、ビット拡張装置10におけるビット拡張は実質的にローパスフィルタ11において行われている。したがって、区間AおよびCの幅はローパスフィルタ11の次数、すなわち、ローパスフィルタ11の周波数特性に依存していることになる。
Incidentally, the bit expansion in the
本発明はこのような状況に鑑みてなされたものであり、入力信号をビット拡張するに際し、ローパスフィルタの周波数特性に依存することなく、滑らかに変化する出力信号を得られるようにするものである。 The present invention has been made in view of such a situation, and is capable of obtaining an output signal that smoothly changes without depending on the frequency characteristics of a low-pass filter when the input signal is bit-extended. .
本発明の一側面である信号処理装置は、量子化された信号の階調数を増加させる信号処理装置において、入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出する低周波成分抽出手段と、抽出されたn(>V)ビットの前記低周波成分をVビットに制限する第1の制限手段と、Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張する拡張手段と、入力されたVビットの前記信号の高周波成分を抽出する高周波成分抽出手段と、Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算する加算手段と、前記加算手段の出力をWビットに制限する第2の制限手段とを含む。 A signal processing device according to an aspect of the present invention is a signal processing device that increases the number of gradations of a quantized signal, and extracts a low-frequency component by removing a high-frequency component of the input V-bit signal. Low frequency component extracting means, first limiting means for limiting the extracted n (> V) bits of the low frequency component to V bits, and the number of bits of the low frequency component limited to V bits as W ( > V) Extension means for extending to bits, high-frequency component extraction means for extracting high-frequency components of the input V-bit signal, adding the low-frequency components extended to W bits and the extracted high-frequency components And adding means for limiting the output of the adding means to W bits.
前記拡張手段は、Vビットに制限された前記低周波成分の連続して入力される値の差分を検出する検出手段と、Vビットに制限された前記低周波成分の平坦部分の幅をカウントするカウント手段と、前記差分および前記平坦部分の幅に基づいて補正値を決定する決定手段と、決定された前記補正値に基づいて前記低周波成分を補正する補正手段とを含むようにすることができる。 The expansion means counts the width of the flat portion of the low frequency component limited to V bits, and detection means for detecting a difference between continuously inputted values of the low frequency component limited to V bits. A counting unit; a determining unit that determines a correction value based on the difference and a width of the flat portion; and a correcting unit that corrects the low-frequency component based on the determined correction value. it can.
本発明の一側面である信号処理方法は、量子化された信号の階調数を増加させる信号処理装置の信号処理方法において、入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出し、抽出されたn(>V)ビットの前記低周波成分をVビットに制限し、Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張し、入力されたVビットの前記信号の高周波成分を抽出し、Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算し、この加算結果をWビットに制限するステップを含む。 A signal processing method according to an aspect of the present invention is a signal processing method of a signal processing device that increases the number of gradations of a quantized signal, and removes a high-frequency component of the input V-bit signal to reduce the frequency. Extracting a component, limiting the extracted n (> V) bits of the low frequency component to V bits, extending the number of bits of the low frequency component limited to V bits to W (> V) bits, A step of extracting a high-frequency component of the input V-bit signal, adding the low-frequency component expanded to W bits and the extracted high-frequency component, and limiting the addition result to W bits.
本発明の一側面においては、入力されたVビットの信号の高周波成分が除去されて低周波成分が抽出され、抽出されたn(>V)ビットの低周波成分がVビットに制限され、Vビットに制限された低周波成分のビット数がW(>V)ビットに拡張される。また、入力されたVビットの信号の高周波成分が抽出され、Wビットに拡張された低周波成分と抽出された高周波成分が加算され、この加算結果がWビットに制限される。 In one aspect of the present invention, a high-frequency component of an input V-bit signal is removed to extract a low-frequency component, and the extracted n (> V) -bit low-frequency component is limited to V bits. The number of bits of the low frequency component limited to bits is expanded to W (> V) bits. Further, the high frequency component of the input V-bit signal is extracted, the low frequency component expanded to W bits and the extracted high frequency component are added, and the addition result is limited to W bits.
本発明の一側面によれば、入力信号をビット拡張するに際し、ローパスフィルタの周波数特性に依存することなく、滑らかに変化する出力信号を得ることが可能となる。 According to one aspect of the present invention, when an input signal is bit-extended, an output signal that changes smoothly can be obtained without depending on the frequency characteristics of the low-pass filter.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. Not something to do.
本発明の一側面である信号処理装置は、量子化された信号の階調数を増加させる信号処理装置(例えば、図3のビット拡張装置20)において、入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出する低周波成分抽出手段(例えば、図3のLPF21)と、抽出されたn(>V)ビットの前記低周波成分をVビットに制限する第1の制限手段(例えば、図3の丸め処理演算部22)と、Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張する拡張手段(例えば、図3のビット拡張部26)と、入力されたVビットの前記信号の高周波成分を抽出する高周波成分抽出手段(例えば、図3の減算部24)と、Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算する加算手段(例えば、図3の加算部27)と、前記加算手段の出力をWビットに制限する第2の制限手段(例えば、図3のリミッタ28)とを含む。
A signal processing device according to one aspect of the present invention is a signal processing device that increases the number of gradation levels of a quantized signal (for example, the bit expansion device 20 in FIG. 3), and the high frequency of the input V-bit signal. Low-frequency component extraction means (for example,
前記拡張手段は、Vビットに制限された前記低周波成分の連続して入力される値の差分を検出する検出手段(例えば、図4の1LSB差分検出部41)と、Vビットに制限された前記低周波成分の平坦部分の幅をカウントするカウント手段(例えば、図4の平坦部分カウンタ42)と、前記差分および前記平坦部分の幅に基づいて補正値を決定する決定手段(例えば、図4の平坦部分補間部47)と、決定された前記補正値に基づいて前記低周波成分を補正する補正手段(例えば、図4の加算部48)とを含むようにすることができる。
The extension means is a detection means (for example, 1 LSB
本発明の一側面である信号処理方法は、量子化された信号の階調数を増加させる信号処理装置の信号処理方法において、入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出し(例えば、図13のステップS1)、抽出されたn(>V)ビットの前記低周波成分をVビットに制限し(例えば、図13のステップS2)、Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張し(例えば、図13のステップS4)、入力されたVビットの前記信号の高周波成分を抽出し(例えば、図13のステップS3)、Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算し(例えば、図13のステップS5)、この加算結果をWビットに制限する(例えば、図13のステップS6)ステップを含む。 A signal processing method according to an aspect of the present invention is a signal processing method of a signal processing device that increases the number of gradations of a quantized signal, and removes a high-frequency component of the input V-bit signal to reduce the frequency. The component is extracted (for example, step S1 in FIG. 13), and the extracted low frequency component of n (> V) bits is limited to V bits (for example, step S2 in FIG. 13), and is limited to V bits. The number of bits of the low-frequency component is expanded to W (> V) bits (for example, step S4 in FIG. 13), and the high-frequency component of the input V-bit signal is extracted (for example, step S3 in FIG. 13). The low frequency component expanded to W bits and the extracted high frequency component are added (for example, step S5 in FIG. 13), and the addition result is limited to W bits (for example, step S6 in FIG. 13). The No.
以下、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings.
図3は、本発明の一実施の形態であるビット拡張装置の構成例を示している。このビット拡張装置20は、非線形画像処理を行う電子回路などの前段に設けられるものであり、画像を構成する各画素に対応する入力信号Siのビット長を、例えば8ビットから10ビットに拡張して、その結果得られる10ビットの信号Soを出力するものである。 FIG. 3 shows an example of the configuration of a bit extension apparatus according to an embodiment of the present invention. The bit expansion device 20 is provided in the preceding stage of an electronic circuit or the like that performs nonlinear image processing, and expands the bit length of the input signal Si corresponding to each pixel constituting the image from, for example, 8 bits to 10 bits. Thus, a 10-bit signal So obtained as a result is output.
このビット拡張装置20は、8ビットの入力信号Siから高周波成分を除去することによってn(>8)ビットの低周波成分を抽出するローパスフィルタ(LPF)21、抽出された低周波成分を10ビットと8ビットの2種類に四捨五入演算を行う丸め処理演算部22、ローパスフィルタ21および丸め処理演算部22の処理に要する時間だけ入力信号Siを遅延させる遅延部23、遅延された8ビットの入力信号Siから10ビットに丸められた低周波成分を減算することによって(s+10)ビットの高周波成分を抽出する減算部24、抽出された高周波成分をビット拡張部26の処理に要する時間(画像の1水平走査期間)だけ遅延させる遅延部25、丸められた8ビットの低周波成分を10ビットに拡張するビット拡張部26、遅延された(s+10)ビットの高周波成分と10ビットに拡張された低周波成分を加算する加算部27、および、加算部27の出力である(s+11)ビットの信号を10ビットに制限するリミッタ28から構成される。
This bit expansion device 20 is a low-pass filter (LPF) 21 that extracts n (> 8) bits of low frequency components by removing high frequency components from the 8-bit input signal Si, and 10 bits of the extracted low frequency components. And a rounding
図4は、ビット拡張部26の詳細な構成例を示している。ビット拡張部26は、丸め処理演算部22から1画素分ずつ順次入力される8ビットの低周波成分の値と1画素前(左隣の画素)の値との差分を検出する1LSB差分検出部41、低周波成分が変動しない平坦部分の画素数をカウントする平坦部分カウンタ42、RAM44の書き込みアドレスを発生する書き込みアドレスカウンタ43、カウントされた平坦部分の画素数などを記憶するRAM44、丸め処理演算部22から順次入力される8ビットの低周波成分を1水平走査期間だけ遅延させる遅延部45、RAM44の読み出しアドレスを発生する読み出しアドレスカウンタ46、平坦部分の画素数に対応して低周波成分の補正値を10ビットの1LSB単位で決定する平坦部分補間部47、および、演算された10ビットの補正値と遅延部45の出力を加算する加算部48から構成される。
FIG. 4 shows a detailed configuration example of the
1LSB差分検出部41は、前段の丸め処理演算部22から1画素分ずつ順次入力される8ビットの低周波成分の値を左隣の画素の値と比較し、その差分が0であるか、8ビットの+1LSB分(ダイナミックレンジ/256)であるか、−1LSB分であるか、または±2LSB以上であるかを検出して、差分(0,+1,−1または±2)を平坦部分カウンタ42、書き込みアドレスカウンタ43、および遅延部45に出力する。
The 1 LSB
例えば図5に示すように水平方向に連続する画素の8ビットの低周波成分の値が変動している場合、平坦な区間p,q,r,s,tにおいては、1LSB差分検出部41から差分0が平坦部分カウンタ42に出力される。区間p,qの境界、区間q,rの境界、区間s,tの境界においては、1LSB差分検出部41から差分+1が平坦部分カウンタ42に出力される。区間r,sの境界においては、1LSB差分検出部41から差分±2が平坦部分カウンタ42、書き込みアドレスカウンタ43、および遅延部45に出力される。
For example, as shown in FIG. 5, when the value of the 8-bit low frequency component of the pixels that are continuous in the horizontal direction is fluctuating, the 1 LSB
1LSB差分検出部41から出力される差分に対応する平坦部分カウンタ42の動作は図6に示すとおりである。
The operation of the
すなわち、平坦部分カウンタ42は、1LSB差分検出部41から差分+1または差分−1が入力された場合、それまでにカウントした値と入力された差分+1または−1をRAM44に出力した後、カウントした値をリセットする。そしてこれ以降に連続する差分0の数をカウントする。したがって、差分+1または差分−1の後ろに差分0が続き、その後に差分+1または差分−1が入力された場合、カウントした差分0の数、すなわち、平坦部分の画素数がRAM44に出力される。反対に、差分0が続く平坦部分の後に差分±2が入力された場合、カウントした値をリセットして0をRAM44に出力する。
That is, when the difference +1 or difference −1 is input from the 1 LSB
したがって、図5に示された例の場合、区間p,q,r,tにおいてそれぞれの画素数がカウントされる。そして、区間p,qの境界、区間q,rの境界、区間t,uの境界においては、差分+1が入力されるので、平坦部分カウンタ42から差分+1とそれぞれの区間の画素数がRAM44に出力される(ただし、区間pの左端は差分±1と仮定している。図示していない画像右端においても同様に差分±1と仮定する)。区間r,sの境界においては、差分±2が入力されるので、カウントした値がリセットされて0がRAM44に出力される。区間s,tの境界においては、差分+1が入力されるので、カウントした値がRAM44に出力されるが、このときのカウント値は0であるので、0がRAM44に出力される。
Therefore, in the case of the example shown in FIG. 5, the number of pixels is counted in the sections p, q, r, and t. Since the difference +1 is input at the boundary between the sections p and q, the boundary between the sections q and r, and the boundary between the sections t and u, the difference +1 from the
書き込みアドレスカウンタ43は、平坦部分カウンタ42がRAM44に対して平坦部分の画素数などの出力を行うとき、すなわち、1LSB差分検出部41から差分+1,−1、または±2が入力された毎、所定の値(例えば1)ずつインクリメントすることにより書き込みアドレスwcntを発生してRAM44に供給する。
When the
RAM44は、書き込みアドレスカウンタ43から供給される書き込みアドレスwcntに従い、平坦部分カウンタ42から入力される平坦部分の画素数などを記憶する。また、RAM44は、読み出しアドレスカウンタ46から供給される読み出しアドレスrcntに記憶されている平坦部分の画素数などを読み出して平坦部分補間部47に出力する。
The
遅延部45は、丸め処理演算部22から順次入力される8ビットの低周波成分を1水平走査期間だけ遅延させるのみならず、RAM44に平坦部分カウンタ42から入力される平坦部分の画素数などが書き込まれるとき、すなわち、1LSB差分検出部41から差分+1,−1、または±2が入力されたとき、そのタイミング(以下、書き込みタイミングと称する)を検知して書き込みタイミング信号を発生し、発生した書き込みタイミング信号を1水平走査期間だけ遅延させて平坦部分補間部47および読み出しアドレスカウンタ46に出力する。
The
読み出しアドレスカウンタ46は、遅延部45から書き込みタイミング信号が入力される毎、所定の値(例えば1)ずつインクリメントすることにより読み出しアドレスrcntを発生してRAM44に供給する。なお、書き込みアドレスwcntと読み出しアドレスrcntの関係は図7に示すとおりとする。
The read
すなわち、例えば図7Aに示すように水平方向に連続する画素の8ビットの低周波成分の値が変動しており、平坦部分の区間pの画素数がRAM44の書き込みアドレスwcnt=0に書き込まれ、平坦部分の区間qの画素数がRAM44の書き込みアドレスwcnt=1に書き込まれ、差分±2に対応して0がRAM44の書き込みアドレスwcnt=2に書き込まれる場合、平坦部分がカウントされた低周波成分と同じ信号が遅延部45によって1水平走査周期だけ遅延されて出力されるタイミングを図7Bに示すとおりであるとして、遅延部45から区間pが出力される直前に読み出しアドレスrcnt=0が発生され、区間qが出力される直前に読み出しアドレスrcnt=1が発生され、区間rが出力される直前に読み出しアドレスrcnt=2が発生される。
That is, for example, as shown in FIG. 7A, the value of the 8-bit low-frequency component of the pixels that are continuous in the horizontal direction is fluctuating, and the number of pixels in the flat section p is written at the write address wcnt = 0 in the
したがって、平坦部分補間部47には、平坦部分の画素数と平坦部分の両端の差分が、それに対応する低周波成分が遅延部45から加算部48に出力される前に供給されることになる。
Accordingly, the flat
平坦部分補間部47は、RAM44から入力される8ビット低周波成分の平坦部分の画素数とその平坦部分の両端の差分に応じ、低周波成分の補正値を10ビットの1LSB単位で決定し、得られる補正値を加算部48に出力する。加算部48は、演算された10ビットの補正値と遅延部45の出力を加算することにより、10ビットに拡張した低周波成分を後段に出力する。
The flat
なお、遅延部45では、低周波成分を1水平走査周期だけ遅延するので、平坦部分補間部47では最大で1水平走査線分の平坦部分の補正値を演算することができる。
Since the
平坦部分補間部47における補正値の決定は、例えば図8に示すように、平坦部分両端の差分が+1であって、低周波成分の変動が単調増加である場合、平坦部分の左端の補正値を10ビットの−2LSB分(−2×ダイナミックレンジ/1024)とし、右端の補正値を10ビットの2LSB分として、この差である10ビットの4LSB分を平坦部分で均等に割り振る。
For example, as shown in FIG. 8, when the difference between the ends of the flat portion is +1 and the fluctuation of the low frequency component is monotonically increasing, the correction value of the left portion of the flat portion is determined. Is 10 bits -2 LSBs (-2 x dynamic range / 1024), and the right end correction value is 10
反対に、平坦部分両端の差分が−1であって、低周波成分の変動が単調減少である場合、平坦部分の左端の補正値を10ビットの2LSB分とし、右端の補正値を10ビットの−2LSB分として、この差である10ビットの4LSB分を平坦部分で均等に割り振る。 On the other hand, when the difference between both ends of the flat portion is −1 and the fluctuation of the low frequency component is monotonously decreasing, the correction value at the left end of the flat portion is set to 2 LSB of 10 bits, and the correction value at the right end is set to 10 bits. As the −2 LSB portion, the 10-bit 4 LSB portion, which is the difference, is evenly allocated in the flat portion.
なお、低周波成分の変動が凸である場合には以下のように補正量を決定することにより、補正後の低周波成分の変動をより滑らかにすることができる。 In addition, when the fluctuation | variation of a low frequency component is convex, the fluctuation | variation of the low frequency component after correction | amendment can be made smoother by determining a correction amount as follows.
例えば図9に示すように、低周波成分の変動が凸であり、その頂点となる平坦部分(いまの場合、区間r)の幅が比較的狭い場合、頂点となる平坦部分に属する各サンプリング点の補正値を10ビットの−2LSB分とする。この場合、低周波成分の変動は破線で示すように補正される。 For example, as shown in FIG. 9, when the fluctuation of the low frequency component is convex and the width of the flat portion (in this case, the section r) that is the vertex is relatively narrow, each sampling point belonging to the flat portion that is the vertex Is a 10-bit -2 LSB. In this case, the fluctuation of the low frequency component is corrected as indicated by a broken line.
また、例えば図10に示すように、低周波成分の変動が凸であり、その頂点となる平坦部分(いまの場合、区間r)の幅が比較的広い場合、頂点となる平坦部分の中央のサンプリング点の補正値を10ビットの+2LSB分として、頂点となる平坦部分のその他のサンプリング点の補正値は10ビットの4LSB分の差を均等に割り振って決定する。この場合、低周波成分の変動は破線で示すように補正される。 For example, as shown in FIG. 10, when the fluctuation of the low frequency component is convex and the width of the flat portion that is the apex (in this case, the section r) is relatively wide, the center of the flat portion that is the apex The correction value of the sampling point is 10 bits +2 LSB, and the correction value of the other sampling points of the flat portion which is the vertex is determined by equally allocating the difference of 10 LSB 4 LSB. In this case, the fluctuation of the low frequency component is corrected as indicated by a broken line.
図11は、低周波成分の変動が凸である場合の補正量をより詳細に示している。図11において、白丸○は頂点となる平坦部分の幅が比較的広く補正量が最大である場合の補正量を示しており、このとき、当該平坦部分における補正量の差は10ビットの4LSB分となる。三角△は頂点となる平坦部分の幅が比較的狭く補正量が最小である場合の補正量を示しており、このとき、当該平坦部分における補正量の差は0である。 FIG. 11 shows in more detail the correction amount when the fluctuation of the low frequency component is convex. In FIG. 11, white circles ◯ indicate correction amounts when the width of the flat portion that is the apex is relatively wide and the correction amount is maximum. At this time, the difference in the correction amount in the flat portion is 10 LSB 4 LSB. It becomes. A triangle Δ indicates a correction amount when the width of the flat portion serving as the apex is relatively narrow and the correction amount is minimum. At this time, the difference in the correction amount in the flat portion is zero.
なお、頂点となる平坦部分の幅と当該平坦部分における補正量の差の関係は,例えば図12に示すように設定する。 The relationship between the width of the flat portion serving as the apex and the difference between the correction amounts in the flat portion is set as shown in FIG. 12, for example.
すなわち、頂点となる平坦部分の幅が画像の水平画素数よりも小さくて水平画素数の1/2以上である場合、当該平坦部分における補正量の差を10ビットの4LSB分とする。頂点となる平坦部分の幅が画像の水平画素数の1/2よりも小さくて水平画素数の1/4以上である場合、当該平坦部分における補正量の差を10ビットの3LSB分とする。頂点となる平坦部分の幅が画像の水平画素数の1/4よりも小さくて水平画素数の1/8以上である場合、当該平坦部分における補正量の差を10ビットの2LSB分とする。頂点となる平坦部分の幅が画像の水平画素数の1/8よりも小さくて水平画素数の1/16以上である場合、当該平坦部分における補正量の差を10ビットの1LSB分とする。頂点となる平坦部分の幅が画像の水平画素数の1/16よりも小さい場合、当該平坦部分における補正量の差を0とする。 That is, when the width of the flat portion serving as the apex is smaller than the number of horizontal pixels of the image and is ½ or more of the number of horizontal pixels, the difference in correction amount in the flat portion is set to 10 LSB. When the width of the flat portion serving as the apex is smaller than ½ of the number of horizontal pixels of the image and is ¼ or more of the number of horizontal pixels, the difference in correction amount in the flat portion is set to 3 LSB of 10 bits. When the width of the flat portion serving as the apex is smaller than 1/4 of the number of horizontal pixels of the image and equal to or more than 1/8 of the number of horizontal pixels, the difference in correction amount in the flat portion is set to 10 bits of 2 LSB. When the width of the flat portion serving as the apex is smaller than 1/8 of the number of horizontal pixels of the image and is 1/16 or more of the number of horizontal pixels, the difference in correction amount in the flat portion is set to 1 LSB of 10 bits. When the width of the flat portion serving as the apex is smaller than 1/16 of the number of horizontal pixels of the image, the correction amount difference in the flat portion is set to zero.
なお、低周波成分の変動が凹である場合に上述した低周波成分の変動が凸である場合と上下方向に対称となるように補正値を決定すればよい。 In addition, what is necessary is just to determine a correction value so that it may become symmetrical in the up-down direction with the case where the fluctuation | variation of the low frequency component mentioned above is convex when the fluctuation | variation of a low frequency component is concave.
次に、本発明を適用したビット拡張装置20の動作(以下、ビット拡張処理と称する)について、図13のフローチャートを参照して説明する。 Next, the operation of the bit expansion device 20 to which the present invention is applied (hereinafter referred to as bit expansion processing) will be described with reference to the flowchart of FIG.
前段からの入力信号Siは、ビット拡張装置20においてローパスフィルタ21および遅延部23に供給される。ステップS1において、ローパスフィルタ21は、前段からの8ビットの入力信号Siから高周波成分を除去し、その結果得られたn(>8)ビットの低周波成分を丸め処理演算部22に出力する。ステップS2において、丸め処理演算部22は、ローパスフィルタ21から入力されたnビットの低周波成分を10ビットと8ビットの2種類に四捨五入演算し、演算結果として得られた8ビットの低周波成分をビット拡張部26に出力し、演算結果として得られた10ビットの低周波成分を減算部24に出力する。
The input signal Si from the previous stage is supplied to the low-
ステップS3において、減算部24は、遅延部23によりステップS1およびS2の処理に要する時間だけ遅延された8ビットの入力信号Siと、丸め処理演算部22からの10ビットに丸められた低周波成分を減算し、その結果得られる(s+10)ビットの高周波成分を遅延部25に出力する。
In step S3, the subtracting
ステップS4において、ビット拡張部26は、丸め処理演算部22からの8ビットに丸められた低周波成分を、その変動の平坦部分の幅と両端の差分に応じ、10ビットに拡張して加算部27に出力する。ステップS5において、加算部27は、10ビットに拡張された低周波成分と、遅延部25によりステップS4の処理に要する時間だけ遅延された(s+10)ビットの高周波成分を加算し、その結果得られる(s+11)ビットの信号をリミッタ28に出力する。ステップS6において、リミッタ28は、加算部27から入力された(s+11)ビットの信号を10ビットに制限し、その結果得られた10ビットの出力信号Soを後段に出力する。以上で、ビット拡張装置20によるビット拡張処理の説明を終了する。
In step S4, the
以上に説明したビット拡張装置20によるビット拡張処理によれば、従来のビット拡張に比較して平坦部分が減少するようより滑らかに修正されるので、ビット拡張装置20の後段において非線形画像処理を施しても、元の映像信号のビット精度が画面上で認識されてしまう擬似輪郭などの画質劣化の発生を抑止することができる。 According to the bit expansion processing by the bit expansion device 20 described above, since the flat portion is corrected more smoothly than the conventional bit expansion, nonlinear image processing is performed in the subsequent stage of the bit expansion device 20. However, it is possible to suppress the occurrence of image quality degradation such as a pseudo contour in which the bit accuracy of the original video signal is recognized on the screen.
なお、本実施の形態であるビット拡張装置20においては、8ビットの入力信号Siを10ビットの出力信号Soに拡張するようにしたが、本発明は、任意のVビットの入力信号SiをW(>V)ビットの出力信号Soに拡張するビット拡張装置に適用することができる。 In the bit expansion device 20 according to the present embodiment, the 8-bit input signal Si is expanded to the 10-bit output signal So. However, in the present invention, an arbitrary V-bit input signal Si is changed to W. The present invention can be applied to a bit extension device that extends to an output signal So of (> V) bits.
また、本発明は、画像の画素信号のみならず、あらゆる量子化された信号の階調数を増加させる場合に適応することが可能である。 Further, the present invention can be applied to the case where the number of gradations of not only the pixel signal of an image but also any quantized signal is increased.
本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiments of the present invention are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.
20 ビット拡張装置, 21 ローパスフィルタ, 22 丸め処理演算部, 23 遅延部, 24 減算部, 25 遅延部, 26 ビット拡張部, 27 加算部, 28 リミッタ, 41 1LSB差分検出部, 42 平坦部分カウンタ, 43 書き込みアドレスカウンタ, 44 RAM, 45 遅延部, 46 読み出しアドレスカウンタ, 47 平坦部分補間部, 48 加算部 20-bit expansion device, 21 low-pass filter, 22 rounding processing operation unit, 23 delay unit, 24 subtraction unit, 25 delay unit, 26 bit expansion unit, 27 addition unit, 28 limiter, 41 1LSB difference detection unit, 42 flat partial counter, 43 write address counter, 44 RAM, 45 delay section, 46 read address counter, 47 flat partial interpolation section, 48 adder section
Claims (3)
入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出する低周波成分抽出手段と、
抽出されたn(>V)ビットの前記低周波成分をVビットに制限する第1の制限手段と、
Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張する拡張手段と、
入力されたVビットの前記信号の高周波成分を抽出する高周波成分抽出手段と、
Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算する加算手段と、
前記加算手段の出力をWビットに制限する第2の制限手段と
を含む情報処理装置。 In a signal processing device that increases the number of gradations of a quantized signal,
A low frequency component extracting means for removing a high frequency component of the input V-bit signal and extracting a low frequency component;
First limiting means for limiting the extracted n (> V) bits of the low frequency component to V bits;
Extending means for extending the number of bits of the low-frequency component limited to V bits to W (> V) bits;
High-frequency component extraction means for extracting high-frequency components of the input V-bit signal;
Adding means for adding the low frequency component expanded to W bits and the extracted high frequency component;
An information processing apparatus comprising: second limiting means for limiting the output of the adding means to W bits.
Vビットに制限された前記低周波成分の連続して入力される値の差分を検出する検出手段と、
Vビットに制限された前記低周波成分の平坦部分の幅をカウントするカウント手段と、
前記差分および前記平坦部分の幅に基づいて補正値を決定する決定手段と、
決定された前記補正値に基づいて前記低周波成分を補正する補正手段と
を含む
請求項1に記載の信号処理装置。 The expansion means includes
Detecting means for detecting a difference between continuously inputted values of the low frequency component limited to V bits;
Counting means for counting the width of the flat portion of the low frequency component limited to V bits;
Determining means for determining a correction value based on the difference and the width of the flat portion;
The signal processing apparatus according to claim 1, further comprising: a correction unit that corrects the low frequency component based on the determined correction value.
入力されたVビットの前記信号の高周波成分を除去して低周波成分を抽出し、
抽出されたn(>V)ビットの前記低周波成分をVビットに制限し、
Vビットに制限された前記低周波成分のビット数をW(>V)ビットに拡張し、
入力されたVビットの前記信号の高周波成分を抽出し、
Wビットに拡張された前記低周波成分と抽出された前記高周波成分を加算し、
この加算結果をWビットに制限する
ステップを含む情報処理方法。 In the signal processing method of the signal processing device for increasing the number of gradations of the quantized signal,
The high frequency component of the input V-bit signal is removed to extract the low frequency component,
Limiting the extracted low frequency components of n (> V) bits to V bits;
Extending the number of bits of the low frequency component limited to V bits to W (> V) bits;
Extract the high frequency component of the input V-bit signal,
Add the low frequency component expanded to W bits and the extracted high frequency component,
An information processing method including a step of limiting the addition result to W bits.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006041112A JP4682866B2 (en) | 2006-02-17 | 2006-02-17 | Signal processing apparatus and signal processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006041112A JP4682866B2 (en) | 2006-02-17 | 2006-02-17 | Signal processing apparatus and signal processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007221569A JP2007221569A (en) | 2007-08-30 |
JP4682866B2 true JP4682866B2 (en) | 2011-05-11 |
Family
ID=38498306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006041112A Expired - Fee Related JP4682866B2 (en) | 2006-02-17 | 2006-02-17 | Signal processing apparatus and signal processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4682866B2 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4577583B2 (en) | 2007-12-04 | 2010-11-10 | ソニー株式会社 | Image processing apparatus, image processing method, program, and recording medium |
JP5239387B2 (en) * | 2008-02-21 | 2013-07-17 | 株式会社Jvcケンウッド | Data conversion apparatus, program, and method |
JP2009267671A (en) | 2008-04-24 | 2009-11-12 | Nec Electronics Corp | Image processing apparatus |
JP4998391B2 (en) * | 2008-07-09 | 2012-08-15 | 株式会社Jvcケンウッド | Video signal processing apparatus and nonlinear low-pass filter |
WO2010070731A1 (en) * | 2008-12-16 | 2010-06-24 | パイオニア株式会社 | Video signal processing device, video display device, video signal processing method, program thereof, and recording medium containing the program |
JP5159651B2 (en) * | 2009-01-21 | 2013-03-06 | 三菱電機株式会社 | Image processing apparatus, image processing method, and image display apparatus |
JP5164880B2 (en) * | 2009-02-23 | 2013-03-21 | 三菱電機株式会社 | Image processing apparatus, image processing method, and image display apparatus |
CN102461151A (en) * | 2009-06-23 | 2012-05-16 | 松下电器产业株式会社 | Image processing device |
JP2011040910A (en) | 2009-08-07 | 2011-02-24 | Sony Corp | Signal processing device, reproducing device, signal processing method and program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08237669A (en) * | 1995-02-28 | 1996-09-13 | Sony Corp | Picture signal processor, picture signal processing method and picture signal decoder |
JP2004054210A (en) * | 2002-05-29 | 2004-02-19 | Sharp Corp | Image processing device, image processing method, image display device and portable electronic equipment |
JP2005086388A (en) * | 2003-09-08 | 2005-03-31 | Sony Corp | Image processor, method, program, and recording medium |
JP2005221593A (en) * | 2004-02-03 | 2005-08-18 | Sharp Corp | Image processing device and method, image display device, portable information equipment, control program, and readable recording medium |
-
2006
- 2006-02-17 JP JP2006041112A patent/JP4682866B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08237669A (en) * | 1995-02-28 | 1996-09-13 | Sony Corp | Picture signal processor, picture signal processing method and picture signal decoder |
JP2004054210A (en) * | 2002-05-29 | 2004-02-19 | Sharp Corp | Image processing device, image processing method, image display device and portable electronic equipment |
JP2005086388A (en) * | 2003-09-08 | 2005-03-31 | Sony Corp | Image processor, method, program, and recording medium |
JP2005221593A (en) * | 2004-02-03 | 2005-08-18 | Sharp Corp | Image processing device and method, image display device, portable information equipment, control program, and readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP2007221569A (en) | 2007-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4682866B2 (en) | Signal processing apparatus and signal processing method | |
JP4928765B2 (en) | Semiconductor integrated device and black level correction method for image sensor | |
US8189941B2 (en) | Image processing device, display device, image processing method, and program | |
US7738042B2 (en) | Noise reduction device for a video signal and noise reduction method for a video signal | |
US8606008B2 (en) | Image processing device, image processing method, image processing program, and integrated circuit | |
JP5177142B2 (en) | Image processing apparatus, display apparatus, image processing method, and program thereof | |
EP1072153B1 (en) | False contour correcting apparatus and method | |
JP5060447B2 (en) | Noise cancellation processing circuit and solid-state imaging device | |
JP5137464B2 (en) | Image processing apparatus, image processing method, image processing program, and integrated circuit | |
WO2004002135A1 (en) | Motion detection device and noise reduction device using that | |
US8270750B2 (en) | Image processor, display device, image processing method, and program | |
JP5159651B2 (en) | Image processing apparatus, image processing method, and image display apparatus | |
JP2007158847A (en) | Gray scale converter, video display device, and method of converting gray scale | |
JP5213604B2 (en) | Imaging device | |
WO2010150327A1 (en) | Image processing device | |
JP4571605B2 (en) | Noise reduction apparatus and method | |
JP2011040910A (en) | Signal processing device, reproducing device, signal processing method and program | |
JP4773739B2 (en) | Image processing method | |
JP6031993B2 (en) | Image processing apparatus and image processing method | |
JP4685704B2 (en) | Signal processing device | |
WO2010070731A1 (en) | Video signal processing device, video display device, video signal processing method, program thereof, and recording medium containing the program | |
JP4998391B2 (en) | Video signal processing apparatus and nonlinear low-pass filter | |
JP2023144442A (en) | Image processing device | |
JP2005039659A (en) | Device and method for correcting signal | |
JP2008258836A (en) | Imaging apparatus, signal processing circuit, signal processing apparatus, signal processing method, and computer program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090205 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101227 |
|
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: 20110111 |
|
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: 20110124 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140218 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140218 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |