Image transmitting method

Abstract: There is provided an image transmitting method whereby a variable-length coding is executed to image information and the variable-length coded image information to be compressed is transmitted together with information other than the image information on a data block unit basis of a predetermined data amount, wherein the number of data blocks which mainly include the information other than the image information and don't include the image information to be compressed is made variable for the number of data blocks which mainly include the image information to be compressed. There is also provided an image transmitting method whereby each picture plane is divided into a plurality of regions, a variable-length coding is executed to image information on a region unit basis, and the variable-length coded image information to be compressed is transmitted together with information other than the image information on a data block unit basis of a predetermined data amount, wherein boundary information indicative of the position in the data block of the boundary between the image information to be compressed of each of the divided regions is arranged in a predetermined portion of each of the data blocks, the resultant data blocks are transmitted, specific data which can be distinguished from the boundary information is included in the predetermined portion of each of the data blocks, the information other than the image information is given in place of the image information to the data blocks including the specific data, and the resultant data blocks are transmitted. Further, an image transmitting method for giving the information other than the image information to the predetermined portions including the specific data and transmitting the resultant data blocks is provided.

Description: The invention relates to an image transmitting method and, more particularly, to an image transmitting method whereby a variable length coding is performed to image information and the image information which has been variable length coded and is compressed is transmitted together with information other than the image information on a data block unit basis of a predetermined data amount. In recent years, in the field of digital transmission of a color image, a high efficiency coding technique of information has been advanced and a high compression is being realized. In association with it, a good image can be transmitted and received through a transmission line even at a low data rate. On the other hand, however, a degree of influence which is exerted on the image by an error of one word on the transmission line also increases. Therefore, it is necessary to take a countermeasure for a code error on the transmission line by an error detection code and an error correction code, or the like. Particularly, in case of using a transmission line in which a deterioration of the transmission quality is presumed as in a magnetic recording medium or a communication satellite or the like, it is particularly necessary to pay an attention to the countermeasure for such a code error. Fig. 8 is a block diagram showing a schematic construction of a conventional image transmitting and receiving system. In the diagram, reference numeral 101 denotes a terminal to which an image signal is supplied. The image signal supplied from the terminal 101 is converted into the digital signal by an analog/digital (hereinafter, referred to as an A/D) converter 102. The digital image signal is coded by a high efficiency coding circuit 103 and an information amount (band) is compressed. The image information compressed by the coding circuit 103 is supplied to an error correction coding circuit 104. A parity check bit to correct the code error is added (the error correction coding is performed) to the image information and, after that, the image signal is sent to a transmission line 105. On the reception side, a data train transmitted through the transmission line 105 is once stored into a memory 106. The code error correction using the above parity check bit is executed in an error correction unit 107 which accesses to the memory 106. The image information which has been subjected to the code error correction is generated from the memory 106 and supplied to a high efficiency decoding circuit 108. The decoding circuit 108 executes a decoding process opposite to that of the high efficiency coding circuit 103. That is, the decoding circuit 108 expands the information amount (band) and returns to the original digital image signal. The digital image signal is converted into the analog signal by a digital/analog (hereinafter, referred to as a D/A) converter 109 and is generated as an analog image signal from a terminal 110. In Fig. 8, various kinds of constructions of the high efficiency coding circuit 103, namely, various kinds of image compressing methods have been proposed. As a typical one of the color image coding methods, what is called an ADCT method has been proposed. The ADCT method has been described in detail in Takahiro Saito, et al., "The Coding Method of Still Image", the papers of The Institute of Television Engineers of Japan, Vol. 44, No. 2, (1990), Hiroshi Ochi, et al., "The Tendency of International Standard for Coding a Still Image", the papers 14 of the National Conference of The Institute of Image Electrical Engineers of Japan, 1988, and the like. Fig. 9 is a block diagram schematically showing a construction of the high efficiency coding circuit of an image using the above ADCT method. It is now assumed that an image signal which is supplied to a terminal 111 in the diagram is a digital data train which has been converted into eight bits, namely, 256 gradations/color through the A/D converter 102 in Fig. 8. It is also assumed that the number of colors is set to three or four colors such as RGB, YUV, YP b P r , YMCK, or the like. The input digital image signal is immediately subjected to a two-dimensional discrete cosine transformation (hereinafter, referred to as a DCT) by a DCT converter 112 on a subblock unit basis of (8 x 8) pixels. The DCT converted data (hereinafter, referred to as conversion coefficients) of (8 x 8) words is quantized by a linear quantization circuit 113. Quantization step sizes are different every conversion coefficients. That is, the quantization step size for each conversion coefficient is set to a value in which (8 x 8) quantization matrix elements from a quantization matrix generating circuit 114 are multiplied by 2 S times by a multiplier 116. The quantization matrix elements are determined in consideration of a fact that the visibility to quantization noises differs every conversion coefficient of (8 x 8) words. Table 1 shows an example of the quantization matrix elements. Example of quantization matrix elements 16 11 10 16 24 40 51 61 12 12 14 19 26 58 60 55 14 13 16 24 40 57 69 56 14 17 22 29 51 87 80 62 18 22 37 56 68 109 103 77 24 35 55 64 81 104 113 92 49 64 78 87 103 121 120 101 72 92 95 98 112 100 103 99 The data of 2 S is obtained from a data generator 115. S denotes 0 or a positive or negative integer and is called a scaling factor. A picture quality or a data amount is controlled by the value of S. The DC component in each of the quantized conversion coefficients, that is, the DC conversion coefficient (hereinafter, referred to as a DC component) in the matrix of (8 x 8) is supplied to a one-dimensional prediction differential circuit 117. A prediction error obtained in the circuit 117 is Huffman coded by a Huffman coding circuit 118. Practically speaking, a quantization output of the prediction error is divided into a plurality of groups. First, the identification number of the group which belongs to the prediction error is Huffman coded and information indicating that the value of the prediction error is the value of which one of the groups is expressed by an equivalent length code. The conversion coefficient other than the DC component, that is, the AC conversion coefficient (hereinafter, referred to as an AC component) is supplied to a zigzag scanning circuit 119. As shown in Fig. 10, the AC conversion coefficients are zigzag scanned by two-dimensional frequencies in the direction from the low frequency component to the high frequency component. A combination of the conversion coefficients (hereinafter, referred to as significant coefficients) in which the quantization output is not equal to 0 and the number (run length) of conversion coefficients (hereinafter, referred to as insignificant coefficients) in which the quantization output is equal to 0 and which exist between the significant coefficients just before them is generated from the zigzag scanning circuit 119 to a Huffman coding circuit 120. In the Huffman coding circuit 120, the significant coefficients are classified into a plurality of groups in accordance with the values of the significant coefficients, a combination of the identification number of each group and the run length is Huffman coded, and information indicating that the value of the significant coefficient is a value of which one of the groups is subsequently expressed by an equivalent length code. Outputs from the Huffman coding circuits 118 and 120 are multiplexed by a multiplexing circuit 121. The multiplexed signal is supplied as a coded output from a terminal 122 to the error correction coding circuit 104 at the post stage. According to the high efficient coding as mentioned above, even when the information amount is compressed to a fraction of 1, no deterioration occurs in the image and an extremely high efficiency compression can be executed. Fig. 11 is a diagram showing a data transmission format according to the conventional system as mentioned above. In the example shown in the diagram, transmission data has a two-dimensional construction using a double Reed Solomon code which is well known as an error detection and correction code. A C2 parity of four symbols is added to 124 symbols (hereinafter, one symbol = 8 bits) in the lateral direction of the compressed information of the image to be transmitted and four symbols of voice digital information (not shown). A C1 parity of four symbols is also added to 128 symbols in the vertical direction of the image information. Due to this, errors up to two symbols can be corrected with respect to each of the vertical and lateral directions. On the upper side of Fig. 11, a sync code of two symbols, a transmission ID of two symbols, and control information of two symbols are added to one lateral train, that is, 124 symbols of the image information, four symbols of the voice information, and four symbols of the C2 parity or to 132 symbols of all of the Cl parities. A transmission data block comprising the above symbols in a lump is shown. One transmitting synchronization (1 ECC block) is constructed by 132 transmission blocks each of which comprises the image information, voice information, C1 parity, C2 parity, sync code, transmission ID, and control information shown on the upper side of Fig. 11. The control information here denotes the foregoing scaling factor, the transmitting method of the voice, the mode information such as stereophonic, bilingual, or the like, the key information of scramble, the selection information of a receiver, or the like. However, when the compression of a good compression efficiency as mentioned above is executed, that is, when the information is compressed at a high compression ratio and the compressed information is transmitted, a degree of influence which is exerted on the image by one code error is large. For instance, in the case where the variable length coding as mentioned above has been executed, the subsequent decoding process cannot be performed, so that there is a case where the image after the occurrence of an error fluctuates and enters a state such that it is fairly hard to see. In the conventional data transmitting format as mentioned above, an amount of image information per unit time changes in dependence on the image. However, an amount of voice information to the image information is always constant. Therefore, the area of the voice information in Fig. 11 must be set so as to have a fairly wide range, so that a long time is expended in vain to transmit the voice information. Such a problem occurs not only in the voice information but also in the control information. Namely a time is expended in vain to transmit the control information, so that a transmission capacity of the image information relatively decreases and the picture quality is deteriorated. An article by Yoneda et al (IEEE Transactions on Consumer Electronics Volume 37, No. 3, 1 August 1991, New York, USA, pages 275-282, entitled "An Experimental Digital VCR with New DCT-Based Reduction System") discloses an image processing method and apparatus in accordance with the preamble of the claims in which image information undergoes DCT block encoding and variable length encoding to form variable length encoded blocks of image information. Header or synchronisation code is then added into the variable length encoded blocks of image information to form code blocks which are then transmitted. No consideration is given in this document of the transmission of other information such as the voice information. WO-A-91/10329 discloses an image processing apparatus and system wherein code blocks comprise an audio block and a video block. The video block comprises run length encoded data. Thus in this arrangement in each code block there is a set area for the audio information. In accordance with one aspect the present invention provides an image processing apparatus comprising: input means for inputting image information and associated non-image information; division means for dividing the input image information into image blocks; encoding means for variable-length encoding each of the image blocks divided by said division means; forming means for forming first code blocks from image data encoded by said encoding means, each first code block comprising a unit of a predetermined amount of data; and transmission means for transmitting the code blocks formed by said forming means; characterised in that said forming means is adapted to form second code blocks from said associated non-image information, said second code blocks being of the same format as said first code blocks; in that said transmission means is adapted to transmit said first and second code blocks as a sequence; and by control means for determining the amount of encoded image data which is generated by said encoding means and for controlling said forming means and said transmission means to control the relative number of said first and second code blocks formed and transmitted at a predetermined transmission rate in a predetermined time period in dependence upon the determined amount of encoded image information generated by said encoding means. In accordance with a second aspect the present invention provides an image processing apparatus comprising : receiving means for receiving first code blocks formed from variable length encoded blocks of image information and comprising a unit of a predetermined amount of data; decoding means for decoding the variable length encoded blocks of image information in each of said first code blocks; and first output means for outputting the decoded image information; characterised in that said receiving means is adapted to receive second code blocks formed from non-image information associated with the image information and to receive as a sequence the first and second code blocks, said second code blocks being of the same format as said first code blocks, and the relative number of received first and second code blocks transmitted at a predetermined transmission rate in a predetermined time period being dependent upon the encoded amount of image information. In accordance with a third aspect the present invention provides an image processing method comprising: inputting image information and associated non-image information; dividing the input image information into image blocks; variable length encoding each of the image blocks; forming first code blocks from the variable length encoded blocks of image information, each first code block comprising a predetermined amount of data; and transmitting the first code blocks; characterised by: forming second code blocks from the input associated non-image information, said first and second code blocks being of the same format; transmitting the second code blocks with said first code blocks as a sequence; determining the amount of variable length encoded image data; and controlling the relative number of said first and second code blocks formed and transmitted at a predetermined transmission rate in a predetermined time period in dependence upon the determined amount of generated encoded image data. In accordance with a fourth aspect the present invention provides an image processing method comprising the steps of: receiving first code blocks formed from variable length encoded blocks of image information and comprising a unit of a predetermined amount of data; decoding the variable length encoded blocks of image information in each of said first code blocks; and outputting the decoded image information; characterised in that second code blocks are received as a sequence, said second code blocks being formed from non-image information associated with the image information and being of the same format as said first code blocks, and the relative number of received first and second code blocks transmitted at a predetermined transmission rate in a predetermined time period is dependent upon the encoded amount of image information. Embodiments of the present invention will now be described with reference to the accompanying drawings, in which:- Fig. 1 is a block diagram showing a schematic construction of an image transmission and reception system of an embodiment of an image transmitting method according to the invention; Fig. 2 is a diagram showing information of one picture plane of an image which is transmitted in the system of Fig. 1; Fig. 3 is a diagram showing a data transmitting format in the system of Fig. 1; Figs. 4A and 4B are diagrams each showing the relation between the boundary information and the image information in the system of Fig. 1; Fig. 5 is a diagram for explaining a transmitting method of variable-length coded image information in the system of Fig. 1; Figs. 6A to 6D are diagrams for explaining specific data in the system of Fig. 1; Figs. 7A and 7B are diagrams for explaining data blocks in the system of Fig. 1; Fig. 8 is a block diagram showing a schematic construction of a conventional image transmission and reception system; Fig. 9 is a block diagram schematically showing a construction of a high efficient coding circuit of an image using an ADCT method; Fig. 10 is a diagram showing a state of a zigzag scan in a zigzag scanning circuit in the system of Fig. 8; and Fig. 11 is a diagram showing a state of a zigzag scan in the circuit in the system of Fig. 8. Fig. 1 is a block diagram showing a schematic construction of an image transmission and reception system according to an embodiment of the invention. The system will now be described hereinbelow with reference to Fig. 1. An analog image signal supplied from an image input terminal 1 is converted into a digital signal by an A/D converter 3. The variable-length compression coding as described with reference to Fig. 9 is executed to the digital image signal by a high efficiency coding circuit 5. Additional information (transmission ID) regarding the transmission of the system, for instance, a sync block number is inserted into the compression coded data train by a transmission ID addition circuit 9. Reference numeral 11 denotes a boundary information formation circuit. The boundary information indicates a boundary of the information (image information which has been variable-length coded) of each region which is obtained by dividing one picture plane into a plurality of regions as will be explained hereinlater. A control unit 8 gives the scaling factor S to the high efficiency coding circuit 5. The high efficiency coding circuit 5 gives information B indicative of the data amount after completion of the coding by several predetermined scaling factors to the control unit 8. The control unit 8 operates in accordance with the information B indicative of the data amount. The scaling factor S is determined in a manner such that one frame video signal has a predetermined data amount. Since a method of deciding the scaling factor has been described in detail in the Official Gazettes of Japanese Patent Laid-open Application Nos. 2-408947 and 3-16466 and the like which have already been filed by the same applicant as the present invention and is not directly concerned with the present invention, its detailed description is omitted here. On the other hand, the analog voice signal supplied from a voice input terminal 2 is converted into a digital signal by an A/D converter 6. The digital signal is supplied to a transmission memory 12 together with the image data from the high efficiency coding circuit 5. Reference numeral 4 denotes a control information input terminal to receive control information such as transmitting method of a voice, mode information indicative of stereophonic, bilingual, or the like, key information indicative of a rule of an interleave (scramble) of data, selection information of a receiver, and the like. The control information is supplied to the boundary information formation circuit 11. The information indicative of a data amount of the image information which has been coded by the scaling factor S is also supplied as information B to the control unit 8. The control unit 8 always monitors the relation between the image information amount and the voice information amount and determines whether the relevant synchronous block is allocated to the image information or the voice information on a synchronous block unit basis. In accordance with the result of the above determination, the boundary information formation circuit 11 generates the foregoing boundary information to the synchronous block allocated to the image information and generates a specific code, which will be explained hereinlater, and the control information from the terminal 4 to the synchronous block allocated to the voice information. The transmission memory 12 receives the above image information, voice information, control information, boundary information, and the like and generates them in accordance with the order based on a transmitting format as will be explained hereinlater. An error correction coding circuit 15 executes an error correction coding as will be explained hereinlater to the data stored in the transmission memory 12 and forms and adds a parity check bit. A sync (synchronous) code is added by a sync code addition circuit 7 to the data train which is generated from the memory 12. After that, the data train with the sync code is transmitted to a transmission line 17. As for a transmission line 17, a transmission medium such as ground radio wave, optical space, or the like such as optical fiber, satellite, microwave, or the like can be presumed as an immediate transmission line. A recording medium such as tape-shaped medium such as digital VTR, DAT, or the like, disc-shaped medium such as floppy disk, optical disc, or the like, solid-state medium such as a semiconductor memory, or the like can be presumed as an accumulation transmission line. A transmission rate is set and determined to arbitrary one of various values by the control unit 8 on the basis of the information amount and compression ratio of the original image and a transmitting time which is required. For instance, the transmission rate can be set to various values within a range, for instance, from tens of kilobits/sec to tens of Megabits/sec. The data train received on the reception side through the transmission line 17 is supplied to a sync code detection circuit 19, by which the foregoing sync code is separated and detected. A transmission ID detection circuit 21 detects the foregoing transmission ID and executes the detection or the like of the attribute of each sync (synchronous) block. A boundary information detection circuit 25 separates and detects the foregoing boundary information or specific code or control information. A memory 23 stores the data train in accordance with the sync code and transmission ID. An error correction unit 27 accesses to the memory 23 and corrects a code error to the compression coded image data and the voice information and the like by using the check bit added by the error correction coding circuit 15 mentioned above. The boundary information detecting circuit 25 discriminates whether the information extracted from a predetermined portion of each sync block of the data train is the boundary information or the control information having the specific code by checking the presence or absence of the specific code. The detection circuit 25 also discriminates whether the relevant sync block is the block for the image information or the block for the voice information. In accordance with the results of the above discriminations, the image information is generated to a high efficiency decoding circuit 31 every sync block and controls the reading operation of the receiving memory 23 so as to generate the voice information to a D/A converter 34. On the other hand, the control information arranged in a predetermined portion of each sync block is generated from a terminal 32 together with the specific code. The output signal from the terminal 32 is used, for instance, to display a mode or the like. The boundary information detection circuit 25 further detects the boundary on the compression coded data train of each of the regions obtained by dividing one picture plane from the boundary information. The detected information is supplied to the memory 23 and the high efficiency decoding circuit 31. The decoding circuit 31 reads only the variable-length coded image information in accordance with the boundary information and expands and decodes and supplies the digital image signal which has been returned to the original information amount (band) to a D/A converter 33. Thus, the analog image signal is generated from an output terminal 35. Similarly, the D/A converter 34 converts the voice information into the analog signal and the analog signal is generated from a voice output terminal 36. The system of the embodiment will now be described in detail hereinbelow with reference to Figs. 2 to 7. Fig. 2 is a diagram showing the information of one picture plane of an image to be transmitted. One picture plane is sampled by 1280 pixels in the lateral direction and 1088 pixels in the vertical direction. Each pixel is A/D converted by eight bits. A data capacity per picture plane is 1280 x 1088 x 8 = 11,141,120 bits In the embodiment, it is assumed that a moving image is transmitted and the data of one picture plane is transmitted every 30 picture planes for one second. Thus, a data capacity per second is 11,141,120 x 30 = 334,233,600 bits/sec The case where such a moving image information is compression coded into about 1/10 by the ADCT method which has been described before and the compression coded image information is transmitted will now be presumed. A DCT subblock is constructed by (8 pixels in the lateral direction) x (8 pixels in the vertical direction) and one resync block is constructed by 40 DCT subblocks as shown in Fig. 2. When one picture plane is divided into regions on a resync block unit basis, total 544 regions of (4 regions in the lateral direction) x (136 regions in the vertical direction) are obtained per picture plane. The data capacity per resync block is 40 x 8 x 8 x 8 = 20,480 bits Fig. 3 shows a data transmitting format in the system of the embodiment and, particularly, a format of an error correction block (ECC block). A double Reed Solomon code is used as an error correction code for the boundary information and the compression coded image information or voice information. That is, four symbols of an external code check bit (C2 parity) of the error correction code are added to the boundary information of two symbols and the compression coded image information of 128 symbols or voice information. Further, with respect to the image information or voice information and the boundary information, four symbols of an inner code check bit (C 1 parity) of the double Reed Solomon code are added to 128 symbols in the vertical direction in the diagram. In this case, an error of up to two symbols can be corrected by the error correction code in each of the vertical and lateral directions. In the upper portion in Fig. 3, the foregoing boundary information of two symbols, sync code of two symbols, and transmission ID of two symbols are added to the symbols of one line in the lateral direction, that is, to 128 symbols of the image information or voice information and four symbols of the C2 parity or to 132 symbols of all of the Cl parities. The transmission sync block (sync block) which is constructed by those symbols in a lump is shown in the upper portion of Fig. 3. One ECC block is constructed by such 132 transmission sync blocks. Now, assuming that ten ECC blocks are allocated to the transmission image information of one picture plane, the transmission capacity of 128 x 128 x 8 x 10 = 1,310,720 bits is given per picture plane. That is, it will be understood that it is sufficient to compress the data of one picture plane mentioned above to about 11%. In case of a moving image in which thirty picture planes are transmitted for one second, the transmission capacity of 1,310,729 x 30 = 39,321,600 bits/sec is given per second. In this instance, the total transmission rate is equal to or larger than 138 x 132 x 8 x 10 x 30 = 43,718,400 bits/sec The sync code in Fig. 3 is provided to detect the synchronization of the transmission block and has a predetermined fixed pattern. The transmission ID denotes the number of the transmission blocks which are needed to transmit one image. Since such a number is constructed by 16 bits, 2 16 (= about 65000) transmission blocks can be expressed. In case of the embodiment, since there are 1320 (= 132 x 10) transmission blocks, it is sufficient to provide eleven bits. Each of Figs. 4A and 4B shows the relation between the boundary information in the embodiment and the image information in Fig. 3. The image information region of 128 symbols in Fig. 3 is divided into 16 hutches (small rooms) of every eight symbols, namely, every 64 bits. The boundary information of 16 bits corresponds to those 16 hutches, respectively. As shown in Fig. 4A, when boundaries of the resync blocks of the foregoing transmission target image exist in the fifth and thirteenth hutches from the left edge, bit "1" is set in the corresponding fifth and thirteenth bits from the left edge of the boundary information (the other bits are set to "0"), thereby forming the boundary information. Fig. 5 is a diagram for explaining a method of transmitting the image information which has been compression variable-length coded. On the transmission side of the high efficiency coded image information, two symbols (16 bits) of the number (resync number) to indicate the first resync block are first generated to the first resync block and the compression image information is generated from the third symbol. Explaining further in detail, the DCT conversion is first executed to the first resync block on a subblock unit basis of (8 x 8) pixels in a manner similar to that described with reference to Fig. 9. After that, the linear quantization of conversion coefficients is executed. The quantization step size differs every conversion coefficient. The quantization step size for each conversion coefficient is set to a value which is obtained by multiplying the (8 x 8) quantization matrix elements by 2 S times in consideration of the difference of each conversion coefficient of the visibility to the quantization noises. S denotes a scaling factor which is given from the control unit 8 and is set to "0" or a positive or negative integer. The picture quality or an amount of generation data is controlled on a picture plane unit basis by the value of S. S is set to about 1/10. After completion of the quantization, with respect to the DC component, in the first DCT subblock, the one-dimensional prediction is executed between the adjacent subblocks as a differential value from "0". The prediction error is Huffman coded. The quantization output of the prediction error is divided into a plurality of groups. The ID number of the group to which the prediction error belongs is first Huffman coded. Subsequently, the information indicating that the prediction error indicates the value in which one of the groups is expressed by an equivalent length code. The AC component is coded while zigzag scanning the quantization output in the direction from the low frequency component to the high frequency component. That is, the significant coefficients are classified into a plurality of groups in accordance with the values. A combination of the group ID number and the number of insignificant coefficients sandwiched between the significant conversion coefficients just before the insignificant coefficients is Huffman coded. Subsequently, the information indicating that the prediction error indicates the value in which one of the groups is expressed by an equivalent length code. In a manner similar to the above, the coding process is executed to 40 DCT subblocks and the generated variable length codes are combined to one symbol which is constructed by eight bits and are generated to the image information region of the transmission block. For the hutch including the last bit of the compressed information of one resync block, namely, 40 DCT subblocks, nothing is written into the remaining region in such a hutch (boundary hatch), thereby setting undefined bits. A flag "1" is set to the bit of the boundary information corresponding to the boundary hutch at this time. For the second resync block, two symbols (16 bits) of the number (resync number) indicative of the second resync block from the beginning of the next hutch of the hutch used in the first resync block are generated and the compression image information is generated from the third symbol. With respect to the DC component, in the first DCT subblock, the primary prediction is executed between the adjacent subblocks as a differential value from "0" and the prediction error is Huffman coded. The quantization output of the prediction error is divided into a plurality of groups. First, the ID number of the group to which the prediction error belongs is Huffman coded. Subsequently, the information indicating that the prediction error indicates the value in which one of the groups is expressed by an equivalent length code. The AC component is coded while zigzag scanning the quantization output in the direction from the low frequency component to the high frequency component. The generated variable-length codes are combined to one symbol which is constructed by eight bits and are generated to the image information region of the transmission block. For the hutch including the last bit of the compressed information of 40 DCT subblocks of one resync block, nothing is written into the remaining region in such a hutch thereby setting undefined bits. A flag "1" is set to the bit of the boundary information corresponding to the boundary hutch at this time. In a manner similar to the above, the similar processes are successively executed up to the last resync block, thereby high efficiency coding the image data and forming the boundary information. With reference to Fig. 4B, explanation will now be made with respect to the case where each of the 40 DCT subblocks in one resync block is constructed in a manner such that the Huffman bit length of the DC coefficient is equal to the shortest length of one bit, all of the AC coefficients are insignificant coefficients, a code (EOB) indicative of the end of one DCT subblock from the beginning is set, and the Huffman code length of the EOB is equal to three bits. In this instance, the information amount of one resync block is (1 + 3) x 40 = 160 bits Since the data of 160 bits per resync block is generated, in case of the hutch consisting of 64 bits, three hutches are used (160/64 = 2.5). Consequently, a distance of three or more bits certainly exists between the flags of the boundary information. The boundary information such that the distance between the flags of the boundary information is equal to 0 or 1 bit is not inherently generated. In the system of the embodiment, therefore, a specific code which is not inherently generated as the boundary information is allocated to two to three bits from the MSB (most significant bit) of 16 bits of two symbols of the boundary information in Fig. 3, so that the sync block is used as a sync block for the voice information and the voice information of 128 symbols or the like is derived. In the embodiment, the control information is arranged to eight bits from the LSB (least significant bit) in two symbols in which the specific code has been allocated to two to three bits from the MSB. A practical example will now be described with reference to Figs. 6A to 6D. In the case where both of two bits from the MSB of the above two symbols are the specific code of 1, it is assumed that the scaling factor S is shown by eight bits from the LSB. For instance, as shown in Fig. 6A, two bits from the MSB are continuously set to the flag 1 and the subsequent six bits are set to undefined bits and, for instance, the scaling factor 0 is expressed by the subsequent 8-bit code 00000000. On the other hand, as shown in Fig. 6B, two bits from the MSB are continuously set to the flag 1 and the subsequent six bits are set to undefined bits and, for instance, the scaling factor 1 is expressed by subsequent 8-bit code 00000001. Further, in the case where three bits from the MSB of the above two symbols are equal to "1, 0, 1", it is assumed that the mode of the voice information is shown by eight bits from the LSB. For instance, as shown in Fig. 6C, three bits from the MSB are set to the flags 1, 0, and 1, and the subsequent five bits are set to undefined bits, and for example, the voice mode is set to the stereophonic mode by the subsequent 8-bit code 00000000. On the other hand, as shown in Fig. 6D, three bits from the MSB are set to the flags 1, 0, and 1, and the subsequent five bits are set to undefined bits, and for example, the voice mode is set to the bilingual mode by the subsequent 8-bit code 00000001. As shown in Figs. 6A to 6D, the control information such as scaling factor, transmitting method of the voice, mode information such as stereophonic, bilingual, or the like, key information of the scramble, selection information of the receiver, and the like can be given to the boundary information portion including the specific code which cannot be inherently generated. Thus, it is possible to contribute to the improvement of the transmitting efficiency. By setting various specific codes to a few bits (up to eight bits) from the MSB of two symbols of the boundary information portion, various control information can be transmitted. Figs. 7A and 7B are diagrams each showing a sync block (data block) in the system of the embodiment. As shown in Fig. 7A, a boundary information portion indicative of an image block and a sync block (image block) including 128 symbols of the image information exist. As shown in Fig. 7B, a boundary information portion including the specific code and the control information and a sync block (voice block) including 128 symbols of the voice information or the like exist. In the system of the embodiment, the image block and the voice block are allowed to mixedly exist in the 128 sync blocks in one ECC block shown in Fig. 3 and the ratio of the numbers of image blocks and voice blocks can be varied. Practically speaking, for a period of time when the voice information of one sync block is stored into the transmission memory 12, the number of image blocks to one voice block, that is, the number of image block between the adjacent voice blocks is determined in accordance with an amount of image information which is generated from the high efficiency coding circuit 5. As mentioned above, such a number is decided by monitoring an amount of image information after completion of the coding by the control unit 8. By constructing as mentioned above, since the number of image information blocks and the number of voice blocks in one ECC block are determined in accordance with an amount of image information, the voice information can be efficiently transmitted without wasting a time. On the decoding side, the sync code in the data received from the transmission line 17 in Fig. 1 is first detected by the sync code detection circuit 19. The foregoing transmission ID (transmission block number) is detected by the transmission ID detection circuit 21. The writing timing of the memory 23 is controlled by the sync code and the transmission data is stored into the address according to the transmission block number. The capacity of the receiving memory 23 is set to a value which is equal to or larger than the information amount of the transmission data of one picture plane. As mentioned above, in the error correction unit 27, an error of the voice information or the compressed image information is corrected. When the first resync block stored in the memory 23 is read out, since the two head symbols of the first hutch denote the resync number, the information is supplied from the third symbol of the first hatch to the high efficiency decoding circuit 31 at the post stage. When the last hatch of the first resync block is detected by the boundary information detected by the boundary information detection circuit 25, the information is supplied to the high efficiency decoding circuit 31 from the third symbol of the next hatch, namely, the first hatch of the second resync block. Since the scaling factor has been multiplexed to the boundary information portion of the voice block as mentioned above, it is detected by the boundary information detection circuit 25 and is sent to the high efficiency decoding circuit 31. Another control information such as information indicative of the voice transmitting mode mentioned above or the like is generated from the detection circuit 25 to the terminal 32. In this instance, with respect to the first resync block, since it relates to the first information, the information is sent to the high efficiency decoding circuit 31 at the post stage from the third symbol next to the first two symbols (resync number) in the image information from the memory 23. Subsequently, as for the second resync block, the last hutch of the first resync block is detected by the boundary information detection circuit 25. The information is sent to the decoding unit from the third symbol of the next hutch The above operations are similarly executed with respect to the third and subsequent resync blocks. It is now presumed the case where an error generation ratio of the transmission line temporarily extremely increases, the generation frequency of the code error exceeds the capability of the error correction unit 27, the error correction continuously becomes disable, an erroneous correction or the like occurs, and the boundary information is also broken. Even in such a case, according to the above embodiment, at a time point when the quality of the transmission line is recovered and the error generation ratio lies within the error correctable range, new boundary information is detected and the resync number existing in the first two symbols of the next hutch of the hatch corresponding to the bit in which the boundary flag has been set to "1" can be detected. That is, the image information can be reconstructed in a normal state from the resync block in which the resync number has been detected. Namely, even when there is a temporary deterioration of the transmission line, the perfect image can be immediately reproduced. In the system of the embodiment as mentioned above, even when an amount of image information is not decided, the voice information can be transmitted without a vain. Moreover, with regard to the image sync block, since the boundary information is transmitted, the picture quality is not largely deteriorated upon decoding. The invention is not applied to only the coding apparatus of the system like the embodiment as mentioned above but a large effect is obtained when the invention is applied to an apparatus such that the variable-length coding is performed to the image signal which is generally transmitted. For instance, even in the case where an image is previously separated to a luminance signal and color difference signals and a block is constructed with respect to each of the luminance signal and the color difference signals, processes similar to those mentioned above can be performed. In the embodiment, although the invention has been described with respect to the image transmission and reception system having the error detection and correction units, the invention can be also obviously easily applied to an image transmission and reception system having no error detection and correction unit which is used in a transmission line such as an optical fiber in which an error is hardly mixed. The image information is not limited to any of the moving image, semi-moving image, and still image. The number of bits of the boundary information, the number of hutches the method of dividing the hatches, the definition names, and the like are also not limited to those mentioned above. Further, the method of giving the specific code in the embodiment, the kind of control information which is transmitted by the specific code, and the like have been mentioned as a mere example for convenience of explanation of the invention. As will be obviously understood from the above description, according to the image transmitting method of the invention, even when an amount of image information per unit time is changed, the information such as voice information or the like other than the image information can be also efficiently transmitted by the variable-length coding and the deterioration of the picture quality due to a decrease in amount of information which is transmitted as image information can be minimized. A large deterioration in image with respect to the image information through an inferior transmission line can be suppressed without adding a large redundancy to the image information. Even the information such as voice information or the like other than the image information can be efficiently transmitted by using the existence of the boundary information.

