Claims
- 1. A method of determining a block size assignment for a block of pixels, the method comprising:
determining a mean for the block of pixels; determining a neighborhood mean for blocks of pixels; determining a contrast ratio as a function of the mean and the neighborhood mean; determining a variance threshold as a function of the contrast ratio; and determining sub-block sizes within the block of pixels as a function of the variance threshold.
- 2. The method set forth in claim 1, wherein the neighborhood mean comprises determining the mean of blocks of pixels adjacent to the given block of pixels.
- 3. The method set forth in claim 1, wherein determining the neighborhood mean is determined by the following relationship:
- 4. The method set forth in claim 1, wherein determining the contrast ratio is determined by the following relationship:
- 5. An apparatus for determining a block size assignment for a block of pixels, the apparatus comprising:
means for determining a mean for the block of pixels; means for determining a neighborhood mean for blocks of pixels; means for determining a contrast ratio as a function of the mean and the neighborhood mean; means for determining a variance threshold as a function of the contrast ratio; and means for determining sub-block sizes within the block of pixels as a function of the variance threshold.
- 6. The apparatus set forth in claim 5, wherein the neighborhood mean comprises means for determining the mean of blocks of pixels adjacent to the given block of pixels.
- 7. The apparatus set forth in claim 5, wherein the means for determining the neighborhood mean is determined by the following relationship:
- 8. The apparatus set forth in claim 5, wherein the means for determining the contrast ratio is determined by the following relationship:
- 9. A computer readable medium containing instructions to perform a method for determining a block size assignment for a block of pixels, the method comprising:
determining a mean for the block of pixels; determining a neighborhood mean for blocks of pixels; determining a contrast ratio as a function of the mean and the neighborhood mean; determining a variance threshold as a function of the contrast ratio; and determining sub-block sizes within the block of pixels as a function of the variance threshold.
- 10. The computer readable medium set forth in claim 9, wherein the neighborhood mean comprises determining the mean of blocks of pixels adjacent to the given block of pixels.
- 11. The computer readable medium set forth in claim 9, wherein determining the neighborhood mean is determined by the following relationship:
- 12. The computer readable medium set forth in claim 9, wherein determining the contrast ratio is determined by the following relationship:
- 13. A method for compressing a block of pixel data of an image, comprising the steps of:
reading a block of pixel data; generating a block size assignment based on the local contrast ratio of pixel values of said block of pixel data and neighboring blocks of said block of pixel data; providing a data structure containing information on said block size assignment; transforming said the pixel data of selected blocks as indicated by said data structure into a frequency domain representation; quantizing said frequency domain data; scanning said quantized data into a serialized stream of data; and coding said serialized stream of data in preparation for transmission.
- 14. The method set forth in claim 13, wherein said step of generating futher comprises:
determining a mean for the block of pixels; determining a neighborhood mean for blocks of pixels; determining the local contrast ratio as a function of the mean and the neighborhood mean; determining a variance threshold as a function of the contrast ratio; and determining sub-block sizes within the block of pixels as a function of the variance threshold.
- 15. The method set forth in claim 14, wherein the neighborhood mean comprises determining the mean of blocks of pixels adjacent to the given block of pixels.
- 16. The method set forth in claim 14, wherein determining the neighborhood mean is determined by the following relationship:
- 17. The method set forth in claim 14, wherein determining the local contrast ratio is determined by the following relationship:
- 18. An apparatus for compressing a block of pixel data of an image, comprising:
means for reading a block of pixel data; means for generating a block size assignment based on the local contrast ratio of pixel values of said block of pixel data and neighboring blocks of said block of pixel data; means for providing a data structure containing information on said block size assignment; means for transforming said the pixel data of selected blocks as indicated by said data structure into a frequency domain representation; means for quantizing said frequency domain data; means for scanning said quantized data into a serialized stream of data; and means for coding said serialized stream of data in preparation for transmission.
- 19. The apparatus set forth in claim 18, wherein the means for generating further comprises:
means for determining a mean for the block of pixels; means for determining a neighborhood mean for blocks of pixels; means for determining the local contrast ratio as a function of the mean and the neighborhood mean; means for determining a variance threshold as a function of the contrast ratio; and means for determining sub-block sizes within the block of pixels as a function of the variance threshold.
- 20. The apparatus set forth in claim 19, wherein the means for determining the neighborhood mean comprises means for determining the mean of blocks of pixels adjacent to the given block of pixels.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] This application claims the benefit of U.S. Provisional Patent Application Serial No. 60/322,488, filed Nov. 16, 2001, pending, which application is incorporated herein by reference in its entirety.