An image processing apparatus comprising: a light amount determining section that controls, on a basis of a pixel value of each pixel of a region of an imaged image, a light amount irradiated to an object being imaged; an exposure ratio determining section that receives the light amount from the light amount determining section and determines a ratio of an exposure amount of a long time exposure pixel to an exposure amount of a short time exposure pixel on a basis of a ratio of pixels the pixel value of each of which is saturated, among pixels included in the region of the imaged image; and an image processing section that adjusts a pixel value of each of the long time exposure pixel and the short time exposure pixel on a basis of the light amount and the ratio of the exposure amount, wherein the light amount determining section makes the light amount a first light amount when a small pixel ratio of pixels having a pixel value smaller than a first predetermined pixel value exceeds a first threshold and, if the small pixel ratio does not exceed the first threshold, the light amount determining section makes the light amount a second light amount when a medium pixel ratio of pixels having a pixel value smaller than a second predetermined pixel value exceeds a second threshold; wherein the first predetermined pixel value is less than the second predetermined pixel value, and the first light amount is larger than the second light amount; and wherein the exposure ratio determining section determines whether to increase the ratio of the exposure amount in dependence on whether a saturation ratio of saturated pixels is greater than a third threshold. a light amount determining section that controls, on a basis of a pixel value of each pixel of a region of an imaged image, a light amount irradiated to an object being imaged; an exposure ratio determining section that receives the light amount from the light amount determining section and determines a ratio of an exposure amount of a long time exposure pixel to an exposure amount of a short time exposure pixel on a basis of a ratio of pixels the pixel value of each of which is saturated, among pixels included in the region of the imaged image; and an image processing section that adjusts a pixel value of each of the long time exposure pixel and the short time exposure pixel on a basis of the light amount and the ratio of the exposure amount, wherein the light amount determining section makes the light amount a first light amount when a small pixel ratio of pixels having a pixel value smaller than a first predetermined pixel value exceeds a first threshold and, if the small pixel ratio does not exceed the first threshold, the light amount determining section makes the light amount a second light amount when a medium pixel ratio of pixels having a pixel value smaller than a second predetermined pixel value exceeds a second threshold; wherein the first predetermined pixel value is less than the second predetermined pixel value, and the first light amount is larger than the second light amount; and wherein the exposure ratio determining section determines whether to increase the ratio of the exposure amount in dependence on whether a saturation ratio of saturated pixels is greater than a third threshold. <EOS>