1. An image processing device comprising: a weight determination unit configured to, in order to synthesize at a predetermined focus position a plurality of pieces of image data captured at multiple viewpoints, determine a weight for the synthesis so as to reduce aliasing element included in frequency characteristics of the plurality of pieces of image data.