METHOD AND APPARATUS FOR DETECTING THE MOST POWERFULLY CHANGED PICTURE AREAS IN A LIVE VIDEO SIGNAL

Abstract: Method and apparatus for detecting the most powerfully changed and for the human eye most important picture areas in a video image in order to compress the live image into a transmission channel which functions at the rates of narrow bandwidth data connections. In the conditional replenishment method, the new digitized picture information read into the video memory is compared to the already transmitted picture information stored in the reference memory, and the difference value, i.e. the change value (M) between these is compared to the preset change treshold (T). If the change value surpasses the change threshold (T), the picture information of the picture element (pel) and/or area of image in question is coded and transmitted, and the corresponding picture information is stored into the reference memory preparatory to a new comparison. In the method and apparatus of the invention, the comparison between the new picture information and the transmitted picture information is carried out so that the change values in each predetermined picture area are calculated by means of summing the differences of the intensity readings of the new picture and the reference picture pel by pel, whereafter the change values (M) obtained for each picture area are combined into a change histogram for the whole frame, the said histogram containing the change values (M) of the picture areas in order of magnitude. From the change histogram, there is chosen a number, defined by the predetermined reference value (Nc), of picture areas with the largest change values, and the change value of the chosen picture area with the smallest change value is set as the change threshold (T = Mopt).

