Average by pixels.

Signed-off-by: Yuriy Rusinov <yrusinov@gmail.com>
flt file calibration was set.

Signed-off-by: Yuriy Rusinov <yrusinov@gmail.com>