| The endoscope image processor is an important part of the endoscopic instruments,which mainly completes image acquisition and optimazation,video display,storage and playback from the front-end lens module.The video and images stored in the Digital Vedio Recorder(DVR)system of the endoscope image controller provides doctors with a detailed observation of the fine tissue morphology of the internal organs and the disease in the human body,which provides good conditions for further diagnosis and treatment of disease.The thesis aims at the research and development of the portable nasopharyngo-scope image controller software system.Based on the research and development achievements of the laboratory,after thorough product technology research,the ISP+ARM+Linux embedded solution is proposed.The ISP completes the image optimization processing of the front-end camera module and outputs BT.656/BT.601 format video.ARM adopts CortexA8 processor S5PV210 to collect video signals output by ISP and complete video stream control functions including real-time display,video recording,video playback,and photographing,with providing good human-machine interaction.The thesis uses layered software design.The bottom layer is device driver layer.It supports the reading of key states and the hooking between ISP and ARM.The middle layer is functional module layer,with fully exploiting ARM's hardware resources and features,designing a kind of video stream architecture,and completing system video stream control functions.The top layer is human-machine interaction layer.It adopts a multi-threaded design method,realizes the control of the state machine conbined with buttons and the Qt interface,and provides users with friendly human-machine interaction.The thesis realizes the core functions of the endoscopic image controller such as the real-time display of endoscopic image with 800×600 resolution and 30 frames per second,video recording and playback based on H.264 video encoding and decoding,photographing and image browsing based on JPEG image encoding and decoding,and human-machine interface interaction based on Qt architecture.After testing,the design and function of the system have achieved the expected goals.In addition to portable nasopharyngoscope elctroinic endoscope,the realized system also applies to cysto-nephro endoscope.The system supports 720P30fps HD video display,recording,taking pictures and playback,and its MIPI interface can be expanded to 1080P30fps Full HD video.It has broad application prospects in clinical diagnosis,medical identification,and intelligent surgical navigation. |