CPC H04N 19/85 (2014.11) [H04N 19/182 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11); H04N 19/42 (2014.11)] | 20 Claims |
1. A camera module comprising:
an image sensor configured to generate image data comprising a plurality of pixels;
a memory;
a compressor configured to:
divide the plurality of pixels included in the generated image data, into a plurality of pixel groups;
with respect to each of the plurality of pixel groups into which the plurality of pixels is divided, calculate a representative pixel value of a corresponding pixel group, based on pixel values of multiple pixels included in the corresponding pixel group such that a single representative pixel value is calculated for each of the plurality of pixel groups;
store first compressed data generated based on the calculated representative pixel value of each of the plurality of pixel groups in the memory;
with respect to each of the plurality of pixel groups into which the plurality of pixels is divided, calculate residual values representing differences between the pixel values of the multiple pixels included in the corresponding pixel group and the representative pixel value of the corresponding pixel group; and
store second compressed data generated based on the calculated residual values of each of the plurality of pixel groups in the memory; and
an interface configured to:
based on receiving a request for an image having a first resolution, read the stored first compressed data from the memory, and output the read first compressed data; and
based on receiving a request for an image having a second resolution higher than the first resolution, read the stored first compressed data and the stored second compressed data from the memory, and output the read first compressed data and the read second compressed data.
|