In this paper,an automatic registration method based on the borders of ceramic tile for defects detection in the deterministic patterns printed on them is presented.It combines the Radon transform and the geometrical reasoning.The experiments have indicated that the proposed algorithm is simple and fast.It can be applied to detect the common defects of tiles.