1. A non-uniform image defect inspection method, comprising steps of: a) inputting an original two-dimensional image; b) separating a non-uniform background image from the original two-dimensional image by Discrete Cosine Transform (DCT) to obtain a residual image without the non-uniform background image; and c) binarization segmenting the residual image to extract defects from the residual image so as to obtain inspection results.