Image processing method, image processing apparatus and data recording medium
Claim Score by NHIP
Abstract
An image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by frame-by-frame frequency transformation on a frame basis or field-by-field frequency transformation on a field basis; setting a processing order for coding the frequency components corresponding to the image signal of the coding target block, according as the image signal of the coding target block has been subjected to the frame-by-frame frequency transformation or the field-by-field frequency transformation; and successively coding the frequency components corresponding to the image signal of the coding target block according to the order which has been set. Therefore, in coding of an interlaced image or a specific progressive image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.

Term
Term ended
Expired 20 July 2018, 8.2 years ago.
- Priority
- Filed
- Granted
- Expired
- Today
7 claims: 3 independent, 4 dependent
- 1An image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, said method comprising:performing rearrangement to an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, with switching, on the basis of flag information indicating switching of rearrangement, which information is input together with the input signal, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kinds of both the prediction processes;generating intra-frame predicted values of frequency components corresponding to the decoding target block from frequency components corresponding to an already decoded block located in the vicinity of the decoding target block, by the intra-frame prediction process;generating frequency components corresponding to the decoding target block on the basis of the input signal after the rearrangement and the intra-frame predicted values;performing inverse frequency transformation to the frequency components corresponding to the decoding target block to generate one of an image signal corresponding to the decoding target block and a difference signal corresponding to the same block;and adding, to the difference signal corresponding to the decoding target block, inter-frame predicted values of an image signal of the decoding target block, which are generated from an image signal corresponding to an already decoded display screen different from a display screen including the decoding target block by the inter-frame prediction process, thereby generating an image signal corresponding to the decoding target block.
- 4An image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, said apparatus comprising:a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing inter-frame prediction, intra-frame prediction, frequency transformation, quantization, rearrangement, and variable-length coding to an image signal corresponding to each block;inverse scanning means including plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement, the inverse scanning means selecting an inverse scanner to be used for rearranging the quantized values, according to a scan changing signal which is generated outside/inside a system, and inter-frame prediction information indicating the kind of inter-frame prediction and intra-frame prediction information indicating the kind of intra-frame prediction in coding;intra-frame prediction means for generating intra-frame predicted values of quantized values corresponding to a decoding target block from quantized values corresponding to an already decoded block located in the vicinity of the decoding target block, according to the intra-frame prediction information, and outputting the result of addition between the output of the inverse scanning means and the intra-frame predicted values;inter-frame prediction means for performing inter-frame prediction to the output of the intra-frame prediction means on the basis of the inter-frame prediction information, to generate an image signal corresponding to each block;and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to frequency transformation type information indicating a processing unit of frequency transformation in coding, to output a digital image signal;and said inverse scanning means being constructed so that switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of the decoding target block that is obtained by coding various frequency components which have been subjected to the inter-frame prediction process and the intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kinds of both the prediction processes.
- 6Broadest claimClaim Score 40, average(NHIP)A method for coding a digital image signal on a block basis, said method comprising:generating with a predicting unit a predicted value for a frequency component of a coding target block from a frequency component of an already coded block located in a vicinity of the coding target block;generating with an adding unit a difference by using the frequency component of the coding target block and the predicted value;selecting with a selecting unit one order setting operation from a first order setting operation in which a processing order for frequency components of the coding target block is adaptively set, and a second order setting operation in which a specific processing order for frequency components of the coding target block is set, on a basis of processing order setting information;coding with a coding unit the difference of the coding target block, based on the selected one order setting operation into a coded difference;and outputting with an outputting unit the coded difference together with the processing order setting information.
Independent claims3
386 paragraphs in 5 sections, as filed
Notice: More than one reissue application has been filed for the reissue of U.S. Pat. No. <b>6</b>,<b>426</b>,<b>975</b>. The resissue applications are Ser. No. <b>10</b>/<b>682</b>,<b>849</b>, filed Oct. <b>10</b>, <b>2003</b>, now U.S. Reissue Pat. No. RE <b>39</b>,<b>318</b>, and the present application, which is a divisional reissue of U.S. Pat. No. <b>6</b>,<b>426</b>,<b>975</b>.
FIELD OF THE INVENTION
The present invention relates to image processing methods, image processing apparatuses, and data recording media and, more particularly, to image processing methods, image processing apparatuses, and data recording media in which, in variable-length coding of frequency components of an interlaced image signal, a sequence of the frequency components is adaptively rearranged, thereby improving coding efficiency.
BACKGROUND OF THE INVENTION
In recent years, discrete cosine transformation (DCT) has been widely utilized in image coding processing. In MPEG as a representative image coding method, an input image signal is divided correspondingly to plural rectangular blocks constituting a single display screen as units of DCT processing, and DCT processing is performed block by block to the blocked image signal.
A specific description is given of image coding in MPEG.
<figref idref="DRAWINGS">FIG. 26</figref> is a block diagram illustrating a construction of a conventional image processing apparatus which performs the above-mentioned image coding. In <figref idref="DRAWINGS">FIG. 26</figref>, reference numeral <b>200</b>a designates a conventional image processing apparatus (image coding apparatus), which performs coding including DCT processing to an image signal. This image coding apparatus <b>200</b>a consists of a blocking unit <b>102</b> for dividing an input image signal <b>101</b> correspondingly to plural blocks constituting a single display screen to generate an image signal (plural pixel values) <b>103</b> corresponding to each block, a DCT unit <b>104</b> for performing DCT processing to the image signal (pixel values) <b>103</b> to transform the image signal (pixel values) <b>103</b> into frequency components (DCT coefficients) <b>105</b>, and a quantization unit <b>106</b> for quantizing the output <b>105</b> of the DCT unit <b>104</b> to generate quantized values <b>107</b> corresponding to each block. Herein, the DCT unit <b>104</b> and the quantization unit <b>106</b> constitute an information source coding unit <b>200</b>a<b>1</b>.
Further, the image coding apparatus <b>200</b>a consists of a scanner <b>109</b> for setting the processing order for coding the quantized values <b>107</b>, and a variable-length coding unit (hereinafter referred to as a VLC unit) <b>112</b> for performing variable-length coding to quantized values <b>111</b> to which the processing order has been set, according to the set order, to generate a bit stream <b>113</b> corresponding to the image signal of each block.
A description is given of the operation.
Initially, the blocking unit <b>102</b> blocks an input image signal <b>101</b> correspondingly to rectangular blocks each comprising 8×8 pixels, and outputs an image signal (plural pixel values) <b>103</b> corresponding to each block. The DCT unit <b>104</b> transforms the image signal (pixel values) <b>103</b> into plural frequency components (DCT coefficients) <b>105</b> by DCT. The quantization unit <b>106</b> converts the DCT coefficients <b>105</b> into quantized values <b>107</b> by quantization.
Then, the scanner <b>109</b> performs rearrangement of the quantized values <b>107</b> so as to improve the efficiency of variable-length coding. That is, the scanner <b>109</b> sets the processing order for coding. Thereafter, the VLC unit <b>112</b> performs variable-length coding to the quantized values which have been rearranged, according to the set order. In addition, run length coding is used in variable-length coding processing. Therefore, when a scan is performed so that coefficients of about the same size are consecutive, the efficiency of variable-length coding is improved.
In coding an interlaced image signal, when correlations between adjacent scan lines are strong, frame DCT processing, i.e., DCT using a frame as a unit, is carried out. When correlations between scan lines in a field are strong, field DCT processing, i.e., DCT using a field as a unit, is carried out.
More specifically, as shown in <figref idref="DRAWINGS">FIG. 27</figref>, in frame DCT processing of an interlaced image signal, scan lines of a first field and scan lines of a second field are alternately arranged to form one frame-screen. This frame screen is divided into plural macroblocks each comprising 16×16 pixels. Each macroblock is divided into four subblocks-each comprising 8×8 pixels. Thereby, the image signal is subjected to DCT processing subblock by subblock. Meanwhile, in field DCT processing of an interlaced image signal, Each of macroblocks constituting one frame screen is formed by two first subblocks comprising only scan lines of a first field and two second subblocks comprising only scan lines of a second field. Thereby, the image signal is subjected to DCT processing subblock by subblock.
In MPEG, frame DCT or field DCT is adaptively selected for each macroblock. Accordingly, in order to perform accurate decoding to an input image signal, the blocking unit <b>102</b> in the image coding apparatus <b>200</b>a outputs DCT processing information <b>114</b> indicating a unit of DCT processing for each macroblock (that is, information indicating whether each macroblock has been subjected to frame DCT or field DCT), together with the blocked image signal. Since a subblock which has been subjected to field DCT (a field DCT block) comprises only odd scan lines or only even scan lines among scan lines constituting one frame screen, a DCT coefficient group corresponding to the field DCT block includes more DCT coefficients indicating that the rate of change of pixel values in a vertical direction of a display screen is higher, as compared with a DCT coefficient group corresponding to a subblock which has been subjected to frame DCT (a field DCT block).
<figref idref="DRAWINGS">FIG. 28</figref> is a block diagram illustrating a construction of an image decoding apparatus corresponding to the image coding apparatus shown in FIG. <b>26</b>. In <figref idref="DRAWINGS">FIG. 28</figref>, reference numeral <b>200</b>b designates an image processing apparatus (image decoding apparatus), which decodes the coded image signal <b>113</b> which has been coded by the image coding apparatus <b>200</b>a. This image decoding apparatus <b>200</b>b consists of a variable-length decoding unit (hereinafter referred to as a VLD unit) <b>201</b> for performing variable-length decoding to the coded image signal <b>113</b>, and an inverse scanner <b>202</b> for performing an inverse scan to quantized values <b>111</b> which are obtained by decoding so that the order of the quantized values <b>111</b> is returned to the order before rearrangement in coding. Further, the image decoding apparatus <b>200</b>b consists of an inverse quantization unit <b>203</b> for inverse-quantizing quantized values <b>107</b> which have been subjected to inverse scanning, to generate DCT coefficients (frequency components) <b>105</b> corresponding to a decoding target block to be subjected to decoding, an inverse DCT unit <b>204</b> for performing inverse DCT processing to the DCT coefficients <b>105</b> to generate an image signal (pixel values) <b>103</b> corresponding to the decoding target block, and an inverse blocking unit <b>205</b> for inverse-blocking the image signals <b>103</b> on the basis of the DCT processing information <b>114</b> from the image coding apparatus <b>200</b>a, thereby regenerating an image signal <b>101</b> corresponding to one frame screen. Herein, the inverse quantization unit <b>203</b> and the inverse DCT unit <b>204</b> constitute an information source decoding unit <b>200</b>b<b>1</b>.
In the image decoding apparatus <b>200</b>b, inverse converting processes corresponding to the respective converting processes in the image coding apparatus <b>200</b>a are carried out to a coded image signal, in the reverse order of the order in coding, thereby accurately decoding the coded image signal.
<figref idref="DRAWINGS">FIG. 29</figref> is a block diagram illustrating a construction of another conventional image coding apparatus.
In <figref idref="DRAWINGS">FIG. 29</figref>, reference numeral <b>200</b>c designates an image processing apparatus (image coding apparatus), which performs intra-frame predictive coding processing comprising generating predicted values of quantized values of a coding target block using information in a frame, and coding difference values between the predicted values and the quantized values of the coding target block.
This image coding apparatus <b>200</b>c includes the image coding apparatus <b>200</b>a, a prediction unit <b>200</b>c<b>2</b> for generating predicted values, and a scanning unit <b>200</b>c<b>1</b> for changing a scan method using a parameter concerning generation of the predicted values. The prediction unit <b>200</b>c<b>2</b> consists of a predictor <b>305</b> for generating predicted values <b>303</b>, and outputting first prediction information <b>309</b>a and second prediction information <b>309</b>b concerning generation of the predicted values, an adder <b>301</b> for subtracting the output (predicted values) <b>303</b> of the predictor <b>305</b> from the output <b>107</b> of the quantization unit <b>106</b>, and an adder <b>304</b> for adding the output <b>303</b> of the predictor <b>305</b> to an output <b>302</b> of the adder <b>301</b>.
The scanning unit <b>200</b>c<b>1</b> consists of three scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> having different scan methods, for scanning the output <b>302</b> of the prediction unit <b>200</b>c<b>2</b>, a first switch <b>108</b>c for selecting one of the three scanners on the basis of a control signal <b>116</b> and supplying the output <b>302</b> of the prediction unit <b>200</b>c<b>2</b> to the selected scanner, a second switch <b>110</b>c for selecting one of the three scanners on the basis of the control signal <b>116</b> and supplying an output of the selected scanner to the VLC unit <b>112</b>, and a scan control unit <b>1401</b>c for generating the control signal <b>116</b> on the basis of the first prediction information <b>309</b>a. In addition, the second prediction information <b>309</b>b is output from the image coding apparatus <b>200</b>c.
In the image coding apparatus <b>200</b>c thus constructed, a scan method is changed using the parameter concerning generation of predicted values (prediction information) <b>309</b>, whereby the efficiency of variable-length coding is enhanced.
A description is given of a method for generating predicted values with reference to FIG. <b>30</b>.
<figref idref="DRAWINGS">FIG. 30</figref> shows a macroblock comprising 16×16 pixels. This macroblock comprises four subblocks (hereinafter simply referred to as blocks) R<b>0</b>, R<b>1</b>, R<b>2</b> and X each comprising 8×8 pixels. The block X is a coding target block, and the blocks R<b>0</b>, R<b>1</b> and R<b>2</b> are already coded blocks which are adjacent to the coding target block X. Either block R<b>1</b> or block R<b>2</b> is referred in generating predicted values (quantized values) of the coding target block X. The block to be referred is decided using DC coefficients of the blocks R<b>0</b>, R<b>1</b> and R<b>2</b> (quantized values at the left upper ends of these blocks). Specifically, the absolute value of the difference between the DC coefficients of the blocks R<b>0</b> and R<b>1</b> is compared with the absolute value of the difference between the DC coefficients of the blocks R<b>0</b> and R<b>2</b>. When the absolute value of the difference between the DC coefficients of the blocks R<b>0</b> and R<b>1</b> is larger, the block R<b>1</b> is referred (reference in a vertical direction). When it is smaller, the block R<b>2</b> is referred (reference in a horizontal direction).
When the block R<b>1</b> is referred, the DC coefficient (the quantized value at the left upper end) of the block R<b>1</b> and AC coefficients (quantized values at the uppermost line, except the DC coefficient) of the block R<b>1</b> are used as predicted values of the coefficients of the block X at the same positions. When the block R<b>2</b> is referred, the DC coefficient (the quantized value at the left upper end) of the block R<b>2</b> and AC coefficients (quantized values at the leftmost line, except the DC coefficient) of the block R<b>2</b> are used as predicted values of the coefficients of the block X at the same positions. In addition, in a case where the efficiency of variable-length coding is degraded by predicting AC coefficients, no AC prediction may be carried out.
A scan method is changed according to ON/OFF of Ac prediction (whether AC prediction is performed or not) in intra-frame prediction. Further, when AC prediction is in the ON state, a scan method is changed according to a reference direction of prediction. The first prediction information <b>309</b>a supplied to the scan control unit <b>1401</b>c includes ON/OFF information indicating ON/OFF of AC prediction, and prediction direction information indicating a reference direction for AC prediction, and the second prediction information <b>309</b>b includes only the ON/OFF information of AC prediction.
When Ac prediction is in the OFF state, a scan of quantized values is executed in the order shown in FIG. <b>31</b>(a). Thereby, the processing order for coding is set to the quantized values. In this case, in a group of quantized values corresponding to a subblock, high-frequency components uniformly distribute in vertical and horizontal directions very often. Therefore, the quantized values are uniformly scanned in the order from low-frequency components to high-frequency components. When AC prediction is performed and a vertical direction is referred, a scan of quantized values is executed in the order shown in FIG. <b>31</b>(b). In this case, a group of quantized values corresponding to a subblock has a distribution in which high-frequency components in a horizontal direction are reduced by the prediction. Therefore, the quantized values are scanned with a priority given to a horizontal direction, thereby improving the efficiency of variable-length coding. When AC prediction is performed and a horizontal direction is referred, a scan of quantized values is executed in the order shown in FIG. <b>31</b>(c). In this case, a group of quantized values corresponding to a subblock has a distribution in which high-frequency components in a vertical direction are reduced by the prediction. Therefore, the quantized values are scanned with a priority given to a vertical direction, thereby improving the efficiency of variable-length coding.
<figref idref="DRAWINGS">FIG. 32</figref> is a block diagram illustrating a construction of an image decoding apparatus corresponding to the image coding apparatus shown in FIG. <b>29</b>. In <figref idref="DRAWINGS">FIG. 32</figref>, reference numeral <b>200</b>d designates an image processing apparatus (image decoding apparatus), which decodes the coded image signal <b>308</b> that has been coded in the image coding apparatus <b>200</b>c.
This image decoding apparatus <b>200</b>d has an inverse scanning unit <b>200</b>d<b>1</b> for performing an inverse scan to quantized values which are obtained by variable-length decoding of the coded image signal <b>308</b> so that the order of the quantized values is returned to the order before scanning in coding, and changing an inverse scan method on the basis of the prediction information (parameter) concerning generation of predicted values in the image coding apparatus <b>200</b>c, and a prediction unit <b>200</b>d<b>2</b> for adding quantized values (predicted values) of a decoding target block which are predicted from quantized values of an already decoded block in the vicinity of the decoding target block, to the quantized values corresponding to the decoding target block which have been subjected to inverse scanning.
The inverse scanning unit <b>200</b>d<b>1</b> consists of three inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>s<b>3</b> having different inverse scan methods, for inverse-scanning the output of the VLD unit <b>201</b>, a first switch <b>108</b>d for selecting one of the three inverse scanners on the basis of a control signal <b>116</b> and supplying the output of the VLD unit <b>201</b> to the selected inverse scanner, a second switch <b>110</b>d for selecting one of the three inverse scanners on the basis of the control signal <b>116</b> and supplying the output of the selected inverse scanner to the prediction unit <b>200</b>d<b>2</b>, and an inverse scan control unit <b>1401</b>d for generating the control signal <b>116</b> on the basis of the first prediction information <b>309</b>a.
In addition, the inverse scanner <b>202</b>s<b>1</b> performs an inverse scan corresponding to the scan by the scanner <b>109</b>s<b>1</b> in the image coding apparatus <b>200</b>c, the inverse scanner <b>202</b>s<b>2</b> performs an inverse scan corresponding to the scan by the scanner <b>109</b>s<b>2</b> in the image coding apparatus <b>200</b>c, and the inverse scanner <b>202</b>s<b>3</b> performs an inverse scan corresponding to the scan by the scanner <b>109</b>s<b>3</b> in the image coding apparatus <b>200</b>c.
The prediction unit <b>200</b>d<b>2</b> consists of a predictor <b>401</b> for generating predicted values <b>303</b> on the basis of the second prediction information <b>309</b>b output from the image coding apparatus <b>200</b>c and values <b>107</b>d corresponding to the quantized values <b>107</b> in the image coding apparatus <b>200</b>c, and generating control prediction information <b>309</b>a′ corresponding to the first prediction information <b>309</b>a in the image coding apparatus <b>200</b>c, and an adder <b>304</b> for adding the predicted values <b>303</b> to the output <b>302</b> of the inverse scanning unit <b>200</b>d<b>1</b>. In addition, like the first prediction information <b>309</b>a, the control prediction information <b>309</b>a′ includes ON/OFF information of AC prediction and prediction direction information of AC prediction.
In the image decoding apparatus <b>200</b>d thus constructed, inverse converting processes corresponding to the respective converting processes in the image coding apparatus <b>200</b>c shown in <figref idref="DRAWINGS">FIG. 29</figref> are carried out to a coded image signal, in the reverse order of the order in coding, thereby accurately decoding the coded image signal.
<figref idref="DRAWINGS">FIG. 33</figref> is a block diagram illustrating a construction of still another conventional image coding apparatus. In <figref idref="DRAWINGS">FIG. 33</figref>, reference numeral <b>200</b>e designates an image processing apparatus (image coding apparatus), which performs inter-frame predictive coding processing comprising generating predicted values of an image signal (pixel values) of a coding target frame from another frame, and coding difference values between the image signal (pixel values) of the coding target frame and the predicted values.
This image coding apparatus <b>200</b>e has an information source coding unit <b>200</b>e<b>2</b> for performing information source coding to difference values <b>1002</b> between an image signal (pixel values) <b>103</b> obtained by blocking and predicted values <b>1008</b> of the image signal <b>103</b>, in place of the information source coding unit <b>200</b>a<b>1</b> in the image coding apparatus <b>200</b>a shown in <figref idref="DRAWINGS">FIG. 26</figref>, which performs information source coding to the image signal <b>103</b>. Further, the image coding apparatus <b>200</b>e has a scanning unit <b>200</b>e<b>1</b> for changing a scan method, i.e., the processing order for coding, according to a parameter <b>1015</b> concerning generation of the predicted values <b>1008</b>, in place of the scanner <b>109</b> in the image coding apparatus <b>200</b>a.
The information source coding unit <b>200</b>e<b>2</b> consists of an adder <b>1001</b>, a DCT unit <b>104</b>e, a quantization unit <b>106</b>e, an inverse quantization unit <b>203</b>e, an inverse DCT unit <b>204</b>e, an adder <b>1010</b>, a frame memory <b>1014</b>, and a predictor <b>1012</b>.
The adder <b>1001</b> is for subtracting predicted values <b>1008</b> from an image signal (pixel values) <b>103</b> corresponding to a coding target block. The DCT unit <b>104</b>e is for transforming difference values <b>1002</b> between the image signal (pixel values) <b>103</b> and the predicted values <b>1008</b> into frequency components (DCT coefficients) <b>1003</b> by DCT. The quantization unit <b>106</b>e is for quantizing the DCT coefficients <b>1003</b> to generate quantized values <b>1004</b> corresponding to the coding target block.
Further, the inverse quantization unit <b>203</b>e is for inverse-quantizing the quantized values <b>1004</b> output from the quantization unit <b>106</b>e to output DCT coefficients <b>1007</b> corresponding to the DCT coefficients <b>1003</b>. The inverse DCT unit <b>204</b>e is for performing inverse DCT to the DCT coefficients <b>1007</b> to output difference signals <b>1009</b> corresponding to the difference values <b>1002</b>. The adder <b>1010</b> is for adding the predicted values <b>1008</b> to the difference signals <b>1009</b> to output an already coded image signal <b>1011</b> corresponding to the coding target block.
Furthermore, the frame memory <b>1014</b> is for temporarily storing already coded image signals <b>1011</b> corresponding to one frame or corresponding to frames of a prescribed number. The predictor <b>1012</b> is for generating the predicted values <b>1008</b> on the basis of an already coded image signal <b>1013</b> corresponding to a reference block in the memory <b>1014</b> and the image signal <b>103</b> corresponding to the coding target block.
The scanning unit <b>200</b>e<b>1</b> consists of two scanners <b>129</b>s<b>1</b> and <b>129</b>s<b>2</b> having different scan methods, for scanning the output of the information source coding unit <b>200</b>e<b>2</b>, a first switch <b>108</b>e for selecting one of the two scanners on the basis of a control signal <b>116</b>e and supplying the output <b>1004</b> of the information source coding unit <b>200</b>e<b>2</b> to the selected scanner, a second switch <b>110</b>e for selecting one of the two scanners on the basis of the control signal <b>116</b>e and supplying an output of the selected scanner to the VLC unit <b>112</b>, and a scan control unit <b>1016</b>e for generating the control signal <b>116</b>e on the basis of a parameter <b>1015</b> from the predictor <b>1012</b>.
Herein, the scanner <b>129</b>s<b>1</b> performs a scan of quantized values in the order shown in FIG. <b>31</b>(a). The scanner <b>129</b>s<b>2</b> is constituted by the respective elements <b>301</b>, <b>304</b> and <b>305</b> in the prediction unit <b>200</b>c<b>2</b> shown in <figref idref="DRAWINGS">FIG. 29</figref>, and the respective elements <b>108</b>c, <b>110</b>c, <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> and <b>1401</b>c in the scanning unit <b>200</b>c<b>1</b> shown in FIG. <b>29</b>. That is, the scanner <b>129</b>s<b>2</b> performs intra-frame prediction to a block to which no inter-frame prediction has been performed in coding (hereinafter referred to as an intra-coded block) and selects one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner <b>129</b>s<b>2</b> on the basis of prediction information concerning generation of predicted values. In addition, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner <b>129</b>s<b>2</b> performs a scan of quantized values in the order shown in FIG. <b>31</b>(a). The coding processing by the image coding apparatus <b>200</b>e is fundamentally identical to that by the image coding apparatus <b>200</b>c shown in <figref idref="DRAWINGS">FIG. 29</figref>, except that difference values between an image signal which is obtained by blocking and predicted values of the image signal are coded.
That is, in inter-frame predictive coding by the image coding apparatus <b>200</b>e, predicted values <b>1008</b> are set to 0 when prediction efficiency is low, whereby an image signal <b>103</b> corresponding to a coding target block is subjected to DCT processing as it is (intra-coding). Switching between inter-coding and intra-coding is performed for each macroblock, and information indicating either inter-coding or intra-coding is added to a parameter <b>1015</b> concerning prediction.
Further, when a coding target block is an inter-coded macroblock, the scanner <b>129</b>s<b>1</b> is selected. When the coding target block is an intra-coded macroblock, the scanner <b>129</b>s<b>2</b> is selected. Thereby, a scan method suitable for each coding is executed.
Specifically, quantized values corresponding to an intra-coded macroblock are supplied to the scanner <b>129</b>s<b>2</b> comprising the prediction unit <b>200</b>c<b>2</b> and the scanning unit <b>200</b>c<b>1</b> shown in FIG. <b>29</b>. In the scanner <b>129</b>s<b>2</b>, predicted values of the quantized values are generated by intra-frame prediction, and an adaptive scan is performed to difference values between the quantized values of the coding target block and the predicted values, on the basis of prediction information concerning generation of the predicted values.
Meanwhile, quantized values corresponding to an inter-coded macroblock are supplied to the scanner <b>129</b>s<b>1</b>, and a scan in the order shown in FIG. <b>31</b>(a) is performed in the scanner <b>129</b>s<b>1</b>.
In the image coding apparatus <b>200</b>e thus constructed, since the difference values are coded, many DCT coefficients become 0 by quantization, whereby the efficiency of variable-length coding is improved.
In addition, in the image coding apparatus <b>200</b>e, no intra-frame prediction may be carried out to an intra-coded macroblock. In this case, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner <b>129</b>s<b>2</b> performs a scan in the order shown in FIG. <b>31</b>(a) to quantized values of the intra-coded macroblock.
<figref idref="DRAWINGS">FIG. 34</figref> is a block diagram illustrating a construction of an image decoding apparatus corresponding to the image coding apparatus <b>200</b>e shown in FIG. <b>33</b>. In <figref idref="DRAWINGS">FIG. 34</figref>, reference numeral <b>200</b>f designates an image processing apparatus (image decoding apparatus), which decodes the coded image signal <b>1006</b> that has been coded in the image coding apparatus <b>200</b>e.
This image decoding apparatus <b>200</b>f has an inverse scanning unit <b>200</b>f<b>1</b> for performing an inverse scan to quantized values <b>1005</b> which are obtained by variable-length decoding of the coded image signal <b>1006</b> so that the order of the quantized values is returned to the order before scanning in coding, and changing an inverse scan method on the basis of the parameter <b>1015</b> concerning generation of predicted values in the image coding apparatus <b>200</b>e, in place of the inverse scanner <b>202</b> in the image decoding apparatus <b>200</b>b shown in FIG. <b>28</b>. Further, the image decoding apparatus <b>200</b>f has an information source decoding unit <b>200</b>f<b>2</b> for performing information source decoding to quantized values <b>1004</b> corresponding to a decoding target block which have been subjected to inverse scanning, in place of the information source de-coding unit <b>200</b>b<b>1</b> in the image decoding apparatus <b>200</b>b.
The inverse scanning unit <b>200</b>f<b>1</b> consists of two inverse scanners <b>222</b>s<b>1</b> and <b>222</b>s<b>2</b> having different inverse scan methods, for inverse-scanning the output <b>1005</b> of the VLD unit <b>201</b>, a first switch <b>108</b>f for selecting one of the two inverse scanners on the basis of a control signal <b>116</b>f and supplying the output <b>1005</b> of the VLD unit <b>201</b> to the selected inverse scanner, a second switch <b>110</b>f for selecting one of the two inverse scanners on the basis of the control signal <b>116</b>f and supplying the output of the selected inverse scanner to the information source decoding unit <b>200</b>f<b>2</b>, and an inverse scan control unit <b>1016</b>f for generating the control signal <b>116</b>f on the basis of the prediction parameter <b>1015</b>. Herein, the inverse scanners <b>222</b>s<b>1</b> and <b>222</b>s<b>2</b> correspond to the scanners <b>129</b>s<b>1</b> and <b>129</b>s<b>2</b> in the image coding apparatus <b>200</b>e.
That is, the inverse scanner <b>222</b>s<b>1</b> performs an inverse scan corresponding to a scan in the order shown in FIG. <b>31</b>(a), and the inverse scanner <b>222</b>s<b>2</b> is constituted by the respective elements <b>108</b>d, <b>110</b>d, <b>202</b>s<b>1</b>˜<b>202</b>s<b>3</b> and <b>1401</b>d in the inverse scanning unit <b>200</b>d<b>1</b> shown in <figref idref="DRAWINGS">FIG. 32</figref>, and the respective elements <b>304</b> and <b>401</b> in the prediction unit <b>200</b>d<b>2</b> shown in FIG. <b>32</b>.
The information source decoding unit <b>200</b>f<b>2</b> consists of an inverse quantization unit <b>203</b>f for inverse-quantizing the output <b>1004</b> of the inverse scanning unit <b>200</b>f<b>1</b>, an inverse DCT unit <b>204</b>f for performing inverse DCT processing to an output <b>1003</b> of the inverse quantization unit <b>203</b>f, an adder <b>1101</b>f for adding predicted values <b>1008</b>f of the decoding target block to an output <b>1002</b> of the inverse DCT unit <b>204</b>f.
Further, the information source decoding unit <b>200</b>f<b>2</b> consists of a frame memory <b>1014</b>f for temporarily storing already decoded image signals <b>103</b> corresponding to one frame or frames of a prescribed number, and a predictor <b>1102</b>f for generating the predicted values <b>1008</b>f of the decoding target block on the basis of an already decoded image signal <b>1013</b>f corresponding to a reference block in the memory <b>1014</b>f and the parameter <b>1015</b> concerning prediction in coding.
In the image decoding apparatus <b>200</b>f thus constructed, inverse converting processes corresponding to the respective converting processes in the image coding apparatus <b>200</b>e shown in <figref idref="DRAWINGS">FIG. 33</figref> are carried out to a coded image signal, in the reverse order of the order in coding, thereby accurately decoding the coded image signal.
The scan changing method in any of the conventional image processing apparatuses is available for progressive image coding in which all blocks are frame DCT blocks. However, in interlaced image coding in which frame DCT blocks and field DCT blocks coexist, since a field DCT block and a frame DCT block have different distributions of DCT coefficients, coefficients of about the same size are not consecutive when the same scan changing method is used, so that the efficiency of variable-length coding is degraded.
That is, in interlaced image coding in which either frame DCT processing or field DCT processing is adaptively selected for each macroblock and macroblocks having different DCT types coexist, when a scan method is changed using a parameter concerning generation of predicted values, since a field DCT block and a frame DCT block have different distributions of DCT coefficients, coefficients of about the same size are not consecutive, so that the efficiency of variable-length coding is degraded.
Further, also in inter-frame predictive coding of an interlaced image in any of the conventional image processing apparatuses, the above-mentioned problem arises because macroblocks having different DCT types coexist.
Furthermore, also in coding of a progressive image, when switching is performed between frame DCT processing and field DCT processing according to the content of the image, for example, in a case where frame DCT processing is executed when correlations between adjacent scan lines are strong and field DCT processing is executed when correlations between adjacent scan lines are weak, the efficiency of variable-length coding is degraded as in the interlaced image coding.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide image processing apparatuses and image processing methods in which, in coding of an interlaced image in which macroblocks having different DCT types coexist, or in coding of a specific progressive image, a scan method that improves the efficiency of variable-length coding can be adaptively selected, thereby realizing highly efficient coding.
Another object of the present invention is to provide data recording media in which image processing programs for implementing the above-mentioned image processing methods are recorded.
Other objects and advantages of the present invention will become apparent from the detailed description given hereinafter; it should be understood, however, that the detailed description and specific embodiment are given by way of illustration only, since various changes and modifications within the scope of the invention will become apparent to those skilled in the art from this detailed description.
According to a first aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; setting a processing order for coding the frequency components corresponding to the image signal of the coding target block, according as the image signal of the coding target block has been subjected to the frame-by-frame frequency transformation or the field-by-field frequency transformation; and successively coding the frequency components corresponding to the image signal of the coding target block according to the order which has been set.
Thus, a processing order for coding is set to frequency components corresponding to an image signal of a coding target block, according as the image signal of the coding target block has been subjected to frame-by-frame frequency transformation or field-by-field frequency transformation. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency in the interlaced image coding. In addition, in coding of a specific progressive image in which frame DCT blocks and field DCT blocks coexist, the same effect is obtained.
According to a second aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components in a prescribed order, in an order which is decided according as an image signal corresponding to a decoding target block to be subjected to decoding has been subjected to frame-by-frame frequency transformation on a frame basis or field-by-field frequency transformation on a field basis, thereby generating frequency components corresponding to the decoding target block; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, an input signal that is obtained by coding various frequency components in a prescribed order is subjected to rearrangement in an order which is decided according as an image signal corresponding to a decoding target block to be subjected to decoding has been subjected to frame-by-frame frequency transformation on a frame basis or field-by-field frequency transformation on a field basis, thereby generating frequency components corresponding to the decoding target block. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using an adaptive scan changing method, i.e., a method for adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a third aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; setting a processing order for coding the frequency components corresponding to the image signal of the coding target block, according to a combination pattern of the kind of frequency transformation to which the image signal of the coding target block has been subjected and the kind of frequency transformation to which an image signal of an already coded block located in the vicinity of the coding target block has been subjected; and successively coding the frequency components corresponding to the image signal-of-the coding target block according to the order which has been set.
Thus, a processing order for coding is set to frequency components corresponding to an image signal of a coding target block, according to a combination pattern of the kind of frequency transformation to which the image signal of the coding target block has been subjected and the kind of frequency transformation to which an image signal of an already coded block located in the vicinity of the coding target block has been subjected. Therefore, scanning processing for setting a coding order is controlled more finely and a more suitable scan is selected. Consequently, a run length is more increased, resulting in further improved coding efficiency.
According to a fourth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components in a prescribed order, in an order which is decided according to a combination pattern of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected and frequency transformation to which an image signal corresponding to an already decoded block located in the vicinity of the decoding target block has been subjected, thereby generating frequency components corresponding to the decoding target block; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, an input signal that is obtained by coding various frequency components in a prescribed order is subjected to rearrangement in an order which is decided according to a combination pattern of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected and frequency transformation to which an image signal corresponding to an already decoded block located in the vicinity of the decoding target block has been subjected, thereby generating frequency components corresponding to the decoding target block. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using an adaptive scan changing method, i.e., a method for adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a fifth aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; generating predicted values of the frequency components corresponding to the coding target block from frequency components corresponding to an already coded block located in the vicinity of the coding target block, by a prescribed prediction process; setting a processing order for coding difference values between the frequency components of the coding target block and the predicted values, according to a combination pattern of the kind of frequency transformation to which the image signal of the coding target block has been subjected and the kind of the prediction process; and successively coding the difference values corresponding to the coding target block according to the order which has been set.
Thus, a processing order for coding is set to difference values between frequency components of a coding target block and predicted values of the frequency components, according to a combination pattern of the kind of frequency transformation to which an image signal of the coding target block has been subjected and the kind of a prediction process. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.
According to a sixth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order, in an order which is decided according to a combination pattern of the kind of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected and the kind of the prediction process; generating predicted values of frequency components corresponding to the decoding target block from frequency-components corresponding to an already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process; generating frequency components corresponding to the decoding target block on the basis of the input signal after the rearrangement and the predicted values; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order is subjected to rearrangement in an order which is decided according to a combination pattern of the kind of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected and the kind of the prediction process; and predicted values of frequency components corresponding to the decoding target block are generated from frequency components corresponding to an already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using a fine and adaptive scan changing method, i.e., a method for finely and adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a seventh aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; generating predicted values of the frequency components corresponding to the coding target block from frequency components corresponding to an already coded block located in the vicinity of the coding target block, by a prescribed prediction process; setting a processing order for coding difference values between the frequency components of the coding target block and the predicted values, according to a combination pattern of the kind of frequency transformation to which the image signal of the coding target block has been subjected, the kind of frequency transformation to which an image signal of the already coded block located in the vicinity of the coding target block has been subjected, and the kind of the prediction process; and successively coding the difference values corresponding to the coding target block according to the order which has been set.
Thus, a processing order for coding is set to difference values between frequency components of a coding target block and predicted values of the frequency components, according to a combination pattern of the kind of frequency transformation to which an image signal of the coding target block has been subjected, the kind of frequency transformation to which an image signal of an already coded block located in the vicinity of the coding target block has been subjected, and the kind of a prediction process. Therefore, scanning processing for setting a coding order is controlled more finely and a more suitable scan is selected. Consequently, a run length is more increased, resulting in further improved coding efficiency.
According to an eighth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order, in an order which is decided according to a combination pattern of the kind of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected, the kind of frequency transformation to which an image signal corresponding to an already decoded target block located in the vicinity of the decoding target block has been subjected, and the kind of the prediction process; generating predicted values of frequency components corresponding to the decoding target block from frequency components corresponding to the already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process; generating frequency components corresponding to the decoding target block on the basis of the input signal after the rearrangement and the predicted values; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order is subjected to rearrangement in an order which is decided according to a combination pattern of the kind of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected, the kind of frequency transformation to which an image signal corresponding to an already decoded block located in the vicinity of the decoding target block has been subjected, and the kind of the prediction process, and predicted values of frequency components corresponding to the decoding target block are generated from frequency components corresponding to the already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded using a fine and adaptive scan changing method, i.e., a method for finely and adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a ninth aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; a frequency transformation unit for performing block-by-block frequency transformation to the blocked image signal to output frequency components corresponding to the image signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the image signal of each block; plural scanners having different orders of rearrangement, and each setting a prescribed processing order to the quantized values by rearranging the quantized values; a scan control unit for outputting a control signal for selecting a scanner to be used for rearranging the quantized values, according to the frequency transformation type information; and a variable-length coding unit for performing variable-length coding to the quantized values after the rearrangement.
Thus, a processing order for coding is set to frequency components corresponding to an image signal of a coding target block, according as the image signal of the coding target block has been subjected to frame-by-frame frequency transformation or field-by-field frequency transformation. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency in the interlaced image coding. In addition, in coding of a specific progressive image in which frame DCT blocks and field DCT blocks coexist, the same effect is obtained.
According to a tenth aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation on a frame basis or on a field basis to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing rearrangement and variable-length coding to quantized values of frequency components of an image signal corresponding to each block; plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement, thereby outputting the quantized values; an inverse scan control unit for outputting a control signal for selecting an inverse scanner to be used for rearranging the quantized values, according to frequency transformation type information indicating whether frequency transformation in coding is performed on a frame basis or on a field basis; an inverse quantization unit for inverse-quantizing the quantized values to output frequency components of an image signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output an image signal corresponding to each block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to the frequency transformation type information to output a digital image signal.
Thus, an input signal that is obtained by coding various frequency components in a prescribed order is subjected to rearrangement in an order which is decided according as an image signal corresponding to a decoding target block to be subjected to decoding has been subjected to frame-by-frame frequency transformation on a frame basis or field-by-field frequency transformation on a field basis, thereby generating frequency components corresponding to the decoding target block. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using an adaptive scan changing method, i.e., a method for adaptively changing a processing order for coding, thereby regenerating an image signal.
According to an eleventh aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; a frequency transformation unit for performing block-by-block frequency transformation to the blocked image signal to output frequency components corresponding to the image signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the image signal of each block; a predictor for generating predicted values of quantized values corresponding to a coding target block to be subjected to coding, from quantized values corresponding to an already coded block located in the vicinity of the coding target block, and outputting the predicted values and prediction information concerning the kind of the generating process of the predicted values; a first adder for subtracting the predicted values from the quantized values corresponding to the coding target block to output difference values; a second adder for adding the predicted values to the difference values to output the result of the addition as quantized values corresponding to an already coded block; plural scanners having different orders of rearrangement, and each rearranging the difference values; a scan control unit for outputting a control signal for selecting a scanner to be used for rearranging the difference values, according to the prediction information and the frequency transformation type information; and a variable-length coding unit for performing variable-length coding to the difference values after the rearrangement.
Thus, a processing order for coding is set to difference values between frequency components of a coding target block and predicted values of the frequency components, according to a combination pattern of the kind of frequency transformation to which an image signal of the coding target block has been subjected and the kind of a prediction process. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.
According to a twelfth aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing prediction, rearrangement, and variable-length coding to quantized values of frequency components of an image signal corresponding to each block; plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement; an inverse scan control unit for outputting a control signal for selecting an inverse scanner to be used for rearranging the quantized values, according to frequency transformation type information indicating the kind of frequency transformation in coding and prediction information indicating the kind of prediction in coding; an inverse quantization unit for inverse-quantizing the quantized values to output frequency components of an image signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output an image signal corresponding to each block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to the frequency transformation type information to output a digital image signal.
Thus, an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order is subjected to rearrangement in an order which is decided according to a combination pattern of the kind of frequency transformation to which an image signal corresponding to a decoding target block to be subjected to decoding has been subjected and the kind of the prediction process, and predicted values of frequency components corresponding to the decoding target block are generated from frequency components corresponding to an already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using a fine and adaptive scan changing method, i.e., a method for finely and adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a thirteenth aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; setting a processing order for coding the frequency components corresponding to the image signal of the coding target block, according to a distribution of frequency components corresponding to an image signal of an already coded block; and successively coding the frequency components corresponding to the image signal of the coding target block according to the order which has been set.
Thus, a processing order for coding is set to frequency components corresponding to a coding target block, according to a processing order for coding suitable for frequency components corresponding to an already coded block. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency. In addition, in coding of a specific progressive image in which frame DCT blocks and field DCT blocks coexist, the same effect is obtained.
According to a fourteenth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components in a prescribed order, in an order which is decided according to a distribution of frequency components of an image signal corresponding to an already decoded block; thereby generating frequency components corresponding to a decoding target block to be subjected to decoding; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, an input signal that is obtained by coding various frequency components in a prescribed order is subjected to rearrangement in an order which is decided according to a processing order for coding suitable for frequency components corresponding to an already decoded block, thereby generating frequency components corresponding to a decoding target block to be subjected to decoding. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using a fine and adaptive scan changing method, i.e., a method for finely and adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a fifteenth aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises transforming an image signal of a coding target block to be subjected to coding into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; generating predicted values of the frequency components corresponding to the coding target block from frequency components corresponding to an already coded block located in the vicinity of the coding target block, by a prescribed prediction process; setting a processing order for coding difference values between the frequency components of the coding target block and the predicted values, with switching, on the basis of flag information indicating whether adaptive order setting is carried out or not, between the first order setting operation in which a processing order is adaptively set according to the kind of the prediction process, and the second order setting operation in which a specific processing order is set regardless of the kind of the prediction process; and successively coding the difference values corresponding to the coding target block according to the processing order which has been set, and transmitting/storing a resulting coded signal, together with the flag information.
Thus, in coding, an adaptive scan is switched to OFF to execute a specific scan suitable for an interlaced image or a specific progressive image when required, whereby coding of an interlaced image or a specific progressive image can be efficiently simplified.
According to a sixteenth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order, with switching, on the basis of flag information indicating whether adaptive rearrangement is carried out or not, which information is input together with the input signal, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kind of the prediction process, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kind of the prediction process; generating predicted values of frequency components corresponding to a decoding target block to be subjected to decoding from frequency components corresponding to an already decoded block located in the vicinity of the decoding target block, on the basis of the kind of the prediction process; generating frequency components corresponding to the decoding target block on the basis of the input signal after the rearrangement and the predicted values; and performing inverse frequency transformation to the frequency components corresponding to the decoding target block to regenerate an image signal corresponding to the decoding target block.
Thus, in decoding, an adaptive inverse scan is switched to OFF to execute a specific inverse scan suitable for an interlaced image or a specific progressive image when required, whereby accurate decoding can be carried out to an interlaced image or a specific progressive image which has been subjected to a specific scan by switching an adaptive scan to OFF in coding.
According to a seventeenth aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises generating predicted values of an image signal of a coding target block to be subjected to coding from an image signal corresponding to an already coded display screen different from a display screen including the coding target block, by a prescribed prediction process; transforming difference values between the image signal of the coding target block and the predicted values into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; setting a processing order for coding the frequency components of the coding target block, with switching, on the basis of flag information indicating whether adaptive order setting is carried out or not, between the first order setting operation in which a processing order is adaptively set according to the kind of the prediction process, and the second order setting operation in which a specific processing order is set regardless of the kind of the prediction process; and successively coding the frequency components corresponding to the coding target block according to the processing order which has been set, and transmitting/storing a resulting coded signal, together with the flag information.
Thus, in coding, since, for each of intra-coded macroblocks and inter-coded macroblocks, one of plural scans is selected according to a parameter concerning prediction and a scan switching signal, a scan suitable for each coding method is performed. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
According to an eighteenth aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal that is obtained by coding various frequency components which have been subjected to a prediction process in a prescribed order, with switching, on the basis of flag information indicating whether adaptive rearrangement is carried out or not, which information is input together with the input signal, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kind of the prediction process, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kind of the prediction process; performing inverse frequency transformation to the input signal after the rearrangement to generate a difference signal corresponding to a decoding target block to be subjected to decoding; generating predicted values of an image signal of the decoding target block from an image signal corresponding to an already decoded display screen different from a display screen including the decoding target block, on the basis of the kind of the prediction process; and regenerating an image signal corresponding to the decoding target block on the basis of the difference signal and the predicted values.
Thus, in decoding, for each of intra-coded macroblocks and inter-coded macroblocks, one of plural inverse scans is selected according to a parameter concerning prediction and a scan switching signal. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to the parameter concerning prediction and the scan switching signal, thereby regenerating an image signal.
According to a nineteenth aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; a frequency transformation unit for performing block-by-block frequency transformation to the blocked image signal to output frequency components corresponding to the image signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the image signal of each block; plural scanners having different orders of rearrangement, and each setting a prescribed processing order to the quantized values by rearranging the quantized values; a characteristic analyzing unit for performing characteristic analysis of the output of the quantization unit to output a scan specifying signal for specifying a scanner which performs rearrangement suitable for the quantized values of each block; a memory for temporarily storing the scan specifying signals from the characteristic analyzing unit; a scan control unit for outputting a control signal for selecting a scanner to be used for rearranging quantized values of a coding target block to be subjected to coding, according to the scan specification signals which are stored in the memory; and a variable-length coding unit for performing variable-length coding to the quantized values after the rearrangement.
Thus, a processing order for coding is set to frequency components corresponding to a coding target block, according to a processing order for coding suitable for frequency components corresponding to an already coded block. Therefore, in coding of an interlaced image in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency. In addition, in coding of a specific progressive image in which frame DCT blocks and field DCT blocks coexist, the same effect is obtained.
According to a twentieth aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation on a frame basis or on a field basis to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing rearrangement and variable-length coding to quantized values of frequency components of an image signal corresponding to each block; plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement; a characteristic analyzing unit for performing characteristic analysis of the output of the inverse scanner to output a scan specifying signal for specifying an inverse scanner which performs rearrangement suitable for the quantized values of each block; a memory for temporarily storing the scan specifying signals from the characteristic analyzing unit; an inverse scan control unit for outputting a control signal for selecting an inverse scanner to be used for rearranging quantized values of a decoding target block to be subjected to decoding, according to the scan specification signals which are stored in the memory; an inverse quantization unit for inverse-quantizing the quantized values output from the selected inverse scanner to output frequency components of an image signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output an image signal corresponding to each block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to frequency transformation type information indicating whether frequency transformation in coding is performed on a frame basis or on a field basis, to output a digital image signal.
Thus, an input signal that is obtained by coding various frequency components in a prescribed order is subjected to rearrangement in an order which is decided according to a processing order for coding suitable for frequency components corresponding to an already decoded block, thereby generating frequency components corresponding to a decoding target block to be subjected to decoding. Therefore, in variable-length decoding of DCT coefficients of either a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using a fine and adaptive scan changing method, i.e., a method for finely and adaptively changing a processing order for coding, thereby regenerating an image signal.
According to a twenty-first aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; a frequency transformation unit for performing block-by-block frequency transformation to the blocked image signal to output frequency components corresponding to the image signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the image signal of each block; a predictor for generating predicted values of quantized values corresponding to a coding target block to be subjected to coding, from quantized values corresponding to an already coded block located in the vicinity of the coding target block, and outputting the predicted values and prediction information concerning the kind of the generating process of the predicted values; a first adder for subtracting the predicted values from the quantized values corresponding to the coding target block to output difference values; a second adder for adding the predicted values to the difference values to output the result of the addition as quantized values corresponding to an already coded block; plural scanners having different orders of rearrangement, and each being selected by a selecting signal and rearranging the difference values; a scan control unit for outputting a first control signal for selecting a scanner to be used for rearranging the difference values, according to the prediction information; a switch for selecting one of the first control signal and a second control signal for selecting a specific scan, according to a scan changing signal which is generated outside/inside a system, and outputting the selected control signal as the selecting signal of the scanner, and a variable-length coding unit for performing variable-length coding to the difference values after the rearrangement.
Thus, in coding, an adaptive scan is switched to OFF to execute a specific scan suitable for an interlaced image or a specific progressive image when required, whereby coding of an interlaced image or a specific progressive image can be efficiently simplified.
According to a twenty-second aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation on a frame basis or on a field basis to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing prediction, rearrangement, and variable-length coding to quantized values of frequency components of an image signal corresponding to each block; plural inverse scanners having different orders of rearrangement, and each being selected by a selecting signal, and rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement; an inverse scan control unit for outputting a first control signal for selecting an inverse scanner to be used for rearranging the quantized values, according to prediction information indicating the kind of prediction in coding; a switch for selecting one of the first control signal and a second control signal for selecting a specific scan, according to a scan changing signal, and outputting the selected control signal as the selecting signal of the inverse scanner; a predictor for generating predicted values of quantized values corresponding to a decoding target block to be subjected to decoding, from quantized values corresponding to an already decoded block located in the vicinity of the decoding target block, according to the prediction information; an adder for adding the predicted values to the output of the inverse scanner; an inverse quantization unit for inverse-quantizing the output of the adder to output frequency components of an image signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output an image signal corresponding to each block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to frequency transformation type information indicating whether frequency transformation in coding is performed on a frame basis or on a field basis, to output a digital image signal.
Thus, in decoding, an adaptive inverse scan is switched to OFF to execute a specific inverse scan suitable for an interlaced image or a specific progressive image when required, whereby accurate decoding can be carried out to an interlaced image or a specific progressive image which has been subjected to a specific scan by switching an adaptive scan to OFF in coding.
According to a twenty-third aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; a first adder for subtracting predicted values of the blocked image signal from the blocked image signal to output a difference signal; a frequency transformation unit for performing block-by-block frequency transformation to the difference signal to output frequency components corresponding to the difference signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the image signal of each block; an inverse quantization unit for inverse-quantizing the quantized values to output the frequency components corresponding to the difference signal of each block; an inverse frequency transformation unit for performing inverse frequency transformation to the output of the inverse quantization unit to output the difference signal of each block; a second adder for adding the predicted values to the output of the inverse frequency transformation unit, and storing the result of the addition in a frame memory, as an image signal of an already coded block as a constituent of an already coded display screen; a predictor for generating the predicted values on the basis of the image signal of each block and an image signal of an already coded block which is stored in the frame memory, and outputting the predicted values and prediction information concerning the generating process of the predicted values; plural scanners having different orders of rearrangement, and each rearranging the quantized values; a scan control unit for outputting a control signal for selecting a scanner to be used for rearranging the quantized values, according to a scan changing signal which is generated outside/inside a system and the prediction information; and a variable-length coding unit for performing variable-length coding to the quantized values after the rearrangement.
Thus, in coding, since, for each of intra-coded macroblocks and inter-coded macroblocks, one of plural scans is selected according-to a parameter concerning prediction and a scan switching signal, a scan suitable for each coding method is performed. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
According to a twenty-fourth aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation on a frame basis or on a field basis to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing prediction, frequency transformation, quantization, rearrangement, and variable-length coding to an image signal corresponding to each block; plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement; an inverse scan control unit for outputting a control signal for selecting an inverse scanner to be used for rearranging the quantized values, according to a scan changing signal and prediction information indicating the kind of prediction in coding; an inverse quantization unit for inverse-quantizing the output of the inverse scanner to output frequency components of a difference signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output a difference signal corresponding to each block; an adder for adding predicted values of an image signal corresponding to each block to the difference signal to output an image signal corresponding to each block; a frame memory for storing the output of the adder, as an image signal of an already decoded block as a constituent of an already decoded display screen; a predictor for generating the predicted values on the basis of the prediction information and an image signal of an already coded block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to frequency transformation type information indicating whether frequency transformation in coding is performed on a frame basis or on a field basis, to output a digital image signal.
Thus, in decoding, for each of intra-coded macroblocks and inter-coded macroblocks, one of plural inverse scans is selected according to a parameter concerning prediction and a scan switching signal. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to the parameter concerning prediction and the scan switching signal, thereby regenerating an image signal.
According to a twenty-fifth aspect of the present invention, an image processing method for dividing a digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises generating inter-frame predicted values of an image signal of a coding target block to be subjected to coding, from an image signal corresponding to an already coded display screen different from a display screen including the coding target block, by a prescribed inter-frame prediction process; transforming one of inter-frame difference values between the image signal of the coding target block and the inter-frame predicted values, and the image signal of the coding target block, into frequency components by one of frame-by-frame frequency transformation on a frame basis and field-by-field frequency transformation on a field basis; generating intra-frame predicted values of the frequency components corresponding to the coding target block from frequency components corresponding to an already coded block located in the vicinity of the coding target block, by a prescribed intra-frame prediction process; setting a processing order for coding intra-frame difference values between the frequency components of the coding target block and the intra-frame predicted values, with switching, on the basis of flag information indicating switching of order setting, between the first order setting operation in which a processing order is adaptively set according to the kinds of both the prediction processes, and the second order setting operation in which a specific processing order is set regardless of the kinds of both the prediction processes; and successively coding the intra-frame difference values corresponding to the coding target block according to the processing order which has been set, and transmitting/storing a resulting coded signal, together with the flag information.
Thus, in coding, switching is performed, on the basis of flag information indicating switching of order setting, between the first order setting operation in which a processing order for coding is adaptively set to intra-frame difference values between frequency components of a coding target block and intra-frame predicted values of the frequency components, according to the kinds of inter-frame prediction and intra-frame prediction processes, and the second order setting operation in which a specific processing order for coding is set thereto, regardless of the kinds of both the prediction processes. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is still more increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
Specifically, in coding of an interlaced image signal, switching is performed, according to a scan mode switching signal, between a first coding mode in which an adaptive scan is performed to quantized values of an intra-coded block and a zigzag scan is performed to quantized values of an inter-coded block, and a second coding mode in which a scan which gives a priority to a first vertical direction is performed to the quantized values of the intra-coded block and a scan which gives a priority to a second vertical direction is performed to the quantized values of the inter-coded block. Accordingly, in coding of an interlaced image signal in which inter-coded blocks and intra-coded blocks having different frequency component distributions coexist, coding efficiency can be further improved.
According to a twenty-sixth aspect of the present invention, in the image processing method as defined in the twenty-fifth aspect of the invention, an interlaced image signal is received as the digital image signal; in the first order setting operation, concerning an inter-coded block in which the frequency components obtained by the frequency transformation correspond to the inter-frame difference values of the coding target block, the processing order from the side of low-frequency components toward the side of high-frequency components is set so that the components arranged along a horizontal direction of a display screen and the components arranged along a vertical direction have uniform priorities; and concerning an intra-coded block in which the frequency components obtained by the frequency transformation correspond to the image signal of the coding target block, the processing order from the side of low-frequency components toward the side of high-frequency components is adaptively set according to the kind of the intra-frame prediction process; and in the second order setting operation, concerning both the inter-coded block and intra-coded block, the processing order from the side of low-frequency components toward the side of high-frequency components is set so that the components arranged along a vertical direction of a display screen have priority over the components arranged along a horizontal direction.
Thus, in coding, switching is performed, on the basis of flag information indicating switching of order setting, between the first order setting operation in which a processing order for coding is adaptively set to intra-frame difference values between frequency components of a coding target block and intra-frame predicted values of the frequency components, according to the kinds of inter-frame prediction and intra-frame prediction processes, and the second order setting operation in which a specific processing order for coding is set thereto, regardless of the kinds of both the prediction processes. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is still more increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
According to a twenty-seventh aspect of the present invention, an image processing method for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises performing rearrangement to an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, with switching, on the basis of flag information indicating switching of rearrangement, which information is input together with the input signal, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kinds of both the prediction processes; generating intra-frame predicted values of frequency components corresponding to the decoding target block from frequency components corresponding to an already decoded block located in the vicinity of the decoding target block, by the intra-frame prediction process; generating frequency components corresponding to the decoding target block on the basis of the input signal after the rearrangement and the intra-frame predicted values; performing inverse frequency transformation to the frequency components corresponding to the decoding target block to generate one of an image signal corresponding to the decoding target block and a difference signal corresponding to the same block; and adding, to the difference signal corresponding to the decoding target block, inter-frame predicted values of an image signal of the decoding target block, which are generated from an image signal corresponding to an already decoded display screen different from a display screen including the decoding target block by the inter-frame prediction process, thereby generating an image signal corresponding to the decoding target block.
Thus, in decoding, switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is adaptively rearranged in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is rearranged in a specific order, regardless of the kinds of both the prediction processes. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to a parameter concerning prediction and a scan switching signal, thereby regenerating an image signal.
According to a twenty-eighth aspect of the present invention, in the image processing method as defined in the twenty-seventh aspect of the invention, a coded interlaced image signal, which is obtained by coding an interlaced image signal block by block, is received as the coded image signal to be subjected to decoding; in the first rearrangement operation, concerning an inter-coded block in which frequency components obtained by frequency transformation of the interlaced image signal correspond to inter-frame difference values of a coding target block, the frequency components to which the processing order from the side of low-frequency components toward the side of high-frequency components has been uniformly set so that the components arranged along a horizontal direction of a display screen and the components arranged along a vertical direction have uniform priorities, are rearranged according to the processing order which has been uniformly set; and concerning an intra-coded block in which frequency components obtained by frequency transformation of the inter-laced image signal correspond to an image signal of a coding target block, the frequency components to which the processing order from the side of low-frequency components toward the side of high-frequency components has been adaptively set according to the kind of the intra-frame prediction process, are rearranged according to the processing order which has been adaptively set; and in the second rearrangement operation, concerning both the inter-coded block and intra-coded block, the frequency components to which the processing order from the side of low-frequency components toward the side of high-frequency components has been set so that the components arranged along a vertical direction of a display screen have priority over the components arranged along a horizontal direction, are rearranged according to the processing order which has been set with a priority given to a vertical direction.
Thus, in decoding, switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is adaptively rearranged in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is rearranged in a specific order, regardless of the kinds of both the prediction processes. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to a parameter concerning prediction and a scan switching signal, thereby regenerating an image signal.
According to a twenty-ninth aspect of the present invention, an image processing apparatus for dividing an input digital image signal into plural image signals corresponding to plural blocks constituting a single display screen, and performing block-by-block coding of the image signals of the respective blocks, comprises a blocking unit for blocking the digital image signal correspondingly to the respective blocks, frame by frame or field by field, which is used as a processing unit of frequency transformation, and outputting the blocked image signal and frequency transformation type information indicating the processing unit of frequency transformation; inter-frame prediction means for performing inter-frame prediction to the blocked image signal to output inter-frame prediction data corresponding to inter-frame difference values between the image signal of each block and inter-frame predicted values of the image signal, and outputting inter-frame prediction information concerning the generating process of the inter-frame predicted values; intra-frame prediction means for generating intra-frame predicted values of inter-frame prediction data corresponding to a coding target block from inter-frame prediction data corresponding to an already coded block located in the vicinity of the coding target block, outputting intra-frame difference values between the inter-frame prediction data and the intra-frame predicted values, and outputting intra-frame prediction information concerning the kind of the generating process of the intra-frame predicted values; scanning means including plural scanners having different orders of rearrangement, and each being selected by a selecting signal and rearranging the intra-frame difference values, the scanning means selecting a scanner to be used for rearranging the intra-frame difference values, according to the inter-frame prediction information and a scan changing signal which is generated outside/inside a system; and a variable-length coding unit for performing variable-length coding to the intra-frame difference values after the rearrangement; and said scanning means being constructed so that switching is performed, on the basis of the scan changing signal, between the first order setting operation in which a coding order is adaptively set to the intra-frame difference values corresponding to the coding target block, according to the kinds of both the prediction processes, and the second order setting operation in which a specific coding order is set thereto, regardless of the kinds of both the prediction processes.
Thus, in coding, switching is performed, on the basis of flag information indicating switching of order setting, between the first order setting operation in which a processing order for coding is adaptively set to intra-frame difference values between frequency components of a coding target block and intra-frame predicted values of the frequency components, according to the kinds of inter-frame prediction and intra-frame prediction processes, and the second order setting operation in which a specific processing order for coding is set thereto, regardless of the kinds of both the prediction processes. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is still more increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
According to a thirtieth aspect of the present invention, in the image processing apparatus as defined in the twenty-ninth aspect of the invention, said inter-frame prediction means comprises a first adder for subtracting inter-frame predicted values of the blocked image signal from the blocked image signal to output a difference signal; a frequency transformation unit for performing block-by-block frequency transformation to the difference signal to output frequency components corresponding to the difference signal of each block; a quantization unit for quantizing the frequency components to output quantized values corresponding to the difference signal of each block as the inter-frame prediction data; an inverse quantization unit for inverse-quantizing the quantized values to output the frequency components corresponding to the difference signal of each block; an inverse frequency transformation unit for performing inverse frequency transformation to the output of the inverse quantization unit to output the difference signal of each block; a second adder for adding the inter-frame predicted values to the output of the inverse frequency transformation unit, and storing the result of the addition in a frame memory, as an image signal of an already coded block as a constituent of an already coded display screen; and an inter-frame predictor for generating the inter-frame predicted values on the basis of the image signal of each block and an image signal of an already coded block which is stored in the frame memory, and outputting the inter-frame predicted values and inter-frame prediction information concerning the generating process of the inter-frame predicted values; and said intra-frame prediction means comprises an intra-frame predictor for generating intra-frame predicted values of quantized values corresponding to a coding target block from quantized values corresponding to an already coded block located in the vicinity of the coding target block, and outputting the intra-frame predicted values and intra-frame prediction information concerning the kind of the generating process of the intra-frame predicted values; a third adder for subtracting the intra-frame predicted values from the quantized values corresponding to the coding target block to output intra-frame difference values; and a fourth adder for adding the intra-frame predicted values to the difference values to output the result of the addition as quantized values corresponding to an already coded block.
Thus, in coding, switching is performed, on the basis of flag information indicating switching of order setting, between the first order setting operation in which a processing order for coding is adaptively set to intra-frame difference values between frequency components of a coding target block and intra-frame predicted values of the frequency components, according to the kinds of inter-frame prediction and intra-frame prediction processes, and the second order setting operation in which a specific processing order for coding is set thereto, regardless of the kinds of both the prediction processes. Therefore, in inter coding of an interlaced image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is still more increased, thereby improving coding efficiency. In addition, in inter coding of a specific progressive image in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, the same effect is obtained.
According to a thirty-first aspect of the present invention, an image processing apparatus for performing block-by-block decoding of a coded image signal that is obtained by performing a coding process including frequency transformation to a digital image signal, for each of blocks constituting a single display screen, comprises a variable-length decoding unit for performing variable-length decoding to a coded string that is obtained by performing inter-frame prediction, intra-frame prediction, frequency transformation, quantization, rearrangement, and variable-length coding to an image signal corresponding to each block; inverse scanning means including plural inverse scanners having different orders of rearrangement, and each rearranging quantized values which have been rearranged in coding so that the order of the quantized values is returned to the order before the rearrangement, the inverse scanning means selecting an inverse scanner to be used for rearranging the quantized values, according to a scan changing signal which is generated outside/inside a system, and inter-frame prediction information indicating the kind of inter-frame prediction and intra-frame prediction information indicating the kind of intra-frame prediction in coding; intra-frame prediction means for generating intra-frame predicted values of quantized values corresponding to a decoding target block from quantized values corresponding to an already decoded block located in the vicinity of the decoding target block, according to the intra-frame prediction information, and outputting the result of addition between the output of the inverse scanning means and the intra-frame predicted values; inter-frame prediction means for performing inter-frame prediction to the output of the intra-frame prediction means on the basis of the inter-frame prediction information, to generate an image signal corresponding to each block; and an inverse blocking unit for inverse-blocking the image signals of the respective blocks according to frequency transformation type information indicating a processing unit of frequency transformation in coding, to output a digital image signal; and said inverse scanning means being constructed so that switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of the decoding target block that is obtained by coding various frequency components which have been subjected to the inter-frame prediction process and the intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is subjected to adaptive rearrangement in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is subjected to rearrangement in a specific order, regardless of the kinds of both the prediction processes.
Thus, in decoding, switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is adaptively rearranged in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is rearranged in a specific order, regardless of the kinds of both the prediction processes. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to a parameter concerning prediction and a scan switching signal, thereby regenerating an image signal.
According to a thirty-second aspect of the present invention, in the image processing apparatus as defined in the thirty-first aspect of the invention, said intra-frame prediction means comprises an intra-frame predictor for generating intra-frame predicted values of quantized values corresponding to a decoding target block from quantized values corresponding to an already decoded block located in the vicinity of the decoding target block, according to intra-frame prediction information; and a first adder for adding the intra-frame predicted values to the output of the selected inverse scanner; and said inter-frame prediction means comprises an inverse quantization unit for inverse-quantizing the output of the first adder to output frequency components of a difference signal corresponding to each block; an inverse frequency transformation unit for performing inverse frequency transformation to the frequency components to output a difference signal corresponding to each block; a second adder for adding inter-frame predicted values of an image signal corresponding to each block to the difference signal to output an image signal corresponding to each block; a frame memory for storing the output of the second adder, as an image signal of an already decoded block as a constituent of an already decoded display screen; and an inter-frame predictor for generating the inter-frame predicted values on the basis of inter-frame prediction information and an image signal of an already coded block.
Thus, in decoding, switching is performed, on the basis of flag information indicating switching of rearrangement, which information is input together with an input signal of a decoding target block to be subjected to decoding that is obtained by coding various frequency components which have been subjected to an inter-frame prediction process and an intra-frame prediction process in a prescribed order, between the first rearrangement operation in which the input signal is adaptively rearranged in an order according to the kinds of both the prediction processes, and the second rearrangement operation in which the input signal is rearranged in a specific order, regardless of the kinds of both the prediction processes. Therefore, accurate and efficient decoding can be carried out to a bit stream which has been coded by selecting one of plural scans for each of intra-coded macroblocks and inter-coded macroblocks, according to a parameter concerning prediction and a scan switching signal, thereby regenerating an image signal.
According to a thirty-third aspect of the present invention, a data recording medium contains an image processing program, which makes a computer execute image processing in the image processing method defined in any of the first to eighth, thirteenth to eighteenth, twenty-fifth and twenty-seventh aspects. Therefore, the same effect as in any of these aspects is obtained.
BRIEF DESCRIPTION OF THE DRAWINGS
<figref idref="DRAWINGS">FIG. 1</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with a first embodiment of the present invention.
FIGS. <b>2</b>(a)˜<b>2</b>(d) are diagrams illustrating constructions of scan control units which are used in the first and third embodiments of the invention.
<figref idref="DRAWINGS">FIG. 3</figref> is a flowchart showing a flow of an adaptive scan changing method according to any of the first and second embodiments of the invention.
<figref idref="DRAWINGS">FIG. 4</figref> is a flowchart showing a flow of another adaptive scan changing method according to any of the first and second embodiments of the invention.
<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus according to a modification of the first embodiment of the invention.
<figref idref="DRAWINGS">FIG. 6</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with a second embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 7</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus according to a modification of the second embodiment of the invention.
<figref idref="DRAWINGS">FIG. 8</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with a third embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 9</figref> is a flowchart showing a flow of an adaptive scan changing method according to any of the third and fourth embodiments of the invention.
<figref idref="DRAWINGS">FIG. 10</figref> is a flowchart showing a flow of another adaptive scan changing method according to any of the third and fourth embodiments of the invention.
<figref idref="DRAWINGS">FIG. 11</figref> is a block diagram illustrating a construction of an image-coding apparatus as an image processing apparatus according to a modification of the third embodiment of the invention.
<figref idref="DRAWINGS">FIG. 12</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with a fourth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 13</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus according to a modification of the fourth embodiment of the invention.
<figref idref="DRAWINGS">FIG. 14</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with a fifth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 15</figref> is a diagram illustrating a construction of a characteristic analyzing unit which is used in any of the fifth and sixth embodiments of the invention.
<figref idref="DRAWINGS">FIG. 16</figref> is a flowchart showing a flow of an adaptive scan changing method according to any of the fifth and sixth embodiments of the invention.
<figref idref="DRAWINGS">FIG. 17</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus according to a modification of the fifth embodiment of the invention.
<figref idref="DRAWINGS">FIG. 18</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with a sixth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 19</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus according to a modification of the sixth embodiment of the invention.
<figref idref="DRAWINGS">FIG. 20</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with a seventh embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 21</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with an eighth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 22</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with a ninth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 23</figref> is a flowchart showing a flow of an adaptive scan changing method according to any of the ninth and tenth embodiments of the invention.
<figref idref="DRAWINGS">FIG. 24</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with a tenth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 25</figref> is a diagram illustrating a construction of a data recording medium in accordance with a thirteenth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 26</figref> is a block diagram illustrating a construction of an image coding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 27</figref> is a diagram for explaining blocking of an image signal for each unit of DCT processing.
<figref idref="DRAWINGS">FIG. 28</figref> is a block diagram illustrating a construction of an image decoding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 29</figref> is a block diagram illustrating a construction of another image coding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 30</figref> is a diagram for conceptually explaining an intra-frame prediction method.
FIGS. <b>31</b>(a)˜<b>31</b>(c) are diagrams each illustrating the scanning order in a scan which is selected in a scan changing method.
<figref idref="DRAWINGS">FIG. 32</figref> is a block diagram illustrating a construction of another image decoding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 33</figref> is a block diagram illustrating a construction of still another image coding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 34</figref> is a block diagram illustrating a construction of still another image decoding apparatus as a conventional image processing apparatus.
<figref idref="DRAWINGS">FIG. 35</figref> is a block diagram illustrating a construction of an image coding apparatus as an image processing apparatus in accordance with an eleventh embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 36</figref> is a flowchart showing a flow of a scan changing method according to the eleventh embodiment of the invention.
<figref idref="DRAWINGS">FIG. 37</figref> is a block diagram illustrating a construction of an image decoding apparatus as an image processing apparatus in accordance with a twelfth embodiment of the present invention.
<figref idref="DRAWINGS">FIG. 38</figref> is a flowchart showing a flow of a scan changing method according to the twelfth embodiment of the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
A description will be given of embodiments of the present invention with reference to drawings.
[Embodiment 1]
<figref idref="DRAWINGS">FIG. 1</figref> is a block diagram illustrating a construction of an image processing apparatus according to a first embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 1</figref>, reference numeral <b>100</b>a designates the image processing apparatus (image coding apparatus) according to the first embodiment of the invention. This image coding apparatus <b>100</b>a includes the construction, of the conventional image coding apparatus <b>200</b>a shown in <figref idref="DRAWINGS">FIG. 26</figref>, and a circuit construction for performing adaptive scan changing processing in which a scan method is changed according to a DCT (discrete cosine transformation) type of a coding target block. Herein, the DCT type represents a signal indicating whether the coding target block has been subjected to frame DCT processing or field DCT processing.
That is, the image coding apparatus <b>100</b>a according to the first embodiment of the invention has a scanning unit <b>100</b>a<b>1</b> for performing the above-mentioned adaptive scan changing processing, in place of the scanner <b>109</b> in the conventional image coding apparatus <b>200</b>a, and the other construction of the image coding apparatus <b>100</b>a is the same as the image coding apparatus <b>200</b>a.
This scanning unit <b>100</b>a<b>1</b> consists of n pieces of scanners <b>109</b>s<b>1</b>˜<b>109</b>sn having different scan methods, i.e., each setting the different processing order to quantized values, a first switch <b>108</b>a for selecting one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn on the basis of a control signal <b>116</b> and supplying an output <b>107</b> of the quantization unit <b>106</b> to the selected scanner, a second switch <b>110</b>a for selecting one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn on the basis of the control signal <b>116</b> and supplying an output <b>111</b> of the selected scanner to the variable-length coding unit (hereinafter referred to as VLC unit) <b>112</b>, and a scan control unit <b>115</b> for generating the control signal <b>116</b> on the basis of DCT type information <b>114</b> which is output from the blocking unit <b>102</b>.
A description is given of the operation.
When an interlaced image signal <b>101</b> is input to the image coding apparatus <b>100</b>a, the blocking unit <b>102</b> blocks the interlaced image signal <b>101</b> frame by frame or field by field, and outputs an image signal (plural pixel values) <b>103</b> corresponding to each block. Further, the blocking unit <b>102</b> outputs a DCT type signal <b>114</b> indicating a blocking unit of the image signal <b>103</b>. The DCT unit <b>104</b> transforms the image signal <b>103</b> into DCT coefficients <b>105</b> by DCT, and outputs the DCT coefficients <b>105</b> corresponding to each block. The quantization unit <b>106</b> converts the DCT coefficients <b>105</b> into quantized values <b>107</b> by quantization.
At this time, the scan control unit <b>115</b> outputs a control signal <b>116</b> for controlling the switches <b>108</b>a and <b>110</b>a, according to the DCT type signal <b>114</b>. In the scanning unit <b>100</b>a<b>1</b>, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn is selected on the basis of the control signal <b>116</b>, and the quantized values <b>107</b> are scanned by the selected scanner. Thereby, the processing order for coding is set to the quantized values <b>107</b>. Then, the quantized values <b>111</b> to which the processing order has been set are output to the VLC unit <b>112</b>. The VLC unit <b>112</b> performs variable-length coding to the quantized values <b>111</b> according to the set order, and outputs the coded quantized values as a bit stream <b>113</b>.
FIG. <b>2</b>(a) shows a circuit construction of the scan control unit <b>115</b> in the image coding apparatus <b>100</b>a.
In this case, the scan control unit <b>115</b> consists of a decision unit <b>501</b>, which receives the DCT type signal <b>114</b> and outputs the control signal <b>116</b> to the switches <b>108</b>a and <b>110</b>a so that the switches select a scanner which is to perform a scan suitable for the DCT type of the coding target block.
A processing method by the decision unit <b>501</b> is described using a flowchart shown in FIG. <b>3</b>.
In step <b>601</b>, the decision unit <b>501</b> decides the DCT type of the coding target block on the basis of the DCT type signal <b>114</b>. As the result of the decision, when the coding target block is a frame DCT block, the decision unit <b>501</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>1</b> (<b>1</b>) (step <b>602</b>). Meanwhile, when the coding target block is a field DCT block, the decision unit <b>501</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>2</b> (<b>2</b>) (step <b>603</b>).
The scanner (<b>1</b>) performs a scan for setting the processing order for coding quantized values, which scan is suitable for a frame DCT block. For example, a scan in the order shown in FIG. <b>31</b>(a) is executed. The scanner (<b>2</b>) performs a scan which is suitable for a field DCT block. For example, a scan in the order shown in FIG. <b>31</b>(c) is executed.
In the above-mentioned construction, a suitable scan is selected according to a DCT type of a coding target block. Therefore, in interlaced image coding in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.
In addition, although in the first embodiment of the invention, the construction of the scan control unit in FIG. <b>2</b>(a) is described, a circuit construction shown in FIG. <b>2</b>(b) may be employed.
A scan control unit <b>115</b>a shown in FIG. <b>2</b>(b) consists of a decision unit <b>502</b> and a memory <b>503</b> for storing DCT type signals of already coded blocks.
In this scan control unit <b>115</b>a, the decision unit <b>502</b> selects a scan suitable for the coding target block on the basis of the DCT type signal <b>114</b> of the coding target block and a DCT type signal <b>504</b> of an already coded block, and outputs the control signal <b>116</b> to the switches <b>108</b>a and <b>110</b>a so that the selected scan is performed to the quantized values of the coding target block.
A processing method by the decision unit <b>502</b> is described using a flowchart shown in FIG. <b>4</b>.
In step <b>701</b>, the decision unit <b>502</b> decides the DCT type of the coding target block on the basis of the DCT type signal <b>114</b>. As the result of the decision, when the coding target block is a frame DCT block, the decision unit <b>502</b> decides a DCT type of an adjacent block which has been already coded, on the basis of the DCT type signal <b>504</b> of the already coded block (step <b>702</b>). Meanwhile, when the coding target block is a field DCT block, the decision unit <b>502</b> decides a DCT type of an adjacent block which has been already coded, on the basis of the DCT type signal <b>504</b> of the already coded block (step <b>703</b>).
As the result of the decision at step <b>702</b>, when the already coded block is a frame DCT block, the decision unit <b>502</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>1</b> (<b>1</b>) (step <b>704</b>). On the other hand, when the already coded block is a field DCT block, the decision unit <b>502</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>2</b> (<b>2</b>) (step <b>705</b>).
As the result of the decision at step <b>703</b>, when the already coded block is a frame DCT block, the decision unit <b>502</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>3</b> (<b>3</b>) (step <b>706</b>). On the other hand, when the already coded block is a field DCT block, the decision unit <b>502</b> outputs the control signal <b>116</b> for selecting the scanner <b>109</b>s<b>4</b> (<b>4</b>) (step <b>707</b>).
In this way, by combining the DCT types of the coding target block and the adjacent block, four scans are respectively selected at steps <b>704</b>, <b>705</b>, <b>706</b> and <b>707</b>.
More specifically, when both the coding target block and the adjacent block have been subjected to field DCT processing, it is thought that the image signal of the coding target block includes more high-frequency components. Therefore, a scan which gives a priority to quantized values corresponding to its high-frequency components is selected at step <b>704</b>. When either the coding target block or the adjacent block has been subjected to field DCT processing, it is thought that the image signal of the coding target block includes slightly more high-frequency components. Therefore, scans which slightly give a priority to quantized values corresponding to its high-frequency components are selected at steps <b>705</b> and <b>706</b>.
When both the coding target block and the adjacent block have been subjected to frame DCT processing, it is thought that the image signal of the coding target block includes fewer high-frequency components. Therefore, a scan which gives a priority to quantized values corresponding to low-frequency components is selected at step <b>707</b>.
In the above-mentioned construction, both a DCT type of a coding target block and a DCT type of an adjacent block are used for decision. Accordingly, scanning processing is controlled more finely and a more suitable scan is selected, as compared with the case of the method shown in <figref idref="DRAWINGS">FIG. 3</figref> (refer to FIG. <b>2</b>(a)). Consequently, a run length is more increased, resulting in further improved coding efficiency.
In addition, although in the first embodiment of the invention, the adaptive scan operation is always performed in coding, the coding may be switched between the operation of carrying out the adaptive scan and the operation of carrying out no adaptive scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 5</figref> is a block diagram illustrating an image coding apparatus according to a modification of the first embodiment of the invention. In <figref idref="DRAWINGS">FIG. 5</figref>, reference numeral <b>100</b>a′ designates the image coding apparatus according to the modification of the first embodiment. This image coding apparatus <b>100</b>a′ has a scanning unit <b>100</b>a<b>1</b>′ which performs switching between a scan mode for performing the adaptive scan operation and a scan mode for performing no adaptive scan operation according to a scan mode switching signal <b>1201</b>, in place of the scanning unit <b>100</b>a<b>1</b> which always performs the adaptive scan operation, in the image coding apparatus <b>100</b>a according to the first embodiment.
The scanning unit <b>100</b>a<b>1</b>′ includes the scanning unit <b>100</b>a<b>1</b> according to the first embodiment, and a mode switch <b>1203</b>a which selects one of the control signal <b>116</b> from the scan control unit <b>115</b> and a preset scan selecting signal <b>1202</b> for selecting a specific one from among plural scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>a and <b>110</b>a.
Herein, the scan mode switching signal <b>1201</b> is supplied, by manual operation, from the outside of the system (image coding apparatus). The scan selecting signal <b>1202</b> selects a specific scan suitable for an interlaced image, for example, a scan in the order shown in FIG. <b>31</b>(c). In addition, the scan mode switching signal <b>1201</b> may be output according to the result which is obtained by monitoring the coding efficiency on the basis of the output <b>113</b> of the VLC unit <b>112</b>.
In the construction according to the modification of the first embodiment, an adaptive scan is switched to OFF to execute a specific scan when required, whereby coding can be efficiently simplified.
In any of the first embodiment and its modification, a description is given of the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image coding apparatus may have a construction for performing, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, in coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, the efficiency of variable-length coding can be improved.
[Embodiment 2]
<figref idref="DRAWINGS">FIG. 6</figref> is a block diagram illustrating a construction of an image processing apparatus according to a second embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 6</figref>, reference numeral <b>100</b>b designates the image processing apparatus (image decoding apparatus) according to the second embodiment of the invention. This image decoding apparatus <b>100</b>b includes the construction of the conventional image decoding apparatus <b>200</b>b shown in <figref idref="DRAWINGS">FIG. 28</figref>, and a circuit construction for performing adaptive inverse scan changing processing in which an inverse scan method is changed according to a DCT type of a decoding target block. Herein, the DCT type represents a signal indicating whether a coded block corresponding to the decoding target block has been subjected to frame DCT processing or field DCT processing.
That is, the image decoding apparatus <b>100</b>b according to the second embodiment of the invention has an inverse scanning unit <b>100</b>b<b>1</b> for performing the above-mentioned adaptive inverse scan changing processing, in place of the inverse scanner <b>202</b> in the conventional image decoding apparatus <b>200</b>b, and the other construction of the image decoding apparatus <b>100</b>b is the same as the image decoding apparatus <b>200</b>b.
This inverse scanning unit <b>100</b>b<b>1</b> consists of n pieces of inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn having different inverse scan methods, i.e., each performing different rearrangement for returning quantized values which have been rearranged to the original order, a first switch <b>108</b>b for selecting one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn on the basis of a control signal <b>116</b> and supplying an output <b>111</b> of the variable-length decoding unit (hereinafter referred to as VLD unit) <b>201</b> to the selected inverse scanner, a second switch <b>110</b>b for selecting one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn on the basis of the control signal <b>116</b> and supplying an output <b>107</b> of the selected inverse scanner to the inverse quantization unit <b>203</b>, and an inverse scan control unit <b>115</b>b for generating the control signal <b>116</b> on the basis of the DCT type information <b>114</b> which is output from the blocking unit <b>102</b> in the image coding apparatus <b>100</b>a.
A description is given of the operation.
When a bit stream <b>113</b> output from the image coding apparatus <b>100</b>a is input to the image decoding apparatus <b>110</b>b, the VLD unit <b>201</b> performs variable-length decoding to the bit stream <b>113</b> to convert the bit stream <b>113</b> into quantized values <b>111</b>, and outputs the quantized values <b>111</b>. At this time, the inverse scan control unit <b>115</b>b outputs a control signal <b>116</b> for selecting an inverse scanner to the switches <b>108</b>b and <b>110</b>b, on the basis of a DCT type signal <b>114</b> from the image coding apparatus <b>100</b>a.
The quantized values <b>111</b> are inverse-scanned by the inverse scanner which is selected on the basis of the control signal <b>116</b>, thereby outputting quantized values <b>107</b> in the order before rearrangement in coding. Then, the inverse quantization unit <b>203</b> inverse-quantizes the quantized values <b>107</b>, and outputs DCT coefficients <b>105</b> corresponding to a decoding target block. The inverse DCT unit <b>204</b> transforms the DCT coefficients <b>105</b> into an image signal (plural pixel values) <b>103</b> corresponding to the decoding target block by inverse DCT. The inverse blocking unit <b>205</b> inverse-blocks the image signals <b>103</b> according to the DCT type signal <b>114</b>, thereby outputting an image signal <b>101</b> corresponding to a single display screen.
In the image decoding apparatus <b>100</b>b thus constructed, decoding using an adaptive inverse scan changing method is performed. Therefore, in variable-length decoding of DCT coefficients of a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using the adaptive scan changing method according to the first embodiment, thereby regenerating an image signal.
In addition, in the second embodiment of the invention, an inverse scanner is selected on the basis of a DCT type signal of a decoding target block. As described in the first embodiment, however, an inverse scanner may be selected on the basis of both a DCT type signal of a decoding target block and a DCT type signal of an already decoded block adjacent to the decoding target block.
Although in the second embodiment of the invention, the adaptive inverse scan operation is always performed in decoding, the decoding may be switched between the operation of carrying out the adaptive inverse scan and the operation of carrying out no adaptive inverse scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 7</figref> is a block diagram illustrating an image decoding apparatus according to a modification of the second embodiment of the invention. In <figref idref="DRAWINGS">FIG. 7</figref>, reference numeral <b>100</b>b′ designates the image decoding apparatus according to the modification of the second embodiment. This image decoding apparatus <b>100</b>b′ has an inverse scanning unit <b>100</b>b<b>1</b>′ which performs switching between a scan mode for performing the adaptive inverse scan operation and a scan mode for performing no adaptive inverse scan operation according to a scan mode switching signal <b>1201</b>, in place of the inverse scanning unit <b>100</b>b<b>1</b> which always performs the adaptive inverse scan operation in decoding, in the image decoding apparatus <b>100</b>b according to the second embodiment.
The inverse scanning unit <b>100</b>b<b>1</b>′ includes the inverse scanning unit <b>100</b>b<b>1</b> according to the second embodiment, and a mode switch <b>1203</b>b which selects one of the control signal <b>116</b> from the inverse scan control unit <b>115</b>b and a preset inverse scan selecting signal <b>1202</b>b for selecting a specific one from among plural inverse scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>b and <b>110</b>b.
Herein, like the scan selecting signal <b>1202</b> in the image coding apparatus <b>100</b>a′, the inverse scan selecting signal <b>1202</b>b selects a specific inverse scan suitable for an inter-laced image, for example, an inverse scan corresponding to a scan shown in FIG. <b>31</b>(c).
In the construction according to the modification of the second embodiment, in decoding, an adaptive inverse scan is switched to OFF to execute a specific inverse scan when required. Therefore, when an adaptive scan is switched to OFF to execute a specific scan in the image coding apparatus, a coded image signal can be accurately decoded.
In any of the second embodiment and its modification, a description is given of the image decoding apparatus corresponding to the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image decoding apparatus may have a construction corresponding to an image coding apparatus which performs, in coding a-progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, a coded image signal obtained by coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, can be accurately decoded.
[Embodiment 3]
<figref idref="DRAWINGS">FIG. 8</figref> is a block diagram illustrating a construction of an image processing apparatus according to a third embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 8</figref>, reference numeral <b>100</b>c designates the image processing apparatus (image coding apparatus) according to the third embodiment of the invention. This image coding apparatus <b>100</b>c has a scan control unit <b>310</b>c for generating a control signal <b>116</b> on the basis of both first prediction information (a first parameter concerning intra-frame prediction) <b>309</b>a and DCT type information <b>114</b> of a coding target block, in place of the scan control unit <b>1401</b>c in the conventional image coding apparatus <b>200</b>c shown in FIG. <b>29</b>.
Herein, as in the conventional image coding apparatus <b>200</b>c, the first parameter <b>309</b>a concerning intra-frame prediction includes ON/OFF information and prediction direction information of AC prediction, and second prediction information (a second parameter) <b>309</b>b includes only ON/OFF information of AC prediction.
As mentioned above, unlike the first prediction information <b>309</b>a used for scan control in the image coding apparatus, the second prediction information <b>309</b>b transmitted to the decoding side includes no prediction direction information. Accordingly, even when a prediction method is changed, it is not required to change the content of the second prediction information <b>309</b>b to be output to the decoding side, thereby easily dealing with the changed prediction method. However, the second prediction information <b>309</b>b may include not only the ON/OFF information of AC prediction but the prediction direction information, like the first prediction information <b>309</b>a.
That is, the image coding apparatus <b>100</b>c according to the third embodiment of the invention is different from the image coding apparatus according to the first embodiment, in that a prediction unit <b>100</b>c<b>2</b> for performing intra-frame prediction is added, and that the first parameter <b>309</b>a concerning intra-frame prediction is used for scan control and the second parameter <b>309</b>b is output to the decoding side.
In addition, in the image coding apparatus <b>100</b>c, switches <b>108</b>c and <b>110</b>c and n pieces of scanners <b>109</b>s<b>1</b>˜<b>109</b>sn of a scanning unit <b>100</b>c<b>1</b> have the same constructions as those of the scanning unit <b>100</b>a<b>1</b> according to the first embodiment, which are shown in FIG. <b>1</b>.
A description is given of the operation. The same operation as in the image coding apparatus <b>100</b>a according to the first embodiment is not described.
The predictor <b>305</b> generates predicted values of quantized values <b>107</b> of a coding target block from quantized values <b>306</b> of an already coded block, and outputs these predicted values <b>303</b>. Further, the predictor <b>305</b> outputs first and second parameters <b>309</b>a and <b>309</b>b concerning generation of the predicted values <b>303</b>. Then, the adder <b>301</b> performs subtraction of the predicted values <b>303</b> from the quantized values <b>107</b>, and outputs resulting difference values <b>302</b>. The scan control unit <b>310</b>c outputs a control signal <b>116</b> to the switches <b>108</b>c and <b>110</b>c, according to a DCT type signal <b>114</b> and the first parameter <b>309</b>a. One of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn is selected on the basis of the control signal <b>116</b>, and the difference values <b>302</b> are scanned by the selected scanner, thereby outputting difference values <b>307</b>. The VLC unit <b>112</b> performs variable-length coding to the difference values <b>307</b>, and outputs a resulting bit stream <b>308</b>. In addition, the adder <b>304</b> performs adding of the predicted values <b>303</b> to the difference values <b>302</b>, and outputs the result of the addition as quantized values <b>306</b> of an already coded block.
FIG. <b>2</b>(c) shows a circuit construction of the scan control unit <b>310</b>c.
In FIG. <b>2</b>(c), the scan control unit <b>310</b>c consists of a decision unit <b>505</b>, which receives the DCT type signal <b>114</b> and the first parameter <b>309</b>a concerning intra-frame prediction and outputs the control signal <b>116</b> to the switches <b>108</b>c and <b>110</b>c so that the switches select a scanner suitable for the DCT type of the coding target block and a scan by the selected scanner is performed to the quantized DCT coefficients.
A processing method by the decision unit <b>505</b> is described using a flowchart shown in FIG. <b>9</b>.
In step <b>801</b>, the decision unit <b>505</b> decides the DCT type of the coding target block on the basis of the DCT type signal <b>114</b>. As the result of the decision, when the coding target block is a field DCT block, the decision unit <b>505</b> outputs the control signal <b>116</b> for selecting the scanner (<b>4</b>) (step <b>807</b>).
Meanwhile, when the coding target block is a frame DCT block, ON/OFF decision of AC prediction is executed in step <b>802</b>. As the result of the decision at step <b>802</b>, when the AC prediction is in the OFF state, the decision unit <b>505</b> outputs the control signal <b>116</b> for selecting the scanner (<b>3</b>) (step <b>806</b>).
When the AC prediction is in the ON state, decision of a reference direction for prediction is executed in step <b>803</b>. As the result of the decision at step <b>803</b>, when the reference direction is horizontal, the decision unit <b>505</b> outputs the control signal <b>116</b> for selecting the scanner (<b>2</b>) (step <b>805</b>). When the reference direction is vertical, the decision unit <b>505</b> outputs the control signal <b>116</b> for selecting the scanner (<b>1</b>) (step <b>804</b>).
The scanner (<b>1</b>) performs a scan suitable for a frame DCT block when vertical prediction is performed. For example, a scan in the order shown in FIG. <b>31</b>(b) applies to the scan by the scanner (<b>1</b>). The scanner (<b>2</b>) performs a scan suitable for a frame DCT block when horizontal prediction is performed. For example, a scan in the order shown in FIG. <b>31</b>(c) applies to the scan by the scanner (<b>2</b>). The scanner (<b>3</b>) performs a scan suitable for a frame DCT block when AC prediction is not performed. For example, a scan in the order shown in FIG. <b>31</b>(a) applies to the scan by the scanner (<b>3</b>). The scanner (<b>4</b>) performs a scan suitable for a field DCT block. For example, a scan in the order shown in FIG. <b>31</b>(c) applies to the scan by the scanner (<b>4</b>).
In the above-mentioned construction according to the third embodiment of the invention, a suitable scan is selected according to not only a first parameter concerning intra-frame prediction, i.e., ON/OFF information and reference direction information of AC prediction, but a DCT type of a coding target block. Therefore, in interlaced image coding in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.
In addition, although in the third embodiment of the invention, the construction of the scan control unit in FIG. <b>2</b>(c) is described, a circuit construction shown in FIG. <b>2</b>(d) may be employed.
A scan control unit <b>310</b>a shown in FIG. <b>2</b>(d) consists of a decision unit <b>506</b> and a memory <b>503</b> for storing DCT type signals of already coded blocks.
In this scan control unit <b>310</b>a, a DCT type signal <b>504</b> of an already coded block is stored in the memory <b>503</b>. The decision unit <b>506</b> selects a scanner suitable for the coding target block on the basis of the DCT type signal <b>114</b> of the coding target block, the DCT type signal <b>504</b> of the already coded block, and the first parameter <b>309</b>a concerning intra-frame prediction, and outputs the control signal <b>116</b> to the switches <b>108</b>c and <b>110</b>c so that a scan by the selected scanner is performed to the output of the prediction unit.
A processing method by the decision unit <b>506</b> is described using a flowchart shown in FIG. <b>10</b>. This processing method comprises a combination of the methods shown in <figref idref="DRAWINGS">FIGS. 4 and 9</figref>.
In step <b>901</b>, the decision unit <b>506</b> decides the DCT type of the coding target block on the basis of the DCT type signal <b>114</b>. As the result of the decision, when the coding target block is a field DCT block, the decision unit <b>506</b> decides a DCT type of an adjacent block which has been already coded, on the basis of the DCT type signal <b>504</b> of the adjacent block (step <b>903</b>). As the result of the decision at step <b>903</b>, when the adjacent block is a field DCT block, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>6</b>) (step <b>911</b>).
On the other hand, when the adjacent block is a frame DCT block, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>5</b>) (step <b>910</b>).
As the result of the decision at step <b>901</b>, when the coding target block is a frame DCT block, the decision unit <b>506</b> decides a DCT type of an adjacent block which has been already coded, on the basis of the DCT type signal <b>504</b> of the adjacent block (step <b>902</b>).
As the result of the decision at step <b>902</b>, when the already coded block is a field DCT block, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>4</b>) (step <b>909</b>). Meanwhile, when the already coded block is a frame DCT block, ON/OFF decision of AC prediction is executed in step <b>904</b>. As the result of the decision at step <b>904</b>, when the AC prediction is in the OFF state, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>3</b>) (step <b>908</b>).
When the AC prediction is in the ON state, decision of a reference direction for prediction is executed in step <b>905</b>. As the result of the decision at step <b>905</b>, when the reference direction is horizontal, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>2</b>) (step <b>907</b>). When the reference direction is vertical, the decision unit <b>506</b> outputs the control signal <b>116</b> for selecting the scanner (<b>1</b>) (step <b>906</b>).
In the above-mentioned construction, a suitable scan is selected according to not only a first parameter concerning intra-frame prediction and a DCT type of a coding target block but a DCT type of an adjacent block. Accordingly, scanning processing is controlled more finely and a more suitable scan is selected, as compared with the case of the scan control method by the scan control unit shown in FIG. <b>2</b>(c). Consequently, a run length is more increased, resulting in further improved coding efficiency.
In addition, although in the third embodiment of the invention, the adaptive scan operation is always performed in coding, the coding may be switched between the operation of carrying out the adaptive scan and the operation of carrying out no adaptive scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 11</figref> is a block diagram illustrating an image coding apparatus according to a modification of the third embodiment of the invention. In <figref idref="DRAWINGS">FIG. 11</figref>, reference numeral <b>100</b>c′ designates the image coding apparatus according to the modification of the third embodiment. This image coding apparatus <b>100</b>c′ has a scanning unit <b>100</b>c<b>1</b>′ which performs switching between a scan mode for performing the adaptive scan operation and a scan mode for performing no adaptive scan operation according to a scan mode switching signal <b>1201</b>, in place of the scanning unit <b>100</b>c<b>1</b> which always performs the adaptive scan operation, in the image coding apparatus <b>100</b>c according to the third embodiment.
The scanning unit <b>100</b>c<b>1</b>′ includes the scanning unit <b>100</b>c<b>1</b> according to the third embodiment, and a mode switch <b>1203</b> which selects one of the control signal <b>116</b> from the scan control unit <b>310</b>c and a preset scan selecting signal <b>1202</b> for selecting a specific one from among plural scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>c and <b>110</b>c.
Herein, the scan mode switching signal <b>1201</b> is supplied, by manual operation, from the outside of the system (image coding apparatus). The scan selecting signal <b>1202</b> selects a specific scan suitable for an interlaced image, for example, a scan in the order shown in FIG. <b>31</b>(c). In addition, the scan mode switching signal <b>1201</b> may be output according to the result which is obtained by monitoring the coding efficiency on the basis of the output <b>308</b> of the VLC unit <b>112</b>.
In the construction according to the modification of the third embodiment, an adaptive scan is switched to OFF to execute a specific scan when required, whereby coding can be efficiently simplified.
In any of the third embodiment and its modification, a description is given of the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image coding apparatus may have a construction for performing, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, in coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, the efficiency of variable-length coding can be improved,
[Embodiment 4]
<figref idref="DRAWINGS">FIG. 12</figref> is a block diagram illustrating a construction of an image processing apparatus according to a fourth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 12</figref>, reference numeral <b>100</b>d designates the image processing apparatus (image decoding apparatus) according to the fourth embodiment of the invention. This image decoding apparatus <b>100</b>d has an inverse scan control unit <b>310</b>d for generating a control signal <b>116</b> on the basis of both control prediction information <b>309</b>a′ corresponding to first prediction information (a first parameter concerning intra-frame prediction) <b>309</b>a and DCT type information <b>114</b> of a decoding target block, in place of the inverse scan control unit <b>1401</b>d in the conventional image decoding apparatus <b>200</b>d shown in FIG. <b>32</b>.
That is, the image decoding apparatus <b>100</b>d according to the fourth embodiment of the invention is different from the image decoding apparatus <b>100</b>b according to the second embodiment, in that a prediction unit <b>100</b>d<b>2</b> for performing intra-frame prediction is added, and that the control prediction information <b>309</b>a′ corresponding to the first parameter <b>309</b>a concerning intra-frame prediction is used for inverse scan control.
In addition, in the image decoding apparatus <b>10</b>d, switches <b>108</b>d and <b>110</b>d and n pieces of inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn of an inverse scanning unit <b>100</b>d<b>1</b> have the same constructions as those according to the second embodiment, which are shown in FIG. <b>6</b>.
A description is given of the operation.
When a bit stream <b>308</b> output from the image coding apparatus <b>100</b>c is input to the image decoding apparatus <b>100</b>d, the VLD unit <b>201</b> performs variable-length decoding to the bit stream <b>308</b> to convert the bit stream <b>308</b> into difference values <b>307</b>, and outputs the difference values <b>307</b>. At this time, the inverse scan control unit <b>310</b>d outputs a control signal <b>116</b> for selecting an inverse scanner to the switches <b>108</b>d and <b>110</b>d, on the basis of a DCT type signal <b>114</b> from the image coding apparatus <b>100</b>c and control prediction information <b>309</b>a′ from the prediction unit <b>100</b>d<b>2</b>.
The difference values <b>307</b> are inverse-scanned by the inverse scanner which is selected on the basis of the control signal <b>116</b>, thereby outputting difference values <b>302</b> in the order before rearrangement in coding. Then, the prediction unit <b>100</b>d<b>2</b> converts the difference values <b>302</b> into corresponding quantized values <b>107</b>. The inverse quantization unit <b>203</b> inverse-quantizes the quantized values <b>107</b>, and outputs DCT coefficients <b>105</b>. The inverse DCT unit <b>204</b> transforms the DCT coefficients <b>105</b> into an image signal (plural pixel values) <b>103</b> by inverse DCT. The inverse blocking unit <b>205</b> inverse-blocks the image signals <b>103</b> according to the DCT type signal <b>114</b>, thereby outputting an interlaced image signal <b>101</b> corresponding to a single display screen.
In the image decoding apparatus <b>100</b>d thus constructed, decoding is performed using an adaptive inverse scan changing method according to not only control prediction information which is generated on the basis of second prediction information from the image coding apparatus <b>100</b>c but DCT type information of a decoding target block. Therefore, in variable-length decoding of DCT coefficients of a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using the adaptive scan changing method according to the third embodiment, thereby regenerating an image signal.
In addition, in the fourth embodiment of the invention, an inverse scanner is selected on the basis of a DCT type signal of a decoding target block. As described in the third embodiment, however, an inverse scanner may be selected on the basis of both a DCT type signal of a decoding target block and a DCT type signal of an already decoded block adjacent to the decoding target block.
Although in the fourth embodiment of the invention, the adaptive inverse scan operation is always performed in decoding, the decoding may be switched between the operation of carrying out the adaptive inverse scan and the operation of carrying out no adaptive inverse scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 13</figref> is a block diagram illustrating an image decoding apparatus according to a modification of the fourth embodiment of the invention. In <figref idref="DRAWINGS">FIG. 13</figref>, reference numeral <b>100</b>d′ designates the image decoding apparatus according to the modification of the fourth embodiment. This image decoding apparatus <b>100</b>d′ has an inverse scanning unit <b>100</b>d<b>1</b>′ which performs switching between a scan mode for performing the adaptive inverse scan operation and a scan mode for performing no adaptive inverse scan operation according to a scan mode switching signal <b>1201</b>, in place of the inverse scanning unit <b>100</b>d<b>1</b> which always performs the adaptive inverse scan operation in decoding, in the image decoding apparatus <b>100</b>d according to the fourth embodiment.
The inverse scanning unit <b>100</b>d<b>1</b>′ includes the inverse scanning unit <b>100</b>d<b>1</b> according to the fourth embodiment, and a mode switch <b>1203</b>d which selects one of the control signal <b>116</b> from the inverse scan control unit <b>310</b>d and a preset inverse scan selecting signal <b>1202</b>d for selecting a specific one from among plural inverse scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>d and <b>110</b>d.
Herein, like the scan selecting signal <b>1202</b> in the image coding apparatus <b>100</b>c′, the inverse scan selecting signal <b>1202</b>d selects a specific inverse scan suitable for an interlaced image, for example, an inverse scan corresponding to a scan shown in FIG. <b>31</b>(c).
In the construction according to the modification of the fourth embodiment, in decoding, an adaptive inverse scan is switched to OFF to execute a specific inverse scan when required. Therefore, when an adaptive scan is switched to OFF to execute a specific scan in the image coding apparatus, a coded image signal can be accurately decoded.
In any of the fourth embodiment and its modification, a description is given of the image decoding apparatus corresponding to the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image decoding apparatus may have a construction corresponding to an image coding apparatus which performs, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, a coded image signal obtained by coding of a specific progressive image, in which switching-between frame DCT and field DCT is performed according to the content of the image, can be accurately decoded.
[Embodiment 5]
<figref idref="DRAWINGS">FIG. 14</figref> is a block diagram illustrating a construction of an image processing apparatus according to a fifth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 14</figref>, reference numeral <b>100</b>e designates the image processing apparatus (image coding apparatus) according to the fifth embodiment of the invention. This image coding apparatus <b>100</b>e includes the construction of the conventional image coding apparatus <b>200</b>a shown in <figref idref="DRAWINGS">FIG. 26</figref>, and a circuit construction for performing adaptive scan changing processing in which a scan method for a coding target block is changed according to the optimum scan method for at least one already coded block which is positioned in the vicinity of the coding target block.
That is, the image coding apparatus <b>100</b>e according to the fifth embodiment of the invention has a scanning unit <b>100</b>e<b>1</b> for performing the above-mentioned adaptive scan changing processing, in place of the scanner <b>109</b> in the conventional image coding apparatus <b>200</b>a, and the other construction of the image coding apparatus <b>100</b>e is the same as the image coding apparatus <b>200</b>a.
This scanning unit <b>100</b>e<b>1</b> consists of n pieces of scanners <b>109</b>s<b>1</b>˜<b>109</b>sn having different scan methods, i.e., each setting the different processing order to quantized values, a first switch <b>108</b>e for selecting one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn on the basis of a control signal <b>1306</b> and supplying an output <b>107</b> of the quantization unit <b>106</b> to the selected scanner, and a second switch <b>110</b>e for selecting one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn on the basis of the control signal <b>1306</b> and supplying an output <b>111</b> of the selected scanner to the variable-length coding unit (hereinafter referred to as VLC unit) <b>112</b>.
The scanning unit <b>100</b>e<b>1</b> further consists of a characteristic analyzing unit <b>1301</b> for deciding the optimum scan (the processing order for coding) for the output <b>107</b> of the quantization unit <b>106</b>, a memory <b>1303</b> for storing the decision result as information <b>1302</b> indicating the optimum scan, and a scan control unit <b>1305</b> for controlling the switches <b>108</b>e and <b>110</b>e according to the control signal <b>1306</b> so that the optimum scan is performed to quantized values of a coding target block on the basis of information stored in the memory <b>1303</b>, i.e., information <b>1304</b> about the optimum scans for already coded blocks.
A description is given of the operation.
When an interlaced image signal <b>101</b> is input to the image coding apparatus <b>100</b>e, the blocking unit <b>102</b> blocks the interlaced image signal <b>101</b> frame by frame or field by field, and outputs an image signal (plural pixel values) <b>103</b> corresponding to each block. Further, the blocking unit <b>102</b> outputs a DCT type signal <b>114</b> indicating a blocking unit of the image signal <b>103</b>. The DCT unit <b>104</b> transforms the image signal <b>103</b> into DCT coefficients <b>105</b> by DCT, and outputs the DCT coefficients <b>105</b> corresponding to each block. The quantization unit <b>106</b> converts the DCT coefficients <b>105</b> into quantized values <b>107</b> by quantization.
At this time, the characteristic analyzing unit <b>1301</b> decides the optimum scan for the quantized values <b>107</b> of the coding target block, and outputs information <b>1302</b> indicating the optimum scan to the memory <b>1303</b>. The scan control unit <b>1305</b> outputs a control signal <b>1306</b> for controlling the switches <b>108</b>e and <b>110</b>e, according to information <b>1304</b> about the optimum scans of already coded blocks which are stored in the memory <b>1303</b>. Then, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn is selected on the basis of the control signal <b>1306</b>, and the quantized values <b>107</b> are scanned by the selected scanner. Thereby, the processing order for coding is set to the quantized values <b>107</b>. The quantized values <b>111</b> to which the processing order has been set are output to the VLC unit <b>112</b>. The VLC unit <b>112</b> performs variable-length coding to the quantized values <b>111</b> according to the set order, and outputs a resulting bit stream <b>113</b>.
<figref idref="DRAWINGS">FIG. 15</figref> shows a detailed circuit construction of the characteristic analyzing unit <b>1301</b> in the image coding apparatus <b>100</b>e.
As shown in <figref idref="DRAWINGS">FIG. 15</figref>, the characteristic analyzing unit <b>1301</b> consists of n pieces of evaluation function circuits <b>1801</b>f<b>1</b>˜<b>1801</b>fn respectively having n pieces of evaluation functions corresponding to the scanning orders of the scanners <b>109</b>s<b>1</b>˜<b>109</b>sn and outputting evaluation values <b>1802</b>f<b>1</b>˜<b>1802</b>fn when the quantized values <b>107</b> are scanned by the respective scanners <b>109</b>s<b>1</b>˜<b>109</b>sn, and a decision unit <b>1803</b> which performs decision on the basis of the outputs of the evaluation function circuits <b>1801</b>f<b>1</b>˜<b>1801</b>fn. Herein, the decision unit <b>1803</b> compares the evaluation values <b>1802</b>f<b>1</b>˜<b>1802</b>fn with each other, decides the scan having the highest evaluation as the optimum scan for the quantized values <b>107</b>, and outputs the information <b>1302</b> indicating the optimum scan. In other words, the decision unit <b>1803</b> decides a distribution of the DCT coefficients (frequency transformation) corresponding to each block which are obtained in the information source coding unit <b>200</b>a<b>1</b>, on the basis of the evaluation values output from the evaluation function circuits <b>1801</b>f<b>1</b>˜<b>1801</b>fn, and outputs the information <b>1302</b> indicating the optimum scan on the basis of the result of the decision.
In addition, in each of the above-mentioned evaluation functions, the sum of plural (for example, 10) DCT coefficients which are selected in the scanning order of the corresponding scanner is used as the evaluation value. However, any function may be employed as long as an evaluation value of the function is higher as a corresponding scan produces higher variable-length coding efficiency.
A processing method by the scan control unit <b>1305</b> is described using a flowchart shown in FIG. <b>16</b>.
In step <b>1601</b>, the scan control unit <b>1305</b> decides whether the optimum scans for an upper macroblock just above the coding target block and for a left macroblock on the left side of the coding target block are identical or not, on the basis of the information <b>1304</b> about the optimum scans of the already coded blocks which are stored in the memory <b>1303</b>. As the result of the decision, when the optimum scan for the upper macroblock and that for the left macroblock are different, the scan control unit <b>1305</b> outputs the control signal <b>1306</b> for selecting the scanner <b>109</b>s<b>3</b> (<b>3</b>) (step <b>1605</b>).
Meanwhile, when the optimum scan for the upper macroblock and that for the left macroblock are identical, the scan control unit <b>1305</b> decides which of the scans (<b>1</b>)˜(n) the optimum scan for the upper and left macroblocks is (step <b>1602</b>). When the optimum scan for the upper and left macroblocks is the scan (<b>1</b>), the scan control unit <b>1305</b> outputs the control signal <b>1306</b> for selecting the scanner <b>109</b>s<b>1</b> (<b>1</b>) (step <b>1603</b>). When the optimum scan for the upper and left macroblocks is the scan (<b>2</b>), the scan control unit <b>1305</b> outputs the control signal <b>1306</b> for selecting the scanner <b>109</b>s<b>2</b> (<b>2</b>) (step <b>1604</b>).
In the above-mentioned construction, a suitable scan is selected according to the optimum scans for already coded blocks in the vicinity of a coding target block. Therefore, in interlaced image coding in which frame DCT blocks and field DCT blocks coexist, a run length is increased, thereby improving coding efficiency.
In addition, although in the fifth embodiment of the invention, the adaptive scan operation is always performed in coding, the coding may be switched between the operation of carrying out the adaptive scan and the operation of carrying out no adaptive scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 17</figref> is a block diagram illustrating an image coding apparatus according to a modification of the fifth embodiment of the invention. In <figref idref="DRAWINGS">FIG. 17</figref>, reference numeral <b>100</b>e′ designates the image coding apparatus according to the modification of the fifth embodiment. This image coding apparatus <b>100</b>e′ has a scanning unit <b>100</b>e<b>1</b>′ which performs switching between a scan mode for performing the adaptive scan operation and a scan mode for performing no adaptive scan operation according to a scan mode switching signal <b>1201</b>, in place of the scanning unit <b>100</b>e<b>1</b> which always performs the adaptive scan operation, in the image coding apparatus <b>100</b>e according to the fifth embodiment.
The scanning unit <b>100</b>e<b>1</b>′ includes the scanning unit <b>100</b>e<b>1</b> according to the fifth embodiment, and a mode switch <b>1203</b>e which selects one of the control signal <b>116</b> from the scan control unit <b>1305</b> and a preset scan selecting signal <b>1202</b> for selecting a specific one from among plural scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>e and <b>110</b>e.
Herein, the scan mode switching signal <b>1201</b> is supplied, by manual operation, from the outside of the system (image coding apparatus). The scan selecting signal <b>1202</b> selects a specific scan suitable for an interlaced image, for example, a scan in the order shown in FIG. <b>31</b>(c). In addition, the scan mode switching signal <b>1201</b> may be output according to the result which is obtained by monitoring the coding efficiency on the basis of the output <b>113</b> of the VLC unit <b>112</b>.
In the construction according to the modification of the fifth embodiment, an adaptive scan is switched to OFF to execute a specific scan when required, whereby coding can be efficiently simplified.
In any of the fifth embodiment and its modification, a description is given of the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image coding apparatus may have a construction for performing, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, in coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, the efficiency of variable-length coding can be improved.
[Embodiment 6]
<figref idref="DRAWINGS">FIG. 18</figref> is a block diagram illustrating a construction of an image processing apparatus according to a sixth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 18</figref>, reference numeral <b>100</b>f designates the image processing apparatus (image decoding apparatus) according to the sixth embodiment of the invention. This image decoding apparatus <b>100</b>f includes the construction of the conventional image decoding apparatus <b>200</b>b shown in <figref idref="DRAWINGS">FIG. 28</figref>, and a circuit construction for performing adaptive inverse scan changing processing in which an inverse scan method for a decoding target block is changed according to the optimum inverse scan method for at least one already decoded block which is positioned in the vicinity of the decoding target block.
That is, the image decoding apparatus <b>100</b>f according to the sixth embodiment of the invention has an inverse scanning unit <b>100</b>f<b>1</b> for performing the above-mentioned adaptive inverse scan changing processing, in place of the inverse scanner <b>202</b> in the conventional image decoding apparatus <b>200</b>b, and the other construction of the image decoding apparatus <b>100</b>f is the same as the conventional image decoding apparatus <b>200</b>b.
This inverse scanning unit <b>100</b>f<b>1</b> consists of n pieces of inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn having different inverse scan methods, i.e., each performing different rearrangement for returning quantized values which have been rearranged to the original order, a first switch <b>108</b>f for selecting one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn on the basis of a control signal <b>1306</b> and supplying an output <b>111</b> of the variable-length decoding unit (hereinafter referred to as VLD unit) <b>201</b> to the selected inverse scanner, and a second switch <b>110</b>f for selecting one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn on the basis of the control signal <b>1306</b> and supplying an output <b>107</b> of the selected inverse scanner to the inverse quantization unit <b>203</b>.
The inverse scanning unit <b>100</b>f<b>1</b> further consists of a characteristic analyzing unit <b>1301</b> for deciding the optimum inverse scan for the output <b>107</b> of the inverse scanner, a memory <b>1303</b> for storing the decision result as information <b>1302</b> indicating the optimum inverse scan, and an inverse scan control unit <b>1305</b>f for generating the control signal <b>1306</b> for selecting the optimum inverse scan for a decoding target block, on the basis of information about the optimum inverse scans for already decoded blocks, which are stored in the memory <b>1303</b>. Herein, the characteristic analyzing unit <b>1301</b> has the same construction as in the fifth embodiment.
A description is given of the operation.
When a bit stream <b>113</b> output from the image coding apparatus <b>100</b>e is input to the image decoding apparatus <b>100</b>f, the VLD unit <b>201</b> converts the bit stream <b>113</b> into quantized values <b>111</b> by variable-length decoding, and outputs the quantized values <b>111</b>. At this time, the inverse scan control unit <b>1305</b>f outputs a control signal <b>1306</b> for selecting one of the plural inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>sn to the switches <b>108</b>f and <b>110</b>f, on the basis of information <b>1304</b> about the optimum inverse scans of already decoded blocks which are stored in the memory <b>1303</b>.
The quantized values <b>111</b> are inverse-scanned by the inverse scanner which is selected according to the control signal <b>1306</b>, thereby outputting quantized values <b>107</b> in the order before rearrangement in coding. Then, the inverse quantization unit <b>203</b> inverse-quantizes the quantized values <b>107</b>, and outputs DCT coefficients <b>105</b> corresponding to a decoding target block. The inverse DCT unit <b>204</b> transforms the DCT coefficients <b>105</b> into an image signal (plural pixel values) <b>103</b> corresponding to the decoding target block by inverse DCT. The inverse blocking unit <b>205</b> inverse-blocks the image signals <b>103</b> according to the DCT type signal <b>114</b>, thereby outputting an image signal <b>101</b> corresponding to a single display screen. In addition, the characteristic analyzing unit <b>1301</b> decides the optimum inverse scan for the quantized values <b>107</b> of the decoding target block, and outputs information <b>1302</b> indicating the optimum inverse scan to the memory <b>1303</b>.
In the image decoding apparatus <b>100</b>f thus constructed, decoding using an adaptive inverse scan changing method is performed. Therefore, in variable-length decoding of DCT coefficients of a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using the adaptive scan changing method according to the fifth embodiment, thereby regenerating an image signal.
In addition, although in the sixth embodiment of the invention, the adaptive inverse scan operation is always performed in decoding, the decoding may be switched between the operation of carrying out the adaptive inverse scan and the operation of carrying out no adaptive inverse scan, according to prescribed control signals.
<figref idref="DRAWINGS">FIG. 19</figref> is a block diagram illustrating an image decoding apparatus according to a modification of the sixth embodiment of the invention. In <figref idref="DRAWINGS">FIG. 19</figref>, reference numeral <b>100</b>f′ designates the image decoding apparatus according to the modification of the sixth embodiment. This image decoding apparatus <b>100</b>f′ has an inverse scanning unit <b>100</b>f<b>1</b>′ which performs switching between a scan mode for performing the adaptive inverse scan operation and a scan mode for performing no adaptive inverse scan operation according to a scan mode switching signal <b>1201</b>, in place of the inverse scanning unit <b>100</b>f<b>1</b> which always performs the adaptive inverse scan operation in decoding, in the image decoding apparatus <b>100</b>f according to the sixth embodiment.
The inverse scanning unit <b>100</b>f<b>1</b>′ includes the inverse scanning unit <b>100</b>f<b>1</b> according to the sixth embodiment, and a mode switch <b>1203</b>f which selects one of the control signal <b>1306</b> from the inverse scan control unit <b>1305</b>f and a preset inverse scan selecting signal <b>1202</b>e for selecting a specific one from among plural inverse scanners, according to the scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b> for the switches <b>108</b>f and <b>110</b>f.
In the construction according to the modification of the sixth embodiment, in decoding, an adaptive inverse scan is switched to OFF to execute a specific inverse scan when required. Therefore, when an adaptive scan is switched to OFF to execute a specific scan in the image coding apparatus, a coded image signal can be accurately decoded.
In any of the sixth embodiment and its modification, a description is given of the image decoding apparatus corresponding to the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image decoding apparatus may have a construction corresponding to an image coding apparatus which performs, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, a coded image signal obtained by coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, can be accurately decoded.
[Embodiment 7]
<figref idref="DRAWINGS">FIG. 20</figref> is a block diagram illustrating a construction of an image processing apparatus according to a seventh embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 20</figref>, reference numeral <b>100</b>g designates the image processing apparatus (image coding apparatus) according to the seventh embodiment of the invention. This image coding apparatus <b>100</b>g has a scanning unit <b>100</b>g<b>1</b> which performs switching between a scan mode for performing the adaptive scan operation and a scan mode for performing no adaptive scan operation, when required, in place of the scanning unit <b>200</b>c<b>1</b> which always performs the adaptive scan operation in coding, in the conventional image coding apparatus <b>200</b>c shown in FIG. <b>29</b>.
This scanning unit <b>100</b>g<b>1</b> includes the scanning unit <b>200</b>c<b>1</b> in the conventional image coding apparatus <b>200</b>c, and a mode switch <b>1203</b>g which selects one of a control signal <b>116</b> from the scan control unit <b>1401</b>c and a preset scan selecting signal <b>1202</b> for selecting a specific one from among plural scanners, according to a scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b>g for the switches <b>108</b>c and <b>110</b>c. The other construction of the image coding apparatus <b>100</b>g is the same as the conventional image coding apparatus <b>200</b>c.
In the image coding apparatus <b>100</b>g thus constructed, the mode switch <b>1203</b>g selects one of the control signal <b>116</b> for adaptively selecting one of plural scans and the scan selecting signal <b>1202</b> for selecting a specific scan suitable for an interlaced image, according to the scan mode switching signal <b>1201</b> which is supplied, by manual operation, from the outside of the system (image coding apparatus), and supplies the selected signal to the switches <b>108</b>c and <b>110</b>c.
At this time, when the mode switch <b>1203</b>g selects the scan selecting signal <b>1202</b>, the switches <b>108</b>c and <b>110</b>c select the scanner <b>109</b>s<b>3</b> which is to perform a scan shown in FIG. <b>31</b>(c), on the basis of the scan selecting signal <b>1202</b>, and the quantized values <b>107</b> are scanned by the selected scanner <b>109</b>s<b>3</b>, regardless of the first prediction information <b>309</b>a.
Meanwhile, when the mode switch <b>1203</b>g selects the control signal <b>116</b>, the scanning unit <b>100</b>g<b>1</b> performs scanning processing in the same manner as the scanning unit <b>200</b>c<b>1</b> in the conventional image coding apparatus <b>200</b>c shown in FIG. <b>29</b>.
The other operation is performed as in the conventional image coding apparatus <b>200</b>c.
In the construction according to the seventh embodiment of the invention, an adaptive scan is switched to OFF to execute a specific scan suitable for an interlaced image when required, whereby coding of an interlaced image signal can be efficiently simplified.
In addition, although the scan mode switching signal <b>1201</b> is supplied by manual operation, it may be output according to the result which is obtained by monitoring the coding efficiency on the basis of the output <b>308</b> of the VLC unit <b>112</b>.
Although in the seventh embodiment of the invention, a description is given of coding of an interlaced image signal, an image signal to be subjected to coding is not limited thereto. For example, it may be a progressive image of a lateral stripe pattern or the like, the image having high pixel value correlations between odd scan lines or even scan lines, like an interlaced image. Also in this case, the same effects as in the seventh embodiment are obtained.
[Embodiment 8]
<figref idref="DRAWINGS">FIG. 21</figref> is a block diagram illustrating a construction of an image processing apparatus according to an eighth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 21</figref>, <b>22</b> reference numeral <b>100</b>h designates the image processing apparatus (image decoding apparatus) according to the eighth embodiment of the invention. This image decoding apparatus <b>100</b>h has an inverse scanning unit <b>100</b>h<b>1</b> which performs switching between an inverse scan mode for performing the adaptive inverse scan operation and an inverse scan mode for performing no adaptive inverse scan operation, when required, in place of the inverse scanning unit <b>200</b>d<b>1</b> which always performs the adaptive inverse scan operation in decoding, in the conventional image decoding apparatus <b>200</b>d shown in FIG. <b>32</b>.
This inverse scanning unit <b>100</b>h<b>1</b> includes the inverse scanning unit <b>200</b>d<b>1</b> in the conventional image decoding apparatus <b>200</b>d, and a mode switch <b>1203</b>h which selects one of a control signal <b>116</b> from the inverse scan control unit <b>1401</b>d and a preset inverse scan selecting signal <b>1202</b> for selecting a specific one from among plural inverse scanners, according to a scan mode switching signal <b>1201</b>, and outputs the selected signal as a control signal <b>1204</b>h for the switches <b>108</b>d and <b>110</b>d. The other construction of the image decoding apparatus <b>100</b>h is the same as the conventional image decoding apparatus <b>200</b>d.
In the image decoding apparatus <b>100</b>h thus constructed, the mode switch <b>1203</b>h selects one of the control signal <b>116</b> for adaptively selecting one of plural inverse scans and the inverse scan selecting signal <b>1202</b> for selecting a specific inverse scan suitable for an interlaced image, according to the scan mode switching signal <b>1201</b> which is supplied, by manual operation, from the outside of the system (image decoding apparatus), and supplies the selected signal to the switches <b>108</b>d and <b>110</b>d.
At this time, when the mode switch <b>1203</b>h selects the inverse scan selecting signal <b>1202</b>, the switches <b>108</b>d and <b>110</b>d select the inverse scanner <b>202</b>s<b>3</b> which is to perform an inverse scan corresponding to a scan shown in FIG. <b>31</b>(c), on the basis of the inverse scan selecting signal <b>1202</b>, and the quantized values <b>307</b> are inverse-scanned by the selected inverse scanner <b>202</b>s<b>3</b>, regardless of the control prediction information <b>309</b>a′.
Meanwhile, when the mode switch <b>1203</b>h selects the control signal <b>116</b>, the inverse scanning unit <b>100</b>h<b>1</b> performs inverse-scanning processing in the same manner as the inverse scanning unit <b>200</b>d<b>1</b> in the conventional image decoding apparatus <b>200</b>d shown in FIG. <b>32</b>.
The other operation is performed as in the conventional image decoding apparatus <b>200</b>d.
In the construction according to the eighth embodiment of the invention, an adaptive inverse scan is switched to OFF to execute a specific inverse scan suitable for an interlaced image when required, whereby decoding of a coded interlaced image signal can be efficiently simplified.
In addition, although in the eighth embodiment of the invention, a description is given of decoding of an interlaced image, an image to be subjected to decoding is not limited thereto. For example, it may be a progressive image of a lateral stripe pattern or the like, the image having high pixel value correlations between odd scan lines or even scan lines, like an interlaced image. Also in this case, the same effects as in the eighth embodiment are obtained.
[Embodiment 9]
<figref idref="DRAWINGS">FIG. 22</figref> is a block diagram illustrating a construction of an image processing apparatus according to a ninth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 22</figref>, reference numeral <b>100</b>i designates the image processing apparatus (image coding apparatus) according to the ninth embodiment of the invention. This image coding apparatus <b>100</b>i has a scanning unit <b>100</b>i<b>1</b> which adaptively changes a scan method on the basis of both prediction information (a parameter) <b>1015</b>, and a scan mode switching signal <b>1201</b> which is supplied, by manual operation, from the outside of the system (image coding apparatus), in place of the scanning unit <b>200</b>e<b>1</b> in the conventional image coding apparatus <b>200</b>e shown in FIG. <b>33</b>.
This scanning unit <b>100</b>i<b>1</b> consists of n pieces of scanners <b>199</b>s<b>1</b>˜<b>199</b>sn having different scan methods, i.e., each setting the different processing order to quantized values, a first switch <b>108</b>a for selecting one of the scanners <b>199</b>s<b>1</b>˜<b>199</b>sn on the basis of a control signal <b>116</b>i and supplying an output <b>107</b> of the quantization unit <b>106</b> to the selected scanner, a second switch <b>110</b>a for selecting one of the scanners <b>199</b>s<b>1</b>˜<b>199</b>sn on the basis of the control signal <b>116</b>i and supplying an output <b>1005</b> of the selected scanner to the variable-length coding (VLC) unit <b>112</b>, and a scan control unit <b>1501</b>i for generating the control signal <b>116</b>i on the basis of the parameter <b>1015</b> concerning prediction from the prediction unit <b>200</b>e<b>2</b> and the scan mode switching signal <b>1201</b> from the outside.
Herein, more specifically, the scanner <b>199</b>s<b>1</b> (<b>1</b>) is constituted by the respective elements <b>301</b>, <b>304</b> and <b>305</b> in the prediction unit <b>200</b>c<b>2</b> shown in <figref idref="DRAWINGS">FIG. 29</figref>, and the respective elements <b>108</b>c, <b>110</b>c, <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> and <b>1401</b>c in the scanning unit <b>200</b>c<b>1</b> shown in FIG. <b>29</b>. That is, the scanner (<b>1</b>) performs intra-frame prediction to a block to which no inter-frame prediction has been performed in coding (hereinafter referred to as an intra-coded block) and selects one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner (<b>1</b>) on the basis of prediction information concerning generation of predicted values. In addition, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner (<b>1</b>) performs a scan of quantized values in the order shown in FIG. <b>31</b>(a).
The scanner <b>199</b>s<b>2</b> (<b>2</b>) performs a scan in the order shown in FIG. <b>31</b>(a), the scanner <b>199</b>s<b>3</b> (<b>3</b>) performs a scan in the order shown in FIG. <b>31</b>(c), and the scanner <b>199</b>s<b>4</b> (<b>4</b>) performs a scan in the order shown in FIG. <b>31</b>(a) or FIG. <b>31</b>(c).
The other construction of the image coding apparatus <b>100</b>i is the same as in the conventional image coding apparatus <b>200</b>e shown in FIG. <b>33</b>.
A description is given of the operation. The same operation as in the conventional image coding apparatus <b>200</b>e shown in <figref idref="DRAWINGS">FIG. 33</figref> is not described.
A processing method by the scan control unit <b>1501</b>i is described using a flowchart shown in FIG. <b>23</b>.
In step <b>1701</b>, the scan control unit <b>1501</b>i decides an inter-frame prediction parameter <b>1015</b> indicating information about coding of a coding target block. As the result of the decision, when the coding target block is an intra-coded block, decision of the scan mode switching signal <b>1201</b> is performed (step <b>1702</b>). As the result of the decision at step <b>1702</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the scan control unit <b>1501</b>i outputs the control signal <b>116</b>i for selecting the scanner (<b>1</b>) (step <b>1704</b>). On the other hand, when the scan mode switching signal <b>1201</b> is in the ON state, the scan control unit <b>1501</b>i outputs the control signal <b>116</b>i for selecting the scanner (<b>3</b>) (step <b>1705</b>).
Meanwhile, as the result of the decision at step <b>1701</b>, when the coding target block is an inter-coded block, decision of the scan mode switching signal <b>1201</b> is performed (step <b>1703</b>). As the result of the decision at step <b>1703</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the scan control unit <b>1501</b>i outputs the control signal <b>116</b>i for selecting the scanner (<b>2</b>) (step <b>1706</b>). On the other hand, when the scan mode switching signal <b>1201</b> is in the ON state, the scan control unit <b>1501</b>i outputs the control signal <b>116</b>i for selecting the scanner (<b>4</b>) (step <b>1707</b>).
In the image coding apparatus <b>100</b>i thus constructed, since for each of intra-coded macroblocks and inter-coded macroblocks, one of plural scans is selected according to a parameter concerning prediction and a scan mode switching signal, a scan suitable for each coding method is performed. Therefore, in inter coding of an interlaced image signal in which inter-coded macroblocks and intra-coded macroblocks having different frequency component distributions coexist, a run length is increased, thereby improving coding efficiency.
In the ninth embodiment of the invention, a description is given of the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image coding apparatus may have a construction for performing, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, in coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, the efficiency of variable-length coding can be improved.
[Embodiment 10]
<figref idref="DRAWINGS">FIG. 24</figref> is a block diagram illustrating a construction of an image processing apparatus according to a tenth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 24</figref>, reference numeral <b>100</b>j designates the image processing apparatus (image decoding apparatus) according to the tenth embodiment of the invention. This image decoding apparatus <b>100</b>j has an inverse scanning unit <b>100</b>j<b>1</b> which adaptively changes an inverse scan method on the basis of both a prediction parameter <b>1015</b> and a scan mode switching signal <b>1201</b>, in place of the inverse scanning unit <b>200</b>f<b>1</b> in the conventional image decoding apparatus <b>200</b>f shown in FIG. <b>34</b>.
This inverse scanning unit <b>100</b>j<b>1</b> consists of n pieces of inverse scanners <b>292</b>s<b>1</b>˜<b>292</b>sn having different inverse scan methods, i.e., each performing different rearrangement for returning quantized values which have been rearranged to the original order, a first switch <b>108</b>b for selecting one of the inverse scanners <b>292</b>s<b>1</b>˜<b>292</b>sn on the basis of a control signal <b>116</b>i and supplying an output <b>1005</b> of the variable-length decoding unit <b>201</b> to the selected inverse scanner, a second switch <b>110</b>b for selecting one of the inverse scanners <b>292</b>s<b>1</b>˜<b>292</b>sn on the basis of the control signal <b>116</b>i and supplying an output <b>1004</b> of the selected inverse scanner to the inverse quantization unit <b>203</b>, and an inverse scan control unit <b>1501</b>j for generating the control signal <b>116</b>i on the basis of the parameter <b>1015</b> concerning prediction from the prediction unit <b>200</b>e<b>2</b> and the scan mode switching signal <b>1201</b> from the outside. Herein, the inverse scanners <b>292</b>s<b>1</b>˜<b>292</b>sn correspond to the scanners <b>199</b>s<b>1</b>˜<b>199</b>sn in the image coding apparatus <b>100</b>i.
The other construction of the image decoding apparatus <b>100</b>j is the same as in the conventional image decoding apparatus <b>200</b>f shown in FIG. <b>34</b>.
The image decoding apparatus <b>100</b>j is different from the conventional image decoding apparatus <b>200</b>f in that the inverse scan control unit <b>1501</b>j outputs the control signal <b>116</b>i on the basis of the parameter <b>1015</b> concerning prediction and the scan mode switching signal <b>1201</b>, using the same method as the scan control unit <b>1501</b>i according to the ninth embodiment.
In the image decoding apparatus <b>100</b>j thus constructed, decoding is performed by adaptively changing a scan according to a parameter concerning prediction and a scan mode switching signal. Therefore, in variable-length decoding of DCT coefficients of a progressive image or an interlaced image, accurate and efficient decoding can be carried out to a bit stream which has been coded using the scan changing method according to the ninth embodiment, thereby regenerating an image signal corresponding to the bit stream.
In the tenth embodiment of the invention, a description is given of the image decoding apparatus corresponding to the image coding apparatus which performs switching between frame DCT processing and field DCT processing in coding of an interlaced image signal. However, the image decoding apparatus may have a construction corresponding to an image coding apparatus which performs, in coding a progressive image, switching between frame DCT and field DCT according to the content of the image.
In this case, a coded image signal obtained by coding of a specific progressive image, in which switching between frame DCT and field DCT is performed according to the content of the image, can be accurately decoded.
[Embodiment 11]
<figref idref="DRAWINGS">FIG. 35</figref> is a block diagram illustrating a construction of an image processing apparatus according to an eleventh embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 35</figref>, reference numeral <b>100</b>k designates the image processing apparatus (image coding apparatus) according to the eleventh embodiment of the invention. This image coding apparatus <b>100</b>k consists of a blocking unit <b>102</b>, an information source coding unit <b>100</b>k<b>1</b>, a prediction unit <b>100</b>k<b>2</b>, a scanning unit <b>100</b>k<b>3</b>, and a variable-length coding (VLC) unit <b>112</b>. The blocking unit <b>102</b> is for dividing an input image signal <b>101</b> correspondingly to plural blocks constituting a single display screen to generate an image signal (plural pixel values) <b>103</b> corresponding to each block. The information source coding unit <b>100</b>k<b>1</b> is for performing information source coding to inter-frame difference values <b>1002</b> between the image signal (pixel values) <b>103</b> and inter-frame predicted values <b>1008</b> of the image signal <b>103</b>. The prediction unit <b>100</b>k<b>2</b> is for performing intra-frame prediction to an output (quantized values) <b>1004</b> of the information source coding unit <b>100</b>k<b>1</b> to generate intra-frame predicted values <b>303</b>, and outputting intra-frame difference values <b>302</b> between the quantized values <b>1004</b> and intra-frame predicted values <b>303</b> of the quantized values <b>1004</b> and outputting first prediction information <b>309</b>a and second prediction information <b>309</b>b. Herein, the first prediction information <b>309</b>a includes ON/OFF information indicating ON/OFF of AC prediction and prediction direction information indicating a reference direction for AC prediction, and the second prediction information <b>309</b>b includes only the ON/OFF information of AC prediction. The scanning unit <b>100</b>k<b>3</b> is for changing a scan method for the intra-frame difference values <b>302</b>, on the basis of a parameter concerning generation of the predicted values (inter-frame prediction information) <b>1015</b> from the information source coding unit <b>100</b>k<b>1</b>, a scan mode switching signal <b>1201</b> which is supplied, by manual operation, from the outside of the system (image coding apparatus). The variable-length coding (VLC) unit <b>112</b> is for performing variable-length coding to an output <b>1005</b> of the scanning unit <b>100</b>k<b>3</b> according to the order which has been set in the scanning unit <b>100</b>k<b>3</b>, to generate a bit stream <b>1006</b> corresponding to the image signal of each block.
In the eleventh embodiment of the invention, the information source coding unit <b>100</b>k<b>1</b> has the same construction as the information source coding unit <b>200</b>e<b>2</b> in the conventional image coding apparatus <b>200</b>e shown in <figref idref="DRAWINGS">FIG. 33</figref>, and the prediction unit <b>100</b>k<b>2</b> has the same construction as the prediction unit <b>200</b>c<b>2</b> in the conventional image coding apparatus <b>200</b>c shown in FIG. <b>29</b>.
The scanning unit <b>100</b>k<b>3</b> according to the eleventh embodiment of the invention consists of n pieces of scanners <b>199</b>k<b>1</b>˜<b>199</b>kn having different scan methods, i.e., each setting the different processing order to quantized values, a first switch <b>108</b>a for selecting one of the scanners <b>199</b>k<b>1</b>˜<b>199</b>kn on the basis of a control signal <b>116</b>k and supplying the output <b>302</b> of the prediction unit <b>100</b>k<b>2</b> to the selected scanner, a second switch <b>110</b>a for selecting one of the scanners <b>199</b>k<b>1</b>˜<b>199</b>kn on the basis of the control signal <b>116</b>k and supplying the output <b>1005</b> of the selected scanner to the VLC unit <b>112</b>, and a scan control unit <b>1501</b>k for generating the control signal <b>116</b>k on the basis of the parameter concerning the prediction (inter-frame prediction information) <b>1015</b> from the predictor <b>1012</b> in the information source coding unit <b>100</b>k<b>1</b>, and the scan mode switching signal <b>1201</b> from the outside.
That is, the scanning unit <b>100</b>k<b>3</b> is constructed so as to perform switching between the first scan operation and the second scan operation according to the scan mode switching signal <b>1201</b>. In the first scan operation, an intra-coded block is subjected to adaptive scanning by the scanner <b>199</b>k<b>1</b>, and an inter-coded block is subjected to zigzag scanning by the scanner <b>199</b>k<b>2</b>. In the second scan operation, an intra-coded block is subjected to scanning which gives a priority to a vertical direction, by the scanner <b>199</b>k<b>3</b>, and an inter-coded block is subjected to scanning which gives a priority to a vertical direction in the order different from the order of the scan by the scanner <b>199</b>k<b>3</b>, by the scanner <b>199</b>k<b>4</b>.
Herein, more specifically, the scanner <b>199</b>k<b>1</b> (<b>1</b>) is constituted by the respective elements <b>108</b>c, <b>110</b>c, <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> and <b>1401</b>c in the scanning unit <b>200</b>c<b>1</b> shown in FIG. <b>29</b>. That is, the scanner (<b>1</b>) selects one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner (<b>1</b>) on the basis of first intra-frame prediction information <b>309</b>a concerning generation of predicted values for an intra-coded block. In addition, one of the scanners <b>109</b>s<b>1</b>˜<b>109</b>s<b>3</b> constituting the scanner (<b>1</b>) performs a zigzag scan of quantized values in the order shown in FIG. <b>31</b>(a).
The scanner <b>199</b>k<b>2</b> (<b>2</b>) performs a zigzag scan in the order shown in FIG. <b>31</b>(a). The scanner <b>199</b>k<b>3</b> (<b>3</b>) performs a scan which gives a priority to a vertical direction in the order shown in FIG. <b>31</b>(c). The scanner <b>199</b>k<b>4</b> (<b>4</b>) performs a scan which gives a priority to a vertical direction in the order different from the order shown in FIG. <b>31</b>(c).
The scan which gives a priority of a vertical direction is of setting the processing order in which quantized values arranged along a vertical direction corresponding to a vertical direction of a display screen are continuous by a prescribed number, to quantized values arranged in the form of a 8×8 matrix, which are obtained by information source coding of an image signal corresponding to each block.
A description is given of the operation.
When an interlaced image signal <b>101</b> is input to the image coding apparatus <b>100</b>k, the blocking unit <b>102</b> blocks the interlaced image signal <b>101</b> frame by frame or field by field, and outputs an image signal (plural pixel values) <b>103</b> corresponding to each block to the information source coding unit <b>100</b>k<b>1</b>. Further, the blocking unit <b>102</b> outputs a DCT type signal <b>114</b> indicating a blocking unit of the image signal <b>103</b>.
In the information source coding unit <b>100</b>k<b>1</b>, inter-frame predictive coding is carried out to the image signal (pixel values) <b>103</b> which is obtained by blocking. Specifically, the DCT unit <b>104</b> transforms difference values <b>1002</b> between the image signal (pixel values) <b>103</b> and inter-frame predicted values <b>1008</b> of the image signal <b>103</b> into DCT coefficients <b>1003</b> by DCT, and outputs the DCT coefficients <b>1003</b>. The quantization unit <b>106</b> converts the DCT coefficients <b>1003</b> into quantized values <b>1004</b> by quantization, and outputs the quantized values <b>1004</b> to the prediction unit <b>100</b>k<b>2</b>.
At this time, in the information source coding unit lookl, the inverse quantization unit <b>203</b> converts the quantized values <b>1004</b> into DCT coefficients <b>1007</b> corresponding to the DCT coefficients <b>1003</b>. The inverse DCT unit <b>204</b> transforms the DCT coefficients <b>1007</b> into difference signals <b>1009</b> corresponding to the difference values <b>1002</b>. The adder <b>1010</b> adds the inter-frame predicted values <b>1008</b> to the difference signals <b>1009</b>, and the result of the addition <b>1011</b> is stored in the frame memory <b>1014</b>, as a reference image signal. In the predictor <b>1012</b>, the above-mentioned inter-frame predicted values <b>1008</b> are generated on the basis of a reference image signal <b>1013</b> of an already coded block which is stored in the frame memory <b>1014</b>, and the image signal <b>103</b> which is obtained by blocking.
In the image coding apparatus <b>100</b>k, when intra-coding processing is performed to a coding target block, the predictor <b>1012</b> in the information source coding unit <b>100</b>k<b>1</b> outputs values at “0” level as the inter-frame predicted values <b>1008</b>. When inter-coding processing is performed thereto, the predictor <b>1012</b> outputs the inter-frame predicted values <b>1008</b> at the level corresponding to each block.
Next, in the prediction unit <b>100</b>k<b>2</b>, intra-frame prediction is carried out to the quantized values <b>1004</b> as the output of the information source coding unit <b>100</b>k<b>1</b>. Specifically, the adder <b>301</b> subtracts inter-frame predicted values <b>303</b> of the quantized values <b>1004</b> from the quantized values <b>1004</b>, and outputs resulting difference values <b>302</b> to the scanning unit <b>100</b>k<b>3</b>. At this time, in the prediction unit <b>100</b>k<b>2</b>, the adder <b>304</b> adds the intra-frame predicted values <b>303</b> to the difference values <b>302</b>, and outputs the result of the addition <b>306</b> to the predictor <b>305</b>. In the predictor <b>305</b>, the above-mentioned intra-frame predicted values <b>303</b> are generated on the basis of the result of addition <b>306</b> of an already coded block, using the method which has been described in <figref idref="DRAWINGS">FIG. 30</figref>, and first and second parameters (first intra-frame prediction information and second intra-frame prediction information) <b>309</b>a and <b>309</b>b concerning generation of the predicted values, are output from the predictor <b>305</b>.
Then, in the scanning unit <b>100</b>k<b>3</b>, the output <b>302</b> of the prediction unit <b>100</b>k<b>2</b> is subjected to prescribed scanning on the basis of the intra-frame prediction information <b>309</b>a, inter-frame prediction information <b>1015</b>, and a scan mode switching signal <b>1201</b>.
A processing method by the scan control unit <b>1501</b>k in the scanning unit <b>100</b>k<b>3</b> is described using a flowchart shown in FIG. <b>36</b>.
In step <b>1801</b>, the scan control unit <b>1501</b>k decides whether the coding target block is subjected to intra coding or inter coding, on the basis of the inter-frame prediction information <b>1015</b> concerning generation of the predicted values in inter-frame predictive coding of the coding target block. As the result of the decision, when the coding target block is an intra-coded block, decision of the scan mode switching signal <b>1201</b> is performed (step <b>1802</b>). As the result of the decision at step <b>1802</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the scan control unit <b>1501</b>k outputs the control signal <b>116</b>k for selecting the scanner <b>199</b>k<b>1</b> (<b>1</b>) (step <b>1804</b>). Thereby, the difference values <b>302</b> which are obtained by performing intra-frame prediction to the quantized values <b>1004</b> corresponding to the intra-coded block, are subjected to adaptive scanning on the basis of the first intra-frame prediction information <b>309</b>a, by the scanner (<b>1</b>).
On the other band, when the scan mode switching signal <b>1201</b> is in the ON state, the scan control unit <b>1501</b>k outputs the control signal <b>116</b>k for selecting the scanner <b>199</b>k<b>3</b> (<b>3</b>) (step <b>1805</b>). Thereby, the difference values <b>302</b> which are obtained by performing intra-frame prediction to the quantized values <b>1004</b> corresponding to the intra-coded block, are subjected to scanning which gives a priority to a vertical direction, by the scanner (<b>3</b>).
As the result of the decision at step <b>1801</b>, when the coding target block is an inter-coded block, decision of the scan mode switching signal <b>1201</b> is performed (step <b>1803</b>). As the result of the decision at step <b>1803</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the scan control unit <b>1501</b>k outputs the control signal <b>116</b>k for selecting the scanner <b>199</b>k<b>2</b> (<b>2</b>) (step <b>1806</b>). Thereby, the difference values <b>302</b> which are obtained by performing intra-frame prediction to the quantized values <b>1004</b> corresponding to the inter-coded block, are subjected to zigzag scanning, by the scanner (<b>2</b>).
On the other hand, when the scan mode switching signal <b>1201</b> is in the ON state, the scan control unit <b>1501</b>k outputs the control signal <b>116</b>k for selecting the scanner <b>199</b>k<b>4</b> (<b>4</b>) (step <b>1807</b>). Thereby, the difference values <b>302</b> which are obtained by performing intra-frame prediction to the quantized values <b>1004</b> corresponding to the inter-coded block, are subjected to scanning which gives a priority to a vertical direction different from the vertical direction of the scanner (<b>3</b>), by the scanner (<b>4</b>).
Then, the VLC unit <b>112</b> codes the quantized values of the coding target block, according to the prescribed order which has been set in the scanning unit <b>110</b>k<b>3</b>, to output a bit stream (coded image signal) <b>1006</b>.
In the image coding apparatus <b>100</b>k thus constructed, in coding of an interlaced image signal, switching is performed between a first coding mode and a second coding mode according to a scan mode switching signal, wherein the first coding mode comprises performing an adaptive scan to quantized values of an intra-coded block, and performing a zigzag scan to quantized values of an inter-coded block, and the second coding mode comprises performing a scan which gives a priority to a first vertical direction to the quantized values of the intra-coded block, and performing a scan which gives a priority to a second vertical direction to the quantized values of the inter-coded block. Therefore, in coding of an interlaced image signal in which inter-coded blocks and intra-coded blocks having different frequency component distributions coexist, coding efficiency can be further improved.
In addition, in the image coding apparatus <b>100</b>k according to the eleventh embodiment of the invention, the first intra-frame prediction information <b>309</b>a includes ON/OFF information and prediction direction information of AC prediction, and the second intra-frame prediction information <b>309</b>b includes only the ON/OFF information of AC prediction, as in the conventional image coding apparatus <b>200</b>c. That is, unlike the first intra-frame prediction information <b>309</b>a used for scan control in the image coding apparatus, the second intra-frame prediction information <b>309</b>b transmitted to the decoding side includes no prediction direction information. Accordingly, even when a prediction method is changed, it is not required to change the content of the second intra-frame prediction information <b>309</b>b to be output to the decoding side, thereby easily dealing with the changed prediction method. However, the second intra-frame prediction information <b>309</b>b may include not only the ON/OFF information of AC prediction but the prediction direction information, like the first intra-frame prediction information <b>309</b>a.
Although in the eleventh embodiment of the invention, a description is given of coding of an interlaced image signal, a digital image signal to be subjected to coding is not limited thereto. For example, in an image coding apparatus in which, in coding a progressive image, switching is performed between frame DCT processing and field DCT processing according to the content of the image, the efficiency of variable-length coding in coding a progressive image can be improved using a construction similar to the construction according to the eleventh embodiment.
Although in the eleventh embodiment of the invention, the scanner <b>199</b>k<b>3</b> (<b>3</b>) and the scanner <b>199</b>k<b>4</b> (<b>4</b>) perform different scans which give a priority to a vertical direction, both the scanners may perform a scan which gives a priority to a vertical direction in the order shown in FIG. <b>31</b>(c).
[Embodiment 12]
<figref idref="DRAWINGS">FIG. 37</figref> is a block diagram illustrating a construction of an image processing apparatus according to a twelfth embodiment of the present invention. In <figref idref="DRAWINGS">FIG. 37</figref>, reference numeral <b>100</b>m designates the image processing apparatus (image decoding apparatus) according to the twelfth embodiment of the invention, which decodes a coded image signal that has been coded in the image coding apparatus <b>100</b>k.
This image decoding apparatus <b>100</b>m consists of a variable-length decoding (VLD) unit <b>201</b>, an inverse scanning unit <b>100</b>m<b>1</b>, a prediction unit <b>100</b>m<b>2</b>, an information source decoding unit <b>100</b>m<b>3</b>, and an inverse blocking unit <b>205</b>. The variable-length decoding (VLD) unit <b>201</b> is for performing variable-length decoding to a coded image signal <b>1006</b>. The inverse scanning unit <b>100</b>m<b>1</b> is for performing an inverse scan to quantized values <b>1005</b> which are obtained by decoding so that the order of the quantized values <b>1005</b> is returned to the order before rearrangement in coding. The prediction unit <b>100</b>m<b>2</b> is for adding quantized values (intra-frame predicted values) <b>303</b> of a decoding target block which are predicted from quantized values of an already decoded block in the vicinity of the decoding target block, to quantized values <b>302</b> corresponding to the decoding target block which have been subjected to inverse scanning. The information source decoding unit <b>100</b>m<b>3</b> is for performing information source decoding to quantized values <b>1004</b> as an output of the prediction unit <b>100</b>m<b>2</b>. The inverse blocking unit <b>205</b> is for inverse-blocking image signals (plural pixel values) <b>103</b> as outputs of the information source decoding unit <b>100</b>m<b>3</b>, on the basis of DCT type information <b>114</b> from the image coding apparatus <b>100</b>k, thereby regenerating an image signal <b>101</b> corresponding to one frame screen.
In the twelfth embodiment of the invention, the information source decoding unit <b>100</b>m<b>3</b> has the same construction as the information source decoding unit <b>200</b>f<b>1</b> in the conventional image decoding apparatus <b>200</b>f shown in <figref idref="DRAWINGS">FIG. 34</figref>, and the prediction unit <b>100</b>m<b>2</b> has the same construction as the prediction unit <b>200</b>d<b>2</b> in the conventional image decoding apparatus <b>200</b>d shown in FIG. <b>32</b>.
The inverse scanning unit <b>100</b>m<b>1</b> according to the twelfth embodiment of the invention is constructed so as to return quantized values which have been rearranged on the basis of first intra-frame prediction information <b>309</b>a, inter-frame prediction information <b>1015</b>, and a scan mode switching signal <b>1201</b> in the scanning unit <b>100</b>k<b>3</b> in the image coding apparatus <b>100</b>k according to the eleventh embodiment, to the original order. That is, the inverse scanning unit <b>100</b>m<b>1</b> consists of n pieces of inverse scanners <b>292</b>m<b>1</b>˜<b>292</b>mn each performing rearrangement for returning quantized values which have been scanned by the scanners <b>199</b>k˜<b>199</b>kn in the scanning unit <b>100</b>k<b>3</b>, to the original order. Further, the inverse scanning unit <b>100</b>m<b>1</b> consists of a first switch <b>108</b>b for selecting one of the inverse scanners <b>292</b>m<b>1</b>˜<b>292</b>mn on the basis of a control signal <b>116</b>m and supplying the output <b>1005</b> of the VLD unit <b>201</b> to the selected inverse scanner, a second switch <b>110</b>b for selecting one of the inverse scanners <b>292</b>m<b>1</b>˜<b>292</b>mn on the basis of the control signal <b>116</b>m and supplying the output <b>302</b> of the selected inverse scanner to the prediction unit <b>100</b>m<b>2</b>, and an inverse scan control unit <b>1501</b>m for generating the control signal <b>116</b>m on the basis of the parameter <b>1015</b> concerning prediction from the image coding apparatus <b>100</b>k and the scan mode switching signal <b>1201</b> from the outside.
Herein, the inverse scanners <b>292</b>m<b>1</b>˜<b>292</b>mn correspond to the scanners <b>199</b>k<b>1</b>˜<b>199</b>kn in the image coding apparatus <b>100</b>k, respectively. More specifically,, the inverse scanner <b>292</b>m<b>1</b> (<b>1</b>) is constituted by the respective elements <b>108</b>d, <b>110</b>d, <b>202</b>s<b>1</b>˜<b>202</b>s<b>3</b> and <b>1401</b>d in the inverse scanning unit <b>200</b>d<b>1</b> shown in FIG. <b>32</b>. That is, the inverse scanner (<b>1</b>) selects one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>s<b>3</b> constituting the inverse scanner (<b>1</b>) on the basis of control prediction information <b>309</b>a′ corresponding to the first intra-frame prediction information <b>309</b>a concerning generation of intra-frame predicted values for an intra-coded block. In addition, one of the inverse scanners <b>202</b>s<b>1</b>˜<b>202</b>s<b>3</b> constituting the inverse scanner (<b>1</b>) performs an inverse scan corresponding to a zigzag scan of quantized values in the order shown in FIG. <b>31</b>(a). The inverse scanner <b>292</b>m<b>2</b> (<b>2</b>) performs an inverse scan corresponding to a zigzag scan in the order shown in FIG. <b>31</b>(a). The inverse scanner <b>292</b>m<b>3</b> (<b>3</b>) performs an inverse scan corresponding to a scan which gives a priority to a vertical direction in the order shown in FIG. <b>31</b>(c). The inverse scanner <b>292</b>m<b>4</b> (<b>4</b>) performs an inverse scan corresponding to a scan which gives a priority to a vertical direction in the order different from the order shown in FIG. <b>31</b>(c).
A description is given of the operation.
In the image decoding apparatus <b>100</b>m, inverse converting processes corresponding to the respective converting processes in the image coding apparatus <b>100</b>k shown in <figref idref="DRAWINGS">FIG. 35</figref> are carried out to a coded image signal, in the reverse order of the order in coding, thereby accurately decoding the coded image signal.
More specifically, the VLD unit <b>201</b> converts a coded image signal <b>1006</b> into quantized values <b>1005</b> by variable-length decoding. Then, in the inverse scanning unit <b>100</b>m<b>1</b>, the quantized values <b>1005</b> are subjected to inverse scanning.
A processing method by the inverse scan control unit <b>1501</b>m in the inverse scanning unit <b>100</b>m<b>1</b> is described using a flowchart shown in FIG. <b>38</b>.
In step <b>1901</b>, the inverse scan control unit <b>1501</b>m decides whether the decoding target block is subjected to intra coding or inter coding, on the basis of inter-frame prediction information <b>1015</b> concerning generation of predicted values in inter-frame predictive decoding of the decoding target block. As the result of the decision, when the decoding target block is an intra-coded block, decision of a scan mode switching signal <b>1201</b> is performed (step <b>1902</b>). As the result of the decision at step <b>1902</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the inverse scan control unit <b>1501</b>m outputs the control signal <b>116</b>m for selecting the inverse scanner <b>292</b>m<b>1</b> (<b>1</b>) (step <b>1904</b>). Thereby, the inverse scanner (<b>1</b>) executes inverse scanning corresponding to adaptive scanning for the quantized values <b>1005</b> corresponding to the intra-coded block, according to control prediction information <b>309</b>a′ which is generated in the predictor <b>401</b> on the basis of second intra-frame prediction information <b>309</b>b from the image coding apparatus <b>100</b>k.
On the other hand, when the scan mode switching signal <b>1201</b> is in the ON state, the inverse scan control unit <b>1501</b>m outputs the control signal <b>116</b>m for selecting the inverse scanner <b>202</b>m<b>3</b> (<b>3</b>) (step <b>1905</b>). Thereby, the inverse scanner (<b>3</b>) executes inverse scanning corresponding to scanning which gives a priority to a vertical direction, for the quantized values <b>1005</b> corresponding to the intra-coded block.
As the result of the decision at step <b>1901</b>, when the decoding target block is an inter-coded block, decision of the scan mode switching signal <b>1201</b> is performed (step <b>1903</b>). As the result of the decision at step <b>1903</b>, when the scan mode switching signal <b>1201</b> is in the OFF state, the inverse scan control unit <b>1501</b>m outputs the control signal <b>116</b>m for selecting the inverse scanner <b>292</b>m<b>2</b> (<b>2</b>) (step <b>1906</b>). Thereby, the inverse scanner (<b>2</b>) executes inverse scanning corresponding to zigzag scanning for the quantized values <b>1005</b> corresponding to the inter-coded block.
On the other hand, when the scan mode switching signal <b>1201</b> is in the ON state, the inverse scan control unit <b>1501</b>m outputs the control signal <b>116</b>m for selecting the inverse scanner <b>292</b>m<b>4</b> (<b>4</b>) (step <b>1907</b>). Thereby, the inverse scanner (<b>4</b>) executes inverse scanning corresponding to scanning which gives a priority to a vertical direction different from the vertical direction of the inverse scanner (<b>3</b>), for the quantized values <b>1005</b> corresponding to the inter-coded block.
Next, the prediction unit <b>100</b>m<b>2</b> adds quantized values <b>302</b> as an output of the inverse scanning unit <b>100</b>m<b>1</b> to intra-frame predicted values <b>303</b> of the quantized values <b>302</b>, and outputs the result of the addition <b>1004</b> to the information source decoding unit <b>100</b>m<b>3</b>. At this time, in the prediction unit <b>100</b>m<b>2</b>, the above-mentioned intra-frame predicted values <b>303</b> are generated on the basis of the result of addition <b>1004</b> of an already decoded block and the second intra-frame prediction information <b>309</b>b from the image coding apparatus <b>100</b>k, using the method which has been described in FIG. <b>30</b>.
Then, in the information source decoding unit <b>100</b>m<b>3</b>, decoding is carried out to the quantized values <b>1004</b> as the output of the prediction unit <b>100</b>m<b>2</b>. Specifically, the inverse quantization unit <b>203</b> converts the quantized values <b>1004</b> into DCT coefficients <b>1003</b> by inverse quantization. The inverse DCT unit <b>204</b> transforms the DCT coefficients <b>1003</b> into difference signals <b>1002</b> by inverse DCT. The adder <b>1101</b> adds inter-frame predicted values <b>1008</b> of the difference signals <b>1002</b> to the difference signals <b>1002</b>, to convert the difference signals <b>1002</b> into an image signal (plural pixel values) <b>103</b>. At this time, the image signal <b>103</b> is stored in the frame memory <b>1014</b>. In the predictor <b>1102</b>, the above-mentioned inter-frame predicted values <b>1008</b> are generated on the basis of an image signal <b>1013</b> of an already decoded block which is stored in the frame memory <b>1014</b> and the prediction parameter <b>1015</b> from the image coding apparatus <b>100</b>k.
Finally, the inverse blocking unit <b>205</b> inverse-blocks the image signals <b>103</b> according to DCT type information <b>114</b> from the image coding apparatus <b>100</b>k, thereby regenerating an image signal <b>101</b> corresponding to one frame screen.
In the image decoding apparatus <b>100</b>m thus constructed, in decoding of a coded image signal which is obtained by coding an interlaced image signal, switching is performed between a first decoding mode and a second decoding mode according to a scan mode switching signal, wherein the first decoding mode comprises performing an inverse scan corresponding to an adaptive scan to quantized values of an intra-coded block, and performing an inverse scan corresponding to a zigzag scan to quantized values of an inter-coded block, and the second decoding mode comprises performing an inverse scan corresponding to a scan which gives a priority to a first vertical direction, to the quantized values of the intra-coded block, and performing an inverse scan corresponding to a scan which gives a priority to a second vertical direction, to the quantized values of the inter-coded block. Therefore, decoding can be accurately carried out to a coded image signal that is obtained by performing highly efficient coding of an interlaced image signal in which inter-coded blocks and intra-coded blocks having different frequency component distributions coexist, with changing a scan method.
In addition, although in the twelfth embodiment of the invention, a description is given of decoding of an interlaced image signal, a digital image signal to be subjected to decoding is not limited thereto. For example, in an image decoding apparatus corresponding to an image coding apparatus in which, in coding a progressive image, switching is performed between frame DCT processing and field DCT processing according to the content of the image, decoding can be accurately carried out to a coded image signal that is obtained by coding a progressive image signal at high coding efficiency, using a construction similar to the construction according to the twelfth embodiment.
In the image decoding apparatus <b>100</b>m according to the twelfth embodiment of the invention, the control prediction information <b>309</b>a′ corresponding to the first intra-frame prediction information <b>309</b>a includes ON/OFF information and prediction direction information of AC prediction, and the second intra-frame prediction information <b>309</b>b from the image coding apparatus <b>100</b>k includes only the ON/OFF information of AC prediction, as in the conventional image decoding apparatus <b>200</b>d. That is, unlike the control prediction information <b>309</b>a′ used for scan control in the image decoding apparatus, the second intra-frame prediction information <b>309</b>b transmitted to the decoding side includes no prediction direction information. Accordingly, even when a prediction method is changed, it is not required to change the content of the second intra-frame prediction information <b>309</b>b to be input to the decoding side, thereby easily dealing with the changed prediction method. However, the second intra-frame prediction information <b>309</b>b may include not only the ON/OFF information of AC prediction but the prediction direction information, like the control prediction information <b>309</b>a′.
Although in the twelfth embodiment of the invention, the inverse scanner <b>292</b>m<b>3</b> (<b>3</b>) and the inverse scanner <b>292</b>m<b>4</b> (<b>4</b>) perform different inverse scans corresponding to scans which give a priority to a vertical direction, both the inverse scanners may perform an inverse scan corresponding to a scan which gives a priority to a vertical direction in the order shown in FIG. <b>31</b>(c).
[Embodiment 13]
Coding or decoding programs for implementing the image processes by the image processing apparatuses described in the aforementioned embodiments are recorded on data recording media such as floppy disks, whereby the processes according to these embodiments can be easily executed in individual computer systems.
<figref idref="DRAWINGS">FIG. 25</figref> is a diagram for explaining a case where an image coding or image decoding process according to any of the aforementioned embodiments is executed in a computer system using a floppy disk in which the coding or decoding program is contained.
<figref idref="DRAWINGS">FIG. 25</figref> shows a front view of a floppy disk FD, and a floppy disk body D as a magnetic recording medium. The floppy disk FD is contained in a case F. Plural tracks are concentrically formed on the surface of the disk body D from the outer circumference toward the inner circumference. Each track is divided into 16 sectors in the angular direction. Therefore, in the floppy disk containing the above-mentioned program, in a region allocated on the floppy disk body D, data as the program is recorded.
Contents5
38 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22 Sheet 23 Sheet 24 Sheet 25 Sheet 26 Sheet 27 Sheet 28 Sheet 29 Sheet 30 Sheet 31 Sheet 32 Sheet 33 Sheet 34 Sheet 35 Sheet 36 Sheet 37 Sheet 38
Every citation, both waysCites: the store holds 49 of 50
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US2007242753A1 | Cited by | United States of America | Pre-grant |
| EP0422404A2 | Cites | European Patent Office (EPO) | Applicant |
| EP0542474A2 | Cites | European Patent Office (EPO) | Applicant |
| US2001046261A1 | Cites | United States of America | Applicant |
| US2004252893A1 | Cites | United States of America | Search report |
| JP2008197001A | Cites | Japan | Applicant |
| US5001559A | Cites | United States of America | Applicant |
| US5227878A | Cites | United States of America | Applicant |
| US5365271A | Cites | United States of America | Applicant |
| US5475501A | Cites | United States of America | Applicant |
| US5497153A | Cites | United States of America | Applicant |
| US5510840A | Cites | United States of America | Applicant |
| US5642165A | Cites | United States of America | Applicant |
| US5732183A | Cites | United States of America | Applicant |
| US5767909A | Cites | United States of America | Applicant |
| US5920353A | Cites | United States of America | Applicant |
| US6002801A | Cites | United States of America | Search report |
| US6151075A | Cites | United States of America | Search report |
| US6233280B1 | Cites | United States of America | Search report |
| US6275533B1 | Cites | United States of America | Search report |
| US6426975B1 | Cites | United States of America | Search report |
| US6602801B2 | Cites | United States of America | Applicant |
| US6724818B1 | Cites | United States of America | Search report |
| US7333659B2 | Cites | United States of America | Search report |
| JPH0595542A | Cites | Japan | Applicant |
| JPH06125278A | Cites | Japan | Applicant |
| JPH06165163A | Cites | Japan | Applicant |
| JPH06245200A | Cites | Japan | Applicant |
| JPH06245203A | Cites | Japan | Applicant |
| JPH0686264A | Cites | Japan | Applicant |
| JPH07162859A | Cites | Japan | Applicant |
| JPH0837640A | Cites | Japan | Applicant |
| JPH0879766A | Cites | Japan | Applicant |
| JPH09187004A | Cites | Japan | Applicant |
| USRE39318E | Cites | United States of America | Search report |
| US20010046261A1 | Cites | United States of America | Third party observation |
| US20040252893A1 | Cites | United States of America | Search report |
| EP422404A2 | Cites | European Patent Office (EPO) | Third party observation |
| EP542474A2 | Cites | European Patent Office (EPO) | Third party observation |
| JP595542 | Cites | Japan | Third party observation |
| JP686264 | Cites | Japan | Third party observation |
| JP6125278 | Cites | Japan | Third party observation |
| JP6165163 | Cites | Japan | Third party observation |
| JP6245200 | Cites | Japan | Third party observation |
| JP6245203 | Cites | Japan | Third party observation |
| JP7162859 | Cites | Japan | Third party observation |
| JP837640 | Cites | Japan | Third party observation |
| JP879766 | Cites | Japan | Third party observation |
| JP9187004A | Cites | Japan | Third party observation |
| JP197001 | Cites | Japan | Third party observation |
| Atul Puri et al, "Adaptive Frame/Field Motion Compensated Video Coding," Signal Processing Image Communication, Elsevier Science Publishers B.V., Amsterdam, NL., Feb. 1993, vol. 5, No. ½, pp. 39-58. | Non-patent | – | Applicant |
| M. Zhou et al, "MPEG-2 Video Coding with an Adaptive Selection of Scanning Path and Picture Structure," Proceedings of the Spie, Spie, Bellingham, VA, vol. 2952, Oct. 1996, pp. 472-480. | Non-patent | – | Applicant |
| Eisuke Nakasu et al, "Intra/Inter Mode Adaptive DCT Coding System of HDTV Signals," Signal Processing of HDTV, III, 1992 Elsevier Science Publishers B.V., Workshop 4, Sep. 1991, pp. 439-446. | Non-patent | – | Applicant |
| Lee, Jong Hwa et al, "An Efficient Encoding of DCT Blocks with Block-Adapative Scanning," IEICE Trans Commun., vol. E77-B, No. 12, pp. 1489-1494, Dec. 1994. | Non-patent | – | Applicant |
| Puri, A. et al, "Improvements in DCT Based Video Coding," SPIE, vol. 3024, 0277-786X/97, pp. 676-688, 1997. | Non-patent | – | Applicant |
| Atul Puri et al, “Adaptive Frame/Field Motion Compensated Video Coding,” Signal Processing Image Communication, Elsevier Science Publishers B.V., Amsterdam, NL., Feb. 1993, vol. 5, No. ½, pp. 39-58. | Non-patent | – | Third party observation |
| M. Zhou et al, “MPEG-2 Video Coding with an Adaptive Selection of Scanning Path and Picture Structure,” Proceedings of the Spie, Spie, Bellingham, VA, vol. 2952, Oct. 1996, pp. 472-480. | Non-patent | – | Third party observation |
| Eisuke Nakasu et al, “Intra/Inter Mode Adaptive DCT Coding System of HDTV Signals,” Signal Processing of HDTV, III, 1992 Elsevier Science Publishers B.V., Workshop 4, Sep. 1991, pp. 439-446. | Non-patent | – | Third party observation |
| Lee, Jong Hwa et al, “An Efficient Encoding of DCT Blocks with Block-Adapative Scanning,” IEICE Trans Commun., vol. E77-B, No. 12, pp. 1489-1494, Dec. 1994. | Non-patent | – | Third party observation |
| Puri, A. et al, “Improvements in DCT Based Video Coding,” SPIE, vol. 3024, 0277-786X/97, pp. 676-688, 1997. | Non-patent | – | Third party observation |
19 members in 9 offices
Priority claims25
| Document | Office | Kind | Date |
|---|---|---|---|
| 20049997 | Japan | A | |
| 20049997 | Japan | A | |
| 9200499 | Japan | – | |
| 25376597 | Japan | A | |
| 25376597 | Japan | A | |
| 9253765 | Japan | – | |
| 1014919 | Japan | – | |
| 14191998 | Japan | A | |
| 14191998 | Japan | A | |
| 11899198 | United States of America | A | |
| 11899198 | United States of America | A | |
| 68284903 | United States of America | A | |
| 68284903 | United States of America | A | |
| 49394306 | United States of America | A | |
| 09118991 | – | – | – |
| 1014919 | – | – | – |
| 10682849 | – | – | – |
| 9200499 | – | – | – |
| 9253765 | – | – | – |
| JP19970200499 | – | – | – |
| JP19970253765 | – | – | – |
| JP19980141919 | – | – | – |
| US19980118991 | – | – | – |
| US20030682849 | – | – | – |
| US20060493943 | – | – | – |
Members19
| Document | Office | Kind | |
|---|---|---|---|
| EP0893925A2 | European Patent Office (EPO) | A2 | |
| KR19990014189A | Republic of Korea | A | |
| CN1215959A | China | A | |
| JP2000050267A | Japan | A | |
| TW411697B | Taiwan Province of China | B | |
| US6426975B1 | United States of America | B1 | |
| KR100294120B1 | Republic of Korea | B1 | |
| JP2004032788A | Japan | A | |
| EP0893925A3 | European Patent Office (EPO) | A3 | |
| CN1561091A | China | A | |
| JP3671287B2 | Japan | B2 | |
| USRE39318E | United States of America | E | |
| EP0893925B1 | European Patent Office (EPO) | B1 | |
| DE69836052D1 | Germany | D1 | |
| DE69836052T2 | Germany | T2 | |
| ES2273386T3 | Spain | T3 | |
| MY129889A | Malaysia | A | |
| USRE41533EThis record | United States of America | E | |
| CN1561091B | China | B |
50 transactions on the USPTO file
Allowed after 3 non-final rejections.
- Non-final rejections
- 3
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Post Issue Communication - Certificate of CorrectionN423 | N423 | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Receipt into PubsR1021 | R1021 | |
| Dispatch to FDCD1935 | D1935 | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Printer Rush- No mailingTCPB | TCPB | |
| Mail Miscellaneous Communication to ApplicantMM327 | MM327 | |
| Miscellaneous Communication to Applicant - No Action CountM327 | M327 | |
| Pubs Case Remand to TCPUBTC | PUBTC | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Oath or Declaration Filed (Including Supplemental)C602 | C602 | |
| Response after Non-Final ActionA... | A... | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Response after Non-Final ActionA... | A... | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Response after Non-Final ActionA... | A... | |
| Request for Extension of Time - GrantedXT/G | XT/G | |
| Oath or Declaration Filed (Including Supplemental)C602 | C602 | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Reference capture on IDSRCAP | RCAP | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| IFW TSS Processing by Tech Center CompleteTSSCOMP | TSSCOMP | |
| Cleared by OIPE CSRL194 | L194 | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Cleared by OIPE CSRL194 | L194 | |
| Notice of Reissue Published in Official GazetteNRE. | NRE. | |
| Application Is Now CompleteCOMP | COMP | |
| Application Dispatched from OIPEOIPE | OIPE | |
| Cleared by OIPE CSRL194 | L194 | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Reference capture on IDSRCAP | RCAP | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Preliminary AmendmentA.PE | A.PE | |
| Initial Exam Team nnIEXX | IEXX |
5 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| AssignmentAS | AS | |
| AssignmentAS | AS | |
| Fee paymentFPAY | FPAY | |
| Certificate of correctionCC | CC | |
| Fee payment procedurePAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITYFEPP | FEPP |
Numbers
- Publication
- RE041533
- Publication, DOCDB
- RE41533
- Publication, EPODOC
- USRE41533E
- Application
- 11493943
- Application, DOCDB
- 49394306
- Application, EPODOC
- US20060493943
Titles
- English
- Image processing method, image processing apparatus and data recording medium
Classification
- CPC, 9
- H04N19/48
- H04N19/625
- H04N19/105
- H04N19/176
- H04N19/129
- H04N19/60
- H04N19/593
- H04N19/16
- H04N19/18
- IPC, 12
- H04B1 66
- H04N19 60
- H03M7 36
- H04N19 129
- H04N19 134
- H04N19 172
- H04N19 176
- H04N19 423
- H04N19 503
- H04N19 61
- H04N19 625
- H04N19 91
- USPC, 3
- 375240130
- 375E07150
- 375E07226