JP4475196B2 - Block noise detection device and block noise detection program - Google Patents

Block noise detection device and block noise detection program Download PDF

Info

Publication number
JP4475196B2
JP4475196B2 JP2005210735A JP2005210735A JP4475196B2 JP 4475196 B2 JP4475196 B2 JP 4475196B2 JP 2005210735 A JP2005210735 A JP 2005210735A JP 2005210735 A JP2005210735 A JP 2005210735A JP 4475196 B2 JP4475196 B2 JP 4475196B2
Authority
JP
Japan
Prior art keywords
value
block
pixel
output
horizontal
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.)
Active
Application number
JP2005210735A
Other languages
Japanese (ja)
Other versions
JP2007028460A (en
Inventor
康夫 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2005210735A priority Critical patent/JP4475196B2/en
Publication of JP2007028460A publication Critical patent/JP2007028460A/en
Application granted granted Critical
Publication of JP4475196B2 publication Critical patent/JP4475196B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はブロックノイズ検出装置及びブロックノイズ検出プログラムに係り、特に映像信号をデジタル画像圧縮して伝送、記録するときに、符号化及び復号化する際に生じるブロックの境界で発生するブロックノイズを検出するブロックノイズ検出装置及びコンピュータにブロックノイズを検出させるブロックノイズ検出プログラムに関する。   The present invention relates to a block noise detection apparatus and a block noise detection program, and in particular, detects block noise generated at a block boundary when encoding and decoding when a video signal is compressed and transmitted and recorded as a digital image. The present invention relates to a block noise detection apparatus and a block noise detection program for causing a computer to detect block noise.

映像信号をデジタル圧縮する際の圧縮符号化方式として、符号化対象の映像信号の水平方向及び垂直方向に隣接する複数の画素を1つの矩形ブロックとして、このブロック単位で圧縮符号化を行う方式が知られている。このような圧縮符号化方式により圧縮符号化処理された映像信号は、記録媒体あるいは伝送路等を介した後、復号化処理が矩形ブロック単位で行われ、元の映像信号が復元される。   As a compression encoding method when digitally compressing a video signal, there is a method in which a plurality of pixels adjacent in a horizontal direction and a vertical direction of a video signal to be encoded are set as one rectangular block and compression encoding is performed in units of this block. Are known. The video signal that has been compression-encoded by such a compression-encoding method is subjected to a decoding process in units of rectangular blocks after passing through a recording medium or a transmission path, so that the original video signal is restored.

そして、このような圧縮符号化及び復号化方式において、記録媒体あるいは伝送路における映像信号の情報量を小さく抑えたい場合に圧縮率を大きくすると、矩形ブロック間で階調差が生じる。一般に、この階調差によるノイズがブロックノイズと呼ばれる。このようなブロックの境界で発生するブロックノイズを検出する方法としては、一般的には映像圧縮データ復号化装置の情報によりブロックの境界を検出する方法がある。   In such a compression encoding and decoding method, if the compression rate is increased when it is desired to reduce the information amount of the video signal on the recording medium or the transmission path, a gradation difference occurs between the rectangular blocks. In general, noise due to this gradation difference is called block noise. As a method of detecting block noise generated at such block boundaries, there is generally a method of detecting block boundaries based on information of the video compression data decoding apparatus.

また、映像圧縮データ復号化装置のブロック境界情報がない時のブロックノイズ検出方法も従来知られている(例えば、特許文献1、2参照)。特許文献1記載の従来のブロックノイズ検出装置では、検出対象の映像信号の水平方向と垂直方向の各高域成分を水平高域フィルタ、垂直高域フィルタでそれぞれ抽出し、抽出した各高域成分を絶対値化した後、水平累積加算部、垂直累積加算部でそれぞれの絶対値信号を累積加算して、水平周期的にピーク値を持った水平1次元信号と垂直周期的にピーク値を持った垂直1次元信号とを得る。   Also, a block noise detection method when there is no block boundary information of a video compression data decoding apparatus is known in the art (see, for example, Patent Documents 1 and 2). In the conventional block noise detecting device described in Patent Document 1, the high-frequency components in the horizontal direction and the vertical direction of the video signal to be detected are extracted by the horizontal high-pass filter and the vertical high-pass filter, respectively. After the absolute value is converted into an absolute value, the horizontal cumulative adder and vertical cumulative adder cumulatively add the respective absolute value signals to have a horizontal one-dimensional signal having a peak value in the horizontal period and a peak value in the vertical period. A vertical one-dimensional signal is obtained.

そして、上記の水平1次元信号に基づいて水平ピーク検出部により水平方向のブロックサイズ間隔で水平方向のピーク位置を検出すると共に、上記の垂直1次元信号に基づいて垂直ピーク検出部により垂直方向のブロックサイズ間隔で垂直方向のピーク位置を検出した後、それらのピーク位置検出信号に基づいてブロック境界部分を検出し、そこがブロックノイズが発生する個所であるとして検出する。   Then, a horizontal peak position is detected at horizontal block size intervals by the horizontal peak detection unit based on the horizontal one-dimensional signal, and a vertical peak detection unit is detected by the vertical peak detection unit based on the vertical one-dimensional signal. After detecting vertical peak positions at block size intervals, block boundary portions are detected based on these peak position detection signals, and are detected as locations where block noise occurs.

また、特許文献2記載の従来のブロックノイズ検出装置では、注目点を挟む水平方向又は垂直方向に隣接する2つのブロックの各画素間の差分の絶対値であるブロック境界差分値と、隣接画素間の差分値である隣接差分値とを用いることによって、ブロックノイズの発生するブロック境界の検出を行うようにしている。   Further, in the conventional block noise detection device described in Patent Document 2, a block boundary difference value that is an absolute value of a difference between two pixels adjacent to each other in the horizontal direction or the vertical direction across the target point, and between adjacent pixels The block boundary where block noise occurs is detected by using the adjacent difference value which is the difference value of.

特開2000−50275号公報JP 2000-50275 A 特開2002−232889号公報JP 2002-232889 A

しかるに、上記の映像圧縮データ復号化装置の情報によりブロックの境界を検出する方法では、映像圧縮データ復号化装置よりのブロック境界情報がなければブロックノイズを検出することができない。例えば、テレビ受像機で外部入力からブロックノイズがある映像信号が入力された場合は、映像圧縮データ復号化装置のブロック境界情報がないため、ブロックの境界で発生するブロックノイズを検出できない。   However, in the above-described method for detecting the block boundary based on the information of the video compression data decoding apparatus, block noise cannot be detected without the block boundary information from the video compression data decoding apparatus. For example, when a video signal having block noise is input from an external input in a television receiver, block noise generated at the block boundary cannot be detected because there is no block boundary information of the video compression data decoding apparatus.

一方、特許文献1記載の従来のブロックノイズ検出装置では、映像圧縮データ復号化装置よりのブロック境界情報が無くてもブロックノイズを検出することはできるが、ブロック境界周期性検知に累積加算器を使用するため、入力映像信号量が増えると累積加算器の回路規模が大きくなってしまう。   On the other hand, in the conventional block noise detection device described in Patent Document 1, block noise can be detected without the block boundary information from the video compression data decoding device, but a cumulative adder is used for block boundary periodicity detection. Therefore, when the input video signal amount increases, the circuit scale of the cumulative adder increases.

また、特許文献2記載の従来のブロックノイズ検出装置では、映像圧縮データ復号化装置よりのブロック境界情報が無くてもブロックノイズを検出することはできるが、隣接差分値の平均値よりブロック境界差分値を算出しているため、本来の映像信号やランダムノイズをブロック境界差分値と認識してしまう問題がある。   Further, in the conventional block noise detection device described in Patent Document 2, block noise can be detected without the block boundary information from the video compression data decoding device, but the block boundary difference is calculated from the average value of adjacent difference values. Since the value is calculated, there is a problem that an original video signal or random noise is recognized as a block boundary difference value.

本発明は以上の点に鑑みなされたもので、映像圧縮データ復号化装置よりのブロック境界情報が無くても、ブロックノイズが発生している入力映像信号よりブロックノイズの検出を正確に行い得るブロックノイズ検出装置及びブロックノイズ検出プログラムを提供することを目的とする。   The present invention has been made in view of the above points. Even if there is no block boundary information from the video compression data decoding apparatus, the block noise can be accurately detected from the input video signal in which block noise is generated. An object of the present invention is to provide a noise detection device and a block noise detection program.

上記の目的を達成するため、第1の発明は、映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じたブロック境界を検出するブロックノイズ検出装置において、復号映像信号の水平期間における複数の画素のそれぞれについて、隣接画素との差分絶対値を計算し、複数の画素にそれぞれ対応する画素位置における隣接画素差分絶対値を抽出する抽出手段と、ブロック単位の水平方向画素数m(mは2以上の自然数)で定まる水平方向所定期間内に時系列的に並ぶm個の画素位置における隣接画素差分絶対値を、その値が大きい順に順位付けすると共に、水平方向所定期間内の予め設定された1つの画素位置である注目画素位置における隣接画素差分絶対値の順位が少なくとも最大の順位を含む一以上の予め定めた所定の順位であるときは、注目画素位置における隣接画素差分絶対値を水平方向所定期間での代表値として出力し、順位が所定の順位でないときは数値0を代表値として出力する処理を、水平方向所定期間を水平方向に1画素ずつずらしながら実行し、各水平方向所定期間における代表値を、水平期間における各画素位置毎の代表値として出力する順位付け手段と、順位付け手段から水平期間における各画素位置毎に出力される代表値を入力として受け、水平期間を水平方向所定期間毎に区切り、その各水平方向所定期間内に並ぶm個の画素位置を時系列的に前方から順に第1番目〜第m番目の画素位置としたとき、区切った各水平方向所定期間内の同じ順番の画素位置同士における代表値の平均値を算出する平均値算出手段と、平均値算出手段により算出された第1番目〜第m番目の各画素位置における平均値のうち、最も大なる平均値が2番目に大なる平均値に基づき求まる所定値以上のときは、最も大なる平均値に対応した画素位置を抽出し、水平期間内において抽出した画素位置に対応する水平方向所定期間の周期単位で現れる全ての画素位置を、ブロック境界のある画素位置として検知する検知手段と、検知手段によりブロック境界が検知された画素位置において、順位付け手段から固定値が出力されているか否かを判断し、固定値が出力されていない場合にその画素位置をブロックノイズが発生している水平方向のブロック境界として検出するブロック境界検出手段とを有することを特徴とする。 In order to achieve the above object, according to a first aspect of the present invention, a coded video signal obtained by compressing and coding a video signal in units of blocks composed of a plurality of pixels is converted into a decoded video signal when decoded in units of blocks. When block noise occurs, in a block noise detection device that detects a block boundary where the block noise has occurred, for each of a plurality of pixels in the horizontal period of the decoded video signal, a difference absolute value with an adjacent pixel is calculated. Are arranged in time series within a predetermined period in the horizontal direction determined by the number of horizontal pixels m (m is a natural number of 2 or more) in the block unit, and extraction means for extracting the adjacent pixel difference absolute value at the pixel position corresponding to each of the pixels Adjacent pixel difference absolute values at m pixel positions are ranked in descending order, and one preset image within a predetermined period in the horizontal direction is set. When the order of the adjacent pixel difference absolute values at the position target pixel position which is one or more predefined predetermined rank that includes at least up to the rank, the adjacent pixel difference absolute value at the target pixel position in the horizontal direction by a predetermined time period When the rank is not the predetermined rank, the process of outputting the numerical value 0 as the representative value is executed while shifting the horizontal predetermined period by one pixel in the horizontal direction, and the representative value in each horizontal predetermined period As a representative value for each pixel position in the horizontal period, and a representative value output for each pixel position in the horizontal period as an input from the ranking means. When the m pixel positions arranged in a predetermined period in the horizontal direction are the first to mth pixel positions in time series in order from the front, An average value calculating means for calculating an average value of representative values at pixel positions in the same order within a predetermined period in the horizontal direction, and an average value at each of the first to mth pixel positions calculated by the average value calculating means Among these, when the largest average value is equal to or larger than a predetermined value obtained based on the second largest average value, the pixel position corresponding to the largest average value is extracted, and the pixel position corresponding to the extracted pixel position within the horizontal period is extracted. A fixed value is output from the ranking unit at a detection unit that detects all pixel positions appearing in a cycle unit of a predetermined period in the horizontal direction as a pixel position having a block boundary, and a pixel position at which the block boundary is detected by the detection unit. Block boundary to detect the pixel position as a horizontal block boundary where block noise occurs when a fixed value is not output And detecting means.

この発明では、ブロックの水平方向画素数mで定まる水平方向所定期間内に時系列的に並ぶm個の画素位置における隣接画素差分絶対値を、その値が大きい順に順位付けすると共に、水平方向所定期間内の予め設定された1つの画素位置である注目画素位置における隣接画素差分絶対値の順位が少なくとも最大の順位を含む一以上の予め定めた所定の順位であるときは、注目画素位置における隣接画素差分絶対値を水平方向所定期間での代表値として出力し、順位が所定の順位でないときは数値0を代表値として出力する処理を、水平方向所定期間を水平方向に1画素ずつずらしながら実行する順位付けを行い、順位付けして得られた水平方向所定期間内のm個の第1番目〜第m番目の画素位置の同じ順番の画素位置同士における代表値の平均値を算出し、それらの平均値のうち、最も大なる平均値が2番目に大なる平均値に基づき求まる所定値以上のときは、最も大なる平均値に対応した画素位置に対応する水平方向所定期間内の水平方向所定期間の周期単位で現れる全ての画素位置をブロック境界のある画素位置とし、かつ、その画素位置において、順位付け手段から代表値として隣接画素差分絶対値が出力されるとき、その画素位置をブロックノイズが発生している水平方向のブロック境界として検出するようにしたため、入力された復号映像信号のみを用いてブロックノイズが発生している水平方向のブロック境界を検出できる。
In the present invention, adjacent pixel difference absolute values at m pixel positions arranged in time series within a predetermined horizontal direction determined by the number of horizontal pixels m of the block are ranked in descending order, and the predetermined horizontal direction is determined. When the rank of the adjacent pixel difference absolute value at the target pixel position which is one pixel position set in advance during the period is at least one predetermined predetermined order including at least the maximum rank, the adjacent position at the target pixel position The process of outputting the pixel difference absolute value as a representative value for a predetermined period in the horizontal direction and outputting the numerical value 0 as a representative value when the rank is not a predetermined rank is executed while shifting the predetermined period in the horizontal direction by one pixel at a time. The average value of the m pixel positions in the same order among the first to m-th pixel positions within a predetermined horizontal direction obtained by the ranking is calculated. A horizontal direction corresponding to the pixel position corresponding to the largest average value when a value is calculated and the largest average value among these average values is equal to or greater than a predetermined value obtained based on the second largest average value When all the pixel positions appearing in the period unit of the predetermined period in the horizontal direction within the predetermined period are set as pixel positions having a block boundary, and the adjacent pixel difference absolute value is output as a representative value from the ranking means at the pixel position. Since the pixel position is detected as the horizontal block boundary where the block noise is generated, the horizontal block boundary where the block noise is generated can be detected using only the input decoded video signal.

また、上記の目的を達成するため、第2の発明は、上記の順位付け手段から出力された代表値が、予め設定した互いに異なる第1の閾値と第2の閾値との間の値であるという条件を満足するか否か判定し、順位付け手段から出力された代表値が条件を満足するときは、その出力値を平均値算出手段及び水平境界検出手段へ出力し、条件を満足しないときは、順位付け手段から出力される代表値の平均値算出手段及びブロック境界検出手段への出力を遮断する判定手段を更に有することを特徴とする。   In order to achieve the above object, in the second invention, the representative value output from the ranking means is a value between a first threshold value and a second threshold value that are different from each other. When the representative value output from the ranking means satisfies the condition, the output value is output to the average value calculation means and the horizontal boundary detection means, and the condition is not satisfied Is further characterized by further comprising determination means for cutting off output to the average value calculating means and block boundary detecting means of the representative values output from the ranking means.

この発明では、順位付け手段から出力された代表値が第1の閾値と第2の閾値の範囲内の値でないときは、順位付け手段から出力される代表値の平均値算出手段及びブロック境界検出手段への出力を遮断するようにしたため、順位付け手段から出力される代表値が第1の閾値と第2の閾値の範囲内の値でないときは、上記の代表値はブロックノイズに比べて非常に大きいか、非常に小さいために、その代表値に対応する画素位置は、ブロックノイズが発生している水平方向のブロック境界位置ではないと判断できる。   In the present invention, when the representative value output from the ranking means is not a value within the range between the first threshold value and the second threshold value, the average value calculating means and block boundary detection of the representative values output from the ranking means Since the output to the means is cut off, when the representative value output from the ranking means is not a value within the range between the first threshold value and the second threshold value, the above representative value is much higher than the block noise. Therefore, it can be determined that the pixel position corresponding to the representative value is not a horizontal block boundary position where block noise occurs.

また、上記の目的を達成するため、第3の発明は、映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、ブロック単位で復号化することにより復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じたブロック境界を検出するブロックノイズ検出装置において、第1の発明の水平方向を垂直方向に変更したものである。この第3の発明では、入力された復号映像信号のみを用いてブロックノイズが発生している垂直方向のブロック境界を検出できる。   In order to achieve the above object, the third aspect of the invention provides a decoded video signal obtained by decoding an encoded video signal obtained by compressing and encoding a video signal in units of blocks composed of a plurality of pixels in units of blocks. In the block noise detecting apparatus for detecting the block boundary where the block noise occurs when the block noise occurs in the signal, the horizontal direction of the first invention is changed to the vertical direction. In the third aspect of the invention, the block boundary in the vertical direction where block noise is generated can be detected using only the input decoded video signal.

また、上記の目的を達成するため、第4の発明は、第3の発明に、順位付け手段から出力された代表値が、予め設定した互いに異なる第1の閾値と第2の閾値との間の値であるという条件を満足するか否か判定し、順位付け手段から出力された代表値が条件を満足するときは、その出力値を平均値算出手段及び垂直境界検出手段へ出力し、条件を満足しないときは、順位付け手段から出力される代表値の平均値算出手段及びブロック境界検出手段への出力を遮断する判定手段を更に有する構成としたものである。   In order to achieve the above object, according to a fourth aspect, in the third aspect, the representative value output from the ranking means is between a first threshold value and a second threshold value that are different from each other. If the representative value output from the ranking means satisfies the condition, the output value is output to the average value calculation means and the vertical boundary detection means. When the condition is not satisfied, the average value calculating means for the representative value output from the ranking means and the determination means for cutting off the output to the block boundary detecting means are further provided.

この発明では、順位付け手段から出力された代表値が第1の閾値と第2の閾値の範囲内の値でないときは、順位付け手段から出力される代表値の平均値算出手段及びブロック境界検出手段への出力を遮断するようにしたため、順位付け手段から出力される代表値が第1の閾値と第2の閾値の範囲内の値でないときは、上記の代表値はブロックノイズに比べて非常に大きいか、非常に小さいために、その代表値に対応する画素位置は、ブロックノイズが発生している垂直方向のブロック境界位置ではないと判断できる。   In the present invention, when the representative value output from the ranking means is not a value within the range between the first threshold value and the second threshold value, the average value calculating means and block boundary detection of the representative values output from the ranking means Since the output to the means is cut off, when the representative value output from the ranking means is not a value within the range between the first threshold value and the second threshold value, the above representative value is much higher than the block noise. Therefore, it can be determined that the pixel position corresponding to the representative value is not the block boundary position in the vertical direction where the block noise is generated.

また、上記の目的を達成するため、第5の発明のブロックノイズ検出プログラムは、映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じた水平方向のブロック境界を、コンピュータにより検出させるブロックノイズ検出プログラムであって、第1の発明のブロックノイズ検出装置によるブロックノイズ検出をコンピュータにより実行させることを特徴とする。   In order to achieve the above object, a block noise detection program according to a fifth aspect of the present invention decodes an encoded video signal obtained by compressing and encoding a video signal in units of blocks composed of a plurality of pixels in units of blocks. A block noise detection program for causing a computer to detect a horizontal block boundary in which block noise has occurred when block noise occurs in the decoded video signal at the time of block decoding by the block noise detection apparatus of the first invention Noise detection is performed by a computer.

また、上記の目的を達成するため、第6の発明のブロックノイズ検出プログラムは、映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じた垂直方向のブロック境界を、コンピュータにより検出させるブロックノイズ検出プログラムであって、第3の発明のブロックノイズ検出装置によるブロックノイズ検出をコンピュータにより実行させることを特徴とする。   In order to achieve the above object, a block noise detection program according to a sixth aspect of the invention decodes an encoded video signal obtained by compressing and encoding a video signal in units of blocks composed of a plurality of pixels in units of blocks. When block noise occurs in the decoded video signal at the time, a block noise detection program for causing a computer to detect a block boundary in the vertical direction in which the block noise has occurred, and the block noise detection apparatus according to the third invention Noise detection is performed by a computer.

本発明によれば、入力された復号映像信号のみを用いてブロックノイズが発生している水平方向のブロック境界又は垂直方向のブロック境界を検出できるようにしたため、映像圧縮データ復号化装置の情報がない場合でも、ブロックの境界で発生するブロックノイズを検出することができる。   According to the present invention, the horizontal block boundary or the vertical block boundary where block noise is generated can be detected using only the input decoded video signal. Even when there is no block noise, it is possible to detect block noise generated at the block boundary.

また、本発明によれば、順位付け手段から出力された代表値が第1の閾値と第2の閾値の範囲内の値でないときは、その代表値に対応する画素位置は、ブロックノイズが発生している水平方向又は垂直方向のブロック境界位置ではないと判断するようにしたため、順位付け手段から出力される代表値が第1の閾値と第2の閾値の範囲内の値でない本来の復号映像信号をブロックノイズが生じたブロックの水平境界又は垂直境界であると誤検出することを防止できる。   Further, according to the present invention, when the representative value output from the ranking unit is not a value within the range between the first threshold value and the second threshold value, block noise occurs at the pixel position corresponding to the representative value. Since it is determined that the block boundary position is not in the horizontal or vertical direction, the original decoded video whose representative value output from the ranking means is not a value within the range between the first threshold value and the second threshold value. It is possible to prevent erroneous detection of a signal as a horizontal boundary or a vertical boundary of a block in which block noise occurs.

次に、本発明を実施するための最良の形態について図面と共に説明する。図1は本発明になるブロックノイズ検出装置の第1の実施の形態のブロック図を示す。本実施の形態は、水平方向のブロックノイズを検出する装置で、垂直ローパスフィルタ(LPF)11、水平方向所定期間内の隣接画素差分絶対値抽出回路12、隣接画素差分値の順位付けによる注目画素差分絶対値抽出回路13、ブロック水平画素周期による平均値算出回路14、ブロック水平画素周期性検知回路15、及びブロック水平境界検出回路16からなる。   Next, the best mode for carrying out the present invention will be described with reference to the drawings. FIG. 1 shows a block diagram of a first embodiment of a block noise detection apparatus according to the present invention. The present embodiment is a device that detects block noise in the horizontal direction, and includes a vertical low-pass filter (LPF) 11, an adjacent pixel difference absolute value extraction circuit 12 within a predetermined horizontal direction, and a pixel of interest by ranking adjacent pixel difference values. The circuit includes a difference absolute value extraction circuit 13, an average value calculation circuit 14 based on a block horizontal pixel period, a block horizontal pixel periodicity detection circuit 15, and a block horizontal boundary detection circuit 16.

垂直LPF11は、ある圧縮符号化方式によりブロック単位で圧縮符号化された映像信号が、所定の伝送路を経て復号化回路(図示せず)に供給されてブロック単位で復号化された復号映像信号が入力され、その復号映像信号の垂直方向の低域成分を抽出する。これは、ブロック水平境界をより検出し易くするため、水平方向の成分はすべて残し、垂直方向の高域成分を減衰させるためである。   The vertical LPF 11 is a decoded video signal in which a video signal compressed and encoded in units of blocks by a certain compression encoding method is supplied to a decoding circuit (not shown) via a predetermined transmission path and decoded in units of blocks. Is extracted, and the low frequency component in the vertical direction of the decoded video signal is extracted. This is to make it easier to detect the block horizontal boundary, so that all the horizontal components remain and the high frequency components in the vertical direction are attenuated.

垂直LPF11は、例えば図3のブロック図に示す構成とされており、縦続接続された4つのラインメモリ21、22、23及び24により入力復号映像信号を1ラインずつ順次に遅延する。ラインメモリ21、22、23から出力された1ライン遅延復号映像信号、2ライン遅延復号映像信号、3ライン遅延復号映像信号は乗算器25、26、27でそれぞれ別々に所定の乗算係数と乗算された後、加算器28に供給され、ここで非遅延復号映像信号とラインメモリ24から出力された4ライン遅延復号映像信号とそれぞれ加算合成される。   The vertical LPF 11 is configured as shown in the block diagram of FIG. 3, for example, and sequentially delays an input decoded video signal line by line by four cascaded line memories 21, 22, 23 and 24. The 1-line delayed decoded video signal, the 2-line delayed decoded video signal, and the 3-line delayed decoded video signal output from the line memories 21, 22, and 23 are respectively multiplied by predetermined multiplier coefficients by multipliers 25, 26, and 27, respectively. After that, the signal is supplied to the adder 28, where the non-delay decoded video signal and the 4-line delayed decoded video signal output from the line memory 24 are added and synthesized.

加算器28で加算合成して得られた合成映像信号は乗算器29で所定の係数と乗算されてレベル調整された後出力される。この加算器29から出力される信号は、入力復号映像信号の隣接する5ラインの垂直方向の各画素値を演算することにより得られた、垂直方向の低域成分であり、図1の水平方向所定期間内の隣接画素差分絶対値抽出回路12に供給される。   The synthesized video signal obtained by adding and synthesizing by the adder 28 is multiplied by a predetermined coefficient by the multiplier 29 and level-adjusted and then output. The signal output from the adder 29 is a low-frequency component in the vertical direction obtained by calculating the vertical pixel values of five adjacent lines of the input decoded video signal. It is supplied to the adjacent pixel difference absolute value extraction circuit 12 within a predetermined period.

水平方向所定期間内の隣接画素差分絶対値抽出回路12は、入力信号(入力映像信号の垂直方向の低域成分)の水平方向所定期間内の隣接画素差分絶対値を抽出する。すなわち、この隣接画素差分絶対値抽出回路12は、ブロックノイズのブロック水平画素数を例えば8画素とした場合、水平方向所定期間を8画素とし、図4に示すように、この水平方向所定期間において水平方向に時系列的に並ぶ8つの画素P1〜P8のそれぞれと、その直ぐ左隣にある画素P0〜P7との間の差分値の絶対値を算出し、図5に示すように各8画素の差分値の絶対値(隣接画素差分絶対値)を算出する。   The adjacent pixel difference absolute value extraction circuit 12 within a predetermined period in the horizontal direction extracts an adjacent pixel difference absolute value within a predetermined period in the horizontal direction of the input signal (a low frequency component in the vertical direction of the input video signal). That is, the adjacent pixel difference absolute value extraction circuit 12 sets the horizontal horizontal predetermined period to 8 pixels when the number of block horizontal pixels of the block noise is 8 pixels, for example, and as shown in FIG. The absolute value of the difference value between each of the eight pixels P1 to P8 arranged in time series in the horizontal direction and the pixels P0 to P7 immediately adjacent to the left is calculated. As shown in FIG. The absolute value of the difference value (adjacent pixel difference absolute value) is calculated.

ここで、図5において、1は図4の画素P1とP0との差分絶対値、2は図4の画素P2とP1との差分絶対値、3は図4の画素P3とP2との差分絶対値、4は図4の画素P4とP3との差分絶対値、5は図4の注目画素P5と画素P4との差分絶対値、6は図4の画素P6と注目画素P5との差分絶対値、7は図4の画素P7とP6との差分絶対値、8は図4の画素P8とP7との差分絶対値を示す。   In FIG. 5, 1 is the absolute difference value between the pixels P1 and P0 in FIG. 4, 2 is the absolute difference value between the pixels P2 and P1 in FIG. 4, and 3 is the absolute difference between the pixels P3 and P2 in FIG. 4 is an absolute difference value between the pixels P4 and P3 in FIG. 4, 5 is an absolute difference value between the target pixel P5 and the pixel P4 in FIG. 4, and 6 is an absolute difference value between the pixel P6 and the target pixel P5 in FIG. , 7 are absolute differences between the pixels P7 and P6 in FIG. 4, and 8 are absolute differences between the pixels P8 and P7 in FIG.

図1の隣接画素差分絶対値抽出回路12は、上記の水平方向所定期間内の8つの画素と、その直ぐ左隣にある画素との差分値の絶対値を算出する処理を、水平方向に1画素ずつずらしながら実行する。このようにして隣接画素差分絶対値抽出回路12により算出された、水平方向所定期間内の上記の8つの隣接画素差分絶対値は、隣接画素差分値の順位付けによる注目画素差分絶対値抽出回路13に供給される。   The adjacent pixel difference absolute value extraction circuit 12 shown in FIG. 1 performs a process of calculating the absolute value of the difference value between the eight pixels in the predetermined period in the horizontal direction and the pixel immediately adjacent to the left in the horizontal direction. Execute while shifting pixel by pixel. The eight adjacent pixel difference absolute values within the predetermined period in the horizontal direction calculated by the adjacent pixel difference absolute value extraction circuit 12 in this way are the target pixel difference absolute value extraction circuit 13 based on the ranking of the adjacent pixel difference values. To be supplied.

この注目画素差分絶対値抽出回路13は、入力された図5の1〜8で示した8つの隣接画素差分絶対値を大きい順に順位付けし、この8つの隣接画素差分絶対値のうちほぼ中央位置にある図5に5で示す注目画素の差分絶対値(注目画素差分絶対値)が、予め定めた所定順位のとき、例えば順位が1番目か2番目のとき、その注目画素差分絶対値を代表値として出力する。また、注目画素差分絶対値抽出回路13は、注目画素差分絶対値が上記の所定順位でない時、例えば大きい方から1番目または2番目の値ではない時は、予め定めた固定値”0”を代表値として出力する。   The target pixel difference absolute value extraction circuit 13 ranks the eight adjacent pixel difference absolute values indicated by 1 to 8 in FIG. 5 in descending order, and is approximately in the middle position among the eight adjacent pixel difference absolute values. When the difference absolute value of the target pixel (target pixel difference absolute value) indicated by 5 in FIG. 5 is a predetermined order, for example, when the order is first or second, the target pixel difference absolute value is represented. Output as a value. Further, the pixel-of-interest difference absolute value extraction circuit 13 sets a predetermined fixed value “0” when the pixel-of-interest absolute value is not the above-mentioned predetermined order, for example, when it is not the first or second value from the largest. Output as a representative value.

この注目画素差分絶対値抽出回路13による処理は、注目画素差分絶対値抽出回路13に入力される8つの隣接画素差分絶対値が、隣接画素差分絶対値抽出回路12において、水平方向所定期間内の8つの画素と、その直ぐ左隣にある画素との差分値の絶対値を算出する処理を、水平方向に1画素ずつずらしながら実行して得られた8つの隣接画素差分絶対値であるから、水平方向に1画素ずつずらしながら入力される8つの隣接画素差分絶対値に対して上記の代表値を出力する処理である。   The processing by the pixel-of-interest absolute value extraction circuit 13 is performed so that eight adjacent pixel difference absolute values input to the pixel-of-interest difference absolute value extraction circuit 13 Since it is eight adjacent pixel difference absolute values obtained by executing the process of calculating the absolute value of the difference value between the eight pixels and the pixel immediately adjacent to the pixel by shifting one pixel at a time in the horizontal direction, This is a process of outputting the above representative value for eight adjacent pixel difference absolute values inputted while shifting one pixel at a time in the horizontal direction.

図1のブロック水平画素周期による平均値算出回路14は、上記の注目画素差分絶対値抽出回路13からの代表値、すなわち、注目画素差分絶対値又は”0”を入力として受け、その入力値に基づきブロック水平画素周期による平均値算出を行う。例えば、ブロック水平画素周期が8画素のときは、ブロック水平画素周期による平均値算出回路14は8個の平均値算出器を並列に備え、上記の注目画素差分絶対値抽出回路13から出力された値(注目画素差分絶対値又は”0”)を、その8個の平均値算出器に水平方向の画素の順に巡回的に供給され、水平方向所定期間の周期単位で、かつ、全ての画素について、注目画素入力値の平均値を算出する。   The average value calculation circuit 14 based on the block horizontal pixel period in FIG. 1 receives the representative value from the above target pixel difference absolute value extraction circuit 13, that is, the target pixel difference absolute value or “0” as an input, Based on the block horizontal pixel period, the average value is calculated. For example, when the block horizontal pixel period is 8 pixels, the average value calculation circuit 14 based on the block horizontal pixel period includes eight average value calculators in parallel, and is output from the above noted pixel difference absolute value extraction circuit 13. A value (absolute value of pixel difference of interest or “0”) is cyclically supplied to the eight average value calculators in the order of the pixels in the horizontal direction, and in a unit of period in the horizontal direction for all pixels. The average value of the target pixel input values is calculated.

すなわち、ブロック水平画素周期による平均値算出回路14は、図6に示すように、1フレーム内の全画素を、1フレームの画面の左上から注目画素入力値を画素毎に見ていき、図6に1〜8で示す8つの画素のそれぞれの画素位置で抽出された注目画素差分絶対値又は固定値”0”を8個の平均値算出器で別々に平均値(ブロック水平画素周期による平均値)を算出する。すなわち、図6に1〜8で示す水平画素周期内の8つの画素のうち、同じ番号(同じ順番)の画素の値同士の間で平均値が算出され、その結果、全部で8つの平均値(ブロック水平画素周期による平均値)が算出されることになる。なお、この平均値の算出は1フレーム毎に行われるのではなく、この平均値の算出は、上記のように水平方向所定期間の8つの入力画素単位毎に区切って行われる。   That is, as shown in FIG. 6, the average value calculation circuit 14 based on the block horizontal pixel period looks at all pixels in one frame for each pixel from the upper left of the screen of one frame, and looks at the target pixel input value for each pixel. The 8 pixel average absolute values or fixed values “0” extracted at the pixel positions of the 8 pixels indicated by 1 to 8 are individually averaged (average value based on the block horizontal pixel period) by 8 average value calculators. ) Is calculated. That is, among the eight pixels in the horizontal pixel period indicated by 1 to 8 in FIG. 6, an average value is calculated between the values of pixels having the same number (same order), and as a result, a total of eight average values are obtained. (Average value based on the block horizontal pixel period) is calculated. The average value is not calculated for each frame, but the average value is calculated for every eight input pixel units in a predetermined period in the horizontal direction as described above.

