Claims
- 1. A moving image coder in which an image is divided into image blocks and a coding mode is selected from among an inter frame coding mode and an intra frame coding mode, the inter frame coding mode using an inter frame difference block as a coding object, and the intra frame coding mode using said coding image block as said coding object, said moving image coder comprising:
- motion prediction means for obtaining a prediction block by setting a motion vector to be minimized and calculating a predicting error amount obtained by a predetermined error calculation with respect to each of inter frame difference signals between a candidate block of said prediction block and a corresponding coding image block;
- means for calculating an average value of said coding image block;
- means for obtaining alternating current components by subtracting said average value from each pixel value in said coding image block;
- means for obtaining an intra frame activity amount obtained by said predetermined error calculation used in said motion prediction means with respect to each of said alternating current components;
- comparing means for comparing said predicting error amount calculated by said motion prediction means with said intra frame activity amount;
- determining means for determining said coding mode in accordance with the result of said comparing means; and
- coding means for coding said coding image block using the determined coding mode, wherein said coding image block is capable of a different coding mode than an adjacent coding image block of the image,
- and said determining means determines said coding mode for every coding image block.
- 2. A moving image coder as claimed in claim 1, wherein the intra frame coding mode is set in a case in which the value of a predetermined function substituting said predicting error amount thereinto is larger than a value of said predetermined function substituting said intra frame activity amount thereinto; and
- the inter frame coding mode is set in a case except for this case.
- 3. A moving image coder as claimed in claim 1, wherein an absolute value sum of the difference signals is used in said error calculation.
- 4. A moving image coder as claimed in claim 1, wherein a square sum of the difference signals is used in said error calculation.
- 5. A moving image coder as claimed in claim 1, wherein a predetermined function of the predicting error amount is equal to the predicting error amount, and a predetermined function of the intra frame activity amount is equal to the intra frame activity amount, and the comparing means compares these predetermined functions with each other.
- 6. A moving image coder as claimed in claim 1, wherein a predetermined function of the predicting error amount is equal to a sum of the predicting error amount and a constant, and a predetermined function of the intra frame activity amount is equal to the intra frame activity amount, and the comparing means compares these predetermined functions with each other.
- 7. A moving image coder as claimed in claim 6, wherein it is judged by comparing said functions with each other that the inter frame coding mode is superior to the intra frame coding mode.
- 8. The moving image coder as claimed in claim 1, wherein the coder image blocks are substantially the same size.
- 9. A moving image coder in which an image is divided into image blocks and a coding mode is selected from among an inter frame coding mode and an intra frame coding mode, the inter frame coding mode using an inter frame difference block as a coding object, and the intra frame coding mode using said coding image block as said coding object, said moving image coder comprising:
- motion prediction means for obtaining a prediction block by setting a motion vector to be minimized and calculating a predicting error amount obtained by a predetermined error calculation with respect to each of inter frame difference signals between a candidate block of said prediction block and a corresponding coding image block;
- means for calculating an average value of said coding image block;
- means for obtaining alternating current components by subtracting said average value from each pixel value in said coding image block;
- means for obtaining an intra frame activity amount obtained by said predetermined error calculation used in said motion prediction means with respect to each of said alternating current components;
- comparing means for comparing said predicting error amount calculated by said motion prediction means with said intra frame activity amount;
- determining means for determining said coding mode in accordance with the result of said comparing means; and
- coding means for coding said coding image block using the determined coding mode, wherein said coding image block is coded using one of the coding modes independent of the coding mode of an adjacent coding image block of the image,
- and said determining means determines said coding mode for every coding image block.
Priority Claims (1)
Number |
Date |
Country |
Kind |
5-338474 |
Dec 1993 |
JPX |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/357,169 filed on Dec. 13, 1994, now abandoned.
US Referenced Citations (13)
Foreign Referenced Citations (3)
Number |
Date |
Country |
0521529 |
Jan 1993 |
EPX |
0536630 |
Apr 1993 |
EPX |
2691272 |
Nov 1993 |
FRX |
Non-Patent Literature Citations (1)
Entry |
Hiroshi Watanabe, "MPEG2 Interframe Prediction", Oct. 1992, pp. 37-42, ITEJ Technical Report, vol. 16, No. 61. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
357169 |
Dec 1994 |
|