Directional textures auto-inspection using discrete cosine transform

Abstract
This paper describes a global image restoration scheme using a discrete cosine transform (DCT) that can be used to detect defects in directional textured surfaces automatically. The input spatial domain image is first transformed into the DCT domain so that the dominant directions of the texture in the input image will be compacted into the orthogonal straight lines or impulses through the direct current (DC) component of the spectrum. The linear primitives associated with the high-energies in the DCT domain are eliminated by reducing them to zero before transforming back to the spatial domain. Finally, the defects, if any, are extracted by the thresholding method. Experiments on a variety of product surfaces with directional textures such as straight, slanted, orthogonal, slanted orthogonal, and oblique linear primitives were conducted in this paper. The proposed scheme would blur directional textures and preserved only local defects if they were initially embedded in the image. Furthermore, some preliminary experiments were also conducted to demonstrate the proposed scheme was insensitive to horizontal and vertical shifting, changes in illumination, and image rotation.