図1のブロック水平画素周期性検知回路15は、ブロック水平画素周期による平均値算出回路14により算出された8つのブロック水平画素周期による平均値よりブロックノイズ境界の周期性を検知する。すなわち、ブロック水平画素周期性検知回路15は、入力された8つのブロック水平画素周期による平均値を順位付けし、1番目に大きい平均値が2番目に大きい平均値のn倍以上の時(nは任意の数)、8水平画素周期で1番目に大きい平均値の部分(1番目に大きい平均値が得られる画素位置)がブロックノイズ境界周期だと検出する。1番目に大きい平均値が2番目に大きい平均値のn倍以上ではない時は、図6に1〜8で示す8つの画素のいずれもブロックノイズ境界周期ではないと検知する。   The block horizontal pixel periodicity detection circuit 15 in FIG. 1 detects the periodicity of the block noise boundary from the average value of the eight block horizontal pixel periods calculated by the average value calculation circuit 14 based on the block horizontal pixel period. That is, the block horizontal pixel periodicity detection circuit 15 ranks the average values of the eight input block horizontal pixel periods, and when the first largest average value is n times or more than the second largest average value (n Is an arbitrary number), and detects that the portion of the average value that is the first largest in 8 horizontal pixel periods (the pixel position where the first largest average value is obtained) is the block noise boundary period. When the first largest average value is not more than n times the second largest average value, it is detected that none of the eight pixels indicated by 1 to 8 in FIG. 6 is a block noise boundary period.

