Abstract:
The inventive method makes it possible to reduce the size of a digital audio, image and/or video file in such a way that a reduced number of representative data needed for reformatting a file is transmitted to a receiving entity encoder. Said method consists in assigning references of at least one file component value to another value of the same component or in integrating at least one reference of the value group of the same component or another component into a component value group.

Description:
BACKGROUND OF THE INVENTION 
     The present invention concerns a method of size reduction of a digital audio, image and/or video file designed so as only to transmit to a receiving entity a reduced number of representative data, essential for the reconfiguration of the file in its original form using a decoder. 
     DESCRIPTION OF THE PRIOR ART 
     It is generally speaking known that in classical size reduction methods, the components of the digital data of a file, layers of colour or video channels, are treated separately. Only grey level images coded on 8 bits and images indexed on a gamut of 256 colour combinations are represented by a single component. Similarly, only certain successive redundant value series are reduced by repeat compression systems. In order to reduce the size of the data, existing compression systems reduce the number of values by component and their height, but continue to code the same number of component as the original ones and the same number of values, since the combination of separate values entails too large an allocation of bits needed for their coding. 
     OBJECT OF THE INVENTION 
     The invention has more particularly the aim of dealing with problems generated by the increased optimisation of the rate of compression of digital data, without any appreciable impairment of supplementary quality. 
     SUMMARY OF THE INVENTION 
     For this purpose it proposes to reduce the total number of digital data of a grey level single component of an audio (mono), image and/or video file and the number of data of a component and/or the number of components of multi-channel audio files, of RVB, CMJN, YUV images and of RVB and YUV video files, by only transmitting to the encoder representative data comprising references of integrated values and those of integrating values, it being understood that:
         an item of representative data is an association of at least two values and/or the reference of a group of values associated with another group of values, the values or groups of values potentially belonging to the same, or to a different component,   an integrated value is the quotient of the smaller value of the association of two numbers by the higher value of said two numbers,   the integrating value is the larger value that it is necessary to reduce in order to be able to code it on one or two bytes when it has received the reference of the integrated value. When it has been reduced and received the integrated value reference, it becomes an item of representative data.       

     With a view to obtaining this result and with the aim of only transmitting to the coder a reduced number of representative data essential for the reconfiguration of the file in its entirety, the method of reduction according to the invention comprises
         the association of the references of at least one value of a component of this file to another value which may consist of another value of the same component and/or a value of another component; and/or   the integration into a group of values of a component, of at least one reference of a group of values of the same component or of another component.       

     This method accordingly makes it possible to effect the size reduction of components and of the number of components of the file by preserving the data characteristic of at least one component and/or a group of values of one or more components, which serve both to code and to restore the original number of values of the components and the original number of components of the reconfigured file according to its original characteristics. 
     In particular, this method makes it possible to reduce the complete chain of original data to be coded. The reduced component and/or the reduced number of components transmitted to the encoder only contains a reduced number of characteristic data of integrated and preserved values. Thus, for example, the size of an audio file whose component values of the right channel have been integrated into the values or groups of values of the left channel is reduced by 50%. Similarly, the size of an image file or that of a video file can be cut by ⅓ or by ⅔. 
     One finds that by reducing the number of potential combinations, the method according to the invention increases the compression ratio with respect to systems preserving a number of data and a number of components identical to those of the original file. 
     Another advantage of this method consists in that it indiscriminately reduces both successive identical and successive different data, in contrast to existing systems, which only reduce the number of successive identical data. 
     The method according to the invention is advantageously applied indiscriminately to values of the same component (for example a colour component) and to values of different components (for example two different colour components). 
     It can only use a single component for restoring all source components and provides for a specific image, audio and video reader, authorising a specific display or audition of the digital file optimised by the invention. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       A method of implementing the method according to the invention will be described below as a non-limiting example, referring to the appended drawings where 
         FIG. 1  is a schematic representation illustrating the phases of compression and decompression of the method according to the invention; 
         FIG. 2  is a schematic representation illustrating the phase of determination and of conversion of integrated and integrating values. 
     
    
    
       FIG. 1  is an organigram of the method according to the invention, comprising two stages, namely compression and restoration. 
     The compression stage comprises four phases, namely 
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     
         
         
           
             a phase of opening the uncompressed file and of separation of the audio components and of separation of colour components (block  1 ), 
             a phase of determination of integrated values and of integrating values of the group of integrated values and the group of integrating values, of the integrated component and of the integrating component (block  2 ), 
             a phase of determination of integrated values and of integrating values into representative data, of conversion of the group of integrated values and of the group of integrating values into a group of representative data and of conversion of the integrated component and of the integrating component into a representative component (block  3 ), and 
             a phase of recording of the compacted file phase (block  4 ). 
           
         
       
    
     The stage of restoration of the compacted file comprises four phases
         a phase of opening the compacted file (block  5 ),   a phase of conversion of representative data, of groups of representative data and of representative components into integrating values and integrated values (block  6 ),   a phase of restoration of integrating values and of integrated values in their approximate or similar original form (block  7 ),   a phase of reconstruction of audio components and/or colour components of one or more images (block  8 ) and   a phase of reading of the restored file (block  9 ).       

     For, for example, an audio file is characterised by two values, namely, on the right by the smaller value equal to “2869” and on the left by the larger value equal to “4024” (integrating value). The integrated value is ( 2869/4024)=7.10 −2 . The reduction of the integrating value (left channel) is ( 4024/100)=40. 
     The association of the integrated and integrating values results in an operating sequence comprising the following two stages: 
     One starts by calculating the ratio (C F ) between the integrated value (V I ) and the integrating value (V T ), multiplied by 10 and rounded off to a whole value. 
     
       
         
           
             
               C 
               F 
             
             = 
             
               rounded 
               ⁢ 
               
                   
               
               ⁢ 
               off 
               ⁢ 
               
                   
               
               ⁢ 
               
                 ( 
                 
                   
                     
                       V 
                       I 
                     
                     
                       V 
                       T 
                     
                   
                   × 
                   10 
                 
                 ) 
               
             
           
         
       
     
     Then, to obtain the representative datum (Q R ), one integrates (C F ) into the integrating value reduced by a variable coefficient (C V ) according to the rate of compression and the desired rate of error. 
     
       
         
           
             
               Q 
               R 
             
             = 
             
               
                 rounded 
                 ⁢ 
                 
                     
                 
                 ⁢ 
                 off 
                 ⁢ 
                 
                     
                 
                 ⁢ 
                 
                   ( 
                   
                     
                       
                         V 
                         T 
                       
                       
                         C 
                         v 
                       
                     
                     × 
                     10 
                   
                   ) 
                 
               
               + 
               
                 C 
                 F 
               
             
           
         
       
     
     Thus, (C F )=[rounded off. ( 2869/4024)×10]=7 and (Q R )=[rounded off ( 4024/100)×10+(7)]=407 
     The restoration demands the dissociation of the representative value (Q R ) to reconstitute (V T ) and (V I ). 
     
       
         
           
             VT 
             = 
             
               rounded 
               ⁢ 
               
                   
               
               ⁢ 
               
                 off 
                 ⁢ 
                 
                   
                       
                   
                   ⁢ 
                   
                       
                   
                 
                 ( 
                 
                   
                     
                       V 
                       R 
                     
                     10 
                   
                   × 
                   
                     C 
                     V 
                   
                 
                 ) 
               
             
           
         
       
     
     and the value (V I ) is obtained from the following formula: 
     
       
         
           
             
               V 
               I 
             
             = 
             
               ( 
               
                 
                   V 
                   T 
                 
                 × 
                 
                   
                     C 
                     V 
                   
                   10 
                 
               
               ) 
             
           
         
       
     
     In this example, one obtains (V T )=(407/10)×100=4070 and (V I )=(4070×0.7)=2849. The two restored values are close to the original values (2869 and 4024); the error is less than 1% and therefore unnoticeable. 
       FIG. 2  represents the stage of determination of groups of integrated values and integrating values. This stage comprises the following phases:
         a first phase of cutting up components into fixed value blocks (for example 64 values for image blocks and 80 to 256 for audio samples),   a second phase of calculation of the average of each block of each component (equal to the ratio between the sum of the values of the block and the number of values that that block contains). These averages are variable, in such a way that the highest average constitutes the group of integrating values and the other averages constitute the group of integrated values.   a third phase of conversion of groups of integrated values and of groups of integrating values into a group of representative data. Thus, for example, the average of the value of a block of the red layer of an image is 195, the average of a block of the green layer is 128 and the average of the block of the blue layer is 53. The group of integrating values shall be the red block. The conversion of these values into representative data allows the values of the green and blue layers to be grouped together.       

     In this example, the values of the green layer ( 6 ) and of the blue layer ( 2 ) can be grouped 2 by 2 into an eight-bit byte. 
     If values, groups of values and/or components are involved, the rule distinguishing integrated values from integrating values is the function of their difference. The integrated value is represented by the lowest value. The integrating value is the highest value. To determine the integrated values and the integrating values, one cuts the digital file into a fixed group of values (block  10 ) and effects the average of the values of each block (block  11 ). In this way one can determine with respect to an audio file, which channel contains the highest values. For an image, one determines in the same way in the case of an RVB image, which is the colour layer R, V or B that contains the integrating data or again in the case of a CMJN image, which components C, M, J or N contain the highest values. 
     The ratio between the integrated values and the integrating values is calculated and temporarily stored. The conversion of the integrating value is calculated and temporarily stored. Then, the two values are combined and represent a single representative datum.