Patent ID: 8275207
Filing Date: 2012-09-25
Classification: H04N

Abstract:
1. A digital data encoding device which receives pixel value data in a digital format indicating a signal from a light receiving unit in which at least a pixel for sensing a first color and a pixel for sensing a second color are periodically arranged, and processes the pixel value data, comprising: a difference generation unit that outputs a difference value between first pixel value data from a first pixel which senses a first color and second pixel value data from a second pixel which senses the first color being positioned in a vicinity of the first pixel as a first pixel difference value, and outputs a difference value of third pixel value data from a third pixel which senses a second color and fourth pixel value data from a fourth pixel which senses the second color being positioned in a vicinity of the third pixel as a second pixel difference value; a quantization reference value determination unit that obtains a maximum value between an absolute value of the first pixel difference value and an absolute value of the second pixel difference value as a maximum pixel value difference, and determines a value being greater than or equal to the obtained maximum pixel value difference as a quantization reference value; an offset value setting unit that sets a difference between the first pixel value data and the quantization reference value as a first offset value and sets a difference between the third pixel value data and the quantization reference value as a second offset value; a value to be quantized setting unit that sets a difference between the second pixel value data and the first offset value as a first value to be quantized and sets a difference between the fourth pixel value data and the second offset value as a second value to be quantized; and a quantization unit that quantizes the first value to be quantized and the second value to be quantized and obtains first compressed encoded pixel value data and second compressed encoded pixel value data.