図1のブロック水平境界検出回路16は、ブロック水平画素周期性検知回路15から図6に1〜8で示す8つの画素のいずれかがブロックノイズ境界周期であることを示す水平画素周期性検出信号が入力された場合、注目画素が前記ブロックノイズ境界周期に該当し、注目画素差分絶対値抽出回路13から出力される値が0値以外の値である時は、その画素位置がブロックノイズの発生する水平方向のブロック境界(すなわち、ブロック水平境界)だと検出する。   The block horizontal boundary detection circuit 16 in FIG. 1 is a horizontal pixel periodicity detection signal indicating that one of the eight pixels 1 to 8 shown in FIG. 6 from the block horizontal pixel periodicity detection circuit 15 is a block noise boundary period. When the pixel of interest corresponds to the block noise boundary period and the value output from the pixel-of-interest difference absolute value extraction circuit 13 is a value other than 0, the pixel position is the occurrence of block noise. It is detected that this is a horizontal block boundary (that is, a block horizontal boundary).

このようにして、本実施の形態によれば、映像圧縮データ復号化装置のブロックノイズ境界情報を必要としないでブロックノイズの発生した水平方向のブロック境界を検出することができる。また、本実施の形態によれば、ブロック境界周期性検知に累積加算器を使用せず、平均値から水平画素周期性を検知しているため、入力映像信号量が増えても累積加算器に比べて回路規模は小さくて済む。   In this way, according to the present embodiment, it is possible to detect a horizontal block boundary where block noise has occurred without requiring block noise boundary information of the video compression data decoding apparatus. Further, according to the present embodiment, since the horizontal pixel periodicity is detected from the average value without using the cumulative adder for detecting the block boundary periodicity, the cumulative adder is used even if the input video signal amount increases. In comparison, the circuit scale is small.

