1. A method of inspecting a substrate, comprising: dividing the substrate into inspection regions; selecting a main inspection region among the inspection regions; obtaining a main image of the main inspection region and sub-images of sub-inspection regions adjacent to the main inspection region; obtaining an average image of the main image and the sub-images; and detecting defects in the main inspection region by comparing the average image with the main image.