Description: METHOD AND APPARATUS FOR DETECTING THE MOST POWERFULLY CHANGED PICTURE AREAS IN A LIVE VIDEO SIGNAL The present invention relates to a method for detecting the most powerfully changed and thus-fo.r the human eye the most important picture areas in a video image in order to compress the live image into a transmission channel functioning at the rates of narrow bandwidth data connections, in which method the digitized picture information read in to the video memory is compared to the already transferred picture information which is stored in the reference memory, and the difference value, i.e. the change value between these picture data is compared to the preset change treshold, and if the difference value surpasses the change treshold, the picture information of the- specific picture elements (pels) and/or area of image in question is coded and transmitted, and the respective picture information is stored into the reference memory preparatory to a new comparison operation. The invention also relates to an apparatus for realizing the method, the said apparatus comprising at least an analogue-to-digital converter where the video signal is digitized; a video memory, whereinto the digitized picture information is read; a reference memory, which contains the data of the transmitted picture information; a comparator or equivalent where the contents of the video memory and the reference memory are compared to each other with respect to each corresponding pel and/or area of image; a tresholding unit, where the change value between the respective picture data, received from the comparator, is compared to the change treshold set for the tresholding unit; a coder, where the picture information contained in the spot and/or area of the image is coded if the change value surpasses the change treshold and which coded picture information is transmitted into the transmission channel; a replenishment unit for the reference memory, via which replenishment unit the transmitted picture information is read into the reference memory. In the prior art, various transmission arrangements for videoconferencing images have been realized at the trunk rates 2 Mbit/s (Europe), 1,54 Mbit/s (USA) of digital telephone networks or at their multiple rates from 512 kbit/s upwards, as well as at the rates 64 kbit/s (Europe) or 56 kbit/s (USA) of the simple and economical subscriber line of the data network. However, the prior art methods have not succeeded in detecting the changed picture areas in a video image so that the most important areas of change were recognized and the best possible quality achieved for the image. While transmitting a videoconferencing or a tele¬ conferencing image, the basic principle is generally the fact that while the camera remains stable, only that portion of the picture area which represents the object is changed. Thus the picture information concerning an area which represents a stable background must in principle be transmitted only once. By means of this method, the conditional replenishment method, a live video signal can up to certain limit be transmitted along a transmission channel with a considerably narrower bandwidth than is normally required by a standard-shaped video signal. The majority of the known compression methods for a live video signal are based on the said basic principle. The conditional replenishment method can be optimized and improved by means of several additional methods. The US Patent Publication 3,582,546 introduces a method where the size of the required frame memory can be for instance decreased by employing a system where certain indicator words are chosen per each group of pels of images, the number of bits of each indicator word being lesser than the number of bits of respective pels of images. The scanning of the frame groupwise instead of detecting every pel individually, improves the noise tolerance and the coding efficiency. The size of required picture memory can be decreased, and the image contrast improved, by aid of various histogram modifications connected to the amplitude of the video signal, for example according to the GB Patent Application 2,112,602 and the GB Patent Publication 1,504,675. The method and apparatus based on the conditional replenishment method functions satisfactorily until the number of " changes surpasses the -limit allowed by the coding operation and by the channel capacity. In case of overloading, the frame frequency of the video signal can be decreased, on the cost of the liveliness of the image. In that case the change detection treshold can be constant. Another possibility in the said situation is to raise the change detection treshold and to transmit only part of the changed picture areas. Now the problem is how to choose an optimal treshold level for each frame. The chosen treshold value can be adjusted towards the optim.um for example by observing the degree of fullness of the transmission buffer, as is suggested in the German Patent Application 2,547,120. The treshold adjustment can also be optimized on the basis of the content of the image for instance so that while comparing small signals, a smaller treshold value is applied than while comparing large signals, as has been suggested in the SE Patent Publication 362,770. The major drawback of the above described methods is, however, the fact that it is not possible to set the treshold optimally with respect to the image quality. If the treshold is too high, the occurred changes cannot be sufficiently covered while transferring into the receiver (part of the transmission capacity remains unused). If the treshold is too low, requirements concerning the liveliness of the image must be lowered. The purpose of the present invention is to eliminate the above mentioned drawbacks and to achieve a method and an apparatus whereby the treshold of change can be set with respect to each frame so that an optimal amount of most powerfully changed picture areas will be chosen per each frame. In order to realize this, the method and apparatus of the invention are characterized by the novel features set forth in the appended patent claims. By. employing the method and apparatus of the present invention, several advantages are achieved; let us briefly observe the following. There is sufficient time to transmit all of the chosen picture areas during the respective frame sequence. None of the transmission capacity remains unused. By aid of the adjustment process according to each frame, the best possible quality for the image is achieved. In the following the invention is explained in detail with reference to the appended drawings, where Figure 1 illustrates in block diagram a prior art apparatus based on the conditional replenishment method; Figure 2 illustrates the changes occurring per each picture area; Figure 3 illustrates the distribution of the change values per each picture area, i.e. the change histogram, and Figure 4 illustrates in block diagram an apparatus for realizing the method of the present invention. An apparatus employing a prior art conditional replenishment method for detecting the changed picture areas in a live video signal is illustrated in block diagram in figure 1. A standard TV or video signal is transfer-red for instance from the camera via the input A into the analogue-to-digital (A-to-D) converter 1, where the said signal is digitized, and also into the timing and control circuit 2, where the video signal is processed into required timing and control signals. The digitized video signal is read into the picture memory, i.e. the video memorv 3. A digital video image is composed of a raster formed by n x m spots of image, wherein n and m are integrals and n represents the number of lines and the m represents the number of elements into which each line is divided. The picture area in turn is -composed of a group of pelss of image, which group contains a chosen number of pels. The digitized video signal or video information is formed of the address of the picture area and of the data concerning the pels of image as well as the whole picture area (for instance intensity). The content of the video memory 3, i.e. the new picture information, and the content of the reference memory 4 are compared in the comparator 5. The reference memory 4 contains the already transmitted picture information. The difference value or change value between the picture data, received from the comparator 5, is compared to the change treshold set in the tresholding unit 6, and if the change value surpasses the preset change treshold, the said pel of image is coded in the coder 7 and transferred via the transmission buffer 8 and the output B into the trans¬ mission channel, i.e. the picture information is further transferred to the receiver. The transmitted picture information is transferred via replenishment unit 9 of the reference memory into the reference memory 4, so that the reference memory is updated and always contains the latest transmitted picture information as regards each pel and/or area of image. The treshold value set for the tresholding unit 6 can also be adjusted by means of the control unit 10 of the tresholding unit. In the method of the invention, the optimal treshold of change is computed on the basis of the distribution of the change values per each picture area, i.e. on the basis of a histogram. In the said method, the picture areas are numbered, and the respective change value M per each picture area is registered. This procedure is illustrated by means of the column diagram in figure 2, where n stands for the number of the picture area and M stands for .the magnitude of the change. When the whole frame field has been scanned, the included picture areas are organized " in a descending order according to the magnitudes Mj_, M4, MJ_Q... of the change, so that a change histogram illustrated in figure 3 is formed. The picture areas can also be arranged to form a change histogram simultaneously as the frame field is scanned. Because a certain standard number, i.e. N c picture areas, can be transmitted during each frame sequence, it is possible to choose exactly the correct number of the most powerfully changed picture areas in the frame to be transmitted on the basis of the histogram, so that the change value of the chosen picture area with the lowest change value is defined as the optimal change treshold T = op t. It is advantageous that an exponential weighing is applied in detecting the changed picture areas while computing the change values. The ordinary process of computing the change values M of the picture areas is carried out in a linear fashion, for inst-ance in the area with N x N pels of image: N N (1) M = ~ ~ J> -ΔK , where i=l j=l (2)^»K i j = Kij v - Kij r , and where 1, j 1) 2, 3,...,N; κ ij the picture information connected to the new pel ij of image; κ ijr the respective picture information connected to the reference pel ij; the absolute value of the difference between the new pel of image and the respective reference pel. While applying exponential weighing, we get the following equa-tion : N N ( 3 ) M = 21 . ( Kijv - Kijp )x , i=l j=l where x = an even integral. The application of exponential weighing brings forth the advantage that for a picture area with powerfully changed, individual internal pels of image, a higher change value M is obtained than for an even picture area. Thus for instance the changed contour areas, which are important as regards the quality of the image, obtain a higher change value M and will be transmitted with a higher degree of probability. The application of exponential weighing in connection to the above described histogram (figure 3) is useful, because thereby it is possible to affect the mutual order of the picture areas within a change histogram referring to each frame. The method of the invention is below described in detail with reference to a preferred embodiment thereof. Figure 4 illustrates in block diagram form an apparatus according the present invention, which apparatus is an independent, separate element of the transmitter unit of a video¬ conferencing device. Let this apparatus be called the change treshold setting unit 11. The task of this apparatus is to calculate the change treshold T, on the basis of which the maximum amount of most powerfully changed picture areas can be transmitted during the fixed interval in between the frames of the video signal. Units located outside the change treshold setting unit 11 include the following: the video signal digitizing circuit, the timing and control circuit, the video memory, the reference memory and its replenishment unit as well as a general - processor or equivalent coder performing the transmission channel coding (cf. figure 1). In addition to the change treshold setting unit 11, figure 4 only illustrates the video memory 3 and the reference memory 4. The change treshold setting unit 11 can be installed where the control unit 10 is located in figure 1. The change treshold setting unit 11 comprises one or several calculating units 12, 13, 14 in order to define the exponentially weighed change values for the picture areas. The calculating units can, at least partly, be realized for example by means of permanently programmed PROM (Programmable Read Only Memory) tables. The change values of the picture areas are fed into the memory unit 15, which is advantageously formed of one or several suitable RAM (Random Access Memory) circuits. The change values are arranged in the histogram table HISTOGRAM either within the same memory unit 15, or recorded into an adjoining memory into which may be realized in a corresponding fashion. The histogram table comprises a predetermined number of memory locations, for example 500 locations. Each memory location is chosen to represent a specific change value M n so that the first memory location 0 stands for the largest change value M ns , the following stands for the next largest value etc., so that the memory location 499 stands for the smallest change value M np . The difference -£- M between the various memory locations can be chosen for instance so that the difference between the largest and the smallest expected value is divided by the number of the memory locations. It is naturally clear that«ΔM can also be chosen in some other way, and that the difference between the individual change values does not necessarily have to be constant . Furthermore, the change treshold setting unit 11 comprises the address generator 16 of the histogram table- HA, an electronic switch 17, the inputs a and b whereof are connected to the HA address generator 16 and to the calculating unit 14 respectively, and the output c whereof is connected to the memory unit 15, a cumulative adder 18 and a comparator 19, which adder 18 is connected to the memory unit 15 and which comparator 19 is connected to the adder 18. The apparatus operated according to the method of the present invention functions as follows for example during one frame sequence of a videoconferencing image. During the first stage, the histogram is formed. Now the new frame to be coded is read into the video memory 3. The reference memeory 4 contains the reference image processed of the preceding frames, by aid of which reference image the changes, i.e. the change values, are computed pel by pel. In the calculating unit 12, i.e. in the first calculating unit, there is calculates" the difference between the picture data of the pel ij in the new picture area and the respective pel in the reference picture area, such as the difference between the intensities U- V and UJM Γ respectively, the obtained difference being the change value m- . U -i of the specific pel of image. In the calculation unit 13, i.e. in the second calculating unit, the change value ^Ui j is exponentially weighed, i.e. the change value is involved to the power x, which is an even integral, for example 2. In the calculating unit 14, i.e. in the third calculating unit, the pels of image belonging to each picture area are scanned and the change values between respective picture data for instance intensities of the spots are combined, i.e. the change values for each picture area are defined: (4) M n =21 -Σ- (^Uij)* " , i=l j=l with respect to a picture area formed by N x N pels of image, when the theoretical maximum value of n = 1, 2, 3, ...N^, where N|< is the total number of the picture areas within the frame. The change values M n of the picture areas are fed into the memory unit 15 via the switch 17, the input a of which switch is then connected to the output c. The calculated change values M n of the picture areas are employed as addresses by aid of which the respective memory locations in the histogram table HISTOGRAM are searched. When a change value M n , for example 250,3, corresponds within permitted limits to the address of a certain memory location in the histogram table, for instance 250, the number which may already exist in the said memory location is added by one. The same procedure is continued until all of the areas within the frame are covered. Thus the change values detected in the frame are recorded in the histogram table in a simple fashion. When the whole frame is covered and the detected change values are recorded in the histogram table, comes the second stage, i.e. the calculating of the change treshold T. Now the position of the switches 17 is adjusted so that the input b is connected to the output c, controlled for instance by a suitable timing signal connected to the termination of the frame. The histogram table HISTOGRAM is then gradually checked, one change value at a time, starting from the first, i.e. the largest change value. The addresses of the histogram tab ' le are generated by means of the HA address generator 16, which gives the addresses starting from the largest or the first address and ending up with the smallest, i.e. the last address. By aid of the cumulative adder 18, the cumulative sum S of the covered change values, i.e. the numbers in the histogram table or the amount of picture areas, is gradually calculated. Simultaneously the formation of the said sum S is controlled by means of the comparator 19. The sum S is compared to the reference value N c preset in the comparator, which value N c stands for the maximum amount of picture areas which can be transmitted in between the successive frames. The number N c of the picture areas is predetermined number which depends on the capacity of the transmission channel. When the reference value N c is surpassed, the operation of the HA address generator 16 is interrupted and a signal is given from the output C of the change treshold setting circuit 11 to an external general processor or equivalent to the effect that the change treshold T, on the basis of which an even number N c of the most powerfully changed picture areas can be found, is ready to be read at the output D of the memory unit 15. At the same time the histogram table HISTOGRAM is in process of handling the change value M op ^. corresponds to the change treshold T, and the same is read via the output D in the change treshold setting unit 11. The third stage is the picking of the changed picture areas, which is a function external to the said setting unit 11. The obtained optimal change treshold T = M op t is recorded for the tresholding unit 6 (figure 1). The contents of the video memory 3 and the reference memory 4 are again compared to each other, and the change values M are calculated, which values are then compared to the change treshold M op{ -, and the picture areas corresponding to the surpassing values are coded in the coder 7 and transmitted further, as was already explained in the specification of figure 1. In the change treshold ' setting unit 11, all of the addresses of the histogram table are generated through by means of the HA address generator 16, whereafter the the histogram table is reset to zero. The input a of the switch 17 is connected to the output c. Thereafter the change treshold setting unit 11 is ready to start processing the next frame.