次に、本発明の第2の実施の形態について説明する。図2は本発明になるブロックノイズ検出装置の第2の実施の形態のブロック図を示す。同図中、図1と同一構成部分には同一符号を付し、その説明を省略する。図2に示す第2の実施の形態は、図1に示した第1の実施の形態に、2つの閾値による注目画素差分絶対値判定回路17を追加した点に特徴がある。   Next, a second embodiment of the present invention will be described. FIG. 2 shows a block diagram of a second embodiment of a block noise detection apparatus according to the present invention. In the figure, the same components as those in FIG. The second embodiment shown in FIG. 2 is characterized in that an attention pixel difference absolute value determination circuit 17 based on two threshold values is added to the first embodiment shown in FIG.

図2において、2つの閾値による注目画素差分絶対値判定回路17は、2つの閾値AとBを設け(ただし、閾値A>閾値B、AとBは任意の数)、注目画素差分絶対値抽出回路13から供給される注目画素差分絶対値と比較し、閾値A≧注目画素差分絶対値≧閾値Bの不等式を満足するときは、注目画素差分絶対値抽出回路13から供給された注目画素差分絶対値をそのまま出力し、上記の不等式を満足しないとき(注目画素差分絶対値が閾値Aより大きいか、閾値Bより小さいとき)は”0”を出力する。   In FIG. 2, the pixel-of-interest difference absolute value determination circuit 17 using two thresholds provides two thresholds A and B (where threshold A> threshold B, A and B are arbitrary numbers), and pixel-of-interest difference absolute value extraction When the target pixel difference absolute value supplied from the circuit 13 is satisfied and an inequality of threshold A ≧ target pixel difference absolute value ≧ threshold B is satisfied, the target pixel difference absolute value supplied from the target pixel difference absolute value extraction circuit 13 is satisfied. The value is output as it is, and when the above inequality is not satisfied (when the target pixel difference absolute value is larger than the threshold A or smaller than the threshold B), “0” is output.

