Image encoding apparatus, image encoding method, and...

Image analysis – Image compression or coding – Quantization

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C382S238000

Reexamination Certificate

active

06449395

ABSTRACT:

This application is based on an application No. H09-289730 filed in Japan, the content of which is hereby incorporated by reference.
BACKGROUND OF THE INVENTION
(1) Field of the Invention
This invention relates to an image encoding apparatus and an image encoding method which perform an orthogonal transformation, quantization, and entropy coding, and relates to a recording medium in which an image encoding program is recorded.
(2) Description of the Prior Art
Recently, great efforts have been made to develop efficient techniques for coding/compressing images. Among these techniques, JPEG is an international standard for coding and decoding still pictures; MPEG1 Video is an international standard for coding and decoding moving pictures.
According to these image coding/compressing methods, images are encoded and converted into compressed data as follows. Image data is first divided into blocks. Each block is subjected to an orthogonal transformation process to output orthogonal transformation coefficients. The obtained orthogonal transformation coefficients are subjected to a quantization process to output quantized orthogonal transformation coefficients. The obtained quantized orthogonal transformation coefficients are entropy-encoded, resulting in variable-length encoded/compressed data.
Digital still cameras, digital video cassette recorders and the like have been developed using such image compressing techniques. These products have their own numbers of recordable images or recording times. However, in case of variable-length encoding methods, the assigned number of recordable images or the assigned recording time may not be ensured since the amount of encoded data for each image is different from each other.
The following method is known as a method of ensuring the assigned number of recordable images or the assigned recording time. According to this method, quantization widths used for the quantization process are temporarily determined. Using the determined quantization widths, the quantization process and the subsequent processes are performed as described earlier. In doing so, a total amount of encoded data of an image is compared to a target encode amount of the image to predict a suitable quantization width for achieving an amount which is close to the target amount. When the predicted quantization width is close to a quantization width of the preceding image encoding and when the current total encode amount is less than a target encode amount, the variable-length encode data is output. Otherwise, another quantization width is used to repeat the same processes.
Japanese Laid-Open Patent Application No. 4-207266 “Image Data Encoding Apparatus and Method” discloses an encoding/compressing method in which different quantization tables for respective colors are used to encode/compress color images. With this construction, it is possible for this method to encode each image in a certain process time by assigning a different encode amount for each color and each block.
However, the former method has a problem that each encoding takes a different encode time, and that each encoding takes a long time since the encode process is repeated at least twice, though each encode amount is equal to or less than a target amount.
Also, the latter method has a problem that each encoding takes a long time since the encode process is repeated at least twice, though a constant encode time is kept.
SUMMARY OF THE INVENTION
It is therefore an object of the present invention to provide an image encoding apparatus, an image encoding method, and a recording medium storing an image encoding program which encode an image with a certain process time so that a certain error or less is produced between the generated encode amount and a target encode amount, that is, use a less process time than conventional ones and obtain a high-quality image.
The above object is achieved by an image encoding apparatus for generating encoded images which have encode amounts close to corresponding target encode amounts, the image encoding apparatus comprising: a relationship storage unit for storing relationships, for each of one or more standard images, between a group of a plurality of quantization widths and one or more groups of a plurality of encode amounts, where each of the one or more groups of the plurality of encode amounts is obtained by encoding each of the one or more standard images using the plurality of quantization widths respectively; a quantization width determining unit for obtaining a target encode amount and referring to the relationship storage unit to obtain one or more quantization widths which correspond to one or more encode amounts which each are closest to the obtained target encode amount in a corresponding one of the one or more groups of the plurality of encode amounts; and an encoding unit for obtaining an image and encoding the obtained image using the one or more quantization widths obtained by the quantization width determining unit.
With the above construction, it is possible to have an effect that each image is encoded with an encode amount close to the target encode amount since each image is encoded with a quantization width which corresponds to an encode amount closest to the target encode amount in the relationships the apparatus holds.
In the above image encoding apparatus, the encoding unit may include: a predicted encode amount calculating unit for obtaining an image, generating one or more quantization tables using the one or more quantization widths obtained by the quantization width determining unit, and calculating one or more predicted encode amounts for the obtained image using the generated one or more quantization tables; an optimum quantization width determining unit for reading the relationships from the relationship storage unit, obtaining a quantization width corresponding to the target encode amount using the one or more predicted encode amounts and using the read relationships, and determining the obtained quantization width as the optimal quantization width; and an image encoding unit for generating a quantization table using the optimal quantization width, and encoding the obtained image using the generated quantization table.
With the above construction, it is possible to have an effect that each image is encoded with an encode amount closer to the target encode amount than before since one or more predicted encode amounts are calculated using the one or more quantization tables, a quantization width corresponding to the target encode amount is obtained using the one or more predicted encode amounts and using the read relationships, the obtained quantization width is determined as the optimal quantization width, and the image is encoded with the optimal quantization width.
In the above image encoding apparatus, each image to be obtained by the encoding unit may include a plurality of block groups which each include a predetermined number of blocks, and the image obtaining unit obtains a predetermined number of blocks from predetermined positions in each of the plurality of block groups.
With the above construction, it is possible to have an effect that the process time is reduced since a smaller amount of image data is read to be used for predicting the relationship between the quantization width and the encode amount.
In the above image encoding apparatus, each image to be obtained by the encoding unit may include a plurality of block groups which each include a predetermined number of blocks, each block includes a predetermined number of pixels, and the image obtaining unit obtains a predetermined number of pixels from predetermined positions in each of the plurality of block groups.
With the above construction, it is possible to have an effect that the process time is reduced since a smaller amount of image data is read to be used for predicting the relationship between the quantization width and the encode amount. It is also possible to have an effect that the relationship between the quantization width and the encode amount is predicted accurately ev

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Image encoding apparatus, image encoding method, and... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Image encoding apparatus, image encoding method, and..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Image encoding apparatus, image encoding method, and... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2873929

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.