Processing of images using a limited number of bits
First Claim
1. A method for image processing, in which the number of bits is fixed in an encoded bit string, wherein a pixel is encoded into the bit string, the method comprising:
- if a prediction value is not available for the pixel, encoding a quantized pixel value to the bit string,if the prediction value is available for the pixel,determining a difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and said certain step size being different in each method for encoding, wherein the method further comprising;
determining a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits;
encoding said code word indicating the selected encoding method and the quantizer step size, and the quantized value to the bit string,in which method the encoded bit string has a fixed-length smaller than the length of the originally digitized pixel for each encoded pixels in the image bit string before encoding.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method as well as a system, a device, an encoder and a decoder, and a computer software product for image processing by the method. In the invention, the number of bits is limited in the bit string of a pixel to be processed, wherein the pixel is encoded with the limited number of bits. A prediction value corresponding to said pixel is searched for. If it is found, the difference between the pixel and the prediction value is determined, to select the method for encoding the bit string of said pixel. Also, a code word is encoded in the bit string, to indicate the selected encoding method. If the prediction value is missing, the number of bits in said pixel is limited by quantizing. By means of the invention, a fixed number of bits is obtained for all encoded pixels in an image.
41 Citations
30 Claims
-
1. A method for image processing, in which the number of bits is fixed in an encoded bit string, wherein a pixel is encoded into the bit string, the method comprising:
-
if a prediction value is not available for the pixel, encoding a quantized pixel value to the bit string, if the prediction value is available for the pixel, determining a difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and said certain step size being different in each method for encoding, wherein the method further comprising; determining a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits;encoding said code word indicating the selected encoding method and the quantizer step size, and the quantized value to the bit string, in which method the encoded bit string has a fixed-length smaller than the length of the originally digitized pixel for each encoded pixels in the image bit string before encoding. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 23)
-
-
9. An image processing system comprising a device comprising a processor configured to process an image, wherein the device comprises means for encoding a pixel to an encoded bit string, in which the number of bits is fixed, wherein:
-
if a prediction value is not available for the pixel, the means for encoding is configured to encode a quantized pixel value to the bit string, if the prediction value is available, the device is configured to determine a difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and said certain step size being different in each method for encoding a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits, and,to encode a code word indicating the selected encoding method and the quantizer step size, and the quantized value to the bit string, in which device the encoded bit string has fixed-length smaller than the length of the originally digitized pixel for each encoded pixel in the image bit string before encoding. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A device for image processing, which device comprises a processor configured to process an image, wherein the device comprises means for encoding a pixel to an encoded bit string, in which the number of bits is fixed, wherein:
-
if a prediction value is not available for the pixel; the means for encoding is configured to encode a quantized pixel value to the bit string if the prediction value is available, the means for encoding is configured to determine the difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and to determine a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits, and,to encode said code word indicating the selected encoding method and the quantizer step size, and the quantized value to the bit string, in which device the encoded bit string has fixed-length smaller than the length of the originally digitized pixel for each encoded pixel in the image bit string before encoding. - View Dependent Claims (19, 20, 21, 22, 24)
-
-
25. A circuit for image processing, which circuit comprises an encoder and a decoder, which encoder comprises encoding means configured to encode a pixel to an encoded bit string, in which the number of bits is fixed, wherein:
-
if a prediction value is not available for the pixel, the encoding means is configured to encode a quantized pixel value to the bit string, if the prediction value is available, the encoding means is configured to determine a difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and said certain step size being different in each method for encoding determine a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits, and,to encode said code word indicating the selected encoding method and quantizer step sizes and the quantizer value to the bit string, in which the circuit the encoded bit string has fixed-length smaller than the length of the originally digitized pixel for each encoded pixel in the image bit string before encoding. - View Dependent Claims (26, 27, 28)
-
-
29. A device for image processing, comprising:
-
a decoder for decoding an encoded bit string to obtain pixels of an image, in which bit string the number of bits is fixed, wherein the bit string comprises a code word and a value, wherein the decoder comprises decoding means configured to recognize the code word to select a decoding method indicated by the code word among at least a first decoding method and a second decoding method corresponding with the encoding method used in forming the bit string; to determine a dequantizer value on the bases of the selected decoding method, wherein the decoder comprises a memory for storing at least one decoded pixel as a prediction value, wherein the device is arranged to retrieve the prediction value corresponding to the pixel from said memory, wherein said code word has been determined on the basis of the original and the limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits,wherein said device is configured to dequantize said value by said dequantizer value to obtain a dequantized value, and if the first decoding method was selected, the device is configured to use said dequantized value to obtain the pixel value, if the second decoding method was selected, the device is configured to use said dequantized value and said prediction value to obtain the pixel value, in which device the encoded bit string has fixed-length smaller than the length of the obtained pixel value for each pixel in the image bit string before encoding.
-
-
30. A device for image processing, which device comprises a processor configured to process an image, wherein the device comprises encoding means for encoding a pixel to an encoded bit string, in which the number of bits is fixed, wherein
if a prediction value is not available for the pixel: -
the encoding means is configured to encode a quantized pixel value to the bit string, if the prediction value is available, wherein the encoding means is configured to determine the difference between the pixel value and the prediction value, which difference is used for selecting a method for encoding among more than two encoding methods to encode said pixel into the bit string, each method for encoding having a certain step size for quantizing a value, and said certain step size being different in each method for encoding to determine a code word indicating the selected encoding method on the basis of the original and limited number of bits in the pixel in such a way that the code word length does not exceed N−
(M−
1) where M corresponds to the limited number of bits and N corresponds to the original number of bits, and,to encode the code word indicating the selected encoding method and the quantizer step sizes and the quantized value to the bit string; in which device the encoded bit string has fixed-length smaller than the length of the originally digitized pixel for each encoded pixel in the image bit string before encoding.
-
Specification