1. An inspecting apparatus comprising: an image pickup camera device generating for each of different exposure times, image data including an inspection region, which is an image region equivalent to an inspection part of an inspection target object; a weighted-image-data generating unit configured to weigh for each of the image data generated with the exposure times different from one another, pixel data based on a difference between a gradation of a first region and a gradation of a second region next to the first region and generate weighted image data; an image-data combining unit configured to generate combined image data obtained by combining the generated respective weighted image data; a determining unit configured to determine a state of the inspection region on the basis of image data of a reference image set as an inspection reference for the inspection part and the generated combined image data; and one or more processors that are configured to perform as the weighted-image-data generating unit, the image-data combining unit, and the determining unit.