FIELD: computer equipment.
SUBSTANCE: method for encoding a data signal with support for hiding sign data, representing at least one image divided into sections, in which an image section is set, comprising a set of coefficients, identifying first and last non-zero coefficients in said set of coefficients, determining number of coefficients from first nonzero coefficient to last nonzero coefficient, including first and last non-zero coefficients, and in response to determining that number is greater than 4: calculating sum of information of amplitudes of non-zero coefficients in a set of coefficients, calculating, using the sum of information of amplitudes of non-zero coefficients, parity check data, selecting a certain nonzero coefficient to be encoded into a bit stream without a sign bit, when parity indicates parity and the sign of a particular nonzero coefficient is negative, modifying coefficient between first and last non-zero coefficient and transmitting modified set of coefficients.
EFFECT: technical result consists in improvement of efficiency of data compression.
2 cl, 8 dwg
             
         
            
              
                | Title | Year | Author | Number | 
							
              
                | METHOD OF ENCODING AND DECODING IMAGES AND ENCODING AND DECODING DEVICE | 2020 | 
										Henry, FelixClare, Gordon | RU2736421C1 | 
							
              
                | IMAGE ENCODING AND DECODING METHOD, ENCODING AND DECODING DEVICE AND CORRESPONDING SOFTWARE | 2012 |  | RU2609088C2 | 
							
              
                | METHOD FOR ENCODING AND DECODING OF IMAGES, ENCODING AND DECODING DEVICE AND CORRESPONDING COMPUTER PROGRAMS | 2021 | 
										Henry, FelixClare, Gordon | RU2765300C1 | 
							
              
                | IMAGE ENCODING AND DECODING METHOD, DEVICE FOR ENCODING AND DECODING AND CORRESPONDING SOFTWARE | 2012 |  | RU2608682C2 | 
							
              
                | METHOD OF ENCODING AND DECODING IMAGES, DEVICE FOR ENCODING AND DECODING AND CORRESPONDING SOFTWARE | 2020 | 
										Henry, FelixClare, Gordon | RU2782400C2 | 
							
              
                | METHOD OF ENCODING AND DECODING IMAGES, AN ENCODING AND DECODING DEVICE AND CORRESPONDING COMPUTER PROGRAMS | 2020 | 
										Henry, FelixClare, Gordon | RU2739729C1 | 
							
              
                | METHOD OF ENCODING AND DECODING IMAGES, AN ENCODING AND DECODING DEVICE AND CORRESPONDING COMPUTER PROGRAMS | 2012 | 
										Henry, FelixClare, Gordon | RU2720975C2 | 
							
              
                | METHOD FOR IMAGE CODING AND DECODING, CODING AND DECODING DEVICE AND CORRESPONDING COMPUTER PROGRAMS | 2022 | 
										Henry, FelixClare, Gordon | RU2808075C1 | 
							
              
                | METHOD FOR CODING AND DECODING OF IMAGES, CODING AND DECODING DEVICE AND CORRESPONDING COMPUTER PROGRAMS | 2020 | 
										Henry, FelixClare, Gordon | RU2751082C1 | 
							
              
                | DEVICE FOR ENCODING AND DECODING IMAGES | 2021 | 
										Henry, FelixPateux, StephaneClare, Gordon | RU2779843C1 |