Method, apparatus, system and computer program product for providing compression of image files

Information

  • Patent Application
  • 20070223823
  • Publication Number
    20070223823
  • Date Filed
    March 21, 2006
    19 years ago
  • Date Published
    September 27, 2007
    17 years ago
Abstract
A method of providing compression of image files includes modifying an input image by eliminating a predetermined number of bits from lower bit planes of the input image, and encoding the modified image. Elimination of the predetermined number of bits of the input image may be performed by a bit plane shift of the predetermined number of bits. The image files may then be decompressed by decoding an encoded image, and reconstructing the decoded image by replacing the eliminated predetermined number of bits with replacement bits.
Description

BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING(S)

Having thus described the invention in general terms, reference will now be made to the accompanying drawings, which are not necessarily drawn to scale, and wherein:



FIG. 1 is a schematic block diagram of a mobile terminal according to an exemplary embodiment of the present invention;



FIG. 2 is a schematic block diagram of a wireless communications system according to an exemplary embodiment of the present invention;



FIG. 3 illustrates a block diagram showing an encoding module and a decoding module according to an exemplary embodiment of the present invention; and



FIG. 4 is a block diagram according to an exemplary method of compressing image files according to an exemplary embodiment of the present invention.


Claims
  • 1. A method of providing compression of image files, the method comprising: modifying an input image by eliminating a predetermined number of bits from lower bit planes of the input image; andencoding the modified image.
  • 2. A method according to claim 1, wherein eliminating the predetermined number of bits of the input image comprises performing a bit plane shift of the predetermined number of bits.
  • 3. A method of providing decompression of image files, the method comprising: decoding an encoded image, the encoded image being modified by eliminating a predetermined number of bits from lower bit planes of an input image; andreconstructing the decoded image by replacing the eliminated predetermined number of bits with replacement bits.
  • 4. A method according to claim 3, further comprising selecting the replacement bits to have an optimal value to form a reconstructed image.
  • 5. A method according to claim 4, wherein the optimal value is selected substantially as an average of maximum and minimum values of the eliminated predetermined number of bits.
  • 6. A method according to claim 4, wherein the optimal value is selected as a random value.
  • 7. A method according to claim 4, wherein reconstructing the decoded image further comprises performing a bitwise “or” operation between the reconstructed image and the replacement bits to produce an output image.
  • 8. A method according to claim 3, wherein replacing the eliminated predetermined number of bits comprises performing a bit plane shift of the predetermined number of bits.
  • 9. A method according to claim 3, wherein the predetermined number of bits is k and a value of replacement bits is c=2k−1.
  • 10. A method according to claim 2, wherein encoding the image further comprises inserting a marker to identify that the modified image has been bit plane shifted.
  • 11. A computer program product for providing compression of image files, the computer program product comprising at least one computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: a first executable portion for modifying an input image by eliminating a predetermined number of bits from lower bit planes of the input image;a second executable portion for encoding the modified image.
  • 12. A computer program product according to claim 11, wherein the first executable portion eliminates the predetermined number of bits by performing a bit plane shift of the predetermined number of bits.
  • 13. A computer program product according to claim 12, wherein the second executable portion further includes instructions for inserting a marker to identify that the modified image has been bit plane shifted.
  • 14. A computer program product for providing decompression of image files, the computer program product comprising at least one computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: a first executable portion for decoding the encoded image, the encoded image being modified by eliminating a predetermined number of bits from lower bit planes of an input image; anda second executable portion for reconstructing the decoded image by replacing the eliminated predetermined number of bits with replacement bits.
  • 15. A computer program product according to claim 14, further comprising a third executable portion for selecting the replacement bits to have an optimal value to form a reconstructed image.
  • 16. A computer program product according to claim 15, wherein the optimal value is selected substantially as an average of maximum and minimum values of the eliminated predetermined number of bits.
  • 17. A computer program product according to claim 15, wherein the optimal value is selected as a random value.
  • 18. A computer program product according to claim 15, wherein the second executable portion further includes instructions for performing a bitwise “or” operation between the reconstructed image and the replacement bits to produce an output image.
  • 19. A computer program product according to claim 14, wherein replacing the eliminated predetermined number of bits comprises performing a bit plane shift of the predetermined number of bits.
  • 20. A device for providing compression of image files, the device comprising: a decoder capable of decoding the encoded image, the encoded image being modified by eliminating a predetermined number of bits from lower bit planes of an input image; anda bit plane shift image reconstructor capable of reconstructing the decoded image by replacing the eliminated predetermined number of bits with replacement bits.
  • 21. A device according to claim 20, wherein the bit plane shift image reconstructor is further capable of selecting the replacement bits to have an optimal value to form a reconstructed image.
  • 22. A device according to claim 21, wherein the optimal value is selected substantially as an average of maximum and minimum values of the eliminated predetermined number of bits.
  • 23. A device according to claim 21, wherein the optimal value is selected as a random value.
  • 24. A device according to claim 21, wherein the bit plane shift image reconstructor is further capable of performing a bitwise “or” operation between the reconstructed image and the replacement bits to produce an output image.
  • 25. A device according to claim 20, wherein the bit plane shift image reconstructor is further capable of performing a bit plane shift of the predetermined number of bits.
  • 26. A mobile terminal for providing compression of image files, the mobile terminal comprising: a bit plane shift image modifier capable of modifying an input image by eliminating a predetermined number of bits from lower bit planes of the input image; andan encoder capable of encoding the modified image.
  • 27. A mobile terminal according to claim 26, wherein the bit plane shift image modifier is further capable of performing a bit plane shift of the predetermined number of bits in order to eliminate the predetermined number of bits of the input image.
  • 28. A mobile terminal according to claim 27, wherein the encoder is further capable of inserting a marker to identify that the modified image has been bit plane shifted.
  • 29. A mobile terminal according to claim 26, wherein the encoder is a JPEG encoder.
  • 30. A mobile terminal for providing decompression of image files, the mobile terminal comprising: a decoder capable of decoding the encoded image; anda bit plane shift image reconstructor capable of reconstructing the decoded image by replacing the eliminated predetermined number of bits with replacement bits.
  • 31. A mobile terminal according to claim 30, wherein the bit plane shift image reconstructor is further capable of selecting the replacement bits to have an optimal value to form a reconstructed image.
  • 32. A mobile terminal according to claim 31, wherein the optimal value is selected substantially as an average of maximum and minimum values of the eliminated predetermined number of bits.
  • 33. A mobile terminal according to claim 31, wherein the optimal value is selected a random value.
  • 34. A mobile terminal according to claim 31, wherein the bit plane shift image reconstructor is further capable of performing a bitwise “or” operation between the reconstructed image and the replacement bits to produce an output image.
  • 35. A mobile terminal according to claim 30, wherein the bit plane shift image reconstructor is further capable of performing a bit plane shift of the predetermined number of bits.
  • 36. A mobile terminal according to claim 30, wherein the decoder is a JPEG decoder.