Smoothing of image.

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