Image communication system and method for data compression of colour images using colour tables and region-based processing

Abstract: Image recognition, extraction, and data compression is carried out on the basis of colors. There are provided a judgment section 14 for judging a color difference between a color of each pixel constituting an image and each element of a color table; an image replacement section 16 for replacing, in accordance with the result of judgment, the color of each pixel with an element, among elements of the color table, which minimizes the color difference relative to the color of the each pixel; and a pixel integration section for integrating the adjoining pixels after the replacement, if colors of pixels positionally adjoining in an original image are contained in regions adjoining in a divided color space. A single color replaced with an element of the color table is imparted to a group of pixels integrated by the pixel integration section 18.

Description: BACKGROUND OF THE INVENTION FIELD OF THE INVENTION The present invention relates generally to an image processing method, an image processing apparatus and an image communication apparatus, and more particularly to an image processing method for compressing image data in accordance with a color of each portion of an image and to an image communication system for transmitting and receiving image data compressed by the method. DESCRIPTION OF THE PRIOR ART With recent diffusion of information terminal or amusement equipment into homes and shops, there is increasing demand for a technique to implement high-speed transmission of color images. An example of such a technique is a video-on-demand system in which a central station provides any movie or the like upon request from a viewer. It is envisaged that in the image transmission, the preciseness and sharpness of the image to be transmitted is almost always incompatible with the transmission rate. If the preciseness and the speed were simultaneously dealt with satisfactorily, there it would be necessary to increase the communication bandwidth. On the contrary, although a precise and sharp image is not as important as a natural image, some applications require low-cost and a large volume of data transmission, using an existing line such as a telephone line. Description herein will mainly be given of the latter application. [Conventional Example 1] In the case of image transmission through a low bit rate line, data are often compressed for transmission. An existing simple data compression method may be one in which images are temporarily divided into a plurality of matrix-like blocks so as to extract low-frequency components of each block. An image transmitter has only to transmit block numbers and the low-frequency components of blocks associated therewith. A lower number of blocks can further decrease the time taken for the transmission of one image. The number of blocks may be determined in view of the preciseness and sharpness necessary for the image to be transmitted, that is, image quality, and the time taken for the transmission. Despite the fact that it is a simple method, a certain effect can be expected. A similar method method is, for example, disclosed in EP-A 0 164 825. Therein, a method for encoding image data is disclosed, in which blocks are formed in terms of geometric boundaries of regions. [Conventional Example 2] As will be described later, the conventional example 1 will entail a problem of deterioration of the image quality. A typical method for solving this deficiency and digitally processing the image is, for instance, an image segmentation method (i.e. an image dividing method into a plurality of regions) utilizing histogram processing. This segmentation method changes gray level information of each pixel depending on the frequency of its appearance. A cumulative frequency diagram representative of gray level information of each pixel of an image is temporarily prepared, with its frequency axis being equally divided so as to correlate with a full-scale dynamic range of the image processing apparatus. This technique is also the called contrast enhancement method. In this technique, a high frequency gray level is finely divided, whereas a lower frequency gray level is roughly divided, so as to be classified into several gray levels. This technique allows significant components among the gray level information of a region to be enhanced, and deletes data in the other portions to thereby compress the data. A further method for compressing image data is disclosed in EP-A 0 301 207. In this method the colors of a color image are replaced by a number of ncolors, whereby n is smaller than the number of colors in the original image. Thus, the amount of color information can be reduced. The above conventional examples involve the following problems. [As to Conventional Example 1] Should a border of an image be contained in a block, the image obtained by restoring the block might be greatly different from the original image. Fig. 1 illustrates an image of a ship 3 floating on the sea 1. Now suppose that the data of the portion of the block 5 are compressed. The block 5 contains a border between the ship 3 and the sea 1. Assuming that the color of the sea 1 is blue, with the color of the ship 3 being red, the color of the block 5 would be averaged, resulting in purple. As is easily conceivable, the contour of the ship 3 is surrounded by a belt of color which is not to be seen in the original image, resulting in an unnatural image. The deterioration of the image in units of block is called "block distortion", which will be a serious deficiency of the conventional example 1. [As to Conventional Example 2] Depending upon the manner of utilization, this segmentation method will allow considerably highly accurate image processing and data compression. However, during the dividing processing, it would be necessary to perform a tremendous amount of calculation for each image. In the event that the histogram involves bias errors or the image has an extremely narrow dynamic range (e.g., space image), modulation of the frequency distribution would be necessary after the transformation. Such processing is required for each image, burdening the computer to a great extent. Thus, the segmentation method using histogram processing will not satisfy the demand to process a mass of data at a low cost. In the method described in EP-A-0 301 207 there is the problem that, after performing the method, still each picture element has its own color information. Therefore, the compression is not very effective, or the number of colors has to be reduced drastically, leading to a recognizible deterioration of the image. SUMMARY OF THE INVENTION It is therefore the object of the present invention to provide a region-based image processing method and apparatus intended to compress image data by dividing an image into units of regions having analogous colors, instead of dividing the image into matrix-like blocks (namely, positional coordinates) and to provide an image communication apparatus intended to transmit and receive the image data processed by use of the image processing apparatus. Disclosed is an image processing apparatus of a type minimizing computer processing required and superseding an image segmentation apparatus using histogram processing or the like. An image processing method according to the present invention is a method of processing images on a region basis, which comprises a judgment step of judging an approximation between a color of each portion of an image to be processed and standard element colors prepared in advance; a replacement step for replacing in accordance with the result of the judgment, the color of each portion with an element color; and an integration step for integrating, after the replacement, regions subjected to the replacement. A single color replaced again with an element color by the judgment step and the replacement step is imparted to the thus integrated portions. Each portion may be each pixel, or an aggregate of pixels. The element color is contained in, for instance, a color table. Approximation is judged by, for instance, a color difference. First, the color of each portion of the image is replaced with one of the element colors. For example, the color of each pixel is replaced with an element, among the elements of the color table, which minimizes the color difference relative to the color of the each element. Even though the original image contained 10000 colors, the image will be represented by 100 colors, if the number of the element colors is 100. After the replacement, if the colors of the pixels positionally adjoining in the original image are contained in the regions adjoining in the divided color space, then these pixels may be integrated. When tin image has been represented by 100 colors, by way of example, the adjoining pixels or regions (each having a different color in the original image) may possibly be represented by the same element color. In this case, these pixels or regions are integrated into a single region. Also in the event that the adjoining pixels or regions are represented by the element colors extremely similar to each other (but slightly different from each other), these pixels or regions may be integrated. In this instance, an element color which was possessed, before integration, by either pixel or region, is imparted to the post-integration region. This method further comprises a color table creation step for extracting, upon the completion of the replacement and integration steps, elements of the color table which are necessary to represent the final image, to create another color table. In the above example, a color table composed of 100 colors is created. In an image communication apparatus (communication system) according to the present invention, the transmitter includes transmission means for transmitting a color table to the receiver, while the receiver includes storage means for storing the color table received. That is, the color table is transmitted from the transmitter to the receiver, the latter storing the color table. Previous to the communication of image data, the transmitter and receiver are allowed to include a common color table. Due to the fact that the same color table is used, the transmitter thereafter only has to transmit color numbers. The receiver reproduces original colors referring to the color numbers and the color table. In another aspect, the transmitter includes decision means for deciding, depending on the significance of a region, the transmission frequency of the data in that region. The receiver includes reproduction means for combining data in units of regions transmitted from the transmitter to reproduce an image. Depending on the significance of a region, the transmitter decides the transmission frequency of data in that region, whereas the receiver combines the data in units of regions transmitted from the transmitter, to thereby reproduce an image. A significant region includes, for instance, a region having a larger area, or a region corresponding to a human face. Increase of such transmission frequency will ensure, for instance, the avoidance of absence of significant information arising from transmission error. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a view of an image of a ship 3 floating on the sea 1; Fig. 2 is a diagram depicting a schematic configuration of an apparatus for executing an image processing method according to the present invention; Fig. 3 is a view of an HVC uniform color space; Fig. 4 is a diagram showing sixteen pixels by enlarging an image to be processed; Fig. 5 is a diagram illustrating a relationship of positions, in the HVC uniform color space, taken by color numbers of the sixteen pixels of Fig. 4; Fig. 6 is a diagram depicting a configuration of an image communication apparatus according to a second embodiment ; Fig. 7 is a view of an original image previous to integration of a third embodiment; Fig. 8 is a view of an image subjected to the integration which has progressed to some extent in the third embodiment; Fig. 9 is a view of the image subjected to the integration which has progressed significantly in the third embodiment; Fig. 10 is a view of the final image obtained as a result of process B of the third embodiment; DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 A preferred exemplary embodiment of an image processing method of the present invention will now be described with reference to Figs. 2 to 5. Referring first to Fig. 2, there is schematically depicted a configuration of an image processing apparatus intended to carry out the method. The apparatus comprises an image input section 10 for the input of an image; a noise elimination section 12 constituted of a low-pass filter to eliminate noise which may be mixed into the image input; a space transform section 14 for transforming the scale of the image cleared of noise by the noise elimination section 12 from RGB color space to HVC uniform color space, which will be described later; an image replacement section 16 for replacing the image transformed by the space transform section 14 with elements present in a color table to be described later; and an image integration section 18 for integrating pixels positionally adjacent and approximate in color to one another in the original image, among the pixels of the image replaced by the image replacement section 16. Description will now be given of the HVC uniform color space to be transformed from the RGB color space by the space transform section 14. Referring to Fig. 3, there is illustrated a configuration of the HVC uniform color space. As is well known, the HVC uniform color space is a cylindrical color space for classifying colors with Hue in its rotational direction, Value in its height direction, and Chrominance in its radial direction, which can be obtained from the RGB color space through a known transform. The HVC uniform color space is characterized in that it allows an easy intuitive recognition by human visual sensation compared with the RGB color space. Colors corresponding to two points lying in close proximity to each other in the HVC uniform color space will be recognized by human beings as colors analogous to each other. As will be described later, a plurality of colors contained within a certain area of this space are replaced with a single color, thereby making it possible to accomplish data compression, which is the final goal. This action will be explained. An image to be processed is fed through the image input section 10 to the apparatus. Due to a relatively arbitrary noise component which may be generally contained in the image, the noise elimination section 12 is provided to eliminate the noise. Then the space transform section 14 serves to transform this image from the RGB color space to the HVC uniform color space. Besides the execution of this transform, the space transform section 14 will divide the post-transform HVC uniform color space into a plurality of regions to prepare a color table in advance. For instance, the HVC uniform color space is divided for use into forty segments in the directions H, V, and C, respectively. Thus the color space will be divided into 40 x 40 x 40 = 64000 regions. An average color for each region is defined as a color presentative of that region. This will result in 64000 representative colors, which are sufficient to represent an image close to a natural image. Using the representative colors as elements, the space transform section 14 creates the color table. The representative colors as elements of the color table can be individually specified by numbers 1 to 64000, which means that all the colors can be identified by 16-bit data. The image replacement section 16 acts to replace the color of each pixel of the image to be processed with any one of color numbers 1 to 64000. In spite of the fact that there are 64000 colors it would be impossible for the color of each pixel to completely coincide with any element in the color table since each pixel has an arbitrary color. Thus the image replacement section 16 will measure a color difference between each pixel and each element in the color table and will employ, as the color for replacement of that pixel, the element which minimizes the color difference. It is to be noted that for replacement, such an element that has a color difference lying within a predetermined range might also be employed. This is due to the fact that although it is desirable to search for an element minimizing the color difference, this would require a certain calculation time. In any case, as a result of the replacement, a complete representation of the image to be processed will be accomplished by the color numbers 1 to 64000. The thus obtained image in an intermediate processing state is integrated and compressed by the image integration section 18. Fig. 4 depicts in an enlarged scale 16 pixels present in a part of an image to be processed. Fig. 5 depicts a relationship of positions in the HVC uniform color space to be defined by the color numbers corresponding to these 16 pixels. In Fig. 4, color numbers allocated to 8 pixels lying in the upper half (which will be hereinafter referred to as "pixel group A") of the 16 pixels will be any one of n - 1, n, n + 1 while color numbers allocated to 8 pixels lying in the lower half (which will be hereinafter referred to as "pixel group B") will be any one of m - 1, m, m + 1. As can be seen from Fig. 5, the elements having contiguous color numbers directly adjoin to one another in the HVC uniform color space. It is therefore envisaged that the pixel groups A and B are respectively composed of substantially the same colors. Thus, the pixels belonging to the pixel group A are integrated as having the same color number n, whereas the pixels belonging to the pixel group B are integrated as having the same color number m. Over the entire image, the pixel integration section 18 performs such integration processing to consequently integrate all regions. The above processing will complete the data compression. It is to be appreciated in this apparatus that due to the fact that there are as many as 64000 color numbers, it is possible to integrate all pixels having color numbers varying within a certain range in addition to the pixels having the contiguous color numbers. These pixels can be subjected to integration as long as they are located within a certain region without being limited to the case where they are adjoined to one another in the original image. The range to be integrated depends upon the data compression rate and image quality required. In this apparatus, the color table has been prepared by the space transform section 14, although the table may be disposed externally of the apparatus. In this case, the external table is referred to if necessary. According to the image processing method of the present invention, the minimum unit for image data integration is a pixel so that any adjoining pixels having significantly different color numbers are not integrated, which will successfully avoid the block distortion involved in the conventional example 1. The advantage of the present invention over the conventional example 1 arises from the intrinsic difference therebetween, namely that the data compression in the conventional example 1 relies upon only the positional information of the original image whereas in the present invention the data are compressed depending on the color information. Thus, less calculation is required for the region integration, which will overcome the problem entailed in the conventional example 2. Moreover, the execution of image data integration by this apparatus will ensure not only the data compression but also the extraction of a pixel region having approximate colors in the color space. This apparatus can also be used as an image recognition apparatus. Due to the ability of this apparatus to use not the RGB color space but a color space, such as the HVC uniform color space, which gives a natural classification to human visual sensations, it is possible to conveniently execute recognition and analysis. Embodiment 2 Description will now be given of an image communication apparatus (communication system) intended to perform transmission and reception of compressed image data using the image processing method of embodiment 1. Referring to Fig. 6, a configuration of the image communication apparatus according to a second embodiment is depicted. The image communication apparatus comprises an image transmitter 30 and an image receiver 32, both making use of the image processing method of the present invention. The image transmitter 30, in particular, employs the method which is improved as follows. That is, in order to ensure communication security upon transmission of compressed image data, the image transmitter 30 is provided with a significance assignment section 34. The image transmitter 30 further includes a color table creation section 36 which creates a new color table by extracting color table elements necessary for the representation of the final image after the completion of the region integration by the pixel integration section 18. The significance and the color table are temporarily stored in a storage section 38 and then transmitted through a transmission section 40 to the image receiver 32. Through a reception section 42, the image receiver 32 receives the data and temporarily stores them in a storage section 44. Afterwards, the data are fed to a reproduction section 46 for reproducing the image. The state of image data transmission and reception will be explained. In the same manner as the first embodiment, the image is processed by the image transmitter 30. The color table creation section 36 then extracts all colors used in the final image to create a new color table. The color table thus created is transferred, prior to the transmission of the image data, to the image receiver 32. As a result, the image transmitter 30 and the image receiver 32 are allowed to share the color table which is necessary and sufficient for the reproduction of the image to be subsequently transmitted. The significance assignment section 34 judges the significance of each region of the region-integrated final image and issues a priority upon transmission. This is a measure taken to minimize data loss in the least significant part when an unexpected situation has occurred, such as data loss in a communication channel. The significance assignment section 34 will, for example, assign a higher priority for the region having a larger area. The priorities associated with the regions are stored in the image transmitter 30, and a number indicating the number of finest repeat transmission for the region having a higher priority in the transmission will be set at a larger value. This will ensure repeated transmission in accordance with the priority and should the communication channel suffer from a deficiency, it will make it possible to avoid to the utmost, the situation where a large region may be lost when the image is reproduced in the image receiver 32. The above is a summary of the image communication apparatus according to this embodiment. It is to be particularly noted that the criteria for assigning the priorities by the significance assignment section 34 is not limited to the size of the regions. For instance, depending on its application, a higher priority may be assigned to a region to be clearly seen by human eyes due to its color number being largely different from the other regions, or a region having a high brightness. In an application associated with an image mainly including a human face, such as a visual telephone in particular, it is preferable that a flesh colored region lying in the center of the screen, or a region which seems to be eyes or a mouth within the flesh colored region, should be subjected to processing for, e.g., raising the priority. According to the image communication apparatus of the present invention as described hereinabove, the transmission and reception of the image data can be executed while simultaneously avoiding the absence of any significant region. In this case, due to the fact that both the transmitter and receiver can share a color table necessary and sufficient for the reproduction of the image to be transmitted, the apparatus will be appropriate to meet the demand for the transmission of more definite information through a low bit rate line and will be superior in practical use. Embodiment 3 Description will be given of an image processing method allowing the use of image region integration method of the first embodiment. In this embodiment, the image regions are integrated in sequence. More specifically, the method of the first embodiment is applicable to process A which will be described later. [BACKGROUND] As is represented by MPEG, image coding is one of the important basic techniques when considering the implementation of next-generation image receiving equipment or various image communication services. It provides higher-quality and more natural image information with a limited transmission rate, while ensuring the improvement in coding efficiency or image compression rate. Discrete Cosine Transformation (DCT) is one example of such MPEG coding techniques. In this technique, an image is divided into a plurality of matrix-like blocks. In the simplest example, a low-frequency component is extracted from each of the blocks, and the colors of pixels contained in each block are uniformly replaced with, e.g., one typical color. Thereafter, the block numbers are correspondingly paired with the respective typical colors to complete coding. Among the increasing number of image-associated techniques a technique for correctly grasping and predicting the motions of dynamic images to code them (hereinafter referred to simply as "motion coding") has particular significance. One of the goals of image coding techniques is to enable application to domestic devices such as personal information appliances. Requirements in this case are that dynamic images are transmitted in real time within a range of a low transmission rate and that the images obtained by decoding them have sufficiently high quality. In order to meet these requirements, it would be inevitable to perform motion coding. [PROBLEMS] Since the MPEG coding technique described above has been developed solely for implementable applications such as large scale integration circuits (LSI) using the existing techniques, it seems difficult to directly apply it to the implementation of improved motion coding at present. MPEG allows motion vectors of the blocks to be transmitted while performing the image coding for each block, and the motion vectors are all calculated for each block irrespective of the contents of the images. This means that all the objects within the image will be uniformly represented by using blocks of the same size. Information representing differences between the original image and produced image is indispensable for this method. However, due to too large a proportion ordinarily occupied by the differential information, it was naturally difficult for sufficient image information to be transmitted with a low bit rate line. [OBJECT OF THIS EMBODIMENT] The object of the present invention is to identify and solve a problem. The applicant (1) regards the absence of a research seeking to effectively apply the segmentation method to motion coding as a problem, and (2) taking into consideration that the DCT based coding of motions may have limitations due to a low compression efficiency and poor region-to-region matching efficiency, which will be described later, (3) discloses a region-based image region integration method in view of advanced motion coding. [SOLUTION] In a method of integrating image regions of this embodiment, a plurality of region integrating criteria capable of being repeatedly used are combined to progress the integration of regions. The phrase "capable of being repeatedly used" means that the use of one criterion is followed by the use of another criterion, and thereafter the initial criterion is repetitable. The term "integrating" or "integration" means that a plurality of regions are integrated into a single region. The term "image region" means a region composed of pixels having some common nature. The image region may be composed of a single pixel, in short, the minimum unit of the image region is a pixel. This embodiment includes a process A in which image regions are integrated on the basis of individual pixel information; and a process B in which image regions are integrated on the basis of aggregate pixel information. The individual information refers to information capable of being defined only by individual pixels such as pixel colors, whereas the aggregate information refers to information capable of being defined by the aggregate of a plurality of pixels, such as geometry of the region. Although in process A the integration is executed based on the individual information, a plurality of actual pieces of individual information for a plurality of pixels may be collectively dealt with as long as the integration is based on the individual information. To take an example, the average of colors of a plurality of pixels may form the basis of the integration. In this embodiment, the above individual information may be the color information for each pixel, and the above aggregate information may be the size of the image region. The term "color information" includes the information for all of the factors relating to light impinging upon the human retinae as a result of optical reflection, and may be information on any one of brightness, chrome and hue, which are attributes of colors. The actual form of information can be, for instance, color numbers in HVC or RGB color space. This configuration will allow the image regions to be integrated from two viewpoints, that is, the color information and the size. In this embodiment, the process A and the process B are carried out in this order. Accordingly, by way of example, integration initially progresses using the color information, and then the regions remaining after the integration will be integrated according to size. In an aspect of this embodiment, the color information is a color difference among regions, the process A allowing a plurality of regions positionally adjoining one another to be integrated in sequence from one having a low color difference, namely, in ascending order of color difference. The color difference is the degree of difference in color, and a larger color difference will result in a larger difference in color. The reason that the criterion "positionally adjoining one another" is defined is that there is a high possibility that these regions might be contained in one physically defined entity (object). The same will apply to the criterion to be "from one having a low color difference." With a red apple including upper and lower ends, each having a subtly different color from the other, it is envisaged that a color difference between two ends is generally small since their colors belong to the same red, and that a distance between the two ends is relatively small in the image, thus allowing the entire apple to be integrated into one region. Even though in this case a glass having substantially the same color as the apple is disposed separately in the image, the integration would not be performed as long as they are separated from each other to some extent. In another aspect of this embodiment, the process B allows a region having a smaller area to be integrated in sequence into another region having a larger area and located in close proximity thereto. This is due to the fact that in view of region matching to be performed upon the motion coding, information is significant with respect to the region having a relatively large area in the image, which needs to be formed as early as possible. This aspect would cause the regions having a relatively small area to successively disappear, and would reduce the total number of regions contained in the image. In a further aspect of this embodiment, the process A continues until the minimum color difference among the regions reaches a predetermined reference value, and is subsequently succeeded by the process B. With the execution of the process A, the color difference will diminish gradually among the regions. In this case, by way of example, the process A will continue until the color difference reaches 6.0 in the unit called NBS color difference. Afterwards, the regions thus integrated will be subjected to further integration based on dimensions. In a still further aspect of this embodiment, the process A is executed until the number of regions having a predetermined dimensions reaches a certain value, and is subsequently succeeded by the process B. With the progress of the process A, not only the minimum color difference but also the number of regions will diminish, the region itself being enlarged by the integration. For instance, the process A may be stopped when about 10 regions have appeared having dimensions of 1 % of the full image size. It is to be appreciated in this embodiment that with respect to a region entirely surrounded by a single region (hereinafter, referred to as an "isolated region"), the integration by the process B may be delayed. In this case, the dimensions of the isolated region may in principle be omitted from consideration. Although ordinarily the isolated region may not have so large a size, there may be a case where it is envisaged that the isolated region is of importance as the image information, such as eyes in a human face. Thus, the process B allows the isolated region to remain in fact as part of its special processing. At the time of further progress of the integration, the isolated region could be integrated depending on the situation. [CONCRETE EXAMPLES] The feature of this embodiment lies in executing the integration of the image regions through two or more different processes. The integration is executed on the basis of the color difference in the initial process A and then on the basis of the size of the region in the subsequent process B. [Process A] Integration based on Color Difference Integration is performed in accordance with the method of the first embodiment. Each time the pixels (or regions) are integrated, the position and color number of the newly integrated region are compared with those of other regions, to repeat the integrating processing. With the increase in the number of times processing is repeated, the image would be integrated into a limited number of regions each having the same color. The problem here is how to judge the completion of the process A. It is conceived that two major judgment methods are available. (1) Judgment by Color Difference Each time the integrating processing is performed, a minimum color difference is retrieved between the regions existing at that point in time. When the minimum color difference reaches the reference value, the process A is terminated. In the NBS color difference unit, for instance, the color difference is evaluated as follows. Color Difference Evaluation 0.0 ∼ 0.5 substantially no difference in color 0.5 ∼ 1.5 slight difference in color 1.5 ∼ 3.0 considerable difference in color 3.0 ∼ 6.0 remarkable difference in color 6.0 ∼ 12.0 very remarkable difference in color 12.0 ∼ belongs to another color It will depend on the design as to which color difference is to be employed as the reference value. If the image generally tends to have relatively large color differences among regions, a larger reference value may be employed. In this embodiment, the reference value is assumed to be 6.0, allowing the process A to cease in a state where the integration has not yet proceeded very far. The reason for this is that excessive progress of the process A would lead, e.g., to the production of unwanted images from the viewpoint of the subsequent motion coding. Referring to Figs. 7 to 9, there are depicted inconveniences which might be caused by the excessive progress of the process A. Fig. 7 illustrates an original image before the start of integration, in which there appear four major subjects having different geometries in a background region 5 hatched with rightwardly descending slanting lines. Fig. 8 illustrates the image which has undergone a degree of integration, and Fig. 9 illustrates the image which has undergone excessive integration. 〈Change of Image from Fig. 7 to Fig. 8〉 Providing that in Fig. 7 a small color difference exists between regions 1 and 2 shaded with rightwardly ascending slanting lines and white regions 3 and 4, the integration will be executed between the regions 1 and 3, and between the regions 2 and 4. Here, if the shaded regions are integrated into white regions, Fig. 8 would result. Although there are other regions shaded with rightwardly ascending slanting lines as well as the regions 1 and 2, they are not to be integrated into white regions due to their positions being far from the white regions. 〈Change of Image from Fig. 8 to Fig. 9〉 When the integration has proceeded to the state shown in Fig. 8, providing that the color difference diminishes between the background region 5 and the white regions, they will be integrated in the same manner. Also, if the background region is integrated into the white regions Fig. 9 would result, in which a white region appears so as to traverse the entire image. Thus, the finally obtained image (Fig. 9) will merely allow show regions 6 and the like to be shown from the original image. However, the black regions have geometries quite different from those of the four subjects which initially existed on the original image, making it very difficult to perform, on the basis of the black regions, motion coding for each subject. Actual attempt to perform this coding would be impeded by a high possibility that corresponding regions are not to be found between the image frames (pictures), resulting in the necessity of retrying the integration from the beginning, or of judging the propriety of coding while returning the image little by little from Fig. 9 to the pre-integration state. Naturally, this would lead to complicated processing and lowered processing efficiency. In this embodiment, the moment the color difference reaches 6.0, the process A will be stopped early enough to avoid the inconvenience. (2) Judgment by Situation of Regions The above-described inconvenience could be represented as "the state where too large a region has been created". It is thus conceivable that the process A comes to an end when the number of regions having a predetermined size has reached a given value. The predetermined size can be e.g., an area corresponding to 1 % of the full image, and the given value can be e.g., 10 to 20. It is natural that these values may vary depending on the images. Anyway, the shift to the process B at this point in time would ensure that thereafter smaller regions are integrated earlier, making it easy to avoid the state in which any region may rapidly expand in such a manner as to traverse the entire image. It is envisaged that the final image of the process A ordinarily lies within a range permitting human eyes to identify the original image by analogy. If the motion coding is omitted from consideration, it will be possible to complete the image integration processing without the process B. [Process B] Integration based on Region Size Subsequently, through the process B, the existing regions will be integrated in sequence from one having a smaller size, namely, in the ascending order of size. The size of the region may be judged by, e.g. the number of pixels. The reasons for integrating smaller regions sooner are that the inconveniences of the process A should be avoided and that a larger region will occupy a larger proportion of area in the original subject. Since it is important for the motion coding to extract contours of the entire subject, it aims at correctly grasping the contours of the subject by integrating a smaller region into a larger region. The processing in the process B is completed when the regions have become even in size to some extent. Generally even sizes of regions would reduce the importance of a step of comparing the sizes upon the matching of regions between two image frames. This will result in shortening the total processing time required for the motion coding. Since a long calculation time is usually needed for multi-to-multi correlation between the image frames, a curtailment of the comparison elements will have a significant effect. Fig. 10 depicts a final image obtained as a result of the process B, where at the time of Fig. 8 a shift has been effected from the process A to the process B. Through the process B, smaller regions will be integrated into other regions positionally closer thereto irrespective of colors, allowing the contours of the subjects to be shown against the remaining largest background region 5. Thus, a final image most appropriate for the motion coding will result. The above is an outline of the process B, but it is desirable that particular consideration be given in the case of the presence of isolated regions within the image. The isolated regions will often be of greater significance or characteristic regions, and hence the order in which the isolating regions are integrated should be lowered, even though they have small areas. When the isolated regions are of little importance and, especially when their areas are extremely small (e.g., less than several pixels), the isolated regions may be subjected to integration. This method may have following substitutes and variants. [Process A] 1. The HVC uniform color space may be substituted by another color space, such as the RGB color space. 2. Since for the motion coding, the integration need not necessarily look natural to the human eye, other criteria may be employed for the integration, other than the color difference, such as brightness difference, chrominance difference, and luminance difference. It is envisaged for monochrome image that the integration by brightness difference is most typical. 3. As individual information of pixels, use may be made of information on the result of tracing by optical flow of each pixel. This arises from the fact that pixels whose tracing results show a similar tendency can often be integrated with each other. 4. Needless to say, these techniques can be combined. [Process B] 1. The integration is developed in such a manner that positions of centers of gravity of regions remaining on the final image are appropriately dispersed. For instance, if the centers of gravity of all the regions are concentrated at the vicinity of the image center, the efficiency' of region matching among a plurality of frames will be lowered. On the contrary, appropriately dispersed centers of gravity would facilitate the limitation of retrieval range of corresponding regions and would ensure a generally satisfactory matching result. Thus, if there are a plurality of candidates to be integrated, one should be selected which induces a result dispersing the positions of centers of gravity of the regions as much as possible after integration. 2. When a regularity is found among the patterns of appearance of a plurality of regions, those regions are to be integrated. For instance, if in an image there is a person wearing a black-and-white striped suit, mere integration by the color information would not make it possible to identify the contours of this person. Accordingly, in the case where black and white regions repeatedly appear with a certain regularity, those regions will be integrated. Besides the striped pattern, this is applicable to any regularity and need not be restricted to a regularity apparent to the human eye, and hence it would be possible to extract space frequencies from a relatively small region to thereby detect minute textures or minute patterns. 3. Regions coinciding with an image pattern prepared in advance are to be integrated into one. In the case of a visual telephone, for instance, it is envisaged that a human face is centered, and hence if a flesh-colored region with two black regions (eye) lying therein is located in the central portion of an image, these regions will be integrated into one as a face. This would be beneficial for image-to-image matching with respect to the movement of a person, and could be applicable to model base coding. It is to be noted that, for instance, when the face turns without moving horizontally or vertically, the importance of the information relating to the eyes will increase. In this case, the eyes can remain as isolated regions without being integrated into the region of the face. 4. If a dynamic image is the object, past status of region integration should be referred to. The integration of the regions carried out for the most recent image frame may often remain effective for the next frame. 5. In order to prevent the regions from becoming complicated in shape, the integration is progressed so as to eliminate unevenness. Complicated geometries would increase the number of regions to be removed from candidates as errors, merely in view of the geometries, upon matching. This might lead to a risk of failing to overlook the optimum matching. 6. These techniques may be combined. According to the present invention described above, use of at least two processes makes it possible to perform image integration in consideration of motion coding. These processes will be particularly effective if they allow processing to be performed on the basis (if individual information of pixels and aggregate information, respectively. Moreover, the execution of the processes A and B in the mentioned order would facilitate the avoidance of generation of an unwanted region which may, e.g., expand over the entire image. Providing that through the process A, a plurality of regions in close vicinity to one another are subjected to the integration in sequence from one having a smaller color difference, namely, in the ascending order of color difference, the integration of regions which e.g., belong to the same subject will be facilitated. Providing that through the process B, a region having a smaller size is integrated into another region having a larger size in sequence, namely, in the ascending order of size, there will be a strong possibility that regions which are important as subject information may finally remain intact, making it possible to create an image appropriate for the motion coding. Given that the process A continues until the minimum color difference among regions reaches a reference value and thereafter is succeeded by the process B, inconveniences which may be caused by excessive execution of only the process A, will be easy to overcome. This will also have a beneficial effect on the motion coding. Similarly, given that the process A continues until the number of regions having a predetermined size reaches a certain value and thereafter is followed by the process B, the generation of an unwanted and too large region will be suppressed, making it easy to eliminate the above inconveniences. If the order in which the isolated regions are integrated is lowered in the process B, the regions which are important as image information can continue to be carried up to the final image.

