Claims
- 1. A method for encoding images, comprising:
decomposing images into multiple image subsections; deriving the energy for the individual image subsections; dynamically deriving an energy threshold individually adapted to every image according to the energy of the image subsections, a number of bits available for encoding the image, and a coding efficiency of an image encoder; and selecting image subsections in each image for encoding according to the individually adapted energy threshold; and encoding the selected image subsections for each image while discarding nonselected image subsections.
- 2. A method according to claim 1 wherein deriving the energy thresholds for each image includes repeatedly discarding one or more of the multiple image subsections with a lowest energy and computing another threshold using only the remaining nondiscarded image subsections until one or more of the remaining lowest energy image subsections is greater than the computed energy threshold.
- 3. A method according to claim 1 wherein the energy threshold is derived according to a total energy for all the selected nondiscarded image subsections and a number of bits available for encoding the selected nondiscarded image subsections.
- 4. A method according to claim 3 wherein the energy threshold is derived according to the following:
- 5. A method according to claim 1 including ranking the image subsections according to the amount of energy and discarding the image subsections starting with one of the image subsections with a lowest energy.
- 6. A method according to claim 1 including:
computing a standard deviation σi for each one of the image subsections; computing histogram indices for the standard deviations σi; calculating the energy threshold for all image subsections; discarding all image subsections with a smallest histogram index when the energy associated to the lowest histogram index is less than the energy threshold; and repeatedly recalculating the energy threshold only with the nondiscarded image subsections and discarding all image subsections in the lowest nondiscarded histogram index until the energy associated to the lowest nondiscarded histogram index is greater than the energy threshold.
- 7. A method according to claim 1 including;
decomposing the image includes multiple frames each decomposed into multiple blocks; allotting a given bit rate for encoding the multiple frames; predicting a distortion or quality value for each one of the frames which depends on the energy thresholds adapted to the respective frames; setting a minimum frame quality value; and allotting more bits to frames that have a predicted quality values lower than the minimum frame quality value and discarding other frames until the quality of the nondiscarded frames is above the minimum frame quality value.
- 8. A method according to claim 7 including: predicting the distortion value for each frame according to the following:
- 9. A method according to claim 7 including:
allotting an increased number of bits B=B+Inc for the frames having quality values smaller than the minimum frame quality value where 29Inc=ANC+AK12(∑σi>Tσi)2255210MIN/10-1N∑σi>Tσi2-B,and MIN is a user selectable minimum frame quality value.
- 10. A method according to claim 7 including the following:
estimating a number of bits in an encoder buffer W′ after encoding a current frame according to the current number of bits in the buffer, the target number of bits for encoding the current frame and the number of bits accepted by the communication channel per frame interval; and, skipping a number of frames when the estimated number of bits is greater than a preselected bit overflow threshold number for the buffer.
- 11. A method according to claim 1 including the following:
calculating the energy for the individual image subsections as a standard deviation for the pixels in each image derived according to a number of pixels in the image subsection, pixel values in the ith image subsection and an average of the pixel values in the image subsection.
- 12. A method according to claim 11 including deriving the standard deviations of the pixel values from a previous image frame.
- 13. A method according to claim 11 including estimating the standard deviation for each image subsection according to the absolute value of the pixel values in the image subsection and the average pixel value in the image subsection.
- 14. A method according to claim 11 including simplifying the energy calculation for the image subsections by setting the average pixel value to zero.
Parent Case Info
[0001] This application is a divisional of prior application Ser. Nos. 09/502,166, filed Feb. 11, 2000 and 09/502,167, filed Feb. 11, 2000, which are divisionals of prior application Ser. No. 09/052,882, filed Mar. 31, 1998, now abandoned.
Divisions (3)
|
Number |
Date |
Country |
Parent |
09502166 |
Feb 2000 |
US |
Child |
10066369 |
Jan 2002 |
US |
Parent |
09502167 |
Feb 2000 |
US |
Child |
10066369 |
Jan 2002 |
US |
Parent |
09052882 |
Mar 1998 |
US |
Child |
09502167 |
Feb 2000 |
US |