2つの閾値による注目画素差分絶対値判定回路17から出力された信号は、ブロック水平画素周期による平均値算出回路14とブロック水平境界検出回路16にそれぞれ供給される。これにより、注目画素差分絶対値が閾値Aより大きいか、閾値Bより小さいときは、ブロックノイズ以外の信号だと判断し、注目画素差分絶対値抽出回路13から出力された注目画素差分絶対値が後段に送られないため、本来の映像信号をブロックノイズが生じた水平方向のブロック境界(ブロック水平境界)だと検出してしまう誤検出を防ぐことができ、これにより、ブロック水平境界を正確に検出できる。   The signals output from the target pixel difference absolute value determination circuit 17 based on the two threshold values are supplied to the average value calculation circuit 14 and the block horizontal boundary detection circuit 16 based on the block horizontal pixel period, respectively. Thus, when the target pixel difference absolute value is larger than the threshold A or smaller than the threshold B, it is determined that the signal is other than block noise, and the target pixel difference absolute value output from the target pixel difference absolute value extraction circuit 13 is Since it is not sent to the subsequent stage, it is possible to prevent false detection that the original video signal is detected as a horizontal block boundary (block horizontal boundary) where block noise has occurred. It can be detected.

次に、本発明の第3の実施の形態について説明する。図7は本発明になるブロックノイズ検出装置の第3の実施の形態のブロック図を示す。本実施の形態は、垂直方向のブロックノイズを検出する装置で、水平ローパスフィルタ(LPF)31、垂直方向所定期間内の隣接画素差分絶対値抽出回路32、隣接画素差分値の順位付けによる注目画素差分絶対値抽出回路33、ブロック垂直画素周期による平均値算出回路34、ブロック垂直画素周期性検知回路35、及びブロック垂直境界検出回路36からなる。   Next, a third embodiment of the present invention will be described. FIG. 7 shows a block diagram of a third embodiment of a block noise detecting apparatus according to the present invention. The present embodiment is a device that detects block noise in the vertical direction, and includes a horizontal low-pass filter (LPF) 31, an adjacent pixel difference absolute value extraction circuit 32 within a predetermined period in the vertical direction, and a pixel of interest by ranking adjacent pixel difference values. The circuit includes a difference absolute value extraction circuit 33, an average value calculation circuit 34 based on a block vertical pixel period, a block vertical pixel periodicity detection circuit 35, and a block vertical boundary detection circuit 36.

水平LPF31は、ある圧縮符号化方式によりブロック単位で圧縮符号化された映像信号が、所定の伝送路を経て復号化回路(図示せず)に供給されてブロック単位で復号化された復号映像信号が入力され、その復号映像信号の水平方向の低域成分を抽出する。これは、ブロック垂直境界をより検出し易くするため、垂直方向の成分はすべて残し、水平方向の高域成分を減衰させるためである。   The horizontal LPF 31 is a decoded video signal in which a video signal compressed and encoded in units of blocks by a certain compression encoding method is supplied to a decoding circuit (not shown) via a predetermined transmission path and decoded in units of blocks. Is extracted, and the low frequency component in the horizontal direction of the decoded video signal is extracted. This is to make it easier to detect the block vertical boundary, so that all the components in the vertical direction are left and the high frequency component in the horizontal direction is attenuated.

水平LPF31は、例えば図9のブロック図に示す構成とされており、縦続接続された4つの1画素遅延器41、42、43及び44により入力復号映像信号を1画素期間ずつ順次に遅延する。1画素遅延器41、42、43及び44から出力された1画素期間遅延復号映像信号、2画素期間遅延復号映像信号、3画素期間遅延復号映像信号は乗算器45、46、47でそれぞれ別々に所定の乗算係数と乗算された後、加算器48に供給され、ここで非遅延復号映像信号と1画素遅延器44から出力された4画素期間遅延復号映像信号とそれぞれ加算合成される。   The horizontal LPF 31 is configured as shown in the block diagram of FIG. 9, for example, and sequentially delays the input decoded video signal by one pixel period by four cascaded one-pixel delay units 41, 42, 43, and 44. The one-pixel period delayed decoded video signal, the two-pixel period delayed decoded video signal, and the three-pixel period delayed decoded video signal output from the one-pixel delay units 41, 42, 43, and 44 are respectively separated by multipliers 45, 46, and 47, respectively. After being multiplied by a predetermined multiplication coefficient, it is supplied to the adder 48, where the non-delay decoded video signal and the 4-pixel period delayed decoded video signal output from the 1-pixel delay unit 44 are added and combined.

加算器48で加算合成して得られた合成映像信号は乗算器49で所定の係数と乗算されてレベル調整された後出力される。この加算器49から出力される信号は、入力復号映像信号の隣接する5画素期間の水平方向の各画素値を演算することにより得られた、水平方向の低域成分であり、図7の垂直方向所定期間内の隣接画素差分絶対値抽出回路32に供給される。   The synthesized video signal obtained by adding and synthesizing by the adder 48 is multiplied by a predetermined coefficient by a multiplier 49 and level-adjusted and output. The signal output from the adder 49 is a horizontal low-frequency component obtained by calculating the horizontal pixel values of the adjacent five pixel periods of the input decoded video signal. The direction is supplied to the adjacent pixel difference absolute value extraction circuit 32 within a predetermined period.

垂直方向所定期間内の隣接画素差分絶対値抽出回路32は、入力信号(入力映像信号の水平方向の低域成分)の垂直方向所定期間内の隣接画素差分絶対値を抽出する。すなわち、この隣接画素差分絶対値抽出回路32は、ブロックノイズが発生するブロック境界のあるブロックの垂直画素数を例えば8画素とした場合、垂直方向所定期間を8画素とし、図10に示すように、この垂直方向所定期間において垂直方向に時系列的に並ぶ8つの画素D1〜D8のそれぞれと、その直ぐ上隣にある画素D0〜D7との間の差分値の絶対値を算出し、各8画素の差分値の絶対値(隣接画素差分絶対値)を算出する。   The adjacent pixel difference absolute value extraction circuit 32 within a predetermined period in the vertical direction extracts an adjacent pixel difference absolute value within a predetermined period in the vertical direction of the input signal (a low frequency component in the horizontal direction of the input video signal). That is, the adjacent pixel difference absolute value extraction circuit 32 sets the vertical vertical period to 8 pixels when the number of vertical pixels of a block having a block boundary where block noise occurs is 8 pixels, for example, as shown in FIG. Then, the absolute value of the difference value between each of the eight pixels D1 to D8 arranged in time series in the vertical direction in this vertical direction and the pixels D0 to D7 immediately adjacent thereto is calculated. The absolute value of the pixel difference value (adjacent pixel difference absolute value) is calculated.

図7の隣接画素差分絶対値抽出回路32は、上記の垂直方向所定期間内の8つの画素と、その直ぐ上隣にある画素との差分値の絶対値を算出する処理を、垂直方向に1画素ずつずらしながら実行する。このようにして、隣接画素差分絶対値抽出回路32において算出された、垂直方向所定期間内の上記の8つの隣接画素差分絶対値は、隣接画素差分値の順位付けによる注目画素差分絶対値抽出回路33に供給される。   The adjacent pixel difference absolute value extraction circuit 32 shown in FIG. 7 performs a process of calculating the absolute value of the difference value between the eight pixels in the predetermined period in the vertical direction and the pixel immediately above it in the vertical direction. Execute while shifting pixel by pixel. In this way, the eight adjacent pixel difference absolute values calculated in the adjacent pixel difference absolute value extraction circuit 32 within the predetermined period in the vertical direction are the target pixel difference absolute value extraction circuit based on the ranking of the adjacent pixel difference values. 33.

この注目画素差分絶対値抽出回路33は、入力された8つの隣接画素差分絶対値を大きい順に順位付けし、この8つの隣接画素差分絶対値のうちほぼ中央位置にある図10にD5で示す注目画素の差分絶対値(注目画素差分絶対値)が、予め定めた所定順位のとき、例えば順位が1番目か2番目のとき、その注目画素差分絶対値を代表値として出力する。また、注目画素差分絶対値抽出回路33は、注目画素差分絶対値が上記の所定順位でない時、例えば大きい方から1番目または2番目の値ではない時は、予め定めた固定値”0”を代表値として出力する。   The target pixel difference absolute value extraction circuit 33 ranks the eight adjacent pixel difference absolute values inputted in descending order, and the target pixel difference indicated by D5 in FIG. When the pixel difference absolute value (target pixel difference absolute value) has a predetermined order, for example, when the order is first or second, the target pixel difference absolute value is output as a representative value. Further, the pixel-of-interest difference absolute value extraction circuit 33 sets a predetermined fixed value “0” when the pixel-of-interest absolute value is not the above-mentioned predetermined order, for example, when it is not the first or second value from the largest. Output as a representative value.

この注目画素差分絶対値抽出回路33による処理は、注目画素差分絶対値抽出回路33に入力される8つの隣接画素差分絶対値が、隣接画素差分絶対値抽出回路32において、垂直方向所定期間内の8つの画素と、その直ぐ上隣にある画素との差分値の絶対値を算出する処理を、垂直方向に1画素ずつずらしながら実行して得られた8つの隣接画素差分絶対値であるから、垂直方向に1画素ずつずらしながら入力される8つの隣接画素差分絶対値に対して上記の代表値を出力する処理である。   The processing by the pixel-of-interest absolute value extraction circuit 33 is performed by the eight adjacent pixel-difference absolute values input to the pixel-of-interest-difference absolute value extraction circuit 33 in the vertical-direction predetermined period in the adjacent-pixel difference absolute value extraction circuit 32. Since it is the eight adjacent pixel difference absolute values obtained by executing the process of calculating the absolute value of the difference value between the eight pixels and the pixel immediately above it by shifting one pixel at a time in the vertical direction, This is a process of outputting the above representative value for eight adjacent pixel difference absolute values inputted while shifting one pixel at a time in the vertical direction.

図7のブロック垂直画素周期による平均値算出回路34は、上記の注目画素差分絶対値抽出回路33からの注目画素差分絶対値又は”0”を入力として受け、その入力値に基づきブロック垂直画素周期による平均値算出を行う。例えば、ブロック垂直画素周期が8画素のときは、ブロック垂直画素周期による平均値算出回路34は、上記の注目画素差分絶対値抽出回路33からの注目画素差分絶対値又は”0”を垂直8画素周期で平均値を算出する。   The average value calculation circuit 34 based on the block vertical pixel period in FIG. 7 receives the target pixel difference absolute value or “0” from the target pixel difference absolute value extraction circuit 33 as an input, and based on the input value, the block vertical pixel period The average value is calculated by. For example, when the block vertical pixel cycle is 8 pixels, the average value calculation circuit 34 based on the block vertical pixel cycle uses the pixel-of-interest absolute value or “0” from the pixel-of-interest absolute value extraction circuit 33 as vertical 8 pixels. The average value is calculated with the period.

すなわち、ブロック垂直画素周期による平均値算出回路34は、図11に示すように、1フレーム内の全画素を、1フレームの画面の左上から垂直方向に注目画素入力値を画素毎に見ていき、図11に1〜8で示す8つの画素のそれぞれの画素位置で抽出された注目画素差分絶対値を8つの平均値算出器で別々に平均値(ブロック垂直画素周期による平均値)を算出する。すなわち、図11に1〜8で示す垂直画素周期内の8つの画素のうち、同じ番号(同じ順番)の画素の値同士の間で平均値が算出され、その結果、全部で8つの平均値(ブロック垂直画素周期による平均値)が算出されることになる。なお、この平均値の算出は1フレーム毎に行われるのではなく、上記のように垂直方向所定期間の8つの入力画素単位毎に区切って行われる。   That is, as shown in FIG. 11, the average value calculation circuit 34 based on the block vertical pixel period looks at the pixel-of-interest input value for each pixel in the vertical direction from the upper left of the screen of one frame for every pixel. 11, the average value (average value based on the block vertical pixel period) of the pixel-of-interest difference absolute values extracted at the pixel positions of the eight pixels indicated by 1 to 8 in FIG. 11 is calculated separately by the eight average value calculators. . That is, among the eight pixels in the vertical pixel period indicated by 1 to 8 in FIG. 11, the average value is calculated between the values of the pixels having the same number (same order), and as a result, a total of eight average values are obtained. (Average value based on the block vertical pixel period) is calculated. The average value is not calculated for each frame, but is divided for every eight input pixel units in a predetermined period in the vertical direction as described above.

図7のブロック垂直画素周期性検知回路35は、ブロック垂直画素周期による平均値算出回路34により算出された8つのブロック垂直画素周期による平均値よりブロックノイズ境界の周期性を検知する。すなわち、ブロック垂直画素周期性検知回路35は、入力された8つのブロック垂直画素周期による平均値を順位付けし、1番目に大きい平均値が2番目に大きい平均値のn倍以上の時(nは任意の数)、8周期で1番目に大きい平均値の部分(1番目に大きい平均値に対応した画素位置)がブロックノイズ境界周期だと検出する。1番目に大きい平均値が2番目に大きい平均値のn倍以上ではない時は、図11に1〜8で示す8つの画素のいずれもブロックノイズ境界周期ではないと検知する。   The block vertical pixel periodicity detection circuit 35 in FIG. 7 detects the periodicity of the block noise boundary from the average value based on the eight block vertical pixel periods calculated by the average value calculation circuit 34 based on the block vertical pixel period. That is, the block vertical pixel periodicity detection circuit 35 ranks the average values of the eight input block vertical pixel periods, and when the first largest average value is n times or more than the second largest average value (n Is an arbitrary number), and it is detected that the portion of the average value that is the largest in eight periods (the pixel position corresponding to the first largest average value) is the block noise boundary period. When the first largest average value is not n times or more than the second largest average value, it is detected that none of the eight pixels indicated by 1 to 8 in FIG. 11 is a block noise boundary period.

図7のブロック垂直境界検出回路36は、ブロック垂直画素周期性検知回路35から図11に1〜8で示す8つの画素のいずれかがブロックノイズ境界周期であることを示す垂直画素周期性検出信号が入力された場合、注目画素が前記ブロックノイズ境界周期に該当し、注目画素差分絶対値抽出回路33から出力される値が0値以外の値である時は、その画素位置がブロックノイズの発生するブロック垂直境界だと検出する。   The block vertical boundary detection circuit 36 in FIG. 7 is a vertical pixel periodicity detection signal indicating that one of the eight pixels 1 to 8 shown in FIG. 11 from the block vertical pixel periodicity detection circuit 35 is a block noise boundary period. When the pixel of interest corresponds to the block noise boundary period and the value output from the pixel-of-interest difference absolute value extraction circuit 33 is a value other than 0, the pixel position is the occurrence of block noise. Detects that the block is a vertical boundary.

このようにして、本実施の形態によれば、映像圧縮データ復号化装置のブロックノイズ境界情報を必要としないで、ブロックノイズが生じた垂直方向のブロック境界を検出することができる。また、本実施の形態によれば、ブロック境界周期性検知に累積加算器を使用せず、平均値から垂直画素周期性を検知しているため、入力映像信号量が増えても累積加算器に比べて回路規模は小さくて済む。   In this way, according to the present embodiment, it is possible to detect a block boundary in the vertical direction in which block noise occurs without requiring block noise boundary information of the video compression data decoding apparatus. Further, according to the present embodiment, since the vertical pixel periodicity is detected from the average value without using the cumulative adder for detecting the block boundary periodicity, the cumulative adder is used even if the input video signal amount increases. In comparison, the circuit scale is small.

次に、本発明の第4の実施の形態について説明する。図8は本発明になるブロックノイズ検出装置の第4の実施の形態のブロック図を示す。同図中、図7と同一構成部分には同一符号を付し、その説明を省略する。図8に示す第4の実施の形態は、図7に示した第3の実施の形態に、2つの閾値による注目画素差分絶対値判定回路37を追加した点に特徴がある。   Next, a fourth embodiment of the present invention will be described. FIG. 8 shows a block diagram of a fourth embodiment of a block noise detecting apparatus according to the present invention. In the figure, the same components as those in FIG. 7 are denoted by the same reference numerals, and the description thereof is omitted. The fourth embodiment shown in FIG. 8 is characterized in that an attention pixel difference absolute value determination circuit 37 based on two thresholds is added to the third embodiment shown in FIG.

図8において、2つの閾値による注目画素差分絶対値判定回路37は、2つの閾値AとBを設け(ただし、閾値A>閾値B、AとBは任意の数)、注目画素差分絶対値抽出回路33から供給される注目画素差分絶対値と比較し、閾値A≧注目画素差分絶対値≧閾値Bの不等式を満足するときは、注目画素差分絶対値抽出回路33から供給された注目画素差分絶対値をそのまま出力し、上記の不等式を満足しないとき(注目画素差分絶対値が閾値Aより大きいか、閾値Bより小さいとき)は”0”を出力する。   In FIG. 8, the pixel-of-interest difference absolute value determination circuit 37 based on two thresholds provides two thresholds A and B (where threshold A> threshold B, A and B are arbitrary numbers), and pixel-of-interest difference absolute value extraction. When the target pixel difference absolute value supplied from the circuit 33 is satisfied and the inequality of threshold A ≧ target pixel difference absolute value ≧ threshold B is satisfied, the target pixel difference absolute value supplied from the target pixel difference absolute value extraction circuit 33 is satisfied. The value is output as it is, and when the above inequality is not satisfied (when the target pixel difference absolute value is larger than the threshold A or smaller than the threshold B), “0” is output.

2つの閾値による注目画素差分絶対値判定回路37から出力された信号は、ブロック垂直画素周期による平均値算出回路34とブロック垂直境界検出回路36にそれぞれ供給される。これにより、注目画素差分絶対値抽出回路33から出力された値が閾値Aより大きいか、閾値Bより小さいときは、ブロックノイズ以外の信号だと判断し、注目画素差分絶対値抽出回路33から出力された値が後段に送られないため、本来の映像信号をブロックノイズが生じた垂直方向のブロック境界(ブロック垂直境界)だと検出してしまう誤検出を防ぐことができ、よって、ブロックノイズが生じたブロック垂直境界を正確に検出できる。   Signals output from the target pixel difference absolute value determination circuit 37 based on the two threshold values are supplied to the average value calculation circuit 34 and the block vertical boundary detection circuit 36 based on the block vertical pixel period, respectively. Thereby, when the value output from the target pixel difference absolute value extraction circuit 33 is larger than the threshold value A or smaller than the threshold value B, it is determined that the signal is other than block noise, and is output from the target pixel difference absolute value extraction circuit 33. Since the processed value is not sent to the subsequent stage, it is possible to prevent a false detection that the original video signal is detected as a vertical block boundary (block vertical boundary) in which block noise occurs. The resulting block vertical boundary can be accurately detected.

なお、本発明は以上の実施の形態に限定されるものではなく、例えば図1、図2、図7、図8に示したブロックノイズ検出装置の構成をコンピュータにより実行させるコンピュータプログラムも本発明に包含するものである。このコンピュータプログラムは記録媒体に記録されていて、コンピュータに取り込まれてもよいし、通信ネットワークを介して配信されてコンピュータに取り込まれてもよい。   Note that the present invention is not limited to the above embodiment, and for example, a computer program that causes a computer to execute the configuration of the block noise detection device shown in FIGS. 1, 2, 7, and 8 is also included in the present invention. It is included. This computer program may be recorded on a recording medium and taken into the computer, or distributed via a communication network and taken into the computer.

本発明装置の第1の実施の形態のブロック図である。It is a block diagram of 1st Embodiment of this invention apparatus. 本発明装置の第2の実施の形態のブロック図である。It is a block diagram of 2nd Embodiment of this invention apparatus. 垂直ローパスフィルタの一例のブロック図である。It is a block diagram of an example of a vertical low-pass filter. 水平方向所定期間にある画素とそのレベルの一例を示す図である。It is a figure which shows an example of the pixel in the horizontal direction predetermined period, and its level. 図1中の隣接画素差分絶対値抽出回路の動作説明図である。It is operation | movement explanatory drawing of the adjacent pixel difference absolute value extraction circuit in FIG. 図1中のブロック水平画素周期による平均値算出回路、ブロック水平画素周期性検知回路の動作を説明する図である。It is a figure explaining the operation | movement of the average value calculation circuit by a block horizontal pixel period in FIG. 1, and a block horizontal pixel periodicity detection circuit. 本発明装置の第3の実施の形態のブロック図である。It is a block diagram of 3rd Embodiment of this invention apparatus. 本発明装置の第4の実施の形態のブロック図である。It is a block diagram of 4th Embodiment of this invention apparatus. 水平ローパスフィルタの一例のブロック図である。It is a block diagram of an example of a horizontal low-pass filter. 垂直方向所定期間にある画素とそのレベルの一例を示す図である。It is a figure which shows an example of the pixel in the vertical direction predetermined period, and its level. 図7中のブロック垂直画素周期による平均値算出回路、ブロック垂直画素周期性検知回路の動作を説明する図である。It is a figure explaining the operation | movement of the average value calculation circuit by a block vertical pixel period in FIG. 7, and a block vertical pixel periodicity detection circuit.

符号の説明Explanation of symbols

11 垂直ローパスフィルタ(LPF)
12 水平方向所定期間内の隣接画素差分絶対値抽出回路
13、33 隣接画素差分値の順位付けによる注目画素差分絶対値抽出回路
14 ブロック水平画素周期による平均値算出回路
15 ブロック水平画素周期性検知回路
16 ブロック水平境界検出回路
17、37 2つの閾値による注目画素差分絶対値判定回路
31 水平ローパスフィルタ(LPF)
32 垂直方向所定期間内の隣接画素差分絶対値抽出回路
34 ブロック垂直画素周期による平均値算出回路
35 ブロック垂直画素周期性検知回路
36 ブロック垂直境界検出回路
11 Vertical low pass filter (LPF)
12 An adjacent pixel difference absolute value extraction circuit within a predetermined period in the horizontal direction 13, 33 An attention pixel difference absolute value extraction circuit based on ranking of adjacent pixel difference values 14 An average value calculation circuit based on block horizontal pixel periods 15 A block horizontal pixel periodicity detection circuit 16 block horizontal boundary detection circuit 17, 37 attention pixel difference absolute value determination circuit with two thresholds 31 horizontal low pass filter (LPF)
32 An adjacent pixel difference absolute value extraction circuit within a predetermined period in the vertical direction 34 An average value calculation circuit based on a block vertical pixel period 35 A block vertical pixel periodicity detection circuit 36 A block vertical boundary detection circuit

Claims (6)

映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、前記ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じたブロック境界を検出するブロックノイズ検出装置において、
前記復号映像信号の水平期間における複数の画素のそれぞれについて、隣接画素との差分絶対値を計算し、前記複数の画素にそれぞれ対応する画素位置における隣接画素差分絶対値を抽出する抽出手段と、
前記ブロック単位の水平方向画素数m(mは2以上の自然数)で定まる水平方向所定期間内に時系列的に並ぶm個の画素位置における前記隣接画素差分絶対値を、その値が大きい順に順位付けすると共に、前記水平方向所定期間内の予め設定された1つの画素位置である注目画素位置における前記隣接画素差分絶対値の順位が少なくとも最大の順位を含む一以上の予め定めた所定の順位であるときは、前記注目画素位置における前記隣接画素差分絶対値を前記水平方向所定期間での代表値として出力し、前記順位が前記所定の順位でないときは数値0を前記代表値として出力する処理を、前記水平方向所定期間を水平方向に1画素ずつずらしながら実行し、前記各水平方向所定期間における代表値を、前記水平期間における各画素位置毎の代表値として出力する順位付け手段と、
前記順位付け手段から前記水平期間における各画素位置毎に出力される前記代表値を入力として受け、前記水平期間を前記水平方向所定期間毎に区切り、その各水平方向所定期間内に並ぶm個の画素位置を時系列的に前方から順に第1番目〜第m番目の画素位置としたとき、前記区切った各水平方向所定期間内の同じ順番の画素位置同士における代表値の平均値を算出する平均値算出手段と、
前記平均値算出手段により算出された前記第1番目〜第m番目の各画素位置における前記平均値のうち、最も大なる平均値が2番目に大なる平均値に基づき求まる所定値以上のときは、前記最も大なる平均値に対応した画素位置を抽出し、前記水平期間内において前記抽出した画素位置に対応する前記水平方向所定期間の周期単位で現れる全ての画素位置を、前記ブロック境界のある画素位置として検知する検知手段と、
前記検知手段により前記ブロック境界が検知された画素位置において、前記順位付け手段から前記固定値が出力されているか否かを判断し、前記固定値が出力されていない場合にその画素位置をブロックノイズが発生している水平方向のブロック境界として検出するブロック境界検出手段と
を有することを特徴とするブロックノイズ検出装置。
When block noise occurs in the decoded video signal when the encoded video signal obtained by compressing and encoding the video signal in units of blocks including a plurality of pixels is decoded in the block unit, the block noise is generated. In a block noise detection device for detecting a block boundary,
For each of a plurality of pixels in the horizontal period of the decoded video signal, an extraction means for calculating a difference absolute value with an adjacent pixel and extracting an adjacent pixel difference absolute value at a pixel position corresponding to each of the plurality of pixels;
The adjacent pixel difference absolute values at m pixel positions arranged in a time series within a predetermined period in the horizontal direction determined by the number of horizontal pixels m (m is a natural number of 2 or more) in block units are ranked in descending order. And at least one predetermined predetermined order including at least the largest order of the adjacent pixel difference absolute value at the target pixel position which is one pixel position set in advance in the horizontal direction predetermined period. When there is a process, the absolute value of the adjacent pixel difference at the target pixel position is output as a representative value for the predetermined period in the horizontal direction, and a numerical value 0 is output as the representative value when the rank is not the predetermined rank. The horizontal predetermined period is shifted by one pixel in the horizontal direction, and the representative value in each horizontal predetermined period is determined for each pixel position in the horizontal period. And ranking means for outputting a value,
The representative value output for each pixel position in the horizontal period is received as an input from the ranking unit, and the horizontal period is divided into predetermined horizontal periods, and m pieces are arranged in the horizontal predetermined period. An average for calculating an average value of representative values of pixel positions in the same order within each predetermined horizontal direction period when the pixel positions are the first to mth pixel positions in order from the front in time series. A value calculating means;
Of the average values at the first to m-th pixel positions calculated by the average value calculation means, when the largest average value is equal to or greater than a predetermined value determined based on the second largest average value The pixel position corresponding to the largest average value is extracted, and all the pixel positions appearing in the period unit of the horizontal predetermined period corresponding to the extracted pixel position in the horizontal period are included in the block boundary. Detecting means for detecting the pixel position;
At the pixel position where the block boundary is detected by the detection means, it is determined whether or not the fixed value is output from the ranking means. If the fixed value is not output, the pixel position is determined as block noise. And a block boundary detecting means for detecting the block boundary as a horizontal block boundary in which the noise occurs.
前記順位付け手段から出力された前記代表値が、予め設定した互いに異なる第1の閾値と第2の閾値との間の値であるという条件を満足するか否か判定し、前記順位付け手段から出力された前記代表値が前記条件を満足するときは、その出力値を前記平均値算出手段及び前記水平境界検出手段へ出力し、前記条件を満足しないときは、前記順位付け手段から出力される前記代表値の前記平均値算出手段及び前記ブロック境界検出手段への出力を遮断する判定手段を更に有することを特徴とする請求項1記載のブロックノイズ検出装置。   It is determined whether or not the representative value output from the ranking unit satisfies a condition that a preset value is different between a first threshold value and a second threshold value, and from the ranking unit When the output representative value satisfies the condition, the output value is output to the average value calculation means and the horizontal boundary detection means. When the output does not satisfy the condition, the output is output from the ranking means. The block noise detection apparatus according to claim 1, further comprising a determination unit that blocks output of the representative value to the average value calculation unit and the block boundary detection unit. 映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、前記ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じたブロック境界を検出するブロックノイズ検出装置において、
前記復号映像信号の垂直期間における複数の画素のそれぞれについて、隣接画素との差分絶対値を計算し、前記複数の画素にそれぞれ対応する画素位置における隣接画素差分絶対値を抽出する抽出手段と、
前記ブロック単位の垂直方向画素数m(mは2以上の自然数)で定まる垂直方向所定期間内に時系列的に並ぶm個の画素位置における前記隣接画素差分絶対値を、その値が大きい順に順位付けすると共に、前記垂直方向所定期間内の予め設定された1つの画素位置である注目画素位置における前記隣接画素差分絶対値の順位が少なくとも最大の順位を含む一以上の予め定めた所定の順位であるときは、前記注目画素位置における前記隣接画素差分絶対値を前記垂直方向所定期間での代表値として出力し、前記順位が前記所定の順位でないときは数値0を前記代表値として出力する処理を、前記垂直方向所定期間を垂直方向に1画素ずつずらしながら実行し、前記各垂直方向所定期間における代表値を、前記垂直期間における各画素位置毎の代表値として出力する順位付け手段と、
前記順位付け手段から前記垂直期間における各画素位置毎に出力される前記代表値を入力として受け、前記垂直期間を前記垂直方向所定期間毎に区切り、その各垂直方向所定期間内に並ぶm個の画素位置を時系列的に前方から順に第1番目〜第m番目の画素位置としたとき、前記区切った各垂直方向所定期間内の同じ順番の画素位置同士における代表値の平均値を算出する平均値算出手段と、
前記平均値算出手段により算出された前記第1番目〜第m番目の各画素位置における前記平均値のうち、最も大なる平均値が2番目に大なる平均値に基づき求まる所定値以上のときは、前記最も大なる平均値に対応した画素位置を抽出し、前記垂直期間内において前記抽出した画素位置に対応する前記垂直方向所定期間の周期単位で現れる全ての画素位置を、前記ブロック境界のある画素位置として検知する検知手段と、
前記検知手段により前記ブロック境界が検知された画素位置において、前記順位付け手段から前記固定値が出力されているか否かを判断し、前記固定値が出力されていない場合にその画素位置をブロックノイズが発生している垂直方向のブロック境界として検出するブロック境界検出手段と
を有することを特徴とするブロックノイズ検出装置。
When block noise occurs in the decoded video signal when the encoded video signal obtained by compressing and encoding the video signal in units of blocks including a plurality of pixels is decoded in the block unit, the block noise is generated. In a block noise detection device for detecting a block boundary,
For each of a plurality of pixels in the vertical period of the decoded video signal, an extraction unit that calculates a difference absolute value with an adjacent pixel and extracts an adjacent pixel difference absolute value at a pixel position corresponding to each of the plurality of pixels;
The adjacent pixel difference absolute values at m pixel positions arranged in time series within a predetermined period in the vertical direction determined by the number m of vertical pixels in the block unit (m is a natural number of 2 or more) are ranked in descending order. In addition, the adjacent pixel difference absolute value rank at the target pixel position, which is one pixel position set in advance within the predetermined period in the vertical direction, is at least one predetermined predetermined order including at least the highest order. When there is a process, the absolute value of the adjacent pixel difference at the target pixel position is output as a representative value in the predetermined period in the vertical direction, and a numerical value 0 is output as the representative value when the rank is not the predetermined rank The predetermined period in the vertical direction is shifted by one pixel in the vertical direction, and the representative value in each predetermined period in the vertical direction is calculated for each pixel position in the vertical period. And ranking means for outputting a value,
The representative value output for each pixel position in the vertical period from the ranking unit is received as an input, the vertical period is divided into predetermined vertical periods, and m pieces are arranged in the vertical predetermined periods. An average for calculating an average value of representative values of pixel positions in the same order within each predetermined vertical direction period when the pixel positions are the first to mth pixel positions in order from the front in time series. A value calculating means;
Of the average values at the first to m-th pixel positions calculated by the average value calculation means, when the largest average value is equal to or greater than a predetermined value determined based on the second largest average value The pixel position corresponding to the largest average value is extracted, and all the pixel positions appearing in the period unit of the predetermined period in the vertical direction corresponding to the extracted pixel position in the vertical period have the block boundary. Detecting means for detecting the pixel position;
At the pixel position where the block boundary is detected by the detection means, it is determined whether or not the fixed value is output from the ranking means. If the fixed value is not output, the pixel position is determined as block noise. And a block boundary detecting means for detecting the block boundary as a vertical block boundary in which the noise occurs.
前記順位付け手段から出力された前記代表値が、予め設定した互いに異なる第1の閾値と第2の閾値との間の値であるという条件を満足するか否か判定し、前記順位付け手段から出力された前記代表値が前記条件を満足するときは、その出力値を前記平均値算出手段及び前記垂直境界検出手段へ出力し、前記条件を満足しないときは、前記順位付け手段から出力される前記代表値の前記平均値算出手段及び前記ブロック境界検出手段への出力を遮断する判定手段を更に有することを特徴とする請求項3記載のブロックノイズ検出装置。   It is determined whether or not the representative value output from the ranking unit satisfies a condition that a preset value is different between a first threshold value and a second threshold value, and from the ranking unit When the output representative value satisfies the condition, the output value is output to the average value calculation means and the vertical boundary detection means, and when the condition is not satisfied, it is output from the ranking means. 4. The block noise detection apparatus according to claim 3, further comprising a determination unit that blocks output of the representative value to the average value calculation unit and the block boundary detection unit. 映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、前記ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じた水平方向のブロック境界を、コンピュータにより検出させるブロックノイズ検出プログラムであって、
前記コンピュータを、
請求項1記載の前記抽出手段と、前記順位付け手段と、前記平均値算出手段と、前記検知手段と、前記ブロック境界検出手段として機能させることを特徴とするブロックノイズ検出プログラム。
When block noise occurs in the decoded video signal when the encoded video signal obtained by compressing and encoding the video signal in units of blocks including a plurality of pixels is decoded in the block unit, the block noise is generated. A block noise detection program for detecting horizontal block boundaries by a computer,
The computer,
The block noise detection program according to claim 1, wherein the block noise detection program causes the extraction unit, the ranking unit, the average value calculation unit, the detection unit, and the block boundary detection unit to function.
映像信号を複数の画素からなるブロック単位で圧縮符号化して得られた符号化映像信号を、前記ブロック単位で復号化する際に復号映像信号にブロックノイズが生じた場合、そのブロックノイズが生じた垂直方向のブロック境界を、コンピュータにより検出させるブロックノイズ検出プログラムであって、
前記コンピュータを、
請求項3記載の前記抽出手段と、前記順位付け手段と、前記平均値算出手段と、前記検知手段と、前記ブロック境界検出手段として機能させることを特徴とするブロックノイズ検出プログラム。
When block noise occurs in the decoded video signal when the encoded video signal obtained by compressing and encoding the video signal in units of blocks including a plurality of pixels is decoded in the block unit, the block noise is generated. A block noise detection program for causing a computer to detect a vertical block boundary,
The computer,
4. A block noise detection program that functions as the extraction means, the ranking means, the average value calculation means, the detection means, and the block boundary detection means according to claim 3.
JP2005210735A 2005-07-21 2005-07-21 Block noise detection device and block noise detection program Active JP4475196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005210735A JP4475196B2 (en) 2005-07-21 2005-07-21 Block noise detection device and block noise detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005210735A JP4475196B2 (en) 2005-07-21 2005-07-21 Block noise detection device and block noise detection program

Publications (2)

Publication Number Publication Date
JP2007028460A JP2007028460A (en) 2007-02-01
JP4475196B2 true JP4475196B2 (en) 2010-06-09

Family

ID=37788588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005210735A Active JP4475196B2 (en) 2005-07-21 2005-07-21 Block noise detection device and block noise detection program

Country Status (1)

Country Link
JP (1) JP4475196B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4399480B2 (en) * 2007-02-16 2010-01-13 三菱電機株式会社 Block noise detecting device and method, and block noise removing device and method
JP5130983B2 (en) 2008-03-25 2013-01-30 ソニー株式会社 Image processing apparatus and method, and program
JP5035910B2 (en) 2008-06-27 2012-09-26 ソニー株式会社 Image processing apparatus, image processing method, and program
JP5359657B2 (en) * 2009-07-31 2013-12-04 ソニー株式会社 Image encoding apparatus and method, recording medium, and program
JP4703759B2 (en) * 2009-11-27 2011-06-15 株式会社東芝 Image processing apparatus and image processing method in the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4383581B2 (en) * 1998-05-22 2009-12-16 パナソニック株式会社 Block noise detecting device and block noise removing device
US6643410B1 (en) * 2000-06-29 2003-11-04 Eastman Kodak Company Method of determining the extent of blocking artifacts in a digital image
JP2002232889A (en) * 2001-01-31 2002-08-16 Sony Corp Block distortion reduction circuit, reproducing device, receiver, block distortion reduction method
JP4495881B2 (en) * 2001-05-14 2010-07-07 パナソニック株式会社 Block distortion remover
JP2003324740A (en) * 2002-05-07 2003-11-14 Matsushita Electric Ind Co Ltd Block distortion eliminating apparatus
WO2005004489A1 (en) * 2003-07-02 2005-01-13 Sony Corporation Block distortion detection device, block distortion detection method, and video signal processing device

Also Published As

Publication number Publication date
JP2007028460A (en) 2007-02-01

Similar Documents

Publication Publication Date Title
US6975777B1 (en) Apparatus and method of block noise detection and reduction
JP4475196B2 (en) Block noise detection device and block noise detection program
US6996184B2 (en) Image-data processing apparatus
JP4749377B2 (en) Block noise removal device
US9277231B2 (en) Picture coding apparatus, picture coding program, picture decoding apparatus, and picture decoding program
JP4780112B2 (en) Image processing apparatus, image transmission apparatus and method, program thereof, and display apparatus
JP2007334457A (en) Image processor and image processing method
US7715639B2 (en) Data encoding apparatus, data decoding apparatus, data encoding method, data decoding method, and recording medium recorded with program
US20110129160A1 (en) Image processing apparatus and image processing method in the image processing apparatus
JP4380498B2 (en) Block distortion reduction device
JP2006270220A (en) Video signal processing apparatus
JP5247591B2 (en) Image processing apparatus and control method thereof
JP5110304B2 (en) Screen data transmitting apparatus, screen data transmitting method, and screen data transmitting program
JP2005012641A (en) Block noise detecting device and block noise eliminating device using the same
JP3627291B2 (en) Block distortion removing apparatus and method
JP4791275B2 (en) Moving image noise removal device
JP4438161B2 (en) Image processing apparatus and image processing method
EP1592259B1 (en) Processing auxiliary data of video sequences
JP4139979B2 (en) Image conversion apparatus and method, and recording medium
JP3945503B2 (en) Coefficient data generation apparatus and method
JP2005348176A (en) Image processor
US20070274397A1 (en) Algorithm for Reducing Artifacts in Decoded Video
JPH04229790A (en) Transmitter for picture data
WO2006077550A2 (en) Image processor comprising a filter
US8744199B2 (en) Image processing device, image processing method and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100119

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: 20100216

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: 20100301

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

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3