Claims: A method of processing images on a region basis comprising: a judgement step (14) for judging an approximation between a color of each pixel or portion of the image to be processed and element colors prepared in advance; and a replacement step (16) for replacing, in accordance with the result of said judgement, the color of each pixel or portion by an element color; characterized in that said method further comprises an integration step (18) in which, after said replacement, a number of pixels or portions is integrated according to their colors to a region by giving said number of portions a single element color. A method of processing images according to claim 1, wherein said element colors are given in form of elements of a color table representing a discretized color space. A method of processing images according to claim 2, wherein said replacement step (16) replaces, in accordance with the result of said judgement, the color of each pixel with an element of said color table, which minimizes the color difference relativ to the color of the pixel to be replaced. A method of processing images according to claims 2, wherein said integration step (18) integrates adjoining pixels after said replacement if colors of pixels positionally adjoining in an original image are contained in regions adjoining in said discretized color space. A method of processing images according to anyone of the claims 2 to 4, said method further comprising: a creation step (36) for creating another color table by extracting, upon the completion of the processing of an image by said replacement step (16) and said integration step (18), elements of said color table representing said discretized color space which are necessary to represent its final image. A method of processing images according to anyone of the preceding claims, said method further comprising: a recognition step (34) for recognizing, upon the completion of the processing of an image by said replacement step (16) and said integration step (18), a significance of each integrated region, in confirmity with the history of the integration. An image communication system comprising a transmitter (30) for transmitting image data and a receiver (32) for receiving said image data transmitted from the transmitter (30), wherein each of said transmitter (30) and said receiver (32), prior to the communication of said image of said image data, hold a first color table in common, said transmitter including judgement means (14) for judging an approximation between a color of each pixel constituting an image to be processed and elements of said first color table, replacement means (16) for replacing in accordance with the result of said judgement, the color of each pixel by an element of said first color table, characterized in that, said transmitter (30) further includes integration means (18), for integrating, after said replacement, a number of pixels according to their color to regions by giving said number of pixels a single element color, and creation means (36) for extracting a second color table including the elements of said first color table which are necessary to represent a final image after processing of the image by said replacement step (16) and said integration step (18), and said receiver (32) includes storage means (44) for storing said second color table transmitted by the transmitter. 8. An image communication system according to claim 7, said transmitter (30) further including: recognition means (34) for recognizing, upon the completion of the processing of an image by said replacement step (16) and said integration step (18), a significance of each integrated region, in conformity with the history of the integration, and decision means (34) for deciding, depending on the stored significance, a number of times that data for that region are transmitted, said receiver (32) further including: reproduction means (46) for combining data for each region transmitted from said transmitter (30) to reproduce an image.

Inventors: SUZUKI NOBUYA, SUZUKI, NOBUYA
Applicants: SANYO ELECTRIC CO, SANYO ELECTRIC CO., LTD.
Application year: 1995
Main classification: H04N1
IPC codes: G06T9, H04N1