| With the continuous development of economy and an increasing quantity of oil transportation ships, the possibility of oil spill incidents swells at the same time. Therefore, it is necessitous to monitor oil spill incidents in a real-time and effective way. As an effective method of detection the oil spill, the detection technology based on infrared image has more and more important practical significance and research value, and is paid wider attention to at home and abroad.This thesis designs a water surface oil spill detection system which is based on DSP and CPLD hardware system and utilizes the infrared image detection technology.The process of system design is also introduced in detail, which mainly includes the following aspects:Firstly, the functional requirements of the hardware system are analyzed and determined, which mainly consists of six modules: image acquisition, image decoding, image cache, image processing, data transmission and peripheral equipment control. According to the properties of the system application, the image processing hardware platform based on DSP and CPLD is designed with the analysis of several kinds of image processing platform, and the overall scheme of the system is also put forward. The hardware platform with the TMS320DM642 chip as a core is completed after the design of the hardware modules circuit is designed.Secondly, according to the characteristics of the water surface images, image denoising methods are studied, and the median filtering as the denoising algorithm is ultimately selected, which effectively reduces the influence of noise on the image quality. The Otsu method is chosen as the image segmentation algorithm to segment the target information from the images at the same time. Because of the effect of non-uniform illumination on the image segmentation, the Otsu segmentation method of background reconstruction based on the differences among frames is put forward, which effectively solves the non-uniform illumination problem, and correctly extracts the target information.Thirdly, in the system hardware platform and the CCS software development environment, system software design and debugging is completed. The oil spill detection system functions of surface image acquisition, A/D conversion, image filtering and segmentation algorithm is overall carried out eventually. |