A method, executed by an inspection apparatus, of inspecting a printed material for anomalies, the method comprising:
- obtaining an inspection target image by irradiating with light a printed material to be inspected and receiving reflected light from the printed material;
- obtaining a reference image based on printing data used for printing the printed material;
- correcting the reference image using predetermined weighting coefficients so that the reference image reflects an effect of flare on a pixel of interest in the printed material from neighboring pixels that occurs when the inspection target image is obtained;
- and
- comparing the corrected reference image with the inspection target image to inspect the printed material for anomalies.