Claims: Image processing apparatus comprising: input means for inputting image information and associated non-image information; division means (5) for dividing the input image information into image blocks; encoding means (5) for variable-length encoding each of the image blocks divided by said division means; forming means (12) for forming first code blocks from image data encoded by said encoding means, each first code block comprising a unit of a predetermined amount of data; and transmission means (17) for transmitting the code blocks formed by said forming means (12); characterised in that said forming means (12) is adapted to form second code blocks from said associated non-image information, said second code blocks being of the same format as said first code blocks; in that said transmission means (17) is adapted to transmit said first and second code blocks as a sequence; and by control means (8) for determining the amount of encoded image data which is generated by said encoding means (5) and for controlling said forming means (12) and said transmission means (17) to control the relative number of said first and second code blocks formed and transmitted at a predetermined transmission rate in a predetermined time period in dependence upon the determined amount of encoded image information generated by said encoding means (5). Image processing apparatus according to claim 1, wherein said forming means (12) is further adapted to form each code block to include control code identifying the code block as a said first or second code block. Image processing apparatus according to claim 1 or claim 2, wherein said forming means (12) is adapted to form said first blocks to include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information. Image processing apparatus according to any preceding claim wherein said forming means (12) is adapted to form said second code blocks from audio information. Image processing apparatus according to any preceding claim including error correction coding means (15) for forming error correction codes, and said forming means (12) is adapted to include said error correction codes in said code blocks. Image processing apparatus according to claim 2, wherein said forming means (12) is adapted to form said first and second code blocks to include said control data which also includes information on the variable length encoded blocks of image information and the other information respectively. Image processing apparatus according to claim 2, wherein said forming means (12) is adapted to form said first code blocks to include said control code which includes information on quantisation steps used in the encoding means (5). Image processing apparatus according to any preceding claim wherein said division means (5) and said encoding means (5) are adapted to carry out block division encoding using a discrete cosine transform method. Image processing apparatus according to any preceding claim including: receiving means (23) for receiving the transmitted code blocks; decoding means (31) for decoding the variable length encoded blocks of image information in each of said first code blocks; image output means (25) for outputting the decoded image information; and non-image information output means (36) for outputting the non-image information from said second code blocks. Image processing apparatus according to claim 9, wherein each of said code blocks include control code identifying the code block as a said first or second code block, and the apparatus includes control code discrimination means (25) for discriminating said control code to determine whether each received code block is a said first or second code block. Image processing apparatus according to claim 9 or claim 10, wherein said first code blocks include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information, and the apparatus includes boundary information detection means (25) for detecting the start and finish of each of the variable length encoded blocks of image information using the boundary information code. Image processing apparatus according to any one of claims 9 to 11, including error correction means (27) for correcting errors in the received code blocks using error correction codes contained therein. Image processing apparatus according to any one of claims 9 to 12, wherein said second code block is formed from audio information and said non-image information output means (36) is adapted to output the audio information. Image processing apparatus comprising: receiving means (23) for receiving first code blocks formed from variable length encoded blocks of image information and comprising a unit of a predetermined amount of data; decoding means (31) for decoding the variable length encoded blocks of image information in each of said first code blocks; and first output means (35) for outputting the decoded image information; characterised in that said receiving means (23) is adapted to receive second code blocks formed from non-image information associated with the image information and to receive as a sequence the first and second code blocks, said second code blocks being of the same format as said first code blocks, and the relative number of received first and second code blocks transmitted at a predetermined transmission rate in a predetermined time period being dependent upon the encoded amount of image information. Image processing apparatus according to claim 14, wherein each of said code blocks include control code identifying the code block as a said first or second code block; and the apparatus includes control code discriminating means (25) for discriminating said control code to determine whether each received code block is a said first or second code block. Image processing apparatus according to claim 14 or claim 15, wherein said code blocks include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information; and the apparatus includes boundary information detection means (25) for detecting the start and finish of each of the variable length encoded, blocks of image information using said boundary information codes. Image processing apparatus according to any one of claims 14 to 16, including error correction means (27) for correcting errors in the code blocks using error correction codes contained therein. Image processing apparatus according to any one of claims 14 to 17 wherein said second code block is formed from audio information, and said second output means (36) is adapted to output the audio information. Image processing apparatus according to any one of claims 14 to 18, wherein said decoding means (31) is adapted to carry out the decoding using a discrete cosine transform method. Image processing apparatus according to claim 19 wherein said first code blocks include a control code which includes information on quantization steps used in the encoding of the image information; and said decoding means (31) is adapted to decode the variable length encoded blocks of image information using the information on quantisation. An image processing method comprising: inputting image information and associated non-image information; dividing the input image information into image blocks; variable length encoding each of the image blocks; forming first code blocks from the variable length encoded blocks of image information, each first code block comprising a predetermined amount of data; and transmitting the first code blocks; characterised by: forming second code blocks from the input associated non-image information, said first and second code blocks being of the same format; transmitting the second code blocks with said first code blocks as a sequence; determining the amount of variable length encoded image data; and controlling the relative number of said first and second code blocks formed and transmitted at a predetermined transmission rate in a predetermined time period in dependence upon the determined amount of generated encoded image data. An image processing method according to claim 21, wherein each code block is formed to include control code to identify the code block as a said first or second code block. An image processing method according to claim 21 or claim 22, wherein said first code blocks are formed to include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information. An image processing method according to any one of claims 21 to 23, wherein said second code blocks are formed from audio information. An image processing method according to any one of claims 21 to 24, including the steps of forming error correction codes and including said error correction codes in said code blocks. An image processing method according to claim 22, wherein said first and second code blocks are formed to include said control data which also includes information on the variable length encoded blocks of image information and the non-image information respectively. An image processing method according to any one of claims 21 to 26, wherein said encoding is carried out using a discrete cosine transform method. An image processing method according to claim 27, wherein said first code blocks are formed to include control code which includes information on quantization steps used in the encoding. An image processing method according to any one of claims 21 to 28, including the steps of: receiving the transmitted code blocks; decoding the variable length encoded blocks of image in each of said first code blocks; outputting the decoded image information; and outputting the non-image information from said second code blocks. An image processing method according to claim 29, wherein each of said code blocks include control code identifying the code block, the method including the step of discriminating said control code to determine whether each received code block is a said first or second code block. An image processing method according to claim 29 or claim 30, wherein said first code blocks include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information, the method including the step of detecting the start and finish of each of the variable length encoded blocks of image information using the boundary information code. An image processing method according to any one of claims 29 to 31, including the step of correcting errors in the received code blocks using error correction codes contained therein. An image processing method according to any one of claims 29 to 32, wherein said second code block is formed from audio information. An image processing method comprising the steps of: receiving first code blocks formed from variable length encoded blocks of image information and comprising a unit of a predetermined amount of data; decoding the variable length encoded blocks of image information in each of said first code blocks; and outputting the decoded image information; characterised in that second code blocks are received as a sequence, said second code blocks being formed from non-image information associated with the image information and being of the same format as said first code blocks, and the relative number of received first and second code blocks transmitted at a predetermined transmission rate in a predetermined time period is dependent upon the encoded amount of image information. An image processing method according to claim 34, wherein each of said code blocks include control code identifying the code block as a said first or second code block; the method including the step of discriminating said control code to determine whether each received code block is a said first or second code block. An image processing method according to claim 34 or claim 35, wherein said code blocks include boundary information code indicating a position of a boundary between the variable length encoded blocks of image information; and the method includes the step of detecting the start and finish of each of the variable length encoded blocks of image information using said boundary information codes. An image processing method according to any one of claims 34 to 36, including the step of correcting errors in the code blocks using error correction codes contained therein. An image processing method according to any one of claims 34 to 37, wherein said second block is formed from audio information; and the audio information is output from the received second code blocks. An image processing method according to any one of claims 34 to 38, wherein the decoding is carried out using a discrete cosine transform method. An image processing method according to claim 39, wherein said first code blocks include control code which includes information on quantization steps used in the encoding of the image information; and the variable length encoded blocks of image information are decoded using the information on quantization.

Inventors: ENARI MASAHIKO, ENARI, MASAHIKO, ENARI, MASAHIKO, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1992
Main classification: H04N7
IPC codes: H04N7, H04N1, G06T9