Claims: CLAIMS 1. A method for detecting the most powerfully changed and for the human eye the most important picture areas in a video image in order to compress a live image into a transmission channel which functions at the rates of narrow bandwidth data connections, in which method the new digitized picture information read into the video memory (3) is compared to the already transmitted picture information stored into the reference memory (4), and the difference value, i.e. the change value (M) between these data is compared to the preset change treshold (T), and if the change value surpasses the change treshold (T), the picture information of the respective picture element (pel) and/or area of image is coded and transmitted, and the corresponding picture information is stored into reference memory (4) in preparation for a new comparison, c h a - r a c t e r i z e d in that the comparison between the new picture information and the transmitted picture information is carried out so that the change values (M) in each predetermined picture area are calculated by summing up, pel by pel, the difference (-≤_UΪJ) between the picture data of the new picture (U- V ) and the reference picture (UJM Γ ) , the said information consisting for instance of intensity readings, whereafter the change values (M) obtained for each separate picture area are combined into a change histogram of the whole frame, which change histogram contains the change values (M) of the picture areas in order of magnitude; from this change histogram there is chosen a number defined by the predetermined reference number (N c ) of picture areas with the largest change values, and. the change value of the chosen picture area with the smallest change value is set as the change treshold (T = op {-). 2. The method- of claim 1, c h a r a c t e r i z e d in that the change values (M) of the separate picture areas are stored in order of magnitude into the memory (15), in the histogram table, which table is then gone through starting from the largest change value, and the number of the change values of the covered picture areas is calculated and compared to the maximum number (N c ) of picture areas is calculated and compared to the maximum number (N c ) of picture areas which can be sent in between the successive frames, and when this reference value (N c ) is surpassed, the optimal change treshold (T = M op t) is reached on the basis of which treshold there can be detected those picture areas which are most powerfully changed with respect to the already transmitted image, the number of these picture areas being exactly as much as i ' s possible to transmit in between the successive frames. 3. The method of claim l or 2, c h a r a c t e r i z e d in that while calculating the change values (M), the difference ( -Δ U- ) between the picture data are exponentially weighed [( -Δ Uij) x ] so that the employed exponent (x) is an even integral. 4. An apparatus for realizing the method of claim 2 or 3, which apparatus comprises at least an analogue-to-digital converter (1) where the video signal is digitized; a video memory (3), whereinto the digitized picture information is read; a reference memory (4) containing the data of the transmitted picture information; a comparator (5) or equivalent, where the contents of the video memory (3) and the reference memory (4) are compared pel by pel or area by area; a tresholding unit (6), where the change value (M) between picture data obtained from the comparator is compared to the change treshold (T) set in the tresholding unit (6); a coder (7) where the picture information contained in a pel and/or area of image is coded in case the change value surpasses the change treshold, which coded picture information is further transferred into the transmission channel; a replenishment unit (1) of the reference memory, through which unit the transmitted picture information is stored into the reference memory (4), c h a r a c t e r i z e d in that the apparatus (11) comprises one or several calculating units (12, 13, 14) in order to calculate the change values (M) for each picture area; at least one memory unit (15) in order to record the change values (M) of the frame in order of magnitude; an address generating unit (16) by aid of which the change values stored in the memory are treated value by value starting from the largest value; a cumulative adder (18) which calculates the cumulative sum (S) of the covered change values, i.e. of the picture areas; a comparator (19), which compares the said sum (S) to the reference value (N c ) preset in the comparator, the said reference value being the maximum amount of picture areas that can be transmitted in between successive frames; from the output (C) of which comparator (19) there is given a signal whenever the said sum (S) surpasses the reference value (N c ), which signal informs the tresholding unit (6) that the change treshold (T), on the basis of which there can be found a number defined by the reference value (N c ) of the most powerfully changed picture areas, is ready to be read at the output (D) of the memory unit (15). 5. The apparatus of claim 3, c h a r a c t e r i z e d in that the calculating units (12, 13, 14) are at least partly realized by means of permanently programmed PROM (Programmed R-ead Only Memory) tables.

Inventors: HAIKONEN PENTTI, KORHONEN ILKKA, LEPPAENEN JUHA, SANTAMAEKI HARRY, HAIKONEN, PENTTI, KORHONEN, ILKKA, LEPPAENEN, JUHA, SANTAMAEKI, HARRY
Applicants: VALTION TEKNILLINEN, VALTION TEKNILLINEN TUTKIMUSKESKUS
Application year: 1985
Main classification: H04N7
IPC codes: G06T9, H04N7