1. An image processing device comprising: a global motion detection unit configured to detect a global motion indicating a motion of an entire image; a local motion detection unit configured to detect a local motion indicating a motion of each of areas of an image; and a main subject determination unit configured to determine a main subject based on the global motion and the local motion.