Font Size: a A A

Infrared Image Acquisition And Processing Software Design Based On Camera Link And USB Interface

Posted on:2021-01-28Degree:MasterType:Thesis
Country:ChinaCandidate:Z D WangFull Text:PDF
GTID:2518306107952889Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
At present,the data transmission circuits of most infrared cameras are designed with Camera Link or USB interface,and the PC-side software that supports Camera Link interface or USB interface data transmission usually only contains image acquisition and display functions,and does not have infrared image processing functions and infrared camera performance Index calculation function.Therefore,the design purpose of this paper is to develop a set of PC-side software compatible with Camera Link and USB3.0interfaces for infrared image acquisition,processing and performance index analysis.This article first proposes the overall design of the software according to the functional requirements of the software.The software mainly includes the Camera Link data transmission module,USB3.0 data transmission module,image processing module,image storage and playback module,and performance index measurement module.In the Camera Link data transmission module,use the serial communication function to set the camera parameters,set the capture card parameters in the Cam Expert application and generate the registration file,and register the camera and the capture card through the registration file.In the program,the Sapera LT class library is called to realize the continuous collection of infrared image data.After the collection is successful,the image data processing is completed in the callback function,and then the image data is obtained for image storage or measurement of camera performance indicators,finally,the image is displayed.In the USB3.0 data transmission module,the protocol command code is sent to the USB device through the control endpoint,and a sub-thread is created to receive the infrared image data.After receiving successfully,complete image data processing in the main thread,and acquire image data for image storage or measure camera performance indicators,and then display the packaged BMP bitmap in memory drawing.Due to the serious non-uniformity of the original infrared image,many dead pixels,and low image contrast,the image processing module in the software includes: two-point correction,through gain correction and offset correction to complete the non-uniformity correction of the image;dead pixel detection and replacement,detect dead pixels by comparing withsurrounding pixels and comparing with the average value of the image,replace the dead pixels with the mean of the surrounding pixels;image enhancement,stretch the concentrated gray level of the original infrared image to the full gray range Evenly distribute,improve image contrast;mirror image processing according to camera placement angle.The saved images can be played back.In order to evaluate the performance of the infrared camera,the performance index measurement module in the software includes: frame rate measurement,non-uniformity index measurement,and NETD index measurement.Lastly,we tested the functions and performance indicators of the software,including real-time image display for Camera Link and USB3.0 interface,image processing effect test,camera performance index calculation and analysis,etc.The test results show that all the software designs meet the expected requirements.
Keywords/Search Tags:Image Acquisition, Camera Link, USB, Image Processing, Performance index calculation
PDF Full Text Request
Related items