1. A defect detection apparatus comprising: an angle extractor configured to extract a slope angle of a pattern from an original image in which a plurality of the patterns are formed at periodic intervals; a pattern period extractor configured to extract a pattern period at which the patterns are separated from each other, by using the slope angle; and an image shifter configured to shift the original image by the pattern period in a direction perpendicular to the slope angle to form the shifted image.