In order to meet the requirements of high data throughput and real-time inspection, fast candidate object detection algorithm must be adopted in high speed and wide breadth vision inspection system for surface defects image. After analyzing traditional image difference subtraction algorithm, based on the theory of mathematical morphology, Top-Hat operation algorithm is chosen to remove image noise and perform the task of object detection based on gray morphology theory. The result of experiments shows that ...