Adding data of pixels