1. An image processing apparatus comprising: an obtaining unit configured to obtain a first image captured using a first exposure and a second image captured using a second exposure different from the first exposure; a creating unit configured to create a third image as a reference for combining processing from the first image; and a combining unit configured to perform weighted combination of respective pixels of the first image and the second image using adding coefficients, which are associated with pixel values of the third image, wherein creating the third image includes setting, to a maximum pixel value of pixels within a pre-set range of each pixel of the first image as the center, a pixel value of the pixel selected as the center.