An encoding apparatus includes circuitry. The circuitry is configured to read predetermined unit image data that is a predetermined plurality of pixel units of image data; generate pixel unit code data obtained by encoding the read predetermined unit image data on a pixel basis; generate predetermined unit code data obtained by encoding the read predetermined unit image data on a predetermined unit basis; compare a code length that is a data amount of the pixel unit code data with a data amount of the predetermined unit image data to make determination; and output the predetermined unit code data in a case where the code length is greater than the data amount of the predetermined unit image data and output the pixel unit code data in a case where the code length is not greater than the data amount, on basis of a result of the determination.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An encoding apparatus comprising circuitry configured to: read predetermined unit image data that is a predetermined plurality of pixel units of image data; generate pixel unit code data obtained by encoding the read predetermined unit image data on a pixel basis; generate predetermined unit code data obtained by encoding the read predetermined unit image data on a predetermined unit basis; compare a code length that is a data amount of the pixel unit code data with a data amount of the predetermined unit image data to make determination; and output the predetermined unit code data in a case where the code length is greater than the data amount of the predetermined unit image data and output the pixel unit code data in a case where the code length is not greater than the data amount of the predetermined unit image data, on basis of a result of the determination.
2. The encoding apparatus according to claim 1 , wherein the circuitry is configured to perform encoding of the read predetermined unit image data on the pixel basis and encoding of the read predetermined unit image data on the predetermined unit basis in parallel.
3. The encoding apparatus according to claim 1 , wherein the predetermined plurality of pixel units is a number of pixels in one line.
4. The encoding apparatus according to claim 1 , wherein an expansion rate of a worst compression rate of a predetermined unit encoder is smaller than an expansion rate of a worst compression rate of a pixel unit encoder.
5. An encoding apparatus comprising: a memory; and circuitry configured to: read predetermined unit image data that is a predetermined plurality of pixel units of image data; store the read predetermined unit image data in the memory; generate pixel unit code data obtained by encoding the read predetermined unit image data on a pixel basis; generate predetermined unit code data obtained by encoding the predetermined unit image data stored in the memory on a predetermined unit basis; compare a code length that is a data amount of the pixel unit code data with a data amount of the predetermined unit image data to make determination; and output the encoded predetermined unit code data in a case where the code length is greater than the data amount of the predetermined unit image data and output the pixel unit code data in a case where the code length is not greater than the data amount of the predetermined unit image data, on basis of a result of the determination.
6. The encoding apparatus according to claim 5 , wherein the circuitry is configured to serially perform encoding of the read predetermined unit image data on the pixel basis and encoding of the predetermined unit image data stored in the memory on the predetermined unit basis.
7. The encoding apparatus according to claim 6 , wherein the circuitry is configured to perform the encoding of the predetermined unit image data stored in the memory on the predetermined unit basis in a case where the code length is larger than the data amount of the predetermined unit image data on basis of the result of the determination.
8. The encoding apparatus according to claim 5 , wherein the predetermined plurality of pixel units is a number of pixels in one line.
9. The encoding apparatus according to claim 5 , wherein an expansion rate of a worst compression rate of a predetermined unit encoder is smaller than an expansion rate of a worst compression rate of a pixel unit encoder.
10. An encoding method comprising: reading predetermined unit image data that is a predetermined plurality of pixel units of image data; storing the read predetermined unit image data; generating pixel unit code data obtained by encoding the read predetermined unit image data on a pixel basis; comparing a code length that is a data amount of the pixel unit code data with a data amount of the predetermined unit image data to make determination; and outputting predetermined unit code data generated by encoding the predetermined unit image data stored by the storing, on a predetermined unit basis, in a case where the code length is greater than the data amount of the predetermined unit image data, and outputting the pixel unit code data in a case where the code length is not greater than the data amount of the predetermined unit image data, on basis of a result of the determination.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
January 29, 2019
February 11, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.