US20130058420A1 - Decoding apparatus, decoding method, and computer-readable storage medium - Google Patents

Decoding apparatus, decoding method, and computer-readable storage medium Download PDF

Info

Publication number
US20130058420A1
US20130058420A1 US13/667,413 US201213667413A US2013058420A1 US 20130058420 A1 US20130058420 A1 US 20130058420A1 US 201213667413 A US201213667413 A US 201213667413A US 2013058420 A1 US2013058420 A1 US 2013058420A1
Authority
US
United States
Prior art keywords
parameter
filter
image data
filtering
original
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
Application number
US13/667,413
Inventor
Hideaki Hattori
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to US13/667,413 priority Critical patent/US20130058420A1/en
Publication of US20130058420A1 publication Critical patent/US20130058420A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/162User input
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Definitions

  • the present invention relates to a technique for decoding encoded movie image data and, more specifically, compensation for excess or deficiency of filtering.
  • post-filtering is performed in order to eliminate block distortion caused by, for example, quantization executed during encoding of an image.
  • Deblocking filtering also known as smoothing filtering
  • smoothing filtering is filtering for smoothing pixel values of pixels at a boundary of blocks into which a frame is divided, in accordance with a filter strength set in encoding.
  • Japanese Patent Laid-Open No. 2008-048181 describes a technique for reducing block distortion by changing pixel values across an edge of blocks into which movie image data is divided through horizontal and vertical deblocking filtering.
  • One such example case is the case where a user sets the filter strength for use in deblocking filtering higher than necessary in obtaining a movie image although there is no need of deblocking filtering (block distortion does not occur).
  • deblocking filtering is performed in accordance with the filter strength set in obtaining an image, a high-frequency component of the image would be excessively removed, resulting in the occurrence of image blurring.
  • An embodiment of the present invention provides compensation for excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side.
  • a decoding apparatus for decoding encoded first frame data and decoding encoded second frame data on the basis of difference information indicating a difference between the first frame data subjected to smoothing using a first parameter and unsmoothed second frame data.
  • the decoding apparatus includes a decoding unit, a first smoothing unit, and a second smoothing unit.
  • the decoding unit is configured to decode the encoded first frame data.
  • the first smoothing unit is configured to, when the decoding apparatus sets a second parameter, perform smoothing using the second parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reproduction first frame data to be reproduced for displaying.
  • the second smoothing unit is configured to perform smoothing using the first parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reference first frame data for use in reference in decoding the encoded second frame data.
  • the decoding unit is configured to refer to the reference first frame data, which is obtained by smoothing using the first parameter performed by the second smoothing unit, and decode the encoded second frame data on the basis of the difference information indicating the difference between the first frame data subjected to smoothing using the first parameter and the unsmoothed second frame data.
  • FIG. 1 is a block diagram that illustrates a decoding apparatus according to a first embodiment of the present invention.
  • FIG. 2 is a block diagram that illustrates a decoding apparatus according to a second embodiment of the present invention.
  • FIG. 3 is a block diagram that illustrates a decoding apparatus according to a third embodiment of the present invention.
  • FIG. 4 illustrates an example of a screen that displays image blur information according to the third embodiment.
  • FIG. 5 is a block diagram that illustrates a decoding apparatus according to a fourth embodiment of the present invention.
  • FIG. 6 illustrates sharing of filter hardware according to the fourth embodiment.
  • FIG. 7 is a flowchart that illustrates an operation of the decoding apparatus according to the first embodiment.
  • FIG. 8 is a flowchart that illustrates an intra/inter frame compensation process.
  • FIG. 9 is a flowchart that illustrates a post-filtering process in the standard mode.
  • FIG. 10 is a flowchart that illustrates an operation of the decoding apparatus according to the second embodiment.
  • FIG. 11 is a flowchart that illustrates an operation of the decoding apparatus according to the third embodiment.
  • FIG. 12 is a flowchart that illustrates an operation of the decoding apparatus according to the fourth embodiment.
  • FIG. 1 illustrates an example configuration of a decoding apparatus according to a first embodiment of the present invention in the form of a block diagram.
  • the decoding apparatus according to the present embodiment is a decoding apparatus that decodes frame data constituting movie image data and may be contained in a digital television, for example.
  • the present invention can also be an apparatus for decoding frame data constituting movie image data contained in a device other than a digital television, such as a personal computer, a work station, a notebook personal computer (PC), a palmtop PC, a decoder, a household electrical appliance installing a computer, a game machine, and a cellular phone, and alternatively, can also be any combination of decoding apparatuses of devices selected from the above-mentioned example devices.
  • the decoding apparatus illustrated in FIG. 1 includes an entropy decoder 101 , an inverse quantizer 102 , an inverse orthogonal transformer 103 , a compensator 104 , a standard-parameter calculator 105 , a post-filter 106 , and a memory 107 .
  • the decoding apparatus illustrated in FIG. 1 further includes a screen-display filter 108 , a selector 109 , an image processor 110 , and an image display 111 .
  • the standard-parameter calculator 105 calculates a standard parameter being a filter parameter that is for use in deblocking filtering and that conforms to a standardized encoding system (e.g., H.264). The details will be described below.
  • the entropy decoder 101 receives encoded movie image data and performs variable-length decoding or arithmetical decoding on the received movie image data.
  • Movie image data input into the entropy decoder 101 may be an image stream distributed through streaming, and alternatively, may also be image data recorded on a recording medium.
  • the entropy decoder 101 obtains an encoding parameter, such as a motion vector, a quantization scale value, a macroblock type, and a filter strength for use in a deblocking filter, and a quantized orthogonal transform coefficient from the input movie image data and outputs them to the inverse quantizer 102 .
  • the encoding parameter is output to the inverse quantizer 102 together with the quantized orthogonal transform coefficient.
  • the encoding parameter may also be transmitted through a route different from a route for the orthogonal transform coefficient so as to be in time for processing at a later stage.
  • the inverse quantizer 102 performs inverse quantization on the quantized orthogonal transform coefficient input from the entropy decoder 101 using the quantization scale value and outputs the processed orthogonal transform coefficient to the inverse orthogonal transformer 103 .
  • the inverse orthogonal transformer 103 performs inverse orthogonal transform (integer transform) on the input orthogonal transform coefficient and thus generates a prediction error block, and outputs the prediction error block to the compensator 104 .
  • the compensator 104 determines whether data corresponding to the prediction error block input from the inverse orthogonal transformer 103 is a macroblock subjected to intra-frame prediction or a macroblock subjected to inter-frame prediction by, for example, referring to information indicating the macroblock type.
  • the macroblock used here indicates a block consisting of 16 ⁇ 16 pixels.
  • the compensator 104 performs either one of intra-frame compensation and inter-frame compensation depending on the determination.
  • the compensator 104 reads reference pixels for use in intra-frame compensation (hereinafter referred to as intra-frame compensation reference pixels) from the memory 107 and generates a reference block for use in intra-frame compensation (hereinafter referred to as an intra-frame compensation reference block) conforming to the intra-frame prediction mode.
  • the intra-frame compensation reference pixels are pixel data of a block before deblocking filtering is performed on a decoded image in the same frame.
  • the compensator 104 adds the generated intra-frame compensation reference block and a prediction error block being an output from the inverse orthogonal transformer 103 together and thus obtains compensated decoded image data.
  • the compensator 104 outputs the obtained decoded image data to the standard-parameter calculator 105 , the post-filter 106 , and the screen-display filter 108 .
  • the compensator 104 causes the memory 107 to store the compensated decoded image data to allow it to be used in intra-frame compensation.
  • the compensator 104 reads reference pixels for use in inter-frame compensation (hereinafter referred to as inter-frame compensation reference pixels) from the memory 107 and generates a reference block for use in inter-frame compensation (hereinafter referred to as an inter-frame compensation reference block) according to the motion vector and the encoding mode.
  • the inter-frame compensation reference pixels are pixel data of a block in which deblocking filtering is performed on a decoded image in frames having different reproduction times.
  • the compensator 104 adds the generated inter-frame compensation reference block and a prediction error block being an output from the inverse orthogonal transformer 103 together and thus obtains compensated decoded image data.
  • the compensator 104 outputs the obtained compensated decoded image data to the standard-parameter calculator 105 , the post-filter 106 , and the screen-display filter 108 .
  • the compensator 104 causes the memory 107 to store the compensated decoded image data as the intra-frame compensation reference pixel.
  • frame data (e.g., a macroblock in a frame) can be encoded using difference information indicating the difference from reference frame data (e.g., a macroblock in another frame).
  • the reference frame data is frame data subjected to deblocking filtering using the standard parameter being a filter parameter conforming to the encoding system.
  • the decoding apparatus decodes the above-described frame data using information indicating the difference between the reference frame data subjected to deblocking filtering using the standard parameter and the frame data generated in encoding and being a target of decoding.
  • a part from the entropy decoder 101 to the compensator 104 in the present embodiment constitutes a unit configured to decode encoded first frame data.
  • a part from the entropy decoder 101 to the compensator 104 in the present embodiment constitutes a unit configured to decode encoded second frame data on the basis of information indicating the difference between first frame data smoothed using a first parameter and second unsmoothed frame data.
  • the first parameter indicates the standard parameter
  • the first frame data indicates the reference frame data
  • smoothing indicates filtering.
  • the standard-parameter calculator 105 and the post-filter 106 perform post-filtering (deblocking filtering) on the compensated decoded image data output from the compensator 104 .
  • the standard-parameter calculator 105 calculate a filter parameter for each macroblock using the decoded image data subjected to intra/inter-frame compensation and the filter strength (including execution and non-execution of filtering) contained in the movie image data received from the compensator 104 .
  • the filter parameter calculated by the standard-parameter calculator 105 is a filter parameter that conforms to a standardized encoding system (e.g., H.264) and that is for use in deblocking filtering (standard parameter).
  • the standard parameter is determined by the filter strength contained in movie image data input into the decoding apparatus and information for each macroblock, and the standard parameter is not changed by the decoding apparatus.
  • the standard-parameter calculator 105 outputs the calculated standard parameter to the post-filter 106 and the selector 109 , which will be described below.
  • deblocking filtering is performed on a macroblock basis in the present embodiment.
  • filtering may also be performed on another basis (e.g., in units of 4 ⁇ 4 pixels) other than a macroblock basis.
  • the standard-parameter calculator 105 can calculate a filter parameter in units in filtering (e.g., 4 ⁇ 4 pixels).
  • the post-filter 106 performs deblocking filtering on the compensated decoded image data received from the compensator 104 using the standard parameter received from the standard-parameter calculator 105 .
  • deblocking filtering is processing for smoothing pixel values of pixels at a boundary in the vertical direction of a macroblock in accordance with pixel values of neighboring pixels lying across the boundary.
  • this processing for example, the value obtained by dividing by six the sum of a weighted value in which a pixel value being an output in filtering is multiplied by four and an unweighted value of a pixel value of each of neighboring pixels lying at right and left sides is a pixel value after filtering.
  • the degree of weighting for a pixel and the number of pixels used in filtering vary with the filter strength or other factors.
  • the post-filter 106 causes the memory 107 to store decoded image data in which block distortion is reduced to allow it to be used for inter-frame compensation.
  • the post-filter 106 smoothes (filters) first frame data (decoded image data) decoded through the entropy decoder 101 to the compensator 104 , using the first parameter (standard parameter). Then, the post-filter 106 outputs, to the memory 107 , the reference first frame data for use in reference in decoding the encoded second frame data (image data in a frame that is to be decoded later).
  • the post-filter 106 smoothes pixel information for pixels at a boundary between a plurality of blocks (macroblocks) constituting the first frame data (decoded image data).
  • the memory 107 stores both of a reference pixel for use in inter-frame compensation and that for use in intra-frame compensation.
  • this memory is not necessarily required to be a single memory.
  • the decoding apparatus can have different memories for use in inter-frame compensation and intra-frame compensation. The same applies to the embodiments described below.
  • the selector 109 selects either one of the standard parameter received from the standard-parameter calculator 105 and an original parameter set in the decoding apparatus and outputs the selected filter parameter to the screen-display filter 108 .
  • a method for selecting a filter parameter for use in the selector 109 will be described below.
  • the screen-display filter 108 performs deblocking filtering on the decoded image data received from the compensator 104 using the filter parameter selected by the selector 109 and outputs the decoded image data subjected to filtering to the image processor 110 .
  • the output of the post-filter 106 and the output of the screen-display filter 108 are the same.
  • the image processor 110 performs image processing, such as color-space transform and filtering for improving the image quality, on the decoded image data subjected to filtering received from the screen-display filter 108 and outputs the processed data to the image display 111 .
  • the image display 111 displays the decoded image data subjected to image processing received from the image processor 110 . In such a way, when the selector 109 selects the standard parameter output from the standard-parameter calculator 105 , decoded image data conforming to the standard encoding system is displayed. In contrast, when the selector 109 selects the original parameter, decoded image data subjected to deblocking filtering in accordance with the original parameter is displayed.
  • the screen-display filter 108 smoothes first frame data decoded through the entropy decoder 101 to the compensator 104 , using the second parameter, and outputs reproduction first frame data to be reproduced.
  • the second parameter used here indicates an original parameter, and smoothing indicates filtering.
  • the screen-display filter 108 smoothes pixel information for pixels at a boundary between a plurality of blocks (macroblocks) constituting the first frame data (decoded image data).
  • the decoding apparatus includes two filters: the post-filter 106 for performing filtering to obtain decoded image data for inter-frame compensation and the screen-display filter 108 for performing filtering to obtain decoded image data to be displayed.
  • the decoding apparatus includes two filters.
  • one possible approach is to decrease the filter strength set in encoding (or to set filtering such that it will not be performed) in the decoding apparatus.
  • data of a frame subjected to deblocking filtering is used as data for use in inter-frame compensation to decode data of another frame. That is, encoding is performed such that the filter parameter is determined according to the filter strength on the basis of the difference value between data being a target for encoding (e.g., a macroblock) and the reference data subjected to deblocking filtering.
  • data of a frame subjected to filtering using the changed filter strength is referred to in decoding data of another frame.
  • the setting is changed during decoding such that filtering will not be performed
  • data that is not subjected to filtering is undesirably used as the reference data in decoding.
  • the setting is reset such that filtering will be performed
  • data that is not subjected to filtering is referred to thereafter. Accordingly, for example, even a frame that is not inter-frame compensated may be unable to be converted back into an image conforming to the standard mode. In other words, even if the filter strength changed once during decoding is reset, it may take much time to obtain an image conforming to the standard mode.
  • the decoding apparatus includes two filters of the post-filter 106 for performing filtering to obtain decoded image data for use in inter-frame compensation and the screen-display filter 108 for performing filtering to obtain decoded image data to be displayed. In such a way, the decoded image data for use in inter-frame compensation can be prevented from being changed by the changing of the filter strength.
  • processing in each of the portions described using FIG. 1 is performed by hardware.
  • the processing can also be performed by software. That is, a central processing unit (CPU) controlling the decoding apparatus can carry out the functions of each portion illustrated in FIG. 1 by reading a control program stored in computer-readable storage medium, for example, a read-only memory (ROM) to a memory used to execute the program (e.g., a random-access memory (RAM)) and performing processing.
  • FIG. 7 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • a series of steps performed on a macroblock basis is described by way of example. However, as previously described, the steps may also be performed on another basis.
  • step S 701 the entropy decoder 101 receives encoded movie image data.
  • the movie image data may be received through any process.
  • the movie image data may be read from the memory, or alternatively, may also be directly input from an interface.
  • step S 702 the entropy decoder 101 decodes the encoded movie image data received in step S 701 and thus obtains desired data. More specifically, in step S 703 , the entropy decoder 101 obtains, from the encoded movie image data, an encoding parameter, such as a macroblock type, a motion vector, a quantization scale value, and a filter strength for use in a deblocking filter. In step S 704 , the entropy decoder 101 obtains quantized orthogonal transform coefficient from the encoded movie image data. The data obtained in steps S 703 and S 704 is output to the inverse quantizer 102 .
  • an encoding parameter such as a macroblock type, a motion vector, a quantization scale value, and a filter strength for use in a deblocking filter.
  • step S 704 the entropy decoder 101 obtains quantized orthogonal transform coefficient from the encoded movie image data. The data obtained in steps S 703 and S 704 is output to the
  • step S 705 the inverse quantizer 102 performs inverse quantization with the quantized orthogonal transform coefficient using the quantization scale value received from the entropy decoder 101 .
  • the inverse orthogonal transformer 103 performs inverse orthogonal transform, such as inverse integer transform or inverse discrete cosine transform (IDCT), in units of 4 ⁇ 4 pixels or 8 ⁇ 8 pixels.
  • IDCT inverse discrete cosine transform
  • step S 706 the compensator 104 performs inter/intra-frame compensation and thus obtains decoded image data. That is, encoded first frame data is decoded through steps S 702 to S 706 (decoding step).
  • FIG. 8 is a flowchart that corresponds to compensation performed by the compensator 104 in step S 706 illustrated in FIG. 7 .
  • the compensator 104 refers to the macroblock type obtained in the entropy decoder 101 and determines whether the image data (macroblock) to be compensated for is an intra-predicated macroblock or an inter-predicated macroblock.
  • the compensator 104 determines that it is an intra-predicated macroblock, flow proceeds to step S 802 .
  • the compensator 104 reads a group of intra-frame compensation reference pixels from the memory 107 , and flow proceeds to step S 803 .
  • step S 803 the compensator 104 generates an intra-frame compensation reference block in accordance with the intra-frame prediction mode from the group of intra-frame compensation reference pixels read in step S 802 .
  • the compensator 104 adds the generated intra-frame compensation reference block and the prediction error block output from the inverse orthogonal transformer 103 in step S 705 illustrated in FIG. 7 together and thus obtains decoded image data.
  • step S 804 the compensator 104 stores the decoded image data obtained in step S 803 in the memory 107 as that for use in intra-frame prediction for image data to be compensated for later.
  • step S 801 when the compensator 104 determines that the image data (macroblock) to be compensated for is an inter-predicated macroblock, flow proceeds to step S 805 .
  • step S 805 the compensator 104 reads a group of reference pixels corresponding to information on the motion vector obtained in step S 703 illustrated in FIG. 7 from the memory 107 as inter-frame compensation reference pixels, and flow proceeds to step S 806 .
  • the inter-frame compensation reference pixels are pixel data of a block in which deblocking filtering is performed on a decoded image of frames having different reproduction times.
  • step S 806 the compensator 104 generates an inter-frame compensation reference block according to the motion vector and the encoding mode from the group of inter-frame compensation reference pixels read in step S 805 .
  • the compensator 104 adds the generated inter-frame compensation reference block and the prediction error block output from the inverse orthogonal transformer 103 in step S 705 illustrated in FIG. 7 together and thus obtains decoded image data.
  • the compensator 104 stores the decoded image data in the memory 107 as that for use in intra-frame prediction of image data to be compensated for later.
  • the compensator 104 performs intra-frame compensation in step S 803 in accordance with an intra-frame compensation reference pixel stored in the memory 107 .
  • the compensator 104 performs inter-frame compensation in step S 806 in accordance with an intra-frame compensation reference pixel stored in the memory 107 .
  • the intra-frame compensation reference pixel is pixel data of a block before deblocking filtering is performed
  • the inter-frame compensation reference pixel is pixel data of a block in which deblocking filtering is performed using the standard parameter.
  • the compensator 104 outputs the decoded image data to the standard-parameter calculator 105 , the post-filter 106 , the screen-display filter 108 , and the memory 107 .
  • the compensator 104 decodes encoded image data (second frame data) in step S 805 in the way described below.
  • the compensator 104 refers to the reference first frame data smoothed using the standard parameter (first parameter).
  • the second frame data has been encoded on the basis of information indicating the difference between the image data (the first frame data) subjected to smoothing (filtering) using the first parameter and unsmoothed second frame data.
  • the compensator 104 decodes the second frame data encoded in this way in the manner described above. Smoothing used here indicates filtering.
  • step S 707 illustrated in FIG. 7 (second smoothing step), the standard-parameter calculator 105 and the post-filter 106 perform deblocking filtering.
  • the details of step S 707 are described with reference to FIG. 9 .
  • FIG. 9 is a flowchart corresponding to deblocking filtering performed by the standard-parameter calculator 105 and the post-filter 106 in step S 707 illustrated in FIG. 7 .
  • the standard-parameter calculator 105 calculates a standard parameter using the decoded image data and the filter strength received from the compensator 104 .
  • the standard parameter is a filter parameter that is for use in a deblocking filter and that conforms to the standard encoding system.
  • the filter strength is contained in the movie image data.
  • the standard-parameter calculator 105 outputs the calculated standard parameter to the post-filter 106 and the selector 109 .
  • the post-filter 106 performs deblocking filtering on the decoded image data using the standard parameter received from the standard-parameter calculator 105 . This processing corresponds to step S 902 .
  • the post-filter 106 causes the memory 107 to store the decoded image data subjected to filtering to allow it to be used in inter-frame compensation.
  • step S 707 illustrated in FIG. 7 the post-filter 106 smoothes (performs filtering on) the decoded image data (first frame data) using the first parameter (standard parameter) calculated by the standard-parameter calculator 105 and outputs, to the memory 107 , reference first frame data for use in reference in decoding image data to be displayed later (second frame data).
  • the processing of steps S 702 to S 707 indicates a typical decoding process (S 800 ).
  • step S 708 the selector 109 selects one of the standard parameter and the original parameter as the filter parameter to be output to the screen-display filter 108 in accordance with the standard parameter output by the standard-parameter calculator 105 and the decoded image data.
  • the selector 109 selects the original parameter set in the decoding apparatus is the case where it is determined that the standard parameter exceeds a preset threshold value.
  • the selector 109 determines that a high-frequency component would be excessively decreased. Then, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is lower than that associated with the standard parameter and outputs it to the screen-display filter 108 .
  • the selector 109 can also select the original parameter when the standard parameter is smaller than a preset threshold value.
  • the selector 109 determines that block distortion would occur. Then, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is higher than that associated with the standard parameter and outputs it to the screen-display filter 108 .
  • selector 109 selects the original parameter is the case where there are many frames encoded using intra-frame prediction because of the ease of editing. This is because, in H.264, intra-frame predicted image data is encoded such that greater advantages brought by deblocking filtering are obtainable. In such a case, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is lower than that associated with the standard parameter and outputs it to the screen-display filter 108 . In contrast, when it is determined that there are many frames encoded using inter-frame prediction, the selector 109 may select the original parameter such that the filter strength associated therewith is increased.
  • Still another example case in which the selector 109 selects the original parameter is the case where movie image data having a significantly large high-frequency component (e.g., a movie image of a forest having dead leaves mixed therein) is input.
  • the selector 109 determines that degradation in the image quality in image blurring would be subjectively more noticeable than that in block distortion, selects the original parameter to have a filter strength lower than the standard parameter, and outputs it to the screen-display filter 108 .
  • the selector 109 may select the original parameter such that the filter strength is increased.
  • the selector 109 refers to a change in pixel information within a decoded macroblock. Then, when the change in the pixel information is large, the original parameter is set such that the filter strength is reduced.
  • the selector 109 selects the original parameter when the above-described movie image data is input, so greater advantages of improving the subjective image quality brought by reduction in image blurring are obtainable.
  • the standard parameter is a parameter setting the value obtained by dividing by three the sum of a pixel value of a pixel that is a target for deblocking filtering and a pixel value of each of left and right pixels adjacent to the target pixel as the pixel value after filtering.
  • the original parameter enabling the filter strength associated therewith to be lower than the filter strength associated with that standard parameter is discussed below.
  • the original parameter is a parameter setting the value obtained by dividing by six the sum of a weighted pixel value in which a pixel value of a pixel being a target for deblocking filtering is multiplied by four and a pixel value of neighboring left and right pixel values as the pixel value after filtering.
  • the original parameter is selected and filtering is performed using that original parameter, compared with when filtering is performed using the standard parameter, the effect of the original pixel value of a pixel being a target for filtering can remain more largely. Accordingly, a high-frequency component can be prevented from being excessively removed.
  • the standard parameter is a parameter setting the value obtained by dividing by five the sum of a pixel value of a pixel being a target for filtering and pixel values of two pixels left to the target pixel and two pixels right to the target pixel as the pixel value after filtering.
  • the original parameter enabling the filter strength associated therewith to be lower than the filter strength associated with the standard parameter is a parameter setting the value obtained by dividing by three the sum of a pixel value of a pixel being a target for deblocking filtering and pixel values of one pixel left to the target pixel and one pixel right to the target pixel as the pixel value after filtering.
  • the strength of a filter can be changed by changing the number of pixels for use in deblocking filtering (range) and the degree of weighting a pixel value to be added.
  • the original parameter according to the present embodiment may be set such that the filter strength associated therewith is higher or lower than the filter strength associated with the standard parameter calculated by and received from the standard-parameter calculator 105 after the standard parameter is received.
  • the original parameter may be a filter parameter according to a preset filter strength.
  • either one of the standard parameter and the original parameter is selected in accordance with the standard parameter and the decoded image data.
  • the original parameter may be set in accordance with the decoded image data.
  • the selector 109 may set the original parameter in accordance with the strength of a high-frequency component of the above-described decoded image data (the magnitude of a change in pixel information).
  • the selector 109 may refer to a change in pixel information within a decoded macroblock and set the original parameter in accordance with the magnitude of the change in the pixel information.
  • the selector 109 may set the second parameter (original parameter) in accordance with characteristic information for decoded first frame data (the magnitude of a change in pixel information) calculated from the decoded first frame data (decoded image data).
  • the magnitude of a change in the pixel information is information regarding a change in pixel information in each of a plurality of blocks (macroblocks) constituting the first frame data.
  • the selector 109 may set the second parameter (original parameter) such that the strength of smoothing (filtering) is reduced.
  • step S 709 the screen-display filter 108 performs deblocking filtering on the decoded image data received from the compensator 104 using the filter parameter received from the selector 109 .
  • step S 710 the screen-display filter 108 outputs the decoded image data subjected to filtering to the image processor 110 .
  • the image processor 110 performs image processing, such as color-space transform and processing for improving the image quality, on the decoded image data received from the screen-display filter 108 and outputs the processed image data to the image display 111 .
  • the image display 111 displays the image data subjected to image processing received from the image processor 110 .
  • step S 709 when the second parameter is set in step S 708 , the screen-display filter 108 smoothes the first frame data (decoded image data) using that second parameter and outputs the reproduction first frame data.
  • the second parameter indicates the original parameter, and smoothing indicates filtering.
  • the selector 109 selects one of the standard parameter according to the filter strength contained in input movie image data and the original parameter set in the decoding apparatus.
  • the screen-display filter 108 performs deblocking filtering on the decoded image data using the filter parameter set by the selector 109 .
  • the post-filter 106 performs deblocking filtering using the standard parameter.
  • the decoded image data subjected to filtering is stored in the memory 107 as that for use in inter-frame compensation.
  • the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for.
  • the filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • the screen-display filter 108 when the selector 109 selects the standard parameter, the screen-display filter 108 performs deblocking filtering on the decoded image data using the standard parameter.
  • the decoded image data subjected to deblocking filtering performed by the post-filter 106 may be output to the image processor 110 as that for reproduction.
  • the post-filter 106 smoothes (performs filtering on) the first frame data decoded by the compensator 104 using the first parameter (standard parameter) and outputs the obtained frame data as the first frame data for reproduction.
  • processing of the screen-display filter 108 can be omitted.
  • the selector 109 in the present embodiment is described above primarily with respect to selection of the standard parameter or the original parameter in accordance with the value of the standard parameter obtained from the decoded image data, the macroblock type, the high-frequency component, and other factors.
  • the selector 109 of the decoding apparatus illustrated in FIG. 1 can also switch a filter parameter in accordance with characteristics of decoded image data subjected to deblocking filtering or an instruction from a user.
  • the selector 109 can also change the original parameter in accordance with characteristics of decoded image data or an instruction from a user. The details are described below in second and subsequent embodiments.
  • FIG. 2 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment.
  • the decoding apparatus illustrated in FIG. 2 includes an entropy decoder 201 , an inverse quantizer 202 , an inverse orthogonal transformer 203 , a compensator 204 , a standard-parameter calculator 205 , a post-filter 206 , and a memory 207 .
  • the decoding apparatus illustrated in FIG. 2 further includes a screen-display filter 208 , a selector 209 , an image processor 210 , an image display 211 , a block-distortion detector 212 , and an original-parameter calculator 213 .
  • the decoding apparatus also decodes encoded first frame data, as in the first embodiment.
  • the decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • the block-distortion detector 212 determines whether block distortion occurs in the decoded image data subjected to deblocking filtering performed by the screen-display filter 208 and outputs the determination as block distortion information to the original-parameter calculator 213 .
  • the original-parameter calculator 213 calculates an original parameter in accordance with the block distortion information output from the block-distortion detector 212 and outputs the original parameter to the selector 209 as the filter parameter for use in decoded image data to be subjected to deblocking filtering later.
  • the original-parameter calculator 213 sets the second parameter (original parameter) in accordance with characteristics information (block distortion information) for the reproduction first frame data calculated from the reproduction first frame data subjected to smoothing (filtering).
  • the second parameter is for obtaining reproduction second frame data (image data to be decoded later) and is a filter parameter for use in smoothing the second frame data decoded through the entropy decoder 201 to the compensator 204 .
  • One example method for determining whether block distortion occurs in the block-distortion detector 212 is a determination method using the difference between pixel values of pixels at the boundary of blocks of decoded image data subjected to filtering.
  • the block-distortion detector 212 calculates the difference between two pixel values lying across the boundary of macroblocks in that decoded image data, for example.
  • the block-distortion detector 212 determines that block distortion occurs when the difference between pixel values of pixels at the boundary is within a preset range.
  • Pixels for use in calculating the difference between pixel values are not limited to two pixels lying across the boundary. A plurality of pixels containing a pixel remote from the boundary may be used as those pixels.
  • Another example method for determining whether block distortion occurs in the block-distortion detector 212 is a determination method using frequency characteristics in decoded image data subjected to filtering.
  • the block-distortion detector 212 determines whether the difference is a pixel change that the image intrinsically has or block distortion by referring to frequency characteristics within a predetermined range (e.g., 32 ⁇ 32 pixels). For example, when the periodicity of occurrence of differences between neighboring pixel values is the same as the periodicity of occurrence of boundaries of macroblocks (16 pixels), it can be determined that block distortion occurs.
  • the difference of pixel values is present in the boundary of macroblocks, if the change of pixel values of the image occurs, for example, for each four pixels, it is determined that block distortion does not occur, i.e., the difference is a pixel change that the image intrinsically has.
  • the change of pixel values of the image occurs, for example, for each 32 pixels, it is determined that block distortion does not occur, i.e., the difference is a pixel change that the image intrinsically has.
  • the original-parameter calculator 213 sets the original parameter such that filtering will be performed more strongly.
  • the original-parameter calculator 213 sets the original parameter such that filtering will be performed weakly.
  • the original-parameter calculator 213 sets the second parameter (original parameter) in accordance with the determination whether the periodic change of the pixel information occurs at the boundary of blocks (macroblocks) constituting the first frame data.
  • the selector 209 selects the original parameter.
  • the original parameter set here can be applied to, for example, from decoded image data (macroblock) that will be subjected to filtering next.
  • processing in each of the portions is performed by hardware.
  • the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing.
  • FIG. 10 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • the processing of steps S 1001 to S 1005 is substantially the same as the processing of steps S 701 to S 710 illustrated in FIG. 7 , and the description thereof is not repeated here.
  • step S 1006 the block-distortion detector 212 determines whether block distortion occurs in decoded image data subjected to filtering output from the screen-display filter 208 .
  • the block-distortion detector 212 outputs block distortion information indicating the determination to the original-parameter calculator 213 .
  • a method for determination whether block distortion occurs is described above.
  • the block distortion information can indicate the degree of occurring block distortion, in addition to the presence or absence of the block distortion.
  • the original-parameter calculator 213 can calculate the original parameter in accordance with the degree of block distortion.
  • step S 1007 the original-parameter calculator 213 calculates the original parameter based on the block distortion information output in step S 1006 and outputs the calculated original parameter to the selector 209 .
  • the selector 209 selects the original parameter.
  • the original parameter calculated in step S 1007 is used as a parameter in deblocking filtering decoded image data (macroblock) to be decoded subsequently.
  • the original-parameter calculator 213 sets the original parameter such that the filter strength associated therewith is lowest within a range in which a viewer cannot recognize block distortion.
  • the original-parameter calculator 213 sets the second parameter (original parameter) in accordance with characteristics information for reproduction first frame data.
  • the characteristics information for the reproduction first frame data described above is calculated from the reproduction first frame data subjected to smoothing (filtering).
  • the second parameter (original parameter) is used in smoothing to obtain reproduction second frame data (image data to be decoded later) and is a filter parameter for use in smoothing (filtering) the decoded second frame data in step S 1002 .
  • the original-parameter calculator 213 may also determine the original parameter after referring to sharpness that is preset by a viewer, in addition to the above-described block distortion information. In this case, the image quality suited for preferences of the viewer can be provided.
  • block-distortion detector 212 has an additional function of object recognition (object extraction)
  • object recognition object extraction
  • degradation in the image quality can be prevented by the setting of weakening deblocking filtering at the boundary of the object.
  • the decoding apparatus adjusts the original parameter in accordance with the decoded image data subjected to filtering performed by the screen-display filter 208 .
  • the post-filter 206 performs deblocking filtering using the standard parameter in accordance with the filter strength contained in the movie image data, and the obtained decoded image data is stored in the memory 207 as that for use in inter-frame compensation.
  • the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for.
  • the filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • FIG. 3 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment.
  • the decoding apparatus illustrated in FIG. 3 includes an entropy decoder 301 , an inverse quantizer 302 , an inverse orthogonal transformer 303 , a compensator 304 , a standard-parameter calculator 305 , a post-filter 306 , and a memory 307 .
  • the decoding apparatus illustrated in FIG. 3 further includes a screen-display filter 308 , a selector 309 , an image processor 310 , an image display 311 , and an original-parameter calculator 312 .
  • the decoding apparatus also decodes encoded first frame data, as in the first embodiment.
  • the decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • the image display 311 displays the status of the standard parameter together with decoded image data subjected to image processing output from the image processor 310 .
  • FIG. 4 illustrates an example in which, in response to selection of the standard parameter by the selector 309 , decoded image data subjected to deblocking filtering using the standard parameter and the status of the standard parameter are displayed on a screen.
  • Reference numeral 401 denotes a display apparatus including the decoding apparatus illustrated in FIG. 3 .
  • the decoded image data subjected to image processing output from the image processor 310 is displayed by the image display 311 on a display screen 402 .
  • Image blur information 403 indicating the status of the standard parameter is also displayed on the display screen 402 .
  • the image blur information 403 includes a meter indicating the filter strength corresponding to the standard parameter and a warning message informing the occurrence of image blurring.
  • the image blur information 403 is quantitatively shown as information associated with the content of the image.
  • the image display 311 displays information indicating the strength of smoothing (image blur information) and reproduction first frame data.
  • a viewer recognizes the occurrence of image blurring in a reproduced image caused by filtering using the standard parameter by seeing the meter indicating the filter strength and the reproduced image.
  • the viewer also recognizes that image blurring occurs when the current filter parameter (standard parameter) is used by seeing the warning message.
  • both of the meter and the warning message are displayed. However, only one of them may be displayed.
  • the meter indicating the filter strength is displayed. However, the meter may indicate a mean value of filter parameters of macroblocks constituting a frame being reproduced.
  • the viewer When the viewer sees an image being reproduced and image blur information and, for example, feels that the image quality is noticeably degraded with the standard parameter, the viewer provides an instruction to adjust the image quality in order to eliminate the image blurring using, for example, a remote controller.
  • the original-parameter calculator 312 calculates the original parameter making the filter strength lower and outputs it to the selector 309 .
  • the selector 309 receives an instruction to change the strength of smoothing. In response to this instruction to change, the selector 309 sets the second parameter. In other words, when the viewer provides the instruction to adjust the image quality, the selector 309 selects the original parameter, instead of the standard parameter.
  • processing in each of the portions is performed by hardware.
  • the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing.
  • FIG. 11 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • steps S 1101 to S 1104 is substantially the same as the processing of steps S 701 to S 709 illustrated in FIG. 7 , and the description thereof is not repeated here.
  • the screen-display filter 308 creates an animation for displaying, as the image blur information 403 , the filter strength associated with the standard parameter.
  • the screen-display filter 308 calculates the degree of the occurring image blur. When the calculated degree is higher than a threshold value, the screen-display filter 308 creates an animation for displaying a warning message.
  • information indicating the degree of the occurring image blur can be calculated using, for example, frequency characteristics of decoded image data subjected to filtering. More specifically, for example, the frequency characteristics of the decoded image data subjected to filtering are referred to.
  • the filter strength can also be used as the information indicating the degree of the occurring image blur.
  • the screen-display filter 308 may create an animation for displaying a warning message when the filter strength is lower than a threshold value.
  • step S 1106 the screen-display filter 308 combines the image blur information 403 created in step S 1105 and the decoded image data subjected to deblocking filtering performed in step S 1104 and outputs the composite to the image processor 310 .
  • the original-parameter calculator 312 waits for an input of an instruction to adjust the image quality from the viewer.
  • the original-parameter calculator 312 receives the instruction to adjust the image quality from the viewer, calculates the original parameter in accordance with that instruction, and outputs the calculated original parameter to the selector 309 .
  • the selector 309 receives the original parameter and outputs it to the screen-display filter 308 .
  • the selector 309 may switch the filter parameter in response to the instruction to adjust the image quality. For example, when the original parameter in which its associated filter strength is lower than the filter strength associated with the standard parameter is preset, the selector 309 may switch the filter parameter.
  • step S 1108 the screen-display filter 308 receives the original parameter calculated in step S 1107 and updates the filter parameter.
  • the filter parameter updated in step S 1108 is applied to from decoded image data (macroblock) that will be subjected to filtering next.
  • the standard parameter is displayed as the image blur information 403 .
  • the filter strength associated with the original parameter can be displayed.
  • the decoding apparatus displays the image blur information 403 including the meter indicating the filter strength and the warning message indicating that image blurring occurs together with an image being reproduced.
  • the decoding apparatus adjusts the filter strength in response to an instruction to adjust the image quality from a viewer.
  • the decoding apparatus performs deblocking filtering using the standard parameter corresponding to the filter strength contained in movie image data in the post-filter 306 and stores the obtained decoded image data in the memory 307 to allow it to be used in inter-frame compensation.
  • the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for.
  • the filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • FIG. 5 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment.
  • the decoding apparatus illustrated in FIG. 5 includes an entropy decoder 501 , an inverse quantizer 502 , an inverse orthogonal transformer 503 , a compensator 504 , a standard-parameter calculator 505 , a post-filter 506 , an original filter 507 , and a memory 508 .
  • the decoding apparatus illustrated in FIG. 5 further includes a selector 509 , an image processor 510 , an image display 511 , a block-distortion detector 512 , and an original-parameter calculator 513 .
  • the decoding apparatus also decodes encoded first frame data, as in the first embodiment.
  • the decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • an operation of the original-parameter calculator 513 is substantially the same as that of the original-parameter calculator of each of the second and third embodiments.
  • the original filter 507 performs deblocking filtering using the original parameter and outputs the decoded image data subjected to filtering to the selector 509 .
  • the post-filter 506 performs deblocking filtering on the decoded image data using the standard parameter calculated by the standard-parameter calculator 505 and outputs the decoded image data subjected to filtering to the selector 509 .
  • the selector 509 selects one of the output subjected to filtering using the standard parameter from the post-filter 506 and the output subjected to filtering using the original parameter from the original filter 507 and outputs the selected image data to the image processor 510 as that to be reproduced.
  • processing in each of the portions is performed by hardware.
  • the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing.
  • FIG. 12 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • steps S 1201 and S 1202 are substantially the same as the processing of steps S 701 to S 707 illustrated in FIG. 7 , and the description thereof is not repeated here.
  • the original filter 507 performs deblocking filtering on the decoded image data using the original parameter calculated by the original-parameter calculator 513 .
  • the selector 509 selects one of the decoded image data subjected to filtering using the standard parameter and that using the original parameter as image data to be displayed.
  • One example of selection performed by the selector 509 is selection based on block distortion information indicating block distortion of each decoded image data subjected to filtering detected by the block-distortion detector 512 .
  • the block distortion information is described above in the second embodiment.
  • Another example is selection by a viewer using a remote controller in accordance with image blur information displayed on the display screen.
  • the image blur information is described above in the third embodiment.
  • the above-described selecting ways may be combined.
  • the image display 511 may display the image blur information together with the decoded image data subjected to filtering.
  • the selector 509 may select the decoded image data to be displayed in accordance with the block distortion information unless an instruction to adjust the image quality is input from the user.
  • the selector 509 may select the decoded image data to be displayed in response to the instruction. In such a manner, the selector 509 can select decoded image data subjected to filtering to be displayed using various methods.
  • step S 1205 the selector 509 , which makes selection in step S 1204 , outputs the decoded image data to be displayed to the image processor 510 .
  • the image processor 510 receives the decoded image data and performs image processing on it.
  • the image display 511 displays the image.
  • step S 1206 the block-distortion detector 512 detects block distortion in the decoded image data output from the image processor 510 and outputs the block distortion information to the original-parameter calculator 513 .
  • a method for detecting block distortion is described above in the second embodiment.
  • step S 1207 the original-parameter calculator 513 calculates the original parameter in accordance with the block distortion information output in step S 1206 .
  • the original-parameter calculator 513 outputs the calculated original parameter to the original filter 507 .
  • the original filter 507 updates the original parameter.
  • the two filters in the present embodiment can share a large amount of hardware. This is because filtering operations having different filtering advantages are performed in parallel with one another in the post-filter 506 . Accordingly, as illustrated in FIG. 6 , a configuration that outputs two types of decoded images using two kinds of parameters can be provided.
  • the selector 509 selects one of decoded image data subjected to deblocking filtering using the standard parameter and that using the original parameter as image data to be displayed.
  • the post-filter 506 performs deblocking filtering using the standard parameter and stores the obtained decoded image data in the memory 508 to allow it to be used in inter-frame compensation.
  • the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side can be compensated for.
  • the filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • deblocking filtering is performed on a macroblock basis.
  • deblocking filtering may be performed on another basis.
  • Varying combinations of elements described in the second to fourth embodiments can be used in setting an original parameter, selecting a filter parameter, and selecting decoded image data subjected to filtering.
  • the present invention is not limited to this case.
  • the present invention is also applicable to an encoding system that performs post-filtering, such as VC-1 or AVS.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A selector selects one of a standard parameter corresponding to a filter strength contained in input movie image data and an original parameter originally set at the decoding side as a filter parameter to be used. A screen-display filter performs deblocking filtering using the filter parameter selected by the selector on decoded movie image data. A post-filter performs deblocking filtering using the standard parameter and stores the obtained decoded image data in a memory to allow it to be used in inter-frame compensation.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of application Ser. No. 12/468,207 filed May 19, 2009 that claims the benefit of Japanese Patent Application No. 2008-135682 filed May 23, 2008, both of which are hereby incorporated by reference in their entirety.
  • BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to a technique for decoding encoded movie image data and, more specifically, compensation for excess or deficiency of filtering.
  • 2. Description of the Related Art
  • There are techniques for encoding (compressing) and decoding (decompressing) movie image data to efficiently store and transmit digital images having an enormous amount of data. In Japan, as well as other countries, various encoding systems, including the motion picture experts group phase 2 (MPEG-2) used in digital terrestrial television broadcasting and H.264 standardized by the international telecommunication union telecommunication standardization sector (ITU-T), are used.
  • In particular, in encoding systems, such as H.264 and the audio video coding standard (AVS), post-filtering (deblocking filtering) is performed in order to eliminate block distortion caused by, for example, quantization executed during encoding of an image. Deblocking filtering (also known as smoothing filtering) is filtering for smoothing pixel values of pixels at a boundary of blocks into which a frame is divided, in accordance with a filter strength set in encoding.
  • For example, Japanese Patent Laid-Open No. 2008-048181 describes a technique for reducing block distortion by changing pixel values across an edge of blocks into which movie image data is divided through horizontal and vertical deblocking filtering.
  • However, depending on the filter strength of a smoothing filter set at the encoding side, an excessive removal of a high-frequency component of an image by filtering may result in image blurring, or filtering may be unable to offer sufficient advantages.
  • One such example case is the case where a user sets the filter strength for use in deblocking filtering higher than necessary in obtaining a movie image although there is no need of deblocking filtering (block distortion does not occur). In this case, if deblocking filtering is performed in accordance with the filter strength set in obtaining an image, a high-frequency component of the image would be excessively removed, resulting in the occurrence of image blurring.
  • SUMMARY OF THE INVENTION
  • An embodiment of the present invention provides compensation for excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side.
  • According to an aspect of the present invention, a decoding apparatus for decoding encoded first frame data and decoding encoded second frame data on the basis of difference information indicating a difference between the first frame data subjected to smoothing using a first parameter and unsmoothed second frame data is provided. The decoding apparatus includes a decoding unit, a first smoothing unit, and a second smoothing unit. The decoding unit is configured to decode the encoded first frame data. The first smoothing unit is configured to, when the decoding apparatus sets a second parameter, perform smoothing using the second parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reproduction first frame data to be reproduced for displaying. The second smoothing unit is configured to perform smoothing using the first parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reference first frame data for use in reference in decoding the encoded second frame data. The decoding unit is configured to refer to the reference first frame data, which is obtained by smoothing using the first parameter performed by the second smoothing unit, and decode the encoded second frame data on the basis of the difference information indicating the difference between the first frame data subjected to smoothing using the first parameter and the unsmoothed second frame data.
  • Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram that illustrates a decoding apparatus according to a first embodiment of the present invention.
  • FIG. 2 is a block diagram that illustrates a decoding apparatus according to a second embodiment of the present invention.
  • FIG. 3 is a block diagram that illustrates a decoding apparatus according to a third embodiment of the present invention.
  • FIG. 4 illustrates an example of a screen that displays image blur information according to the third embodiment.
  • FIG. 5 is a block diagram that illustrates a decoding apparatus according to a fourth embodiment of the present invention.
  • FIG. 6 illustrates sharing of filter hardware according to the fourth embodiment.
  • FIG. 7 is a flowchart that illustrates an operation of the decoding apparatus according to the first embodiment.
  • FIG. 8 is a flowchart that illustrates an intra/inter frame compensation process.
  • FIG. 9 is a flowchart that illustrates a post-filtering process in the standard mode.
  • FIG. 10 is a flowchart that illustrates an operation of the decoding apparatus according to the second embodiment.
  • FIG. 11 is a flowchart that illustrates an operation of the decoding apparatus according to the third embodiment.
  • FIG. 12 is a flowchart that illustrates an operation of the decoding apparatus according to the fourth embodiment.
  • DESCRIPTION OF THE EMBODIMENTS
  • FIG. 1 illustrates an example configuration of a decoding apparatus according to a first embodiment of the present invention in the form of a block diagram. The decoding apparatus according to the present embodiment is a decoding apparatus that decodes frame data constituting movie image data and may be contained in a digital television, for example. The present invention can also be an apparatus for decoding frame data constituting movie image data contained in a device other than a digital television, such as a personal computer, a work station, a notebook personal computer (PC), a palmtop PC, a decoder, a household electrical appliance installing a computer, a game machine, and a cellular phone, and alternatively, can also be any combination of decoding apparatuses of devices selected from the above-mentioned example devices.
  • The decoding apparatus illustrated in FIG. 1 includes an entropy decoder 101, an inverse quantizer 102, an inverse orthogonal transformer 103, a compensator 104, a standard-parameter calculator 105, a post-filter 106, and a memory 107. The decoding apparatus illustrated in FIG. 1 further includes a screen-display filter 108, a selector 109, an image processor 110, and an image display 111. The standard-parameter calculator 105 calculates a standard parameter being a filter parameter that is for use in deblocking filtering and that conforms to a standardized encoding system (e.g., H.264). The details will be described below.
  • The entropy decoder 101 receives encoded movie image data and performs variable-length decoding or arithmetical decoding on the received movie image data. Movie image data input into the entropy decoder 101 may be an image stream distributed through streaming, and alternatively, may also be image data recorded on a recording medium. The entropy decoder 101 obtains an encoding parameter, such as a motion vector, a quantization scale value, a macroblock type, and a filter strength for use in a deblocking filter, and a quantized orthogonal transform coefficient from the input movie image data and outputs them to the inverse quantizer 102. In the present embodiment, the encoding parameter is output to the inverse quantizer 102 together with the quantized orthogonal transform coefficient. Alternatively, the encoding parameter may also be transmitted through a route different from a route for the orthogonal transform coefficient so as to be in time for processing at a later stage.
  • The inverse quantizer 102 performs inverse quantization on the quantized orthogonal transform coefficient input from the entropy decoder 101 using the quantization scale value and outputs the processed orthogonal transform coefficient to the inverse orthogonal transformer 103. The inverse orthogonal transformer 103 performs inverse orthogonal transform (integer transform) on the input orthogonal transform coefficient and thus generates a prediction error block, and outputs the prediction error block to the compensator 104.
  • The compensator 104 determines whether data corresponding to the prediction error block input from the inverse orthogonal transformer 103 is a macroblock subjected to intra-frame prediction or a macroblock subjected to inter-frame prediction by, for example, referring to information indicating the macroblock type. The macroblock used here indicates a block consisting of 16×16 pixels. The compensator 104 performs either one of intra-frame compensation and inter-frame compensation depending on the determination.
  • In intra-frame compensation, the compensator 104 reads reference pixels for use in intra-frame compensation (hereinafter referred to as intra-frame compensation reference pixels) from the memory 107 and generates a reference block for use in intra-frame compensation (hereinafter referred to as an intra-frame compensation reference block) conforming to the intra-frame prediction mode. The intra-frame compensation reference pixels are pixel data of a block before deblocking filtering is performed on a decoded image in the same frame. The compensator 104 adds the generated intra-frame compensation reference block and a prediction error block being an output from the inverse orthogonal transformer 103 together and thus obtains compensated decoded image data. The compensator 104 outputs the obtained decoded image data to the standard-parameter calculator 105, the post-filter 106, and the screen-display filter 108. The compensator 104 causes the memory 107 to store the compensated decoded image data to allow it to be used in intra-frame compensation.
  • In inter-frame compensation, the compensator 104 reads reference pixels for use in inter-frame compensation (hereinafter referred to as inter-frame compensation reference pixels) from the memory 107 and generates a reference block for use in inter-frame compensation (hereinafter referred to as an inter-frame compensation reference block) according to the motion vector and the encoding mode. The inter-frame compensation reference pixels are pixel data of a block in which deblocking filtering is performed on a decoded image in frames having different reproduction times.
  • The compensator 104 adds the generated inter-frame compensation reference block and a prediction error block being an output from the inverse orthogonal transformer 103 together and thus obtains compensated decoded image data. The compensator 104 outputs the obtained compensated decoded image data to the standard-parameter calculator 105, the post-filter 106, and the screen-display filter 108. The compensator 104 causes the memory 107 to store the compensated decoded image data as the intra-frame compensation reference pixel.
  • In H.264, frame data (e.g., a macroblock in a frame) can be encoded using difference information indicating the difference from reference frame data (e.g., a macroblock in another frame). In such a case, the reference frame data is frame data subjected to deblocking filtering using the standard parameter being a filter parameter conforming to the encoding system. The decoding apparatus decodes the above-described frame data using information indicating the difference between the reference frame data subjected to deblocking filtering using the standard parameter and the frame data generated in encoding and being a target of decoding.
  • That is, a part from the entropy decoder 101 to the compensator 104 in the present embodiment constitutes a unit configured to decode encoded first frame data. Also, a part from the entropy decoder 101 to the compensator 104 in the present embodiment constitutes a unit configured to decode encoded second frame data on the basis of information indicating the difference between first frame data smoothed using a first parameter and second unsmoothed frame data. The first parameter indicates the standard parameter, the first frame data indicates the reference frame data, and smoothing indicates filtering.
  • The standard-parameter calculator 105 and the post-filter 106 perform post-filtering (deblocking filtering) on the compensated decoded image data output from the compensator 104.
  • The standard-parameter calculator 105 calculate a filter parameter for each macroblock using the decoded image data subjected to intra/inter-frame compensation and the filter strength (including execution and non-execution of filtering) contained in the movie image data received from the compensator 104. The filter parameter calculated by the standard-parameter calculator 105 is a filter parameter that conforms to a standardized encoding system (e.g., H.264) and that is for use in deblocking filtering (standard parameter). In other words, the standard parameter is determined by the filter strength contained in movie image data input into the decoding apparatus and information for each macroblock, and the standard parameter is not changed by the decoding apparatus.
  • The standard-parameter calculator 105 outputs the calculated standard parameter to the post-filter 106 and the selector 109, which will be described below. In such a manner, deblocking filtering is performed on a macroblock basis in the present embodiment. Alternatively, filtering may also be performed on another basis (e.g., in units of 4×4 pixels) other than a macroblock basis. In other words, the standard-parameter calculator 105 can calculate a filter parameter in units in filtering (e.g., 4×4 pixels).
  • The post-filter 106 performs deblocking filtering on the compensated decoded image data received from the compensator 104 using the standard parameter received from the standard-parameter calculator 105.
  • One example of deblocking filtering is processing for smoothing pixel values of pixels at a boundary in the vertical direction of a macroblock in accordance with pixel values of neighboring pixels lying across the boundary. In this processing, for example, the value obtained by dividing by six the sum of a weighted value in which a pixel value being an output in filtering is multiplied by four and an unweighted value of a pixel value of each of neighboring pixels lying at right and left sides is a pixel value after filtering. The degree of weighting for a pixel and the number of pixels used in filtering vary with the filter strength or other factors. The post-filter 106 causes the memory 107 to store decoded image data in which block distortion is reduced to allow it to be used for inter-frame compensation.
  • The post-filter 106 smoothes (filters) first frame data (decoded image data) decoded through the entropy decoder 101 to the compensator 104, using the first parameter (standard parameter). Then, the post-filter 106 outputs, to the memory 107, the reference first frame data for use in reference in decoding the encoded second frame data (image data in a frame that is to be decoded later).
  • The post-filter 106 smoothes pixel information for pixels at a boundary between a plurality of blocks (macroblocks) constituting the first frame data (decoded image data).
  • In FIG. 1, the memory 107 stores both of a reference pixel for use in inter-frame compensation and that for use in intra-frame compensation. However, this memory is not necessarily required to be a single memory. The decoding apparatus can have different memories for use in inter-frame compensation and intra-frame compensation. The same applies to the embodiments described below.
  • The selector 109 selects either one of the standard parameter received from the standard-parameter calculator 105 and an original parameter set in the decoding apparatus and outputs the selected filter parameter to the screen-display filter 108. A method for selecting a filter parameter for use in the selector 109 will be described below.
  • The screen-display filter 108 performs deblocking filtering on the decoded image data received from the compensator 104 using the filter parameter selected by the selector 109 and outputs the decoded image data subjected to filtering to the image processor 110. When the standard parameter is selected, the output of the post-filter 106 and the output of the screen-display filter 108 are the same.
  • The image processor 110 performs image processing, such as color-space transform and filtering for improving the image quality, on the decoded image data subjected to filtering received from the screen-display filter 108 and outputs the processed data to the image display 111. The image display 111 displays the decoded image data subjected to image processing received from the image processor 110. In such a way, when the selector 109 selects the standard parameter output from the standard-parameter calculator 105, decoded image data conforming to the standard encoding system is displayed. In contrast, when the selector 109 selects the original parameter, decoded image data subjected to deblocking filtering in accordance with the original parameter is displayed.
  • When a second parameter is set in the decoding apparatus, the screen-display filter 108 smoothes first frame data decoded through the entropy decoder 101 to the compensator 104, using the second parameter, and outputs reproduction first frame data to be reproduced. The second parameter used here indicates an original parameter, and smoothing indicates filtering.
  • The screen-display filter 108 smoothes pixel information for pixels at a boundary between a plurality of blocks (macroblocks) constituting the first frame data (decoded image data).
  • In such a way, the decoding apparatus according to the present embodiment includes two filters: the post-filter 106 for performing filtering to obtain decoded image data for inter-frame compensation and the screen-display filter 108 for performing filtering to obtain decoded image data to be displayed.
  • The reason why the decoding apparatus includes two filters is described below. To prevent image blurring caused by deblocking filtering, one possible approach is to decrease the filter strength set in encoding (or to set filtering such that it will not be performed) in the decoding apparatus. However, in an encoding system such as H.264, for example, data of a frame subjected to deblocking filtering is used as data for use in inter-frame compensation to decode data of another frame. That is, encoding is performed such that the filter parameter is determined according to the filter strength on the basis of the difference value between data being a target for encoding (e.g., a macroblock) and the reference data subjected to deblocking filtering. Thus, if the filter strength is changed in a traditional decoding apparatus, data of a frame subjected to filtering using the changed filter strength is referred to in decoding data of another frame. For example, if the setting is changed during decoding such that filtering will not be performed, data that is not subjected to filtering is undesirably used as the reference data in decoding. Once the setting has been changed such that filtering will not be performed, even if the setting is reset such that filtering will be performed, data that is not subjected to filtering is referred to thereafter. Accordingly, for example, even a frame that is not inter-frame compensated may be unable to be converted back into an image conforming to the standard mode. In other words, even if the filter strength changed once during decoding is reset, it may take much time to obtain an image conforming to the standard mode.
  • The decoding apparatus according to the present embodiment includes two filters of the post-filter 106 for performing filtering to obtain decoded image data for use in inter-frame compensation and the screen-display filter 108 for performing filtering to obtain decoded image data to be displayed. In such a way, the decoded image data for use in inter-frame compensation can be prevented from being changed by the changing of the filter strength.
  • Next, a process performed in the portions of the decoding apparatus according to the present embodiment from when movie image data is input into the entropy decoder 101 to when the movie image data is displayed on the image display 111 is described with reference to the flowchart illustrated in FIG. 7.
  • In the present embodiment, processing in each of the portions described using FIG. 1 is performed by hardware. Alternatively, the processing can also be performed by software. That is, a central processing unit (CPU) controlling the decoding apparatus can carry out the functions of each portion illustrated in FIG. 1 by reading a control program stored in computer-readable storage medium, for example, a read-only memory (ROM) to a memory used to execute the program (e.g., a random-access memory (RAM)) and performing processing. FIG. 7 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software. In the present embodiment, a series of steps performed on a macroblock basis is described by way of example. However, as previously described, the steps may also be performed on another basis.
  • In step S701, the entropy decoder 101 receives encoded movie image data. The movie image data may be received through any process. For example, the movie image data may be read from the memory, or alternatively, may also be directly input from an interface.
  • In step S702, the entropy decoder 101 decodes the encoded movie image data received in step S701 and thus obtains desired data. More specifically, in step S703, the entropy decoder 101 obtains, from the encoded movie image data, an encoding parameter, such as a macroblock type, a motion vector, a quantization scale value, and a filter strength for use in a deblocking filter. In step S704, the entropy decoder 101 obtains quantized orthogonal transform coefficient from the encoded movie image data. The data obtained in steps S703 and S704 is output to the inverse quantizer 102.
  • In step S705, the inverse quantizer 102 performs inverse quantization with the quantized orthogonal transform coefficient using the quantization scale value received from the entropy decoder 101. In step S705, the inverse orthogonal transformer 103 performs inverse orthogonal transform, such as inverse integer transform or inverse discrete cosine transform (IDCT), in units of 4×4 pixels or 8×8 pixels.
  • In step S706, the compensator 104 performs inter/intra-frame compensation and thus obtains decoded image data. That is, encoded first frame data is decoded through steps S702 to S706 (decoding step).
  • The details of step S706 are described using FIG. 8. FIG. 8 is a flowchart that corresponds to compensation performed by the compensator 104 in step S706 illustrated in FIG. 7. In step S801, the compensator 104 refers to the macroblock type obtained in the entropy decoder 101 and determines whether the image data (macroblock) to be compensated for is an intra-predicated macroblock or an inter-predicated macroblock. When the compensator 104 determines that it is an intra-predicated macroblock, flow proceeds to step S802. In step S802, the compensator 104 reads a group of intra-frame compensation reference pixels from the memory 107, and flow proceeds to step S803. In step S803, the compensator 104 generates an intra-frame compensation reference block in accordance with the intra-frame prediction mode from the group of intra-frame compensation reference pixels read in step S802. The compensator 104 adds the generated intra-frame compensation reference block and the prediction error block output from the inverse orthogonal transformer 103 in step S705 illustrated in FIG. 7 together and thus obtains decoded image data. In step S804, the compensator 104 stores the decoded image data obtained in step S803 in the memory 107 as that for use in intra-frame prediction for image data to be compensated for later.
  • In step S801, when the compensator 104 determines that the image data (macroblock) to be compensated for is an inter-predicated macroblock, flow proceeds to step S805. In step S805, the compensator 104 reads a group of reference pixels corresponding to information on the motion vector obtained in step S703 illustrated in FIG. 7 from the memory 107 as inter-frame compensation reference pixels, and flow proceeds to step S806. The inter-frame compensation reference pixels are pixel data of a block in which deblocking filtering is performed on a decoded image of frames having different reproduction times.
  • In step S806, the compensator 104 generates an inter-frame compensation reference block according to the motion vector and the encoding mode from the group of inter-frame compensation reference pixels read in step S805. The compensator 104 adds the generated inter-frame compensation reference block and the prediction error block output from the inverse orthogonal transformer 103 in step S705 illustrated in FIG. 7 together and thus obtains decoded image data. The compensator 104 stores the decoded image data in the memory 107 as that for use in intra-frame prediction of image data to be compensated for later.
  • That is, the compensator 104 performs intra-frame compensation in step S803 in accordance with an intra-frame compensation reference pixel stored in the memory 107. The compensator 104 performs inter-frame compensation in step S806 in accordance with an intra-frame compensation reference pixel stored in the memory 107. As previously described, the intra-frame compensation reference pixel is pixel data of a block before deblocking filtering is performed, and the inter-frame compensation reference pixel is pixel data of a block in which deblocking filtering is performed using the standard parameter. The compensator 104 outputs the decoded image data to the standard-parameter calculator 105, the post-filter 106, the screen-display filter 108, and the memory 107.
  • In other words, the compensator 104 decodes encoded image data (second frame data) in step S805 in the way described below. The compensator 104 refers to the reference first frame data smoothed using the standard parameter (first parameter). The second frame data has been encoded on the basis of information indicating the difference between the image data (the first frame data) subjected to smoothing (filtering) using the first parameter and unsmoothed second frame data. The compensator 104 decodes the second frame data encoded in this way in the manner described above. Smoothing used here indicates filtering.
  • In step S707 illustrated in FIG. 7 (second smoothing step), the standard-parameter calculator 105 and the post-filter 106 perform deblocking filtering. The details of step S707 are described with reference to FIG. 9. FIG. 9 is a flowchart corresponding to deblocking filtering performed by the standard-parameter calculator 105 and the post-filter 106 in step S707 illustrated in FIG. 7. In step S901, the standard-parameter calculator 105 calculates a standard parameter using the decoded image data and the filter strength received from the compensator 104. The standard parameter is a filter parameter that is for use in a deblocking filter and that conforms to the standard encoding system. The filter strength is contained in the movie image data.
  • The standard-parameter calculator 105 outputs the calculated standard parameter to the post-filter 106 and the selector 109. The post-filter 106 performs deblocking filtering on the decoded image data using the standard parameter received from the standard-parameter calculator 105. This processing corresponds to step S902. Then in step S903, the post-filter 106 causes the memory 107 to store the decoded image data subjected to filtering to allow it to be used in inter-frame compensation.
  • That is, in step S707 illustrated in FIG. 7, the post-filter 106 smoothes (performs filtering on) the decoded image data (first frame data) using the first parameter (standard parameter) calculated by the standard-parameter calculator 105 and outputs, to the memory 107, reference first frame data for use in reference in decoding image data to be displayed later (second frame data). The processing of steps S702 to S707 indicates a typical decoding process (S800).
  • In step S708, the selector 109 selects one of the standard parameter and the original parameter as the filter parameter to be output to the screen-display filter 108 in accordance with the standard parameter output by the standard-parameter calculator 105 and the decoded image data.
  • One example in which the selector 109 selects the original parameter set in the decoding apparatus is the case where it is determined that the standard parameter exceeds a preset threshold value. When a significantly high filter strength is set, the selector 109 determines that a high-frequency component would be excessively decreased. Then, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is lower than that associated with the standard parameter and outputs it to the screen-display filter 108. In contrast, the selector 109 can also select the original parameter when the standard parameter is smaller than a preset threshold value. When a significantly low filter strength is set (or it is set such that filtering will not be performed), the selector 109 determines that block distortion would occur. Then, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is higher than that associated with the standard parameter and outputs it to the screen-display filter 108.
  • Another example case in which the selector 109 selects the original parameter is the case where there are many frames encoded using intra-frame prediction because of the ease of editing. This is because, in H.264, intra-frame predicted image data is encoded such that greater advantages brought by deblocking filtering are obtainable. In such a case, the selector 109 selects the original parameter such that the filter strength associated with the original parameter is lower than that associated with the standard parameter and outputs it to the screen-display filter 108. In contrast, when it is determined that there are many frames encoded using inter-frame prediction, the selector 109 may select the original parameter such that the filter strength associated therewith is increased.
  • Still another example case in which the selector 109 selects the original parameter is the case where movie image data having a significantly large high-frequency component (e.g., a movie image of a forest having dead leaves mixed therein) is input. In such a case, the selector 109 determines that degradation in the image quality in image blurring would be subjectively more noticeable than that in block distortion, selects the original parameter to have a filter strength lower than the standard parameter, and outputs it to the screen-display filter 108. In contrast, when it is determined that a high-frequency component is small, the selector 109 may select the original parameter such that the filter strength is increased.
  • For example, the selector 109 refers to a change in pixel information within a decoded macroblock. Then, when the change in the pixel information is large, the original parameter is set such that the filter strength is reduced.
  • The selector 109 according to the present embodiment selects the original parameter when the above-described movie image data is input, so greater advantages of improving the subjective image quality brought by reduction in image blurring are obtainable.
  • Examples of the standard parameter and the original parameter are described here. It is assumed that the standard parameter is a parameter setting the value obtained by dividing by three the sum of a pixel value of a pixel that is a target for deblocking filtering and a pixel value of each of left and right pixels adjacent to the target pixel as the pixel value after filtering. One example of the original parameter enabling the filter strength associated therewith to be lower than the filter strength associated with that standard parameter is discussed below. One example of the original parameter is a parameter setting the value obtained by dividing by six the sum of a weighted pixel value in which a pixel value of a pixel being a target for deblocking filtering is multiplied by four and a pixel value of neighboring left and right pixel values as the pixel value after filtering. In such a case, when the original parameter is selected and filtering is performed using that original parameter, compared with when filtering is performed using the standard parameter, the effect of the original pixel value of a pixel being a target for filtering can remain more largely. Accordingly, a high-frequency component can be prevented from being excessively removed.
  • Other examples of the standard parameter and the original parameter are described below. For example, it is assumed that the standard parameter is a parameter setting the value obtained by dividing by five the sum of a pixel value of a pixel being a target for filtering and pixel values of two pixels left to the target pixel and two pixels right to the target pixel as the pixel value after filtering. One example of the original parameter enabling the filter strength associated therewith to be lower than the filter strength associated with the standard parameter is a parameter setting the value obtained by dividing by three the sum of a pixel value of a pixel being a target for deblocking filtering and pixel values of one pixel left to the target pixel and one pixel right to the target pixel as the pixel value after filtering. In such a case, when the original parameter is selected and filtering is performed using that original parameter, compared with when filtering is performed using the standard parameter, the effect of the original pixel value of a pixel being a target for filtering can remain more largely. Accordingly, a high-frequency component can be prevented from being excessively removed.
  • In such a manner, the strength of a filter can be changed by changing the number of pixels for use in deblocking filtering (range) and the degree of weighting a pixel value to be added.
  • The original parameter according to the present embodiment may be set such that the filter strength associated therewith is higher or lower than the filter strength associated with the standard parameter calculated by and received from the standard-parameter calculator 105 after the standard parameter is received. Alternatively, the original parameter may be a filter parameter according to a preset filter strength.
  • In the present embodiment, either one of the standard parameter and the original parameter is selected in accordance with the standard parameter and the decoded image data. However, alternatively, the original parameter may be set in accordance with the decoded image data. In this case, for example, the selector 109 may set the original parameter in accordance with the strength of a high-frequency component of the above-described decoded image data (the magnitude of a change in pixel information). The selector 109 may refer to a change in pixel information within a decoded macroblock and set the original parameter in accordance with the magnitude of the change in the pixel information.
  • In other words, the selector 109 may set the second parameter (original parameter) in accordance with characteristic information for decoded first frame data (the magnitude of a change in pixel information) calculated from the decoded first frame data (decoded image data).
  • As described above, the magnitude of a change in the pixel information is information regarding a change in pixel information in each of a plurality of blocks (macroblocks) constituting the first frame data. When the magnitude of the change in the pixel information within a macroblock is large, the selector 109 may set the second parameter (original parameter) such that the strength of smoothing (filtering) is reduced.
  • In step S709 (first smoothing step), the screen-display filter 108 performs deblocking filtering on the decoded image data received from the compensator 104 using the filter parameter received from the selector 109. In step S710, the screen-display filter 108 outputs the decoded image data subjected to filtering to the image processor 110.
  • As previously described, the image processor 110 performs image processing, such as color-space transform and processing for improving the image quality, on the decoded image data received from the screen-display filter 108 and outputs the processed image data to the image display 111. The image display 111 displays the image data subjected to image processing received from the image processor 110.
  • In step S709, when the second parameter is set in step S708, the screen-display filter 108 smoothes the first frame data (decoded image data) using that second parameter and outputs the reproduction first frame data. Here, the second parameter indicates the original parameter, and smoothing indicates filtering.
  • As described above, in the decoding apparatus according to the present embodiment, the selector 109 selects one of the standard parameter according to the filter strength contained in input movie image data and the original parameter set in the decoding apparatus. The screen-display filter 108 performs deblocking filtering on the decoded image data using the filter parameter set by the selector 109. In addition, the post-filter 106 performs deblocking filtering using the standard parameter. The decoded image data subjected to filtering is stored in the memory 107 as that for use in inter-frame compensation.
  • In such a way, the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for. The filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • In the present embodiment, when the selector 109 selects the standard parameter, the screen-display filter 108 performs deblocking filtering on the decoded image data using the standard parameter. However, alternatively, when the standard parameter is selected, the decoded image data subjected to deblocking filtering performed by the post-filter 106 may be output to the image processor 110 as that for reproduction.
  • When the second parameter (original parameter) is not set in the decoding apparatus, the post-filter 106 smoothes (performs filtering on) the first frame data decoded by the compensator 104 using the first parameter (standard parameter) and outputs the obtained frame data as the first frame data for reproduction.
  • In such a way, processing of the screen-display filter 108 can be omitted.
  • The selector 109 in the present embodiment is described above primarily with respect to selection of the standard parameter or the original parameter in accordance with the value of the standard parameter obtained from the decoded image data, the macroblock type, the high-frequency component, and other factors. However, alternatively, the selector 109 of the decoding apparatus illustrated in FIG. 1 can also switch a filter parameter in accordance with characteristics of decoded image data subjected to deblocking filtering or an instruction from a user. The selector 109 can also change the original parameter in accordance with characteristics of decoded image data or an instruction from a user. The details are described below in second and subsequent embodiments.
  • Next, a description is given of a second embodiment of the present invention, focusing on differences from the first embodiment.
  • In the second embodiment, the case where the original parameter is adjusted in accordance with decoded image data subjected to deblocking filtering is described. FIG. 2 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment. The decoding apparatus illustrated in FIG. 2 includes an entropy decoder 201, an inverse quantizer 202, an inverse orthogonal transformer 203, a compensator 204, a standard-parameter calculator 205, a post-filter 206, and a memory 207. The decoding apparatus illustrated in FIG. 2 further includes a screen-display filter 208, a selector 209, an image processor 210, an image display 211, a block-distortion detector 212, and an original-parameter calculator 213.
  • The decoding apparatus according to the present embodiment also decodes encoded first frame data, as in the first embodiment. The decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • In the present embodiment, the block-distortion detector 212 determines whether block distortion occurs in the decoded image data subjected to deblocking filtering performed by the screen-display filter 208 and outputs the determination as block distortion information to the original-parameter calculator 213.
  • The original-parameter calculator 213 calculates an original parameter in accordance with the block distortion information output from the block-distortion detector 212 and outputs the original parameter to the selector 209 as the filter parameter for use in decoded image data to be subjected to deblocking filtering later.
  • The original-parameter calculator 213 sets the second parameter (original parameter) in accordance with characteristics information (block distortion information) for the reproduction first frame data calculated from the reproduction first frame data subjected to smoothing (filtering). The second parameter is for obtaining reproduction second frame data (image data to be decoded later) and is a filter parameter for use in smoothing the second frame data decoded through the entropy decoder 201 to the compensator 204.
  • One example method for determining whether block distortion occurs in the block-distortion detector 212 is a determination method using the difference between pixel values of pixels at the boundary of blocks of decoded image data subjected to filtering. When receiving decoded image data subjected to deblocking filtering from the screen-display filter 208, the block-distortion detector 212 calculates the difference between two pixel values lying across the boundary of macroblocks in that decoded image data, for example. The block-distortion detector 212 determines that block distortion occurs when the difference between pixel values of pixels at the boundary is within a preset range.
  • To calculate the difference between pixel values of pixels lying across the boundary with respect to all pixels lying at the boundary of macroblocks, the sum total of differences of pixel values, the maximum value, and the mean value can be used in comparison with a threshold value. When all differences between pixel values lying across the boundary of macroblocks are calculated and those differences are correlated, it may be determined that block distortion occurs. Pixels for use in calculating the difference between pixel values are not limited to two pixels lying across the boundary. A plurality of pixels containing a pixel remote from the boundary may be used as those pixels.
  • Another example method for determining whether block distortion occurs in the block-distortion detector 212 is a determination method using frequency characteristics in decoded image data subjected to filtering. When receiving the decoded image data subjected to deblocking filtering from the screen-display filter 208, the block-distortion detector 212 determines whether the difference is a pixel change that the image intrinsically has or block distortion by referring to frequency characteristics within a predetermined range (e.g., 32×32 pixels). For example, when the periodicity of occurrence of differences between neighboring pixel values is the same as the periodicity of occurrence of boundaries of macroblocks (16 pixels), it can be determined that block distortion occurs. In other words, even when the difference of pixel values is present in the boundary of macroblocks, if the change of pixel values of the image occurs, for example, for each four pixels, it is determined that block distortion does not occur, i.e., the difference is a pixel change that the image intrinsically has. Alternatively, even when the difference of pixel values is present in the boundary of one or several macroblocks, if the change of pixel values of the image occurs, for example, for each 32 pixels, it is determined that block distortion does not occur, i.e., the difference is a pixel change that the image intrinsically has. As described above, even when the change of pixel values is present at the boundary of macroblocks, if it is determined that the change is a pixel change that the image intrinsically has, non-occurrence of block distortion is determined. In such a way, the likelihood of incorrect determination of occurrence of block distortion that should have been identified as a pixel change that the image intrinsically has can be reduced.
  • When the block-distortion detector 212 determines that block distortion occurs in the decoded image data subjected to filtering, the original-parameter calculator 213 sets the original parameter such that filtering will be performed more strongly. When it is determined that block distortion does not occur, the original-parameter calculator 213 sets the original parameter such that filtering will be performed weakly.
  • In other words, when pixel information is changed periodically within first frame data (32×32 pixels), the original-parameter calculator 213 sets the second parameter (original parameter) in accordance with the determination whether the periodic change of the pixel information occurs at the boundary of blocks (macroblocks) constituting the first frame data.
  • When the original-parameter calculator 213 sets the original parameter in accordance with the block distortion information, the selector 209 selects the original parameter. The original parameter set here can be applied to, for example, from decoded image data (macroblock) that will be subjected to filtering next.
  • Next, a process performed in the portions of the decoding apparatus according to the present embodiment from when movie image data is input into the decoding apparatus to when the movie image data is displayed on the image display 211 is described with reference to the flowchart illustrated in FIG. 10.
  • In the present embodiment, processing in each of the portions is performed by hardware. Alternatively, the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing. FIG. 10 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software. The processing of steps S1001 to S1005 is substantially the same as the processing of steps S701 to S710 illustrated in FIG. 7, and the description thereof is not repeated here.
  • In step S1006, the block-distortion detector 212 determines whether block distortion occurs in decoded image data subjected to filtering output from the screen-display filter 208. The block-distortion detector 212 outputs block distortion information indicating the determination to the original-parameter calculator 213. A method for determination whether block distortion occurs is described above. The block distortion information can indicate the degree of occurring block distortion, in addition to the presence or absence of the block distortion. In this case, the original-parameter calculator 213 can calculate the original parameter in accordance with the degree of block distortion.
  • In step S1007 (setting step), the original-parameter calculator 213 calculates the original parameter based on the block distortion information output in step S1006 and outputs the calculated original parameter to the selector 209. When the original parameter is updated according to the block distortion information, the selector 209 selects the original parameter. The original parameter calculated in step S1007 is used as a parameter in deblocking filtering decoded image data (macroblock) to be decoded subsequently. The original-parameter calculator 213 sets the original parameter such that the filter strength associated therewith is lowest within a range in which a viewer cannot recognize block distortion.
  • In other words, in step S1007, the original-parameter calculator 213 sets the second parameter (original parameter) in accordance with characteristics information for reproduction first frame data. The characteristics information for the reproduction first frame data described above is calculated from the reproduction first frame data subjected to smoothing (filtering). The second parameter (original parameter) is used in smoothing to obtain reproduction second frame data (image data to be decoded later) and is a filter parameter for use in smoothing (filtering) the decoded second frame data in step S1002.
  • The original-parameter calculator 213 may also determine the original parameter after referring to sharpness that is preset by a viewer, in addition to the above-described block distortion information. In this case, the image quality suited for preferences of the viewer can be provided.
  • If the block-distortion detector 212 has an additional function of object recognition (object extraction), degradation in the image quality can be prevented by the setting of weakening deblocking filtering at the boundary of the object.
  • As described above, the decoding apparatus according to the present embodiment adjusts the original parameter in accordance with the decoded image data subjected to filtering performed by the screen-display filter 208. The post-filter 206 performs deblocking filtering using the standard parameter in accordance with the filter strength contained in the movie image data, and the obtained decoded image data is stored in the memory 207 as that for use in inter-frame compensation.
  • In such a way, the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for. The filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • Next, a description is given of a third embodiment of the present invention, focusing on differences from the first embodiment. In the third embodiment, the case where the original parameter is adjusted in accordance with an instruction to adjust the image quality from a viewer is described. FIG. 3 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment. The decoding apparatus illustrated in FIG. 3 includes an entropy decoder 301, an inverse quantizer 302, an inverse orthogonal transformer 303, a compensator 304, a standard-parameter calculator 305, a post-filter 306, and a memory 307. The decoding apparatus illustrated in FIG. 3 further includes a screen-display filter 308, a selector 309, an image processor 310, an image display 311, and an original-parameter calculator 312.
  • The decoding apparatus according to the present embodiment also decodes encoded first frame data, as in the first embodiment. The decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • In the present embodiment, the image display 311 displays the status of the standard parameter together with decoded image data subjected to image processing output from the image processor 310.
  • FIG. 4 illustrates an example in which, in response to selection of the standard parameter by the selector 309, decoded image data subjected to deblocking filtering using the standard parameter and the status of the standard parameter are displayed on a screen. Reference numeral 401 denotes a display apparatus including the decoding apparatus illustrated in FIG. 3. The decoded image data subjected to image processing output from the image processor 310 is displayed by the image display 311 on a display screen 402. Image blur information 403 indicating the status of the standard parameter is also displayed on the display screen 402. The image blur information 403 includes a meter indicating the filter strength corresponding to the standard parameter and a warning message informing the occurrence of image blurring. The image blur information 403 is quantitatively shown as information associated with the content of the image.
  • In other words, the image display 311 displays information indicating the strength of smoothing (image blur information) and reproduction first frame data.
  • A viewer recognizes the occurrence of image blurring in a reproduced image caused by filtering using the standard parameter by seeing the meter indicating the filter strength and the reproduced image. The viewer also recognizes that image blurring occurs when the current filter parameter (standard parameter) is used by seeing the warning message. In the present embodiment, both of the meter and the warning message are displayed. However, only one of them may be displayed. In the present embodiment, the meter indicating the filter strength is displayed. However, the meter may indicate a mean value of filter parameters of macroblocks constituting a frame being reproduced.
  • When the viewer sees an image being reproduced and image blur information and, for example, feels that the image quality is noticeably degraded with the standard parameter, the viewer provides an instruction to adjust the image quality in order to eliminate the image blurring using, for example, a remote controller. In response to the instruction to adjust the image quality from the viewer, the original-parameter calculator 312 calculates the original parameter making the filter strength lower and outputs it to the selector 309.
  • The selector 309 receives an instruction to change the strength of smoothing. In response to this instruction to change, the selector 309 sets the second parameter. In other words, when the viewer provides the instruction to adjust the image quality, the selector 309 selects the original parameter, instead of the standard parameter.
  • Next, a process performed in the portions of the decoding apparatus according to the present embodiment from when movie image data is input into the decoding apparatus to when the movie image data is displayed on the image display 311 is described with reference to the flowchart illustrated in FIG. 11.
  • In the present embodiment, processing in each of the portions is performed by hardware. Alternatively, the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing. FIG. 11 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • The processing of steps S1101 to S1104 is substantially the same as the processing of steps S701 to S709 illustrated in FIG. 7, and the description thereof is not repeated here.
  • In step S1105, the screen-display filter 308 creates an animation for displaying, as the image blur information 403, the filter strength associated with the standard parameter. The screen-display filter 308 calculates the degree of the occurring image blur. When the calculated degree is higher than a threshold value, the screen-display filter 308 creates an animation for displaying a warning message. Here, information indicating the degree of the occurring image blur can be calculated using, for example, frequency characteristics of decoded image data subjected to filtering. More specifically, for example, the frequency characteristics of the decoded image data subjected to filtering are referred to. When a change in pixel values at the boundary of blocks is determined to be smaller than a change of pixel values that the image intrinsically has, it is determined that image blurring occurs, and the degree of the occurring image blur can be set high. The filter strength can also be used as the information indicating the degree of the occurring image blur. The screen-display filter 308 may create an animation for displaying a warning message when the filter strength is lower than a threshold value.
  • In step S1106, the screen-display filter 308 combines the image blur information 403 created in step S1105 and the decoded image data subjected to deblocking filtering performed in step S1104 and outputs the composite to the image processor 310. The original-parameter calculator 312 waits for an input of an instruction to adjust the image quality from the viewer.
  • In step S1107, the original-parameter calculator 312 receives the instruction to adjust the image quality from the viewer, calculates the original parameter in accordance with that instruction, and outputs the calculated original parameter to the selector 309. The selector 309 receives the original parameter and outputs it to the screen-display filter 308. The selector 309 may switch the filter parameter in response to the instruction to adjust the image quality. For example, when the original parameter in which its associated filter strength is lower than the filter strength associated with the standard parameter is preset, the selector 309 may switch the filter parameter.
  • In step S1108, the screen-display filter 308 receives the original parameter calculated in step S1107 and updates the filter parameter. The filter parameter updated in step S1108 is applied to from decoded image data (macroblock) that will be subjected to filtering next.
  • In the foregoing description, the standard parameter is displayed as the image blur information 403. When filtering is performed using the original parameter, the filter strength associated with the original parameter can be displayed.
  • As described above, the decoding apparatus according to the present embodiment displays the image blur information 403 including the meter indicating the filter strength and the warning message indicating that image blurring occurs together with an image being reproduced. The decoding apparatus adjusts the filter strength in response to an instruction to adjust the image quality from a viewer. The decoding apparatus performs deblocking filtering using the standard parameter corresponding to the filter strength contained in movie image data in the post-filter 306 and stores the obtained decoded image data in the memory 307 to allow it to be used in inter-frame compensation.
  • In such a way, the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side for movie image data can be compensated for. The filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • Next, a description is given of a fourth embodiment of the present invention, focusing on differences from the first embodiment. In the fourth embodiment, the case where the selector selects one of decoded image data subjected to deblocking filtering using the standard parameter and that using the original parameter as image data to be displayed. FIG. 5 is a block diagram that illustrates a configuration of a decoding apparatus according to the present embodiment.
  • The decoding apparatus illustrated in FIG. 5 includes an entropy decoder 501, an inverse quantizer 502, an inverse orthogonal transformer 503, a compensator 504, a standard-parameter calculator 505, a post-filter 506, an original filter 507, and a memory 508. The decoding apparatus illustrated in FIG. 5 further includes a selector 509, an image processor 510, an image display 511, a block-distortion detector 512, and an original-parameter calculator 513.
  • The decoding apparatus according to the present embodiment also decodes encoded first frame data, as in the first embodiment. The decoding apparatus decodes encoded second frame data on the basis of information indicating the difference between the first frame data subjected to smoothing (filtering) using a first parameter (standard parameter) and unsmoothed second frame data.
  • In the present embodiment, an operation of the original-parameter calculator 513 is substantially the same as that of the original-parameter calculator of each of the second and third embodiments. The original filter 507 performs deblocking filtering using the original parameter and outputs the decoded image data subjected to filtering to the selector 509. The post-filter 506 performs deblocking filtering on the decoded image data using the standard parameter calculated by the standard-parameter calculator 505 and outputs the decoded image data subjected to filtering to the selector 509. The selector 509 selects one of the output subjected to filtering using the standard parameter from the post-filter 506 and the output subjected to filtering using the original parameter from the original filter 507 and outputs the selected image data to the image processor 510 as that to be reproduced.
  • Next, a process performed in the portions of the decoding apparatus according to the present embodiment from when movie image data is input into the decoding apparatus to when the movie image data is displayed on the image display 511 is described with reference to the flowchart illustrated in FIG. 12.
  • In the present embodiment, processing in each of the portions is performed by hardware. Alternatively, the processing can also be performed by software. That is, a CPU controlling the decoding apparatus can carry out the functions of each portion by reading a control program stored in a computer-readable storage medium, for example, a ROM to a memory used to execute the program (e.g., a RAM) and performing processing. FIG. 12 and the description below correspond to steps of processing in the decoding apparatus according to the present embodiment when the processing is carried out by software.
  • The processing of steps S1201 and S1202 is substantially the same as the processing of steps S701 to S707 illustrated in FIG. 7, and the description thereof is not repeated here. In step S1203, the original filter 507 performs deblocking filtering on the decoded image data using the original parameter calculated by the original-parameter calculator 513.
  • In step S1204, the selector 509 selects one of the decoded image data subjected to filtering using the standard parameter and that using the original parameter as image data to be displayed. One example of selection performed by the selector 509 is selection based on block distortion information indicating block distortion of each decoded image data subjected to filtering detected by the block-distortion detector 512. The block distortion information is described above in the second embodiment. Another example is selection by a viewer using a remote controller in accordance with image blur information displayed on the display screen. The image blur information is described above in the third embodiment. The above-described selecting ways may be combined. For example, the image display 511 may display the image blur information together with the decoded image data subjected to filtering. The selector 509 may select the decoded image data to be displayed in accordance with the block distortion information unless an instruction to adjust the image quality is input from the user. When an instruction to adjust the image quality is input from the user, the selector 509 may select the decoded image data to be displayed in response to the instruction. In such a manner, the selector 509 can select decoded image data subjected to filtering to be displayed using various methods.
  • In step S1205, the selector 509, which makes selection in step S1204, outputs the decoded image data to be displayed to the image processor 510. The image processor 510 receives the decoded image data and performs image processing on it. The image display 511 displays the image.
  • In step S1206, the block-distortion detector 512 detects block distortion in the decoded image data output from the image processor 510 and outputs the block distortion information to the original-parameter calculator 513. A method for detecting block distortion is described above in the second embodiment.
  • In step S1207, the original-parameter calculator 513 calculates the original parameter in accordance with the block distortion information output in step S1206. The original-parameter calculator 513 outputs the calculated original parameter to the original filter 507. The original filter 507 updates the original parameter.
  • The two filters in the present embodiment can share a large amount of hardware. This is because filtering operations having different filtering advantages are performed in parallel with one another in the post-filter 506. Accordingly, as illustrated in FIG. 6, a configuration that outputs two types of decoded images using two kinds of parameters can be provided.
  • As described above, in the present embodiment, the selector 509 selects one of decoded image data subjected to deblocking filtering using the standard parameter and that using the original parameter as image data to be displayed. The post-filter 506 performs deblocking filtering using the standard parameter and stores the obtained decoded image data in the memory 508 to allow it to be used in inter-frame compensation.
  • In such a way, the excess or deficiency of filtering resulting from the filter strength of a smoothing filter set at the encoding side can be compensated for. The filter strength of the smoothing filter adjusted at the decoding side for movie image data can be reflected quickly to an image to be reproduced.
  • In the above embodiments, deblocking filtering is performed on a macroblock basis. However, deblocking filtering may be performed on another basis.
  • Varying combinations of elements described in the second to fourth embodiments can be used in setting an original parameter, selecting a filter parameter, and selecting decoded image data subjected to filtering.
  • In the above embodiments, the case is described where the encoding system H.264 is used. However, the present invention is not limited to this case. For example, the present invention is also applicable to an encoding system that performs post-filtering, such as VC-1 or AVS.
  • While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications and equivalent structures and functions.

Claims (1)

1. A decoding apparatus for decoding encoded first frame data and decoding encoded second frame data on the basis of difference information indicating a difference between the first frame data subjected to smoothing using a first parameter and unsmoothed second frame data, the decoding apparatus comprising:
a decoding unit configured to decode the encoded first frame data;
a first smoothing unit configured to, when the decoding apparatus sets a second parameter, perform smoothing using the second parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reproduction first frame data to be reproduced; and
a second smoothing unit configured to perform smoothing using the first parameter on the first frame data decoded by the decoding unit and output the smoothed first frame data as reference first frame data for use in reference in decoding the encoded second frame data,
wherein the decoding unit is configured to refer to the reference first frame data, which is obtained by smoothing using the first parameter performed by the second smoothing unit, and decode the encoded second frame data on the basis of the difference information indicating the difference between the first frame data subjected to smoothing using the first parameter and the unsmoothed second frame data.
US13/667,413 2008-05-23 2012-11-02 Decoding apparatus, decoding method, and computer-readable storage medium Abandoned US20130058420A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/667,413 US20130058420A1 (en) 2008-05-23 2012-11-02 Decoding apparatus, decoding method, and computer-readable storage medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2008-135682 2008-05-23
JP2008135682A JP5137687B2 (en) 2008-05-23 2008-05-23 Decoding device, decoding method, and program
US12/468,207 US8326052B2 (en) 2008-05-23 2009-05-19 Apparatus, method, and computer-readable storage medium for decoding movie image data
US13/667,413 US20130058420A1 (en) 2008-05-23 2012-11-02 Decoding apparatus, decoding method, and computer-readable storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US12/468,207 Continuation US8326052B2 (en) 2008-05-23 2009-05-19 Apparatus, method, and computer-readable storage medium for decoding movie image data

Publications (1)

Publication Number Publication Date
US20130058420A1 true US20130058420A1 (en) 2013-03-07

Family

ID=41342170

Family Applications (2)

Application Number Title Priority Date Filing Date
US12/468,207 Expired - Fee Related US8326052B2 (en) 2008-05-23 2009-05-19 Apparatus, method, and computer-readable storage medium for decoding movie image data
US13/667,413 Abandoned US20130058420A1 (en) 2008-05-23 2012-11-02 Decoding apparatus, decoding method, and computer-readable storage medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US12/468,207 Expired - Fee Related US8326052B2 (en) 2008-05-23 2009-05-19 Apparatus, method, and computer-readable storage medium for decoding movie image data

Country Status (2)

Country Link
US (2) US8326052B2 (en)
JP (1) JP5137687B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8542751B2 (en) * 2010-08-20 2013-09-24 Intel Corporation Techniques for identifying and reducing block artifacts
MX338462B (en) * 2010-09-30 2016-04-15 Mitsubishi Electric Corp Motion-video encoding apparatus, motion-video decoding apparatus, motion-video encoding method, and motion-video decoding method.
US10432956B2 (en) 2010-12-17 2019-10-01 Mitsubishi Electric Corporation Image coding device, image decoding device, image coding method, and image decoding method
US11240515B2 (en) * 2012-09-10 2022-02-01 Apple Inc. Video display preference filtering
JP6392572B2 (en) 2014-07-22 2018-09-19 ルネサスエレクトロニクス株式会社 Image receiving apparatus, image transmission system, and image receiving method
JP6396782B2 (en) * 2014-12-11 2018-09-26 日本電信電話株式会社 Deblocking processing method, deblocking processing apparatus, computer program, and recording medium
WO2017030198A1 (en) * 2015-08-20 2017-02-23 日本放送協会 Image encoding device, image decoding device, and programs therefor
CA3135322A1 (en) * 2019-03-28 2020-10-01 Huawei Technologies Co., Ltd. Method and apparatus for intra smoothing

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240135B1 (en) * 1997-09-09 2001-05-29 Lg Electronics Inc Method of removing blocking artifacts in a coding system of a moving picture
US20040008787A1 (en) * 2002-07-14 2004-01-15 Thomas Pun Adaptively post filtering encoded video
US20040062310A1 (en) * 2002-01-17 2004-04-01 Zhong Xue Coding distortion removal method, video encoding method, video decoding method, and apparatus and program for the same
US20040101059A1 (en) * 2002-11-21 2004-05-27 Anthony Joch Low-complexity deblocking filter
US20040228415A1 (en) * 2003-05-13 2004-11-18 Ren-Yuh Wang Post-filter for deblocking and deringing of video data
US20060008013A1 (en) * 2004-07-08 2006-01-12 Oskar Pelc Method and system for performing deblocking filtering
US20060268985A1 (en) * 2005-05-25 2006-11-30 Yi Liang Deblock filtering techniques for video coding according to multiple video standards
US20070189735A1 (en) * 2006-01-31 2007-08-16 Kabushiki Kaisha Toshiba Moving image decoding apparatus and moving image decoding method
US20080137752A1 (en) * 2006-12-08 2008-06-12 Freescale Semiconductor, Inc. Adaptive disabling of deblock filtering based on a content characteristic of video information
US20080159404A1 (en) * 2006-12-28 2008-07-03 Danny Hong System and method for in-loop deblocking in scalable video coding
US20080298472A1 (en) * 2007-06-04 2008-12-04 Texas Instruments Incorporated Throughput Performance When Applying Deblocking Filters On Reconstructed Image Frames
US20090052555A1 (en) * 2007-08-21 2009-02-26 David Mak-Fan System and method for providing dynamic deblocking filtering on a mobile device
US20100027686A1 (en) * 2006-12-18 2010-02-04 Koninklijke Philips Electronics N.V. Image compression and decompression
US20100086225A1 (en) * 2007-01-22 2010-04-08 Shoji Yachida Image re-encoding device, image re-encoding method, and image encoding program
US20110002395A1 (en) * 2008-03-31 2011-01-06 Nec Corporation Deblocking filtering processor and deblocking filtering method
US8094967B2 (en) * 2006-04-21 2012-01-10 Snell & Wilcox Limited Image analysis

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63199589A (en) * 1987-02-14 1988-08-18 Fujitsu Ltd Interframe coding system
JP3661883B2 (en) * 1995-06-19 2005-06-22 ソニー株式会社 Image signal decoding apparatus and image signal decoding method
JP4383581B2 (en) * 1998-05-22 2009-12-16 パナソニック株式会社 Block noise detecting device and block noise removing device
JP2003122336A (en) * 2001-10-12 2003-04-25 Nec Viewtechnology Ltd Image display device and adjusting method for color and gamma value of display image
JP2003169284A (en) * 2001-12-04 2003-06-13 Fuji Photo Film Co Ltd Image converter and image conversion program
JP3885594B2 (en) * 2002-01-30 2007-02-21 ソニー株式会社 Content data processing apparatus and processing method, program for executing the method, computer-readable medium storing the program, coefficient data generating apparatus, and coefficient data generating method
US20040179610A1 (en) * 2003-02-21 2004-09-16 Jiuhuai Lu Apparatus and method employing a configurable reference and loop filter for efficient video coding
JP2007129369A (en) * 2005-11-01 2007-05-24 Matsushita Electric Ind Co Ltd Image reproducing apparatus and method
JP4712642B2 (en) * 2006-08-17 2011-06-29 富士通セミコンダクター株式会社 Deblocking filter, image encoding device, and image decoding device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240135B1 (en) * 1997-09-09 2001-05-29 Lg Electronics Inc Method of removing blocking artifacts in a coding system of a moving picture
US20040062310A1 (en) * 2002-01-17 2004-04-01 Zhong Xue Coding distortion removal method, video encoding method, video decoding method, and apparatus and program for the same
US20040008787A1 (en) * 2002-07-14 2004-01-15 Thomas Pun Adaptively post filtering encoded video
US20040101059A1 (en) * 2002-11-21 2004-05-27 Anthony Joch Low-complexity deblocking filter
US20040228415A1 (en) * 2003-05-13 2004-11-18 Ren-Yuh Wang Post-filter for deblocking and deringing of video data
US20060008013A1 (en) * 2004-07-08 2006-01-12 Oskar Pelc Method and system for performing deblocking filtering
US20060268985A1 (en) * 2005-05-25 2006-11-30 Yi Liang Deblock filtering techniques for video coding according to multiple video standards
US20070189735A1 (en) * 2006-01-31 2007-08-16 Kabushiki Kaisha Toshiba Moving image decoding apparatus and moving image decoding method
US8094967B2 (en) * 2006-04-21 2012-01-10 Snell & Wilcox Limited Image analysis
US20080137752A1 (en) * 2006-12-08 2008-06-12 Freescale Semiconductor, Inc. Adaptive disabling of deblock filtering based on a content characteristic of video information
US20100027686A1 (en) * 2006-12-18 2010-02-04 Koninklijke Philips Electronics N.V. Image compression and decompression
US20080159404A1 (en) * 2006-12-28 2008-07-03 Danny Hong System and method for in-loop deblocking in scalable video coding
US20100086225A1 (en) * 2007-01-22 2010-04-08 Shoji Yachida Image re-encoding device, image re-encoding method, and image encoding program
US20080298472A1 (en) * 2007-06-04 2008-12-04 Texas Instruments Incorporated Throughput Performance When Applying Deblocking Filters On Reconstructed Image Frames
US20090052555A1 (en) * 2007-08-21 2009-02-26 David Mak-Fan System and method for providing dynamic deblocking filtering on a mobile device
US20110002395A1 (en) * 2008-03-31 2011-01-06 Nec Corporation Deblocking filtering processor and deblocking filtering method

Also Published As

Publication number Publication date
JP2009284331A (en) 2009-12-03
US8326052B2 (en) 2012-12-04
US20090290805A1 (en) 2009-11-26
JP5137687B2 (en) 2013-02-06

Similar Documents

Publication Publication Date Title
US20130058420A1 (en) Decoding apparatus, decoding method, and computer-readable storage medium
US8045821B2 (en) Coding method conversion apparatus
EP2278813B1 (en) Apparatus for controlling loop filtering or post filtering in block based motion compensated video coding
KR101298389B1 (en) Method and system for video coder and decoder joint optimization
US8630347B2 (en) Video decoding apparatus and video decoding method
CN110024387B (en) Encoding device, decoding device, encoding method, and decoding method
EP1659799A1 (en) Edge adaptive filtering system for reducing artifacts and method
US20130028322A1 (en) Moving image prediction encoder, moving image prediction decoder, moving image prediction encoding method, and moving image prediction decoding method
WO2014139396A1 (en) Video coding method using at least evaluated visual quality and related video coding apparatus
WO2008020687A1 (en) Image encoding/decoding method and apparatus
US8681877B2 (en) Decoding apparatus, decoding control apparatus, decoding method, and program
US20150016518A1 (en) Video Decoding with Reduced Complexity Deblocking
JP2012034352A (en) Stereo moving image encoding apparatus and stereo moving image encoding method
JP2009224854A (en) Image encoding device and method
US20070147515A1 (en) Information processing apparatus
US9635359B2 (en) Method and apparatus for determining deblocking filter intensity
CN113243107B (en) Image encoding apparatus and method, image decoding apparatus and method, and storage medium
EP3343919A1 (en) Video encoding apparatus, video encoding method, video decoding apparatus, and video decoding method
EP2198616A1 (en) Method and decoder for decoding an image frame of an image frame sequence
WO2013073422A1 (en) Video encoding device
US20060182175A1 (en) Image encoding apparatus, image encoding method, and computer program product

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION