Image signal coding device for reducing the amount of the information in the transmitted image by transmitting specified image areas

Abstract: An image coding device for coding image data, provides motion inter-frame compensation predicting unit (29) for predictively coding an image signal at each frame based on an inputted image signal and a stored image signal and outputting a predictive error signal, orthogonal transformation unit (23) for orthogonally transforming said predictive error signal, and quantizing unit for quantizing a transforming coefficient formed by said orthogonal transformation. The image coding device further provides image area detector (30) for detecting a specified image area from the image represented by said image signal and error quantizing unit (32) for deriving a quantizing error of said specified area. The quantizing error derived by said unit (32) is re-quantized in error quantizing unit (32) under control of an error coding control unit (31). The data quantized by the quantizing unit and the error quantizing unit are configured in a coding format through a multiplexer and output externally.

Description: The present invention relates to an image coding device which is capable of reducing the amount of information contained in an image by coding an inputted image signal, in particular, a moving image. Recently with the prevalence of integrated service digital networks (referred to as ISDNs), new communication services such as image communication services have been more and more in demand. Specifically, a TV phone or a TV conference system requires such a service. In general, in the case of transmitting image information as in a TV phone or a TV conference system, since the image consumes a massive amount of information, in view of the transmission speed of a line and the cost of the transmission, it is necessary to compress and code the amount of information of the transmitted image so as to reduce the amount of information transmitted. As coding methods for compressing the information, various methods have been considered, some of which will be realized in the field of TV phone or a TV conference systems. Further, a new communication network, representatively a broadband integrated service digital network (referred to as a B-ISDN), is now actively studied for providing higher service. As a high-efficiency coding method for an image being now on the way of implementation, there has been known a motion compensated inter-frame prediction orthogonal transformation method. This method takes the steps of dividing an image into plural small blocks and performing an orthogonal transformation such as a discrete cosine transformation with respect to various predictive error signals in each small block, quantizing the resulting transforming coefficient for coding, and transmitting the coded data. Fig. 9 shows a coding device arranged on the foregoing prior art. Fig. 10 is a block diagram showing an arrangement of the foregoing conventional decoding device. An inputted image signal is inter-frame predicted as compensating for the motion at each image frame by means of a motion inter-frame compensation predicting unit 40. To detect the motion in the motion compensation, the image signal of a one-previous frame stored in a frame memory 41 and the inputted image signal are divided into blocks. It is detected which portion of the image signal of a one-previous frame is moved to the block. The motion inter-frame compensation predicting unit 40 operates to read an image frame coded of a one-previous frame stored in the frame memory 41 as a predictive value. Then, a difference between the input image frame and the predictive value read from the frame memory 41 is derived in a differential operating unit 42 for performing an inter-frame coding operation. In succession, the predictive error signal outputted from the differential operating unit 42 is transmitted to an orthogonal transforming unit 43 in which an orthogonal transformation is performed. The orthogonal transforming unit 43 serves to output orthogonally transformed coefficients. The coefficients are quantized in the quantizing unit 44 at the quantization level sent from a coding control unit 45. The quantized output from the quantizing unit 44 is outputted to the external as a coded result. The quantized output from the quantizing unit 44 is also sent to a reverse-quantizing unit 46. The reverse-quantizing unit 46 performs a reverse process to the quantizing unit 44 so that the unit 46 may output orthogonally transformed coefficients and reverse orthogonally transformed coefficients. In the reverse orthogonally transforming unit 47, the reverse orthogonally transforming operation is carried out by using the coefficients. In these serial operating processes, to efficiently perform an operation like motion detection in compensating for the motion, the image is divided to blocks each having a predetermined size. The output of the reverse orthogonal transforming unit 47 is added to the predictive value read out of the frame memory 41 in the adding unit 48. Then, the added value is stored in the frame memory 41 and is used for inter-frame prediction in the next input image frame. The input image signal is coded according to such a loop (coding loop). In the decoding device, like the process in the coding loop of the coding device, the inputted coded signal is sent to a reverse-quantizing unit 49 in which the reverse operation to the quantizing unit 44 is performed. The orthogonally transformed coefficient is outputted to the reverse orthogonal transforming unit 49. In an adding unit 51, the output of the reverse orthogonal transforming unit 50 is added to a predictive value read out of a frame memory 53 based on a predictive motion value from an inter-frame predicting unit 52. The added result is outputted as a signal and is stored in the frame memory 53. The foregoing conventional image coding device allows a certain degree of error for reducing the amount of information when quantizing the orthogonally transformed result. The allowed error makes the quality of the image degraded. This has been a disadvantage. The quantization is controlled by the amount of generated codes and the transmission capacity. In each divided block, the quantizing condition is changed. When the coded image is viewed as an overall image, a block distortion in which a block being processed is striking or coarseness variable in each block of the screen takes place so that the quality of the image may be disadvantageously degraded. Further, whether or not the content of the image on the block to be coded may be an important portion to transmission or storage, the coding operation is evenly controlled for any of the blocks. Hence, the image quality on an important portion cannot be held so that the overall image may be disadvantageously degraded. Further, by reverse-quantizing and reverse orthogonally transforming all the outputs of the quantizing unit for locally decoding, the locally decoded result is stored in the frame memory and is used for inter-frame predictive coding. If loss of information takes place in a line such as a broadband ISDN, the inter-frame predictive coding does not properly function, thereby remarkably lowering the quality of the image. The document EP-A-0 330 455 discloses an image area detector according to the pre-characterising portion of claim 1. According to the present invention, there is provided an image area detector for detecting a specified image area in an image for coding in an image communication system, comprising: means for dividing an input image signal into plural area blocks; means for storing an image signal; and means for detecting an amount of motion of each frame at each block from said image signals input and stored in said storing means; characterised by means for deriving an average luminance and an average chrominance in each block; means for deriving a differential value of luminance in each block; means for deriving an average luminance of each overall frame; means for determining said specified image area from said plural area blocks based on said motion, said average luminance and chrominance in each block, said differential values, and said average luminance of the frame, including means for designating an area block as part of said specified image area when the area block has an average luminance, an average chrominance and an amount of motion which fall within a first predetermined range; and means for designating an area block as part of said specified image area when the area block has an average luminance, a differential value of luminance and an amount of motion which fall within a second predetermined range. There may therefore be provided an image area detector which can recognize an important portion in the image to be coded. Embodiments of the invention may provide an image coding device which uses an image area detector for recognizing an important portion in the image to be coded and enables proper coding of the information so as to obtain an excellent image without having to degrade the important portion even if loss of the information in a communication line takes place. In the arrangement, it is possible to specify the significant part in the image and obtain the index for area adaptive coding. Further advantages of the present invention will be apparent from the following description of a preferred embodiment of the invention as illustrated in the accompanying drawings, in which: Fig. 1 is a block diagram showing an arrangement of an image area detector according to an embodiment of the present invention; Fig. 2 is an explanatory view showing an important area detected by the image area detector shown in Fig. 1; Fig. 3 is an explanatory view showing a skin color area to be defined only by the color difference component detectable by the image area detector shown in Fig. 1; Fig. 4 is a flowchart for describing the operation of the image area detector shown in Fig. 1; Fig. 5 is an explanatory view showing a vector space for detecting an area; Fig. 6 is another explanatory view showing a vector space for detecting an area; Fig. 7 is block diagram showing an arrangement of an image coding device according to an embodiment of the present invention; Fig. 8 is a block diagram showing an arrangement of an image decoding device ; Fig. 9 is a block diagram showing an arrangement of the conventional image coding device; and Fig. 10 is a block diagram showing an arrangement of the conventional image coding device. Hereinafter, the description will be oriented to an image area detector, an image coding device arranged to use the image area detector and an image decoding device according to an embodiment of the present invention, referring to the drawings. First, the description will be oriented to an image area detector according to an embodiment of the present invention, referring to Figures 1 to 6. Fig. 1 is a block diagram showing an arrangement of an image area detector according to the embodiment of the present invention. The image area detector shown in Fig. 1 is arranged to provide a block dividing unit 11 serving as dividing means, a frame memory 12 serving as storing means connected to the block dividing unit 11, a motion calculating means 13 serving as motion detecting means connected to the block dividing unit 11 and the frame memory 12, a block differential value deriving unit 14 serving as differential value deriving means connected to the block dividing unit 11, an average block luminance deriving unit 15 composing part of means for deriving an average luminance and chrominance of each block, the means being connected to the dividing unit 11, a normalized luminance deriving unit 16 connected to the average block luminance deriving unit 15, an average frame luminance deriving unit 17 serving as average frame luminance deriving means connected to the block dividing unit 11 and the normalized luminance deriving unit 16, an average block red difference deriving unit 18 composing part of average block luminance and chrominance deriving means connected to the block dividing unit 11, an average block blue difference deriving unit 19 composed of part of average block luminance and chrominance deriving means connected to the block dividing unit 11, and a vector determining unit 20 serving as means for specifying an area connected to the motion deriving unit 13, the block differential value deriving unit 14, the normalized luminance deriving unit 16, the average block red color difference deriving unit 18, and the average block blue color difference deriving unit 19. The inputted image signal is divided into small area blocks. For each block, the motion of the block and the average luminance inside of the block normalized by the average luminance of the overall frame, the average chrominance inside of the block, and the differential value are derived. They are compared with the feature values in a specific area for determining the area. Herein, the description will be oriented to how the important area is determined in the case that a face area shown in Fig. 2 is set as an important area. To determine whether or not a portion corresponds to a face portion, recognition of the form of the face may be considered. To do so, a massive amount of operating time is taken. Hence, this is not proper to the coding device for transmission or storage. Hence according to the present embodiment the face is determined according to the feature amounts: (1) the face has a skin color. (2) the face has an outline, an eyebrow, eyes, a mouth and so forth and a lot of differential values. (3) In the case of a TV phone or a TV conference, the face keeps its luminance high. (4) In the case of a TV phone or a TV conference, a moving object is mainly a figure, in particular, a motion of the face. At first, since the face has a skin color, taking two color different components (R-Y and B-Y) on an axis of abscissa and an axis of ordinate, the distribution stays in a certain range as shown in Fig.3. Thus, the average values of a R-Y component and a B-Y component of the inputted block are derived respectively. Based on the average values, it is determined whether or not the block corresponds to a face. In fact, however, the skin color does not always indicate the face. A landscape often has a skin color. In the block containing an outline portion, a background color is also contained as well as the face color. If the device applies to a TV phone or a TV conference, since what is important is generally to transmit the information about a face, in most of the transmitted images, focus is placed on the faces. Further, those images are kept in a bright state with lighting. Hence, the transmitted image keeps an eyebrow, eyes, a mouth and so forth clear. It means that the face portion has a lot of differential values and high luminance. Moreover, the main object is to transmit the information about a face. It means that a moving potion on the transmitted image mainly indicates a face portion. According to the present embodiment, the areas determined as a face area are; (a) Area keeping a certain luminance range, a skin color and a certain degree of motion. (b) Area keeping a certain luminance range, a lot of differential values and a certain degree of motion. Next, the operation of the image area detector shown in Fig. 1 will be described referring to the flowchart of Fig.4. At first, the block dividing unit 11 serves to divide the inputted signal into small blocks according to the luminance and the color difference (steps S1 and S2). The motion deriving unit 13 serves to compare the divided luminance with the frame data read out of the frame memory 12 for retrieving the motion (step S3) and derive the motion value M (step S4). The block differential value deriving unit 14 serves to derive a sum DY of the differential values at each block (step S5). The average block luminance deriving unit 15 serves to derive an average luminance in the block and the average frame luminance deriving unit 17 serves to derive an average luminance of the previous frame. The normalized luminance deriving unit 16 serves to derive a normalized luminance Y by using the average luminance of the previous frame derived by the average frame luminance deriving unit 17 in order to correspond to the change of luminance (step S6). The average block red difference deriving unit 18 and the average block blue difference deriving unit 19 serve to derive the average values R-Y and B-Y of the color difference components derived as above (step S7). The vector determining unit 20 serves to determine a face based on the above-mentioned derived five parameters inputted thereto. In the determining process, by considering a four-dimensional vector space consisting of an average value R-Y of the color difference component, an average value B-Y of the color difference component, a normalized luminance Y and a motion value M as shown in Fig. 5 and a three-dimensional space consisting of a sum DY of differential values at each block, a normalized luminance Y and a motion value M as shown in Fig. 6 with respect to the foregoing five parameters, the reference vector area is pre-created for a portion corresponding to a face based on various image data in each of the vector spaces. It is determined whether or not the vector of the inputted block corresponds to a reference vector area (steps S8 and S9). The vector determining unit 20 serves to determine whether or not the inputted block corresponds to a face area based on the methods for determining a face area as shown in Figs. 5 and 6. Then, the determined result is outputted (steps S10 and S11). Next, the description will be oriented to an image coding device according to an embodiment of the present invention. Fig. 7 is a block diagram showing an arrangement of an image coding device according to an embodiment of the present invention. The image coding device shown in Fig. 7 is arranged to have a coding control unit 21, a subtracting unit 22, an orthogonal transforming unit 23 serving as orthogonal transforming means being connected to the subtracting unit 22, a quantizing unit 24 serving as quantizing means connected to the orthogonal transforming unit 23, a reverse-quantizing unit 25 connected to the quantizing unit 24, a reverse-orthogonal transforming unit 26 connected to the reverse-quantizing unit 25, an adding unit 27 connected to the reverse orthogonal transforming unit 26, a frame memory 28 connected to the adding unit 27, a motion inter-frame compensation predicting unit 29 serving as predictive coding means connected to the frame memory 28, an image area detecting unit 30 served as image area detecting means, an error coding control unit 31 connected to the coding control unit 21, an error quantizing unit 32 serving as quantized error deriving means connected to the orthogonal transforming unit 23, the image area detecting unit 30 and the error coding control unit 31, and a multiplexer (not shown) connected to receive error coded output, coded output and motion compensated value. Next, the description will be oriented to the operation of the image coding device as shown in Fig. 7. At first, an inputted image signal is predicted at each image frame in an inter-frame compensating manner in the motion inter-frame compensation predicting unit 29. The detection of a motion in a motion compensating manner is carried out by dividing the image signal of one-previous frame stored in the frame memory 28 and the inputted image signal into blocks each having a certain size and detecting which portion of the image signal of a one-previous frame is moved to the block of the inputted image signal. By using the detected motion, the motion inter-frame compensation predicting unit 29 serves to read the image frame coded at one previous frame stored in the frame memory 28 as a predictive value, while outputting a motion compensated value through the multiplexer. Then, the subtracting unit (difference operating unit) 22 serves to derive a difference between the inputted image frame and a predictive value read out of the frame memory 28 for performing an inter-frame predictive coding. In succession, the predictive error signal outputted from the difference operating unit 22 is sent to the orthogonal transforming unit 23 in which the orthogonal transforming operation is carried out. The orthogonal transforming unit 23 serves to output an orthogonally transformed coefficient. The coefficient is quantized according to the quantizing level sent from the coding control unit 21 in the quantizing unit 24. The quantized amount of information is compressed. The quantized output from the quantizing unit 24 is outputted as a coded result to the outside through the multiplexer and to the reverse-quantizing unit 25. The reverse-quantizing unit 25 performs the reverse operation to the quantizing unit 24 and outputs the orthogonally transformed coefficient and then the reverse orthogonally transformed coefficient. Then, the reverse orthogonal transforming operation is done with the coefficients in the reverse orthogonal transforming unit 26. The coded output from the quantizing unit 24 and the motion compensated value from the predicting unit 29 are configured in a coding format by the multiplexer together with an error coded output described below. The above-mentioned series of operations are carried out at each of the blocks into which the image is divided. The output of the reverse orthogonal transforming unit 26 is added to a predictive value read out of the frame memory 28 in the adding unit 27. Then, the added value is stored in the frame memory 28. It is used for inter-frame prediction at the next frame of an inputted image. The inputted image signal is coded in a loop manner (coding loop). The inputted signal is also supplied to image area detecting unit 30, while being coded in the coding loop as described above. The image area detecting unit 30 serves to detect whether or not the area is important at each block and output the detected result to the error quantizing unit 32. The image area detecting unit 30 has the same construction as the image area detector explained in connection with Figures 1 to 6. To make the quality of the important area better, the error coding control unit 31 serves to control the quantizing level in the important area into a more fine level than the quantizing level in the coding loop in a manner to apply to the quantizing level controlled in a coding loop from the coding control unit 21 and define the re-quantizing level. The re-quantizing level is outputted to the error quantizing unit 32. The error quantizing unit 32 serves to derive the coding error caused as a result of coding only the important area in the coding loop in response to the detected result of the image area detecting unit 30. The error is coded according to the error quantizing level sent from the error coding control unit 31 and then the coded error is outputted. By re-quantizing the error in an important area, it is possible to improve the quality of a coded image as compared with the coded image transmitted only in a coding loop. Next, the description will be oriented to an image decoding device. Fig. 8 is a block diagram showing an arrangement of an image decoding device. The image decoding device as shcwn in Fig. 8 8 is arranged to have a demultipexer (not shown), a reverse-quantizing unit 33 serving as reverse- quantizing means, an error reverse-quantizing unit 34 serving as quantizing error reverse-quantizing means, an error adding unit 35 connected to both of the reverse-quantizing unit 33 and the error reverse-quantizing unit 34, a reverse orthogonal transforming unit 36 served as reverse orthogonal transforming means connected to the error adding unit 35, an adding unit 37 connected to the reverse orthogonal transforming unit 36, a frame memory served as storing means connected to the adding unit 37, and an inter-frame predicting unit 39 connected to the frame memory 38. Next, the operation of the image decoding device shown in Fig. 8 will be described. In the image decoding device shown in Fig. 8, the coded input signal, error coded input signal and motion compensated value are separated from each other through the demultiplexer. After separation, the coded input signal is reverse-quantized in the reverse-quantizing unit 33. At a time, the error coded input signal is reverse-quantized in the error reverse-quantizing unit 34. The reverse quantized results are added to each other in the error adding unit 35. This results in improving the quality of an image in the important area. Next, the description will be oriented to the use of the image coding device and the image decoding device in a transmission path for broadcast communication where loss of information takes place. The information coded by the image coding device can be considered as two hierarchical classes, that is, an output from the quantizing unit 24 and an output from the error quantizing unit 32. The output result from the error quantizing unit 32 does not have an adverse effect on the coding loop. Hence, if the output of the quantizing unit 24 is outputted first and the output of the error quantizing unit 32 is outputted not first, only the output of the error quantizing unit 32 is lost in the case of loss of information. The loss of information does not have an adverse effect on the inter-frame prediction. In the image decoding device, only when the error coded input signal is applied, the error adding unit 35 performs an addition and a decoding operation. If the information is lost, the conventional image coded bus is constantly kept. Hence, the coded image quality is guaranteed if the conventional coding device applies to a transmission path with no loss of information. Many widely different embodiments of the present invention may be constructed without departing from the scope of the present invention. It should be understood that the present invention is not limited to the specific embodiments described in the specification, except as defined in the appended claims.

Claims: An image area detector for detecting a specified image area in an image for coding in an image communication system, comprising: means (11) for dividing an input image signal into plural area blocks; means (12) for storing an image signal; and means (13) for detecting an amount of motion of each frame at each block from said image signals input and stored in said storing means; characterised by means (15, 18, 19) for deriving an average luminance and an average chrominance in each block; means (14) for deriving a sum (DY) of differential values of luminance in each block; means (17) for deriving an average luminance of each overall frame; means (20) for determining said specified image area from said plural area blocks based on said motion, said average luminance and chrominance in each block, said differential values, and said average luminance of the frame, including means for designating an area block as part of said specified image area when the area block has an average luminance, an average chrominance and an amount of motion which fall within a first predetermined range; and means for designating an area block as part of said specified image area when the area block has an average luminance, a differential value of luminance and an amount of motion which fall within a second predetermined range. An image area detector as claimed in claim 1, wherein said specified image area is a face area. An image area detector as claimed in claim 1 or claim 2, wherein said dividing means (11) is arranged to output a luminance signal and color difference signals for each divided block. An image area detector as claimed in claim 3, wherein said average luminance and chrominance deriving means includes means (15) for deriving an average luminance according to said luminance signal for each block, and means (18, 19) for deriving an average value of color difference according to said color difference signals. An image area detector as claimed in claim 4, further comprising means (16) for deriving a normalized luminance of each block by using the average luminance of the previous frame and average luminance of each block of the present frame. An image area detector as claimed in claim 5, wherein said determining means (20) includes vector determining means (20) for determining as to whether a vector, composed of the averages of color differences, normalized luminance and motion value, stays in a reference area. An image area detector as claimed in claim 5, wherein said determining means includes vector determining means (20) for determining as to whether a vector, composed of the differential value of luminance, normalized luminance and motion value, stays in a reference area. An image coding device including an image area detector as claimed in any preceding claim.

Inventors: SUWA AKIO, SUWA, AKIO
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1993
Main classification: H04N7
IPC codes: H04N7, H03M7, G06T9