US20100014591A1 - Block noise reducing apparatus - Google Patents
Block noise reducing apparatus Download PDFInfo
- Publication number
- US20100014591A1 US20100014591A1 US12/585,585 US58558509A US2010014591A1 US 20100014591 A1 US20100014591 A1 US 20100014591A1 US 58558509 A US58558509 A US 58558509A US 2010014591 A1 US2010014591 A1 US 2010014591A1
- Authority
- US
- United States
- Prior art keywords
- video signal
- block
- rectangular
- input video
- pixel
- 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.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
Definitions
- This invention generally relates to a block noise reducing apparatus.
- a video signal is encoded into a compressed digital signal fit to be transmitted or recorded, block noise tends to occur in the compressed digital signal.
- block noise tends to occur in the decoding-resultant video signal.
- This invention specifically relates to an apparatus for reducing or removing such block noise in a video signal.
- every frame represented by an input video signal is divided into rectangular blocks each having a plurality of pixels neighboring in horizontal and vertical directions, and the input video signal is compressed and encoded rectangular-block by rectangular-block to get an output video signal.
- the output video signal is transmitted via a recording medium or a transmission line before being decoded rectangular-block by rectangular-block to recover the original video signal.
- the rate of the compression of an input video signal is set to a large value.
- a difference in tone represented by the output video signal between adjacent rectangular blocks tends to be greater as the compression rate is larger.
- a difference in tone represented by the output video signal between adjacent rectangular blocks is noticeable when a picture represented by the input video signal has only a gradual tone variation.
- Such a tone difference is referred to as block noise.
- the block noise is noticeable in a picture represented by the output video signal.
- Japanese patent application publication number P2001-119695A discloses a block noise reducing apparatus including a filter circuit for correcting a signal level difference at the boundary between adjacent rectangular blocks to reduce or remove block noise.
- the block noise reducing apparatus in Japanese patent application P2001-119695A includes an isolated differential point extraction circuit, a filter circuit, a delay circuit, and an adder.
- the isolated differential point extraction circuit differentiates an input video signal to get a differentiated video signal, and then extracts every portion of the differentiated video signal which corresponds to an isolated differential point.
- the extracted signal portions compose an isolated differential point signal.
- isolated differential points correspond to tone differences between adjacent rectangular blocks which mean block noise.
- the filter circuit subjects the isolated differential point signal to a prescribed filtering process to get a corrective signal for canceling tone differences between adjacent rectangular blocks. For every isolated differential point, the corrective signal has effective values relating only to a limited picture area composed of 4 successive pixels. The center of the limited picture area corresponds to the isolated differential point.
- the delay circuit defers the input video signal to get a delayed video signal.
- the adder combines the delayed video signal and the corrective signal, thereby correcting the delayed video signal in response to the corrective signal to reduce or remove tone differences between adjacent rectangular blocks.
- the adder outputs the correction-resultant video signal as a block-noise-reduced video signal or a block-noise-removed video signal.
- the corrective signal has effective values relating only to a limited picture area composed of 4 successive pixels centered at an isolated differential point.
- video signal portions relating to pixels other than the 4 successive pixels are uncorrected.
- uncorrected video signal portions cause insufficient reduction or removal of block noise.
- the block noise reducing apparatus of Japanese patent application P2001-119695A tends to deteriorate high frequency components of a video signal.
- a first aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block.
- the apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; and third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get an output video signal.
- the predetermined equation is designed so that levels represented by the output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- a second aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block.
- the apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries; and fifth means for selecting one of (1) the first output video signal generated by the third means and (2) the input video signal in response to results of the comparing by the fourth means to get a second output video signal.
- the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- a third aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block.
- the apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries; a filter for filtering the input video signal to get a filtered video signal; and fifth means for selecting one of (1) the first output video signal generated by the first means and (2) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal.
- the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- a fourth aspect of this invention is based on the third aspect thereof, and provides an apparatus wherein the filter comprises a low pass filter.
- a fifth aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block.
- the apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with first and second predetermined threshold values to decide conditions of block noise at the first and second inter-block boundaries; a filter for filtering the input video signal to get a filtered video signal; and fifth means for selecting one of (1) the first output video signal generated by the first means, (2) the input video signal, and (3) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal.
- the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- a sixth aspect of this invention is based on the fifth aspect thereof, and provides an apparatus wherein the filter comprises a low pass filter.
- FIG. 2 is a diagram of the levels at successive pixels in a linear portion of a graduation picture represented by a correction-resultant video signal which is generated by a prior-art block noise reducing apparatus and which originates from the input video signal in FIG. 1 .
- FIG. 3 is a block diagram of a block noise reducing apparatus according to a first embodiment of this invention.
- FIG. 4 is a diagram of an example of the levels at successive pixels in a linear portion of a graduation picture represented by an input video signal and having a gradual stepwise tone variation.
- FIG. 5 is a diagram of the levels at successive pixels in a linear portion of a graduation picture represented by an output video signal which is generated by the block noise reducing apparatus in FIG. 3 , and which originates from the input video signal in FIG. 4 .
- FIG. 6 is a block diagram of a block noise reducing apparatus according to a second embodiment of this invention.
- FIG. 7 is a block diagram of a block noise reducing apparatus according to a third embodiment of this invention.
- FIG. 8 is a block diagram of a filter in FIG. 7 .
- FIG. 9 is a block diagram of a block noise reducing apparatus according to a fourth embodiment of this invention.
- FIG. 1 shows an example of the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by an input video signal and having a gradual stepwise tone variation.
- FIG. 3 shows a block noise reducing apparatus according to a first embodiment of this invention.
- the apparatus of FIG. 3 includes a correction circuit 11 and a block-noise-related level-difference calculation circuit 12 connected with each other.
- An input video signal (an input digital video signal) is fed to the correction circuit 11 and the level-difference calculation circuit 12 .
- the input video signal is generated in a set of a conventional compressively encoding procedure and a conventional expansively decoding procedure as follows. Every frame represented by an original video signal is divided into rectangular blocks each having a plurality of pixels or a prescribed number of pixels neighboring in horizontal and vertical directions. The original video signal is compressed and encoded rectangular-block by rectangular-block to get an encoded digital video signal. The encoded digital video signal is recorded on a recording medium or sent along a transmission line. Then, the encoded digital video signal is reproduced from the recording medium or received from the transmission line.
- the reproduced digital video signal or the received digital video signal is decoded and expanded rectangular-block by rectangular-block to get a decoded digital video signal equivalent to the original video signal.
- the decoded digital video signal is used as the input video signal fed to the correction circuit 11 and the level-difference calculation circuit 12 .
- the correction circuit 11 and the level-difference calculation circuit 12 receive, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal.
- the level-difference calculation circuit 12 computes block-noise-related level differences at the opposite edges of rectangular blocks or at the boundaries between rectangular blocks composing every frame related to the input video signal.
- the level-difference calculation circuit 12 informs the correction circuit 11 of the computed block-noise-related level differences.
- the correction circuit 11 corrects the input video signal in response to the block-noise-related level differences according to a prescribed corrective equation, and thereby generates a correction-resultant video signal, that is, a block-noise-reduced video signal or a block-noise-removed video signal.
- the correction circuit 11 feeds the block-noise-reduced video signal or the block-noise-removed video signal to an external device (not shown) as an output video signal.
- FIG. 4 shows an example of the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by the input video signal and having a gradual stepwise tone variation.
- the successive pixels in FIG. 4 are arranged along the horizontal direction or the vertical direction with respect to the related picture (the related frame).
- stepwise tone changes (stepwise luminance changes) at the boundaries I and II between adjacent rectangular blocks respectively.
- the inter-block boundary I is of interest.
- the inter-block boundary II is next to the inter-block boundary I of interest as viewed in the scanning direction.
- the last pixel in the first rectangular block is given an order number of “0”.
- the first and later pixels in the second rectangular block are given order numbers of “1”, “2”, . . . , and “n”, respectively.
- the last pixel in the second rectangular block has an order number of “n”.
- the interval between the inter-block boundary I of interest and the next inter-block boundary II corresponds to “n” pixels.
- the first pixel in the third rectangular block is given an order number of “n+1”.
- the inter-block boundary I of interest extends between the last pixel “0” in the first rectangular block and the first pixel “1” in the second rectangular block.
- the difference “A” between the level (the luminance level or the tone level) at the pixel “O” and the level at the pixel “1” is the stepwise tone change at the inter-block boundary I of interest.
- the next inter-block boundary II extends between the last pixel “n” in the second rectangular block and the first pixel “n+1” in the third rectangular block.
- the difference “B” between the level (the luminance level or the tone level) at the pixel “n” and the level at the pixel “n+1” is the stepwise tone change at the next inter-block boundary II.
- the second rectangular block that is, the rectangular block between the inter-block boundaries I and II is of interest.
- the pixel of interest changes from one to another of the pixels in the rectangular block of interest as time goes by.
- the level-difference calculation circuit 12 computes an intermediate value (a middle value) “a” with respect to the level difference “A” at the inter-block boundary I of interest according to the following equation.
- the level-difference calculation circuit 12 computes an intermediate value (a middle value) “b” with respect to the level difference “B” at the next inter-block boundary II according to the following equation.
- the level-difference calculation circuit 12 informs the correction circuit 11 of the computed intermediate values “a” and “b”.
- the correction circuit 11 corrects the input video signal into the output video signal (the correction-resultant video signal) in response to the intermediate values “a” and “b” according to the following equation.
- So denotes the level represented by the output video signal (the level at the pixel of interest which is represented by the output video signal);
- Si denotes the level represented by the input video signal (the level at the pixel of interest which is represented by the input video signal);
- k denotes a variable indicating the position of the pixel of interest;
- n denotes the total number of horizontally-arranged pixels or vertically-arranged pixels in the rectangular block of interest (the rectangular block between the inter-block boundaries I and II).
- the variable “k” is equal to “0” when the pixel “1” is of interest.
- the variable “k” is equal to “1” when the pixel “2” is of interest.
- variable “k” increases from “O” to “n ⁇ 1” as the pixel of interest changes from the pixel “1” to the pixel “n”.
- the variable “k” is equal to “n ⁇ 1” when the pixel “n” is of interest.
- the term “a+ ⁇ (b ⁇ a) ⁇ (2 k+ 1)/2n ⁇ ” is a corrective value to be added to the level “Si” represented by the input video signal.
- the correction circuit 11 feeds the output video signal (the correction-resultant video signal) to an external device (not shown).
- FIG. 5 shows the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by the output video signal which originates from the input video signal (see FIG. 4 ).
- the levels at the pixels “1”, “2”, . . . , “n” in the rectangular block between the inter-block boundaries I and II are on the straight line connecting the point on the inter-block boundary I of interest which corresponds to the intermediate value “a” and the point on the next inter-block boundary II which corresponds to the intermediate value “b”.
- the straight line may be replaced by a curved line provided by a predetermined function of the pixel position.
- the rectangular block of interest changes from one to another of the rectangular blocks in the related frame represented by the input video signal as time goes by.
- the levels at the pixels in the rectangular block of interest which relates to the input video signal are corrected by the correction circuit 11 as previously mentioned.
- the output video signal has sufficiently-reduced block-noise components even when the input video signal represents a graduation picture having a gradual stepwise tone variation.
- the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 means correction of substantially DC components of the input video signal which does not use any filter significantly deteriorating high frequency components of the input video signal. Accordingly, it is possible to reduce or remove block noise without significantly deteriorating high frequency components of the input video signal.
- the correction circuit 11 and the level-difference calculation circuit 12 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM. In this case, the correction circuit 11 and the level-difference calculation circuit 12 operate according to a control program stored in the ROM. The control program is designed to enable the correction circuit 11 and the level-difference calculation circuit 12 to execute the previously-mentioned operation steps.
- FIG. 6 shows a block noise reducing apparatus according to a second embodiment of this invention.
- the apparatus of FIG. 6 is similar to the apparatus of FIG. 3 except for an additional design mentioned hereafter.
- the apparatus of FIG. 6 includes a block noise decision circuit 13 and a switch circuit 14 .
- the block noise decision circuit 13 and the switch circuit 14 receive the input video signal.
- the block noise decision circuit 13 is connected with the switch circuit 14 .
- the switch circuit 14 is connected with the level-difference calculation circuit 12 .
- the switch circuit 14 includes input terminals 14 a and 14 b, an output terminal 14 c, and a control terminal.
- the input terminal 14 a is connected to the output side of the correction circuit 11 .
- the input terminal 14 b is subjected to the input video signal.
- the output terminal 14 c leads to an external device (not shown).
- the control terminal of the switch circuit 14 is connected to the output side of the block noise decision circuit 13 .
- the output terminal 14 c is selectively connected with either the input terminal 14 a or the input terminal 14 b depending on the logic state of a signal (a control signal) applied to the control terminal.
- the block noise decision circuit 13 receives, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal.
- the input video signal is fed to the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , and the input terminal 14 b of the switch circuit 14 .
- the correction-resultant video signal is fed from the correction circuit 11 to the input terminal 14 a of the switch circuit 14 .
- the block noise decision circuit 13 calculates the level differences “A” and “B” at the opposite inter-block boundaries adjoining the rectangular block respectively.
- the block noise decision circuit 13 compares the calculated level differences “A” and “B” with a prescribed threshold value Th.
- the result of the comparison is in one of the following conditions (1), (2), (3), and (4).
- the block noise decision circuit 13 determines whether or not the comparison result is in the above-indicated condition (1), that is, whether or not block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the block noise decision circuit 13 generates a binary control signal in response to the result of the determination. For example, the generated control signal is in a high-level state when the comparison result is in the above-indicated condition (1), that is, when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Otherwise, the generated control signal is in a low-level state.
- the block noise decision circuit 13 outputs the control signal to the switch circuit 14 .
- the switch circuit 14 selects the correction-resultant video signal when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). In other words, the switch circuit 14 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the switch circuit 14 selects the input video signal when the control signal is in its low-level state, that is, when the comparison result is in one of the above-indicated conditions (2), (3), and (4). In other words, the switch circuit 14 selects the input video signal when block noise does not occur at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the switch circuit 14 passes the selected video signal to the external device as an output video signal.
- the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made effective when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). Otherwise, the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made ineffective. In other words, the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made effective when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and is made ineffective when block noise does not occur.
- the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of FIG. 6 without being corrected by the correction circuit 11 and the level-difference calculation circuit 12 . Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by the correction circuit 11 and the level-difference calculation circuit 12 .
- the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , and the switch circuit 14 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM.
- the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , and the switch circuit 14 operate according to a control program stored in the ROM.
- the control program is designed to enable the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , and the switch circuit 14 to execute the previously-mentioned operation steps.
- FIG. 7 shows a block noise reducing apparatus according to a third embodiment of this invention.
- the apparatus of FIG. 7 is similar to the apparatus of FIG. 6 except for an additional design mentioned hereafter.
- the apparatus of FIG. 7 includes a filter 15 and a switch circuit 16 .
- the filter 15 receives the input video signal.
- the switch circuit 16 replaces the switch circuit 14 in FIG. 6 .
- the switch circuit 16 includes input terminals 16 a and 16 b, an output terminal 16 c, and a control terminal.
- the input terminal 16 a is connected to the output side of the correction circuit 11 .
- the input terminal 16 b is connected to the output side of the filter 15 .
- the output terminal 16 c leads to an external device (not shown).
- the control terminal of the switch circuit 16 is connected to the output side of the block noise decision circuit 13 .
- the control terminal of the switch circuit 16 is subjected to the control signal outputted from the block noise decision circuit 13 .
- the output terminal 16 c is selectively connected with either the input terminal 16 a or the input terminal 16 b depending on the logic state of the control signal applied to the control terminal.
- the input video signal is fed to the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , and the filter 15 .
- the correction-resultant video signal is fed from the correction circuit 11 to the input terminal 16 a of the switch circuit 16 .
- the filter 15 is of a low pass type.
- the device 15 suppresses high frequency components of the input video signal to get a filtering-resultant video signal. Specifically, the filter 15 reduces high frequency noise in the input video signal.
- the high frequency noise may contain block noise.
- the filter 15 outputs the filtering-resultant video signal to the input terminal 16 b of the switch circuit 16 .
- the filter 15 includes delay circuits 151 and 152 , multipliers 153 , 154 , and 155 , and an adder 156 .
- the input video signal is applied to the input sides of the delay circuit 151 and the multiplier 153 .
- the output side of the delay circuit 151 is connected with the input sides of the delay circuit 152 and the multiplier 154 .
- the output side of the delay circuit 152 is connected with the input side of the multiplier 155 .
- the output side of the multiplier 153 is connected with a first input terminal of the adder 156 .
- the output side of the multiplier 154 is connected with a second input terminal of the adder 156 .
- the output side of the multiplier 155 is connected with a third input terminal of the adder 156 .
- the output terminal of the adder 156 leads to the switch circuit 16 .
- the delay circuit 151 defers the input video signal by a time corresponding to one pixel to get a first delayed video signal.
- the delay circuit 151 outputs the first delayed video signal to the delay circuit 152 and the multiplier 154 .
- the delay circuit 152 defers the first delayed video signal by a time corresponding to one pixel to get a second delayed video signal.
- the delay circuit 152 outputs the second delayed video signal to the multiplier 155 .
- the device 153 multiplies the input video signal by a coefficient of 1/4 to get a first multiplication-resultant video signal.
- the multiplier 153 outputs the first multiplication-resultant video signal to the adder 156 .
- the device 154 multiplies the first delayed video signal by a coefficient of 1/2 to get a second multiplication-resultant video signal.
- the multiplier 154 outputs the second multiplication-resultant video signal to the adder 156 .
- the device 155 multiplies the second delayed video signal by a coefficient of 1/4 to get a third multiplication-resultant video signal.
- the multiplier 155 outputs the third multiplication-resultant video signal to the adder 156 .
- the device 156 adds the first, second, and third multiplication-resultant video signals to get the filtering-resultant video signal.
- the adder 156 outputs the filtering-resultant video signal to the switch circuit 16 .
- the switch circuit 16 selects the correction-resultant video signal when the control signal is in its high-level state, that is, when the comparison result generated in the block noise decision circuit 13 is in the above-indicated condition (1). In other words, the switch circuit 16 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the switch circuit 16 selects the filtering-resultant video signal when the control signal is in its low-level state, that is, when the comparison result is in one of the above-indicated conditions (2), (3), and (4). In other words, the switch circuit 16 selects the filtering-resultant video signal when block noise does not occur at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the switch circuit 16 passes the selected video signal to the external device as an output video signal. Therefore, the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made effective when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). Otherwise, the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made ineffective, while the noise reduction by the filter 15 is made effective. In other words, the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is made effective when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and is made ineffective when block noise does not occur.
- the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of FIG. 7 and is processed by the filter 15 without being corrected by the correction circuit 11 and the level-difference calculation circuit 12 . Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by the correction circuit 11 and the level-difference calculation circuit 12 .
- the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , the filter 15 , and the switch circuit 16 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM.
- the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , the filter 15 , and the switch circuit 16 operate according to a control program stored in the ROM.
- the control program is designed to enable the correction circuit 11 , the level-difference calculation circuit 12 , the block noise decision circuit 13 , the filter 15 , and the switch circuit 16 to execute the previously-mentioned operation steps.
- FIG. 9 shows a block noise reducing apparatus according to a fourth embodiment of this invention.
- the apparatus of FIG. 9 is similar to the apparatus of FIG. 7 except for an additional design mentioned hereafter.
- the apparatus of FIG. 9 includes a block noise decision circuit 17 and a switch circuit 18 which replace the block noise decision circuit 13 and the switch circuit 16 in FIG. 7 respectively.
- the block noise decision circuit 17 receives the input video signal.
- the block noise decision circuit 17 receives, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal.
- the switch circuit 18 includes input terminals 18 a, 18 b, and 18 C, an output terminal 18 d, and a control terminal.
- the input terminal 18 a is connected to the output side of the correction circuit 11 .
- the input terminal 18 b is subjected to the input video signal.
- the input terminal 18 c is connected to the output side of the filter 15 .
- the output terminal 18 d leads to an external device (not shown).
- the control terminal of the switch circuit 18 is connected to the output side of the block noise decision circuit 17 .
- the control terminal of the switch circuit 18 is subjected to a control signal outputted from the block noise decision circuit 17 .
- the output terminal 18 d is selectively connected with one of the input terminals 18 a, 18 b , and 18 c depending on the logic state of the control signal applied to the control terminal.
- the input video signal is fed to the input terminal 18 b of the switch circuit 18 .
- the correction-resultant video signal is fed from the correction circuit 11 to the input terminal 18 a of the switch circuit 18 .
- the filtering-resultant video signal is fed from the filter 15 to the input terminal 18 c of the switch circuit 18 .
- the switch circuit 18 selects one among the input video signal, the correction-resultant video signal, and the filtering-resultant video signal in response to the control signal outputted from the block noise decision circuit 17 .
- the switch circuit 18 passes the selected video signal to the external device as an output video signal.
- the block noise decision circuit 17 calculates the level differences “A” and “B” at the opposite inter-block boundaries adjoining the rectangular block.
- the block noise decision circuit 17 compares the calculated level differences “A” and “B” with first and second prescribed threshold values Th1 and Th2.
- the first prescribed threshold value Th1 is greater than the second prescribed threshold value Th2.
- the block noise decision circuit 17 generates the control signal in response to the results of the comparison.
- the generated control signal is of a multiple-bit type.
- the generated control signal can change among at least three different logic states.
- the block noise decision circuit 17 outputs the generated control signal to the switch circuit 18 .
- the block noise decision circuit 17 determines whether or not both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2. When both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2, the block noise decision circuit 17 concludes that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. In this case, the block noise decision circuit 17 sets the control signal to a first logic state.
- the block noise decision circuit 17 determines whether or not both the level differences “A” and “B” exceed the first prescribed threshold value Th1. When both the level differences “A” and “B” exceed the first prescribed threshold value Th1, the block noise decision circuit 17 concludes that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the block noise decision circuit 17 sets the control signal to a second logic state.
- the block noise decision circuit 17 determines whether or not at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2. When at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2, the block noise decision circuit 17 concludes as follows. It is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the block noise decision circuit 17 sets the control signal to a third logic state.
- the block noise decision circuit 17 determines whether or not one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1. When one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1, the block noise decision circuit 17 concludes as follows. It is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the block noise decision circuit 17 sets the control signal to the third logic state.
- the switch circuit 18 selects the correction-resultant video signal when the control signal applied to the switch circuit 18 is in its first logic state, that is, when both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2. In other words, the switch circuit 18 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest.
- the switch circuit 18 selects the filtering-resultant video signal when the control signal applied to the switch circuit 18 is in its second logic state, that is, when both the level differences “A” and “B” exceed the first prescribed threshold value Th1. In other words, the switch circuit 18 selects the filtering-resultant video signal when the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks.
- the switch circuit 18 selects the input video signal when the control signal applied to the switch circuit 18 is in its third logic state, that is, when at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2 or when one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1.
- the switch circuit 18 selects the input video signal when it is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks.
- the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of FIG. 9 without being corrected by the correction circuit 11 and the level-difference calculation circuit 12 . Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by the correction circuit 11 and the level-difference calculation circuit 12 .
- the filtering-resultant video signal is used as an output video signal when it is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks.
- the correction circuit 11 , the level-difference calculation circuit 12 , the filter 15 , the block noise decision circuit 17 , and the switch circuit 18 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM.
- the correction circuit 11 , the level-difference calculation circuit 12 , the filter 15 , the block noise decision circuit 17 , and the switch circuit 18 operate according to a control program stored in the ROM.
- the control program is designed to enable the correction circuit 11 , the level-difference calculation circuit 12 , the filter 15 , the block noise decision circuit 17 , and the switch circuit 18 to execute the previously-mentioned operation steps.
- FIG. 10 shows a block noise reducing apparatus according to a fifth embodiment of this invention.
- the apparatus of FIG. 10 is similar to the apparatus of FIG. 9 except that a filter 15 A replaces the filter 15 .
- the filter 15 A in the apparatus of FIG. 10 has a frequency response characteristic different from that of the filter 15 .
- a sixth embodiment of this invention is similar to one of the second and third embodiments thereof ( FIGS. 6 and 7 ) except that the threshold value Th used in the block noise decision circuit 13 can be changed.
- a seventh embodiment of this invention is similar to the fourth embodiment thereof ( FIG. 9 ) except that the threshold values Th1 and Th2 used in the block noise decision circuit 17 can be changed.
- An eighth embodiment of this invention is similar to one of the first to seventh embodiments thereof except for a design change mentioned hereafter.
- a first point is decided in a range corresponding to the level difference “A” at the inter-block boundary I of interest (see FIGS. 4 and 5 ) while a second point is decided in a range corresponding to the level difference “B” at the next inter-block boundary II.
- the first point and the second point are connected by a straight line or a curved line provided by a predetermined function of the pixel position.
- the correction of the input video signal by the correction circuit 11 and the level-difference calculation circuit 12 is designed so that regarding the output video signal, the levels at the pixels “1”, “2”, . . . , “n” in the rectangular block between the inter-block boundaries I and II (the rectangular block of interest) are on the straight line or the curved line connecting the first point and the second point.
Abstract
A calculation is made as to first and second differences in level represented by an input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively. A corrective value at every pixel in the rectangular block is calculated from a position of the pixel and the first and second differences according to a predetermined equation. The corrective value is added to a level represented by the input video signal to get an output video signal. The predetermined equation is designed so that levels represented by the output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference and a second point in a range corresponding to the second difference.
Description
- 1. Field of the Invention
- This invention generally relates to a block noise reducing apparatus. When a video signal is encoded into a compressed digital signal fit to be transmitted or recorded, block noise tends to occur in the compressed digital signal. In addition, when the compressed digital signal is decoded into the original video signal, block noise tends to occur in the decoding-resultant video signal. This invention specifically relates to an apparatus for reducing or removing such block noise in a video signal.
- 2. Description of the Related Art
- In a known compressively encoding procedure, every frame represented by an input video signal is divided into rectangular blocks each having a plurality of pixels neighboring in horizontal and vertical directions, and the input video signal is compressed and encoded rectangular-block by rectangular-block to get an output video signal. The output video signal is transmitted via a recording medium or a transmission line before being decoded rectangular-block by rectangular-block to recover the original video signal.
- In the case where the amount of information represented by an output video signal is required to be small, the rate of the compression of an input video signal is set to a large value. A difference in tone represented by the output video signal between adjacent rectangular blocks tends to be greater as the compression rate is larger. For example, a difference in tone represented by the output video signal between adjacent rectangular blocks is noticeable when a picture represented by the input video signal has only a gradual tone variation. Such a tone difference is referred to as block noise. In some cases, the block noise is noticeable in a picture represented by the output video signal.
- Japanese patent application publication number P2001-119695A discloses a block noise reducing apparatus including a filter circuit for correcting a signal level difference at the boundary between adjacent rectangular blocks to reduce or remove block noise.
- Specifically, the block noise reducing apparatus in Japanese patent application P2001-119695A includes an isolated differential point extraction circuit, a filter circuit, a delay circuit, and an adder. The isolated differential point extraction circuit differentiates an input video signal to get a differentiated video signal, and then extracts every portion of the differentiated video signal which corresponds to an isolated differential point. The extracted signal portions compose an isolated differential point signal. In general, isolated differential points correspond to tone differences between adjacent rectangular blocks which mean block noise. The filter circuit subjects the isolated differential point signal to a prescribed filtering process to get a corrective signal for canceling tone differences between adjacent rectangular blocks. For every isolated differential point, the corrective signal has effective values relating only to a limited picture area composed of 4 successive pixels. The center of the limited picture area corresponds to the isolated differential point. The delay circuit defers the input video signal to get a delayed video signal. The adder combines the delayed video signal and the corrective signal, thereby correcting the delayed video signal in response to the corrective signal to reduce or remove tone differences between adjacent rectangular blocks. The adder outputs the correction-resultant video signal as a block-noise-reduced video signal or a block-noise-removed video signal.
- In the block noise reducing apparatus of Japanese patent application P2001-119695A, the corrective signal has effective values relating only to a limited picture area composed of 4 successive pixels centered at an isolated differential point. Thus, video signal portions relating to pixels other than the 4 successive pixels are uncorrected. In some cases, uncorrected video signal portions cause insufficient reduction or removal of block noise.
- The block noise reducing apparatus of Japanese patent application P2001-119695A tends to deteriorate high frequency components of a video signal.
- In the case where an input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks, the block noise reducing apparatus of Japanese patent application P2001-119695A causes a deteriorated picture represented by the correction-resultant video signal.
- It is a first object of this invention to provide an apparatus for sufficiently reducing block noise in a video signal.
- It is a second object of this invention to provide an apparatus for reducing block noise in a video signal without deteriorating high frequency components of the video signal.
- It is a third object of this invention to provide a block noise reducing apparatus which suspends a process of reducing block noise to prevent the occurrence of a significant deterioration in a picture in the case where an input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks.
- A first aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block. The apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; and third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get an output video signal. The predetermined equation is designed so that levels represented by the output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- A second aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block. The apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries; and fifth means for selecting one of (1) the first output video signal generated by the third means and (2) the input video signal in response to results of the comparing by the fourth means to get a second output video signal. The predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- A third aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block. The apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries; a filter for filtering the input video signal to get a filtered video signal; and fifth means for selecting one of (1) the first output video signal generated by the first means and (2) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal. The predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- A fourth aspect of this invention is based on the third aspect thereof, and provides an apparatus wherein the filter comprises a low pass filter.
- A fifth aspect of this invention provides an apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block. The apparatus comprises first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively; second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation; third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal; fourth means for comparing the first and second differences calculated by the first means with first and second predetermined threshold values to decide conditions of block noise at the first and second inter-block boundaries; a filter for filtering the input video signal to get a filtered video signal; and fifth means for selecting one of (1) the first output video signal generated by the first means, (2) the input video signal, and (3) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal. The predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
- A sixth aspect of this invention is based on the fifth aspect thereof, and provides an apparatus wherein the filter comprises a low pass filter.
-
FIG. 1 is a diagram of an example of the levels at successive pixels in a linear portion of a graduation picture represented by an input video signal and having a gradual stepwise tone variation. -
FIG. 2 is a diagram of the levels at successive pixels in a linear portion of a graduation picture represented by a correction-resultant video signal which is generated by a prior-art block noise reducing apparatus and which originates from the input video signal inFIG. 1 . -
FIG. 3 is a block diagram of a block noise reducing apparatus according to a first embodiment of this invention. -
FIG. 4 is a diagram of an example of the levels at successive pixels in a linear portion of a graduation picture represented by an input video signal and having a gradual stepwise tone variation. -
FIG. 5 is a diagram of the levels at successive pixels in a linear portion of a graduation picture represented by an output video signal which is generated by the block noise reducing apparatus inFIG. 3 , and which originates from the input video signal inFIG. 4 . -
FIG. 6 is a block diagram of a block noise reducing apparatus according to a second embodiment of this invention. -
FIG. 7 is a block diagram of a block noise reducing apparatus according to a third embodiment of this invention. -
FIG. 8 is a block diagram of a filter inFIG. 7 . -
FIG. 9 is a block diagram of a block noise reducing apparatus according to a fourth embodiment of this invention. -
FIG. 10 is a block diagram of a block noise reducing apparatus according to a fifth embodiment of this invention. - The prior-art block noise reducing apparatus disclosed in Japanese patent application P2001-119695A will be further explained below for a better understanding of this invention.
-
FIG. 1 shows an example of the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by an input video signal and having a gradual stepwise tone variation. InFIG. 1 , there are stepwise tone changes (stepwise luminance changes) at the boundaries I and II between adjacent rectangular blocks. - The prior-art block noise reducing apparatus corrects the input video signal (see
FIG. 1 ) to reduce or remove block noise while using the filter circuit. Thus, the prior-art noise reducing apparatus generates the correction-resultant video signal.FIG. 2 shows the levels (the luminance levels) at successive pixels in a linear portion of a graduation picture represented by the correction-resultant video signal which originates from the input video signal (seeFIG. 1 ). In the prior-art block noise reducing apparatus, the corrective signal has effective values relating only to a limited picture area composed of 4 successive pixels centered at an isolated differential point. Therefore, as shown inFIG. 2 , the levels (the luminance levels) at 4 successive pixels around the boundary I or II between adjacent rectangular blocks are corrected while the levels (the luminance levels) at other pixels are uncorrected. Specifically, the levels (the luminance levels) at successive pixels in apicture area 100 relatively remote from the inter-block boundaries I and II are uncorrected. When the successive pixels inFIG. 2 are arranged along the horizontal direction with respect to the related picture, theuncorrected picture area 100 is seen as a vertical stripe. When the successive pixels inFIG. 2 are arranged along the vertical direction with respect to the related picture, theuncorrected picture area 100 is seen as a horizontal stripe. -
FIG. 3 shows a block noise reducing apparatus according to a first embodiment of this invention. The apparatus ofFIG. 3 includes acorrection circuit 11 and a block-noise-related level-difference calculation circuit 12 connected with each other. - An input video signal (an input digital video signal) is fed to the
correction circuit 11 and the level-difference calculation circuit 12. The input video signal is generated in a set of a conventional compressively encoding procedure and a conventional expansively decoding procedure as follows. Every frame represented by an original video signal is divided into rectangular blocks each having a plurality of pixels or a prescribed number of pixels neighboring in horizontal and vertical directions. The original video signal is compressed and encoded rectangular-block by rectangular-block to get an encoded digital video signal. The encoded digital video signal is recorded on a recording medium or sent along a transmission line. Then, the encoded digital video signal is reproduced from the recording medium or received from the transmission line. The reproduced digital video signal or the received digital video signal is decoded and expanded rectangular-block by rectangular-block to get a decoded digital video signal equivalent to the original video signal. The decoded digital video signal is used as the input video signal fed to thecorrection circuit 11 and the level-difference calculation circuit 12. - The
correction circuit 11 and the level-difference calculation circuit 12 receive, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal. - The level-
difference calculation circuit 12 computes block-noise-related level differences at the opposite edges of rectangular blocks or at the boundaries between rectangular blocks composing every frame related to the input video signal. The level-difference calculation circuit 12 informs thecorrection circuit 11 of the computed block-noise-related level differences. - The
correction circuit 11 corrects the input video signal in response to the block-noise-related level differences according to a prescribed corrective equation, and thereby generates a correction-resultant video signal, that is, a block-noise-reduced video signal or a block-noise-removed video signal. Thecorrection circuit 11 feeds the block-noise-reduced video signal or the block-noise-removed video signal to an external device (not shown) as an output video signal. -
FIG. 4 shows an example of the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by the input video signal and having a gradual stepwise tone variation. The successive pixels inFIG. 4 are arranged along the horizontal direction or the vertical direction with respect to the related picture (the related frame). - In
FIG. 4 , there are stepwise tone changes (stepwise luminance changes) at the boundaries I and II between adjacent rectangular blocks respectively. The inter-block boundary I is of interest. The inter-block boundary II is next to the inter-block boundary I of interest as viewed in the scanning direction. The last pixel in the first rectangular block is given an order number of “0”. The first and later pixels in the second rectangular block are given order numbers of “1”, “2”, . . . , and “n”, respectively. The last pixel in the second rectangular block has an order number of “n”. Thus, the interval between the inter-block boundary I of interest and the next inter-block boundary II corresponds to “n” pixels. The first pixel in the third rectangular block is given an order number of “n+1”. The inter-block boundary I of interest extends between the last pixel “0” in the first rectangular block and the first pixel “1” in the second rectangular block. The difference “A” between the level (the luminance level or the tone level) at the pixel “O” and the level at the pixel “1” is the stepwise tone change at the inter-block boundary I of interest. The next inter-block boundary II extends between the last pixel “n” in the second rectangular block and the first pixel “n+1” in the third rectangular block. The difference “B” between the level (the luminance level or the tone level) at the pixel “n” and the level at the pixel “n+1” is the stepwise tone change at the next inter-block boundary II. - In
FIG. 4 , the second rectangular block, that is, the rectangular block between the inter-block boundaries I and II is of interest. The pixel of interest changes from one to another of the pixels in the rectangular block of interest as time goes by. - The level-
difference calculation circuit 12 computes an intermediate value (a middle value) “a” with respect to the level difference “A” at the inter-block boundary I of interest according to the following equation. -
a=(P0−P1)/2 (1) - where P0 denotes the level at the pixel “0”, and P1 denotes the level at the pixel “1”. In addition, the level-
difference calculation circuit 12 computes an intermediate value (a middle value) “b” with respect to the level difference “B” at the next inter-block boundary II according to the following equation. -
b=(Pn+1−Pn)/2 (2) - where Pn denotes the level at the pixel “n”, and Pn+1 denotes the level at the pixel “n+1”. The level-
difference calculation circuit 12 informs thecorrection circuit 11 of the computed intermediate values “a” and “b”. - The
correction circuit 11 corrects the input video signal into the output video signal (the correction-resultant video signal) in response to the intermediate values “a” and “b” according to the following equation. -
So=Si+a+{(b−a)·(2k+1)/2n} (3) - where So denotes the level represented by the output video signal (the level at the pixel of interest which is represented by the output video signal); Si denotes the level represented by the input video signal (the level at the pixel of interest which is represented by the input video signal); “k” denotes a variable indicating the position of the pixel of interest; and “n” denotes the total number of horizontally-arranged pixels or vertically-arranged pixels in the rectangular block of interest (the rectangular block between the inter-block boundaries I and II). Specifically, the variable “k” is equal to “0” when the pixel “1” is of interest. The variable “k” is equal to “1” when the pixel “2” is of interest. The variable “k” increases from “O” to “n−1” as the pixel of interest changes from the pixel “1” to the pixel “n”. The variable “k” is equal to “n−1” when the pixel “n” is of interest. In the equation (3), the term “a+{(b−a)·(2k+1)/2n}” is a corrective value to be added to the level “Si” represented by the input video signal. The
correction circuit 11 feeds the output video signal (the correction-resultant video signal) to an external device (not shown). -
FIG. 5 shows the levels (the luminance levels or the tone levels) at successive pixels in a linear portion of a graduation picture represented by the output video signal which originates from the input video signal (seeFIG. 4 ). As shown inFIG. 5 , regarding the output video signal, the levels at the pixels “1”, “2”, . . . , “n” in the rectangular block between the inter-block boundaries I and II (the rectangular block of interest) are on the straight line connecting the point on the inter-block boundary I of interest which corresponds to the intermediate value “a” and the point on the next inter-block boundary II which corresponds to the intermediate value “b”. It should be noted that the straight line may be replaced by a curved line provided by a predetermined function of the pixel position. - The rectangular block of interest changes from one to another of the rectangular blocks in the related frame represented by the input video signal as time goes by. The levels at the pixels in the rectangular block of interest which relates to the input video signal are corrected by the
correction circuit 11 as previously mentioned. As shown inFIGS. 4 and 5 , the output video signal has sufficiently-reduced block-noise components even when the input video signal represents a graduation picture having a gradual stepwise tone variation. - The correction of the input video signal by the
correction circuit 11 and the level-difference calculation circuit 12 means correction of substantially DC components of the input video signal which does not use any filter significantly deteriorating high frequency components of the input video signal. Accordingly, it is possible to reduce or remove block noise without significantly deteriorating high frequency components of the input video signal. - The
correction circuit 11 and the level-difference calculation circuit 12 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM. In this case, thecorrection circuit 11 and the level-difference calculation circuit 12 operate according to a control program stored in the ROM. The control program is designed to enable thecorrection circuit 11 and the level-difference calculation circuit 12 to execute the previously-mentioned operation steps. -
FIG. 6 shows a block noise reducing apparatus according to a second embodiment of this invention. The apparatus ofFIG. 6 is similar to the apparatus ofFIG. 3 except for an additional design mentioned hereafter. - The apparatus of
FIG. 6 includes a blocknoise decision circuit 13 and aswitch circuit 14. The blocknoise decision circuit 13 and theswitch circuit 14 receive the input video signal. The blocknoise decision circuit 13 is connected with theswitch circuit 14. Theswitch circuit 14 is connected with the level-difference calculation circuit 12. - The
switch circuit 14 includesinput terminals output terminal 14 c, and a control terminal. Theinput terminal 14 a is connected to the output side of thecorrection circuit 11. Theinput terminal 14 b is subjected to the input video signal. Theoutput terminal 14 c leads to an external device (not shown). The control terminal of theswitch circuit 14 is connected to the output side of the blocknoise decision circuit 13. In theswitch circuit 14, theoutput terminal 14 c is selectively connected with either theinput terminal 14 a or theinput terminal 14 b depending on the logic state of a signal (a control signal) applied to the control terminal. - The block
noise decision circuit 13 receives, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal. - In operation, the input video signal is fed to the
correction circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, and theinput terminal 14 b of theswitch circuit 14. The correction-resultant video signal is fed from thecorrection circuit 11 to theinput terminal 14 a of theswitch circuit 14. - For every rectangular block related to the input video signal, the block
noise decision circuit 13 calculates the level differences “A” and “B” at the opposite inter-block boundaries adjoining the rectangular block respectively. The blocknoise decision circuit 13 compares the calculated level differences “A” and “B” with a prescribed threshold value Th. The result of the comparison is in one of the following conditions (1), (2), (3), and (4). -
A≦Th, B≦Th (1) -
A>Th, B≦Th (2) -
A≦Th, B>Th (3) -
A>Th, B>Th (4) - In the case where at least one of the calculated level differences “A” and “B” exceeds the prescribed threshold value Th, there is a high possibility that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, as will be mentioned later, the correction of the input video signal by the
correction circuit 11 and the level-difference calculation circuit 12 are made ineffective. On the other hand, in the case where both the calculated level differences “A” and “B” are smaller than the prescribed threshold value Th, it is decided that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest which relates to the input video signal. In this case, as will be mentioned later, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 are made effective. - The block
noise decision circuit 13 determines whether or not the comparison result is in the above-indicated condition (1), that is, whether or not block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. The blocknoise decision circuit 13 generates a binary control signal in response to the result of the determination. For example, the generated control signal is in a high-level state when the comparison result is in the above-indicated condition (1), that is, when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Otherwise, the generated control signal is in a low-level state. The blocknoise decision circuit 13 outputs the control signal to theswitch circuit 14. - The
switch circuit 14 selects the correction-resultant video signal when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). In other words, theswitch circuit 14 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Theswitch circuit 14 selects the input video signal when the control signal is in its low-level state, that is, when the comparison result is in one of the above-indicated conditions (2), (3), and (4). In other words, theswitch circuit 14 selects the input video signal when block noise does not occur at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Theswitch circuit 14 passes the selected video signal to the external device as an output video signal. Therefore, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made effective when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). Otherwise, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made ineffective. In other words, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made effective when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and is made ineffective when block noise does not occur. - As understood from the above explanation, the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of
FIG. 6 without being corrected by thecorrection circuit 11 and the level-difference calculation circuit 12. Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by thecorrection circuit 11 and the level-difference calculation circuit 12. - The
correction circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, and theswitch circuit 14 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM. In this case, thecorrection circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, and theswitch circuit 14 operate according to a control program stored in the ROM. The control program is designed to enable thecorrection circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, and theswitch circuit 14 to execute the previously-mentioned operation steps. -
FIG. 7 shows a block noise reducing apparatus according to a third embodiment of this invention. The apparatus ofFIG. 7 is similar to the apparatus ofFIG. 6 except for an additional design mentioned hereafter. - The apparatus of
FIG. 7 includes afilter 15 and aswitch circuit 16. Thefilter 15 receives the input video signal. Theswitch circuit 16 replaces theswitch circuit 14 inFIG. 6 . - The
switch circuit 16 includesinput terminals output terminal 16 c, and a control terminal. Theinput terminal 16 a is connected to the output side of thecorrection circuit 11. Theinput terminal 16 b is connected to the output side of thefilter 15. Theoutput terminal 16 c leads to an external device (not shown). The control terminal of theswitch circuit 16 is connected to the output side of the blocknoise decision circuit 13. Thus, the control terminal of theswitch circuit 16 is subjected to the control signal outputted from the blocknoise decision circuit 13. In theswitch circuit 16, theoutput terminal 16 c is selectively connected with either theinput terminal 16 a or theinput terminal 16 b depending on the logic state of the control signal applied to the control terminal. - In operation, the input video signal is fed to the
correction circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, and thefilter 15. The correction-resultant video signal is fed from thecorrection circuit 11 to theinput terminal 16 a of theswitch circuit 16. - The
filter 15 is of a low pass type. Thedevice 15 suppresses high frequency components of the input video signal to get a filtering-resultant video signal. Specifically, thefilter 15 reduces high frequency noise in the input video signal. The high frequency noise may contain block noise. Thefilter 15 outputs the filtering-resultant video signal to theinput terminal 16 b of theswitch circuit 16. - As shown in
FIG. 8 , thefilter 15 includesdelay circuits multipliers adder 156. The input video signal is applied to the input sides of thedelay circuit 151 and themultiplier 153. The output side of thedelay circuit 151 is connected with the input sides of thedelay circuit 152 and themultiplier 154. The output side of thedelay circuit 152 is connected with the input side of themultiplier 155. The output side of themultiplier 153 is connected with a first input terminal of theadder 156. The output side of themultiplier 154 is connected with a second input terminal of theadder 156. The output side of themultiplier 155 is connected with a third input terminal of theadder 156. The output terminal of theadder 156 leads to theswitch circuit 16. - The
delay circuit 151 defers the input video signal by a time corresponding to one pixel to get a first delayed video signal. Thedelay circuit 151 outputs the first delayed video signal to thedelay circuit 152 and themultiplier 154. Thedelay circuit 152 defers the first delayed video signal by a time corresponding to one pixel to get a second delayed video signal. Thedelay circuit 152 outputs the second delayed video signal to themultiplier 155. Thedevice 153 multiplies the input video signal by a coefficient of 1/4 to get a first multiplication-resultant video signal. Themultiplier 153 outputs the first multiplication-resultant video signal to theadder 156. Thedevice 154 multiplies the first delayed video signal by a coefficient of 1/2 to get a second multiplication-resultant video signal. Themultiplier 154 outputs the second multiplication-resultant video signal to theadder 156. Thedevice 155 multiplies the second delayed video signal by a coefficient of 1/4 to get a third multiplication-resultant video signal. Themultiplier 155 outputs the third multiplication-resultant video signal to theadder 156. Thedevice 156 adds the first, second, and third multiplication-resultant video signals to get the filtering-resultant video signal. Theadder 156 outputs the filtering-resultant video signal to theswitch circuit 16. - The
switch circuit 16 selects the correction-resultant video signal when the control signal is in its high-level state, that is, when the comparison result generated in the blocknoise decision circuit 13 is in the above-indicated condition (1). In other words, theswitch circuit 16 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Theswitch circuit 16 selects the filtering-resultant video signal when the control signal is in its low-level state, that is, when the comparison result is in one of the above-indicated conditions (2), (3), and (4). In other words, theswitch circuit 16 selects the filtering-resultant video signal when block noise does not occur at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. Theswitch circuit 16 passes the selected video signal to the external device as an output video signal. Therefore, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made effective when the control signal is in its high-level state, that is, when the comparison result is in the above-indicated condition (1). Otherwise, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made ineffective, while the noise reduction by thefilter 15 is made effective. In other words, the correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is made effective when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and is made ineffective when block noise does not occur. - As understood from the above explanation, the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of
FIG. 7 and is processed by thefilter 15 without being corrected by thecorrection circuit 11 and the level-difference calculation circuit 12. Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by thecorrection circuit 11 and the level-difference calculation circuit 12. - The
correction circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, thefilter 15, and theswitch circuit 16 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM. In this case, thecorrection circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, thefilter 15, and theswitch circuit 16 operate according to a control program stored in the ROM. The control program is designed to enable thecorrection circuit 11, the level-difference calculation circuit 12, the blocknoise decision circuit 13, thefilter 15, and theswitch circuit 16 to execute the previously-mentioned operation steps. -
FIG. 9 shows a block noise reducing apparatus according to a fourth embodiment of this invention. The apparatus ofFIG. 9 is similar to the apparatus ofFIG. 7 except for an additional design mentioned hereafter. - The apparatus of
FIG. 9 includes a blocknoise decision circuit 17 and aswitch circuit 18 which replace the blocknoise decision circuit 13 and theswitch circuit 16 inFIG. 7 respectively. The blocknoise decision circuit 17 receives the input video signal. The blocknoise decision circuit 17 receives, from a previous-stage device such as a digital tuner, information about the boundaries between rectangular blocks composing every frame related to the input video signal. - The
switch circuit 18 includesinput terminals output terminal 18 d, and a control terminal. Theinput terminal 18 a is connected to the output side of thecorrection circuit 11. Theinput terminal 18 b is subjected to the input video signal. Theinput terminal 18 c is connected to the output side of thefilter 15. Theoutput terminal 18 d leads to an external device (not shown). The control terminal of theswitch circuit 18 is connected to the output side of the blocknoise decision circuit 17. Thus, the control terminal of theswitch circuit 18 is subjected to a control signal outputted from the blocknoise decision circuit 17. In theswitch circuit 18, theoutput terminal 18 d is selectively connected with one of theinput terminals - In operation, the input video signal is fed to the
input terminal 18 b of theswitch circuit 18. The correction-resultant video signal is fed from thecorrection circuit 11 to theinput terminal 18 a of theswitch circuit 18. The filtering-resultant video signal is fed from thefilter 15 to theinput terminal 18 c of theswitch circuit 18. Theswitch circuit 18 selects one among the input video signal, the correction-resultant video signal, and the filtering-resultant video signal in response to the control signal outputted from the blocknoise decision circuit 17. Theswitch circuit 18 passes the selected video signal to the external device as an output video signal. - For every rectangular block related to the input video signal, the block
noise decision circuit 17 calculates the level differences “A” and “B” at the opposite inter-block boundaries adjoining the rectangular block. The blocknoise decision circuit 17 compares the calculated level differences “A” and “B” with first and second prescribed threshold values Th1 and Th2. The first prescribed threshold value Th1 is greater than the second prescribed threshold value Th2. The blocknoise decision circuit 17 generates the control signal in response to the results of the comparison. The generated control signal is of a multiple-bit type. The generated control signal can change among at least three different logic states. The blocknoise decision circuit 17 outputs the generated control signal to theswitch circuit 18. - The block
noise decision circuit 17 determines whether or not both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2. When both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2, the blocknoise decision circuit 17 concludes that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. In this case, the blocknoise decision circuit 17 sets the control signal to a first logic state. - The block
noise decision circuit 17 determines whether or not both the level differences “A” and “B” exceed the first prescribed threshold value Th1. When both the level differences “A” and “B” exceed the first prescribed threshold value Th1, the blocknoise decision circuit 17 concludes that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the blocknoise decision circuit 17 sets the control signal to a second logic state. - The block
noise decision circuit 17 determines whether or not at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2. When at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2, the blocknoise decision circuit 17 concludes as follows. It is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the blocknoise decision circuit 17 sets the control signal to a third logic state. - The block
noise decision circuit 17 determines whether or not one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1. When one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1, the blocknoise decision circuit 17 concludes as follows. It is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. In this case, the blocknoise decision circuit 17 sets the control signal to the third logic state. - The
switch circuit 18 selects the correction-resultant video signal when the control signal applied to theswitch circuit 18 is in its first logic state, that is, when both the level differences “A” and “B” are smaller than the second prescribed threshold value Th2. In other words, theswitch circuit 18 selects the correction-resultant video signal when block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest. - The
switch circuit 18 selects the filtering-resultant video signal when the control signal applied to theswitch circuit 18 is in its second logic state, that is, when both the level differences “A” and “B” exceed the first prescribed threshold value Th1. In other words, theswitch circuit 18 selects the filtering-resultant video signal when the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. - The
switch circuit 18 selects the input video signal when the control signal applied to theswitch circuit 18 is in its third logic state, that is, when at least one of the level differences “A” and “B” exists between the first and second prescribed threshold values Th1 and Th2 or when one of the level differences “A” and “B” is smaller than the second prescribed threshold value Th2 and the other exceeds the first prescribed threshold value Th1. In other words, theswitch circuit 18 selects the input video signal when it is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. - As understood from the above explanation, the input video signal which represents a picture originally or naturally having tone differences between adjacent rectangular blocks is propagated through the apparatus of
FIG. 9 without being corrected by thecorrection circuit 11 and the level-difference calculation circuit 12. Accordingly, such an input video signal is prevented from suffering a deterioration in a related picture which might be caused by the correction by thecorrection circuit 11 and the level-difference calculation circuit 12. The filtering-resultant video signal is used as an output video signal when it is unclear that block noise occurs at the inter-block boundaries adjoining the opposite edges of the rectangular block of interest, and that the input video signal represents a picture originally or naturally having tone differences between adjacent rectangular blocks. - The
correction circuit 11, the level-difference calculation circuit 12, thefilter 15, the blocknoise decision circuit 17, and theswitch circuit 18 may be formed by a digital signal processor or a similar device having a combination of an input/output port, a processing section, a ROM, and a RAM. In this case, thecorrection circuit 11, the level-difference calculation circuit 12, thefilter 15, the blocknoise decision circuit 17, and theswitch circuit 18 operate according to a control program stored in the ROM. The control program is designed to enable thecorrection circuit 11, the level-difference calculation circuit 12, thefilter 15, the blocknoise decision circuit 17, and theswitch circuit 18 to execute the previously-mentioned operation steps. -
FIG. 10 shows a block noise reducing apparatus according to a fifth embodiment of this invention. The apparatus ofFIG. 10 is similar to the apparatus ofFIG. 9 except that afilter 15A replaces thefilter 15. Thefilter 15A in the apparatus ofFIG. 10 has a frequency response characteristic different from that of thefilter 15. - A sixth embodiment of this invention is similar to one of the second and third embodiments thereof (
FIGS. 6 and 7 ) except that the threshold value Th used in the blocknoise decision circuit 13 can be changed. - A seventh embodiment of this invention is similar to the fourth embodiment thereof (
FIG. 9 ) except that the threshold values Th1 and Th2 used in the blocknoise decision circuit 17 can be changed. - An eighth embodiment of this invention is similar to one of the first to seventh embodiments thereof except for a design change mentioned hereafter.
- According to the eighth embodiment of this invention, a first point is decided in a range corresponding to the level difference “A” at the inter-block boundary I of interest (see
FIGS. 4 and 5 ) while a second point is decided in a range corresponding to the level difference “B” at the next inter-block boundary II. Then, the first point and the second point are connected by a straight line or a curved line provided by a predetermined function of the pixel position. The correction of the input video signal by thecorrection circuit 11 and the level-difference calculation circuit 12 is designed so that regarding the output video signal, the levels at the pixels “1”, “2”, . . . , “n” in the rectangular block between the inter-block boundaries I and II (the rectangular block of interest) are on the straight line or the curved line connecting the first point and the second point.
Claims (6)
1. (canceled)
2. An apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block, comprising:
first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively;
second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation;
third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal;
fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries; and
fifth means for selecting one of (1) the first output video signal generated by the third means and (2) the input video signal in response to results of the comparing by the fourth means to get a second output video signal;
wherein the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
3. An apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block, comprising:
first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively;
second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation;
third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal;
fourth means for comparing the first and second differences calculated by the first means with a predetermined threshold value to decide whether or not block noise occurs at the first and second inter-block boundaries;
a filter for filtering the input video signal to get a filtered video signal; and
fifth means for selecting one of (1) the first output video signal generated by the first means and (2) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal;
wherein the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
4. An apparatus as recited in claim 3 , wherein the filter comprises a low pass filter.
5. An apparatus for reducing block noise in an input video signal resulting from compressively encoding an original video signal rectangular-block by rectangular-block to get an encoded digital video signal, and expansively decoding the encoded digital video signal rectangular-block by rectangular-block, comprising:
first means for calculating first and second differences in level represented by the input video signal at first and second inter-block boundaries adjoining opposite edges of every rectangular block respectively;
second means for calculating a corrective value at every pixel in the rectangular block from a position of the pixel and the first and second differences calculated by the first means according to a predetermined equation;
third means for adding the corrective value calculated by the second means to a level represented by the input video signal to get a first output video signal;
fourth means for comparing the first and second differences calculated by the first means with first and second predetermined threshold values to decide conditions of block noise at the first and second inter-block boundaries;
a filter for filtering the input video signal to get a filtered video signal; and
fifth means for selecting one of (1) the first output video signal generated by the first means, (2) the input video signal, and (3) the filtered video signal generated by the filter in response to results of the comparing by the fourth means to get a second output video signal;
wherein the predetermined equation is designed so that levels represented by the first output video signal at respective pixels in the rectangular block will be on a line given by a predetermined function of pixel position and connecting a first point in a range corresponding to the first difference calculated by the first means and a second point in a range corresponding to the second difference calculated by the first means.
6. An apparatus as recited in claim 5 , wherein the filter comprises a low pass filter.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/585,585 US20100014591A1 (en) | 2004-01-20 | 2009-09-18 | Block noise reducing apparatus |
US13/064,586 US8446966B2 (en) | 2004-01-20 | 2011-04-01 | Block noise reducing apparatus |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004-012277 | 2004-01-20 | ||
JP2004012277 | 2004-01-20 | ||
US10/980,195 US20050157796A1 (en) | 2004-01-20 | 2004-11-04 | Block noise reducing apparatus |
US12/585,585 US20100014591A1 (en) | 2004-01-20 | 2009-09-18 | Block noise reducing apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/980,195 Division US20050157796A1 (en) | 2004-01-20 | 2004-11-04 | Block noise reducing apparatus |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/064,586 Division US8446966B2 (en) | 2004-01-20 | 2011-04-01 | Block noise reducing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
US20100014591A1 true US20100014591A1 (en) | 2010-01-21 |
Family
ID=34747322
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/980,195 Abandoned US20050157796A1 (en) | 2004-01-20 | 2004-11-04 | Block noise reducing apparatus |
US12/585,585 Abandoned US20100014591A1 (en) | 2004-01-20 | 2009-09-18 | Block noise reducing apparatus |
US13/064,586 Active 2025-05-16 US8446966B2 (en) | 2004-01-20 | 2011-04-01 | Block noise reducing apparatus |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/980,195 Abandoned US20050157796A1 (en) | 2004-01-20 | 2004-11-04 | Block noise reducing apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/064,586 Active 2025-05-16 US8446966B2 (en) | 2004-01-20 | 2011-04-01 | Block noise reducing apparatus |
Country Status (1)
Country | Link |
---|---|
US (3) | US20050157796A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070291842A1 (en) * | 2006-05-19 | 2007-12-20 | The Hong Kong University Of Science And Technology | Optimal Denoising for Video Coding |
US20080285655A1 (en) * | 2006-05-19 | 2008-11-20 | The Hong Kong University Of Science And Technology | Decoding with embedded denoising |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4528694B2 (en) * | 2005-08-12 | 2010-08-18 | 株式会社東芝 | Video encoding device |
KR20100050655A (en) * | 2008-11-06 | 2010-05-14 | 삼성전자주식회사 | System and method for reduction block noise |
US9924200B2 (en) * | 2013-01-24 | 2018-03-20 | Microsoft Technology Licensing, Llc | Adaptive noise reduction engine for streaming video |
US11257190B2 (en) | 2019-03-01 | 2022-02-22 | Topcon Corporation | Image quality improvement methods for optical coherence tomography |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5937101A (en) * | 1995-01-20 | 1999-08-10 | Samsung Electronics Co., Ltd. | Post-processing device for eliminating blocking artifact and method therefor |
US6539060B1 (en) * | 1997-10-25 | 2003-03-25 | Samsung Electronics Co., Ltd. | Image data post-processing method for reducing quantization effect, apparatus therefor |
US20030138160A1 (en) * | 2001-02-23 | 2003-07-24 | Masaki Ishikawa | Image processing system, image processing method, and image processing program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0683375B2 (en) | 1988-04-05 | 1994-10-19 | 大日本スクリーン製造株式会社 | Block distortion removal device for compressed image data |
JP2001119695A (en) | 1999-10-20 | 2001-04-27 | Victor Co Of Japan Ltd | Device for reducing block noise |
JP4495881B2 (en) | 2001-05-14 | 2010-07-07 | パナソニック株式会社 | Block distortion remover |
JP3773903B2 (en) | 2002-03-26 | 2006-05-10 | 三洋電機株式会社 | Block noise removal device |
-
2004
- 2004-11-04 US US10/980,195 patent/US20050157796A1/en not_active Abandoned
-
2009
- 2009-09-18 US US12/585,585 patent/US20100014591A1/en not_active Abandoned
-
2011
- 2011-04-01 US US13/064,586 patent/US8446966B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5937101A (en) * | 1995-01-20 | 1999-08-10 | Samsung Electronics Co., Ltd. | Post-processing device for eliminating blocking artifact and method therefor |
US6539060B1 (en) * | 1997-10-25 | 2003-03-25 | Samsung Electronics Co., Ltd. | Image data post-processing method for reducing quantization effect, apparatus therefor |
US20030138160A1 (en) * | 2001-02-23 | 2003-07-24 | Masaki Ishikawa | Image processing system, image processing method, and image processing program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070291842A1 (en) * | 2006-05-19 | 2007-12-20 | The Hong Kong University Of Science And Technology | Optimal Denoising for Video Coding |
US20080285655A1 (en) * | 2006-05-19 | 2008-11-20 | The Hong Kong University Of Science And Technology | Decoding with embedded denoising |
US8369417B2 (en) * | 2006-05-19 | 2013-02-05 | The Hong Kong University Of Science And Technology | Optimal denoising for video coding |
US8831111B2 (en) | 2006-05-19 | 2014-09-09 | The Hong Kong University Of Science And Technology | Decoding with embedded denoising |
Also Published As
Publication number | Publication date |
---|---|
US8446966B2 (en) | 2013-05-21 |
US20050157796A1 (en) | 2005-07-21 |
US20110182368A1 (en) | 2011-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8446966B2 (en) | Block noise reducing apparatus | |
US6825886B2 (en) | Picture signal processing method and apparatus | |
EP1469680B1 (en) | Method and apparatus for removing blocking effects in a motion picture decoder | |
US7373013B2 (en) | Directional video filters for locally adaptive spatial noise reduction | |
EP1698164B1 (en) | Directional video filters for locally adaptive spatial noise reduction | |
US7724307B2 (en) | Method and system for noise reduction in digital video | |
KR100672592B1 (en) | Device and method for compensating image in display device | |
EP1473943A1 (en) | Image coding method, image coding and decoding method, image coding apparatus, and image recording and reproduction apparatus | |
EP1381225A2 (en) | Scene change detector and method thereof | |
US10922792B2 (en) | Image adjustment method and associated image processing circuit | |
US7724979B2 (en) | Video preprocessing temporal and spatial filter | |
US5748788A (en) | Image processing method and apparatus | |
US20070285729A1 (en) | Image processing apparatus and image processing method | |
JP4380498B2 (en) | Block distortion reduction device | |
JPH0767176B2 (en) | Coding noise elimination filter | |
JP2007336075A (en) | Block distortion reducing device | |
US8077999B2 (en) | Image processing apparatus and method for reducing blocking effect and Gibbs effect | |
US8259818B2 (en) | Deblocking apparatus and associated method | |
JP4019899B2 (en) | Block noise reduction circuit | |
EP1169868B1 (en) | Method of reducing blocking artifacts | |
JP4285396B2 (en) | Block noise reduction device | |
JP3967453B2 (en) | Image encoding method and image encoding apparatus | |
US20040264809A1 (en) | Image processing apparatus, image processing method and image processing system | |
JPH0951532A (en) | Distortion removing device | |
KR100839916B1 (en) | Color transient reduction apparatus and method using the luminance-chrominance cross-correlation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |