Research on Real-Time Distortion Correction Hardware System of Color Image for Medical Electronic Endoscope

Author
SongLingLing
Advisor
YuDaoYin
School
Tianjin University
Major
Optical Engineering
Classification
TH772 Medical electrical machinery
Degree
Master's thesis
Year
2004
Downloads
203
Citations
9

Request the full text

Abstract

Medical Electronic Endoscope (MEE) is a widely used medical instrument,through which physicians can directly observe the form and pathological changes ofinside organs and diagnose illness easily. Because wide-field lens are adopted in MEE,output images have serious distortion. Software, limited by computer’s calculatingspeed, can only correct the distortion of static images but not the distortion ofdynamic images. So we use the high speed character of very large scale integration(VLSI) to reach real-time need. From the point of digital image processing, image distortion correction isactually the problem of image renewing, which includes spatial correction andgray-level correction. This paper is based on the dot-array plate correction method.Standard dot-array plate is placed in front of MEE, after whose optical system thedistorted dot-array plate image is received. In comparison the standard dot-array plateimage with the distorted one, the distortion function can be found to implement spatialcorrection. And zero-class interpolation is selected for correction of gray level in viewof the speed of hardware access. The method of hardware distortion correction is that the spatial correction dataare calculated first under software circumstance, then converted into the address ofhardware memorizer and stored in the hardware look-up table, through which data canbe read out to correct gray level. In order to minimize the amount of hardware look-uptable and minish the volume of hardware system, hardware correction process shouldbe imitated by software to insure the quality of corrected images. The function of hardware system includes decoding of video signals, correctionof distorted images and encoding of corrected digital images. SAA7111, A/D videochip of Philips Co. Ltd., is selected as the decoder to convert video into 16 bit YUVdigital images for correction; Bt864, D/A video chip of Conexant Co. Ltd., as theencoder to output the video of corrected images; SRAM as the memorizers to storeinput and output images; EPROM as the look-up table; FPGA as the video controlcenter to implement control of other chips. FPGA, acting as the control center, is utilized to take charge of decoding,correcting and encoding, so program design of FPGA is the most important part ofthis paper. In accordance with the function of each chip, we introduce the generationmethod of outside logical control in detail and present the related waveform figuresand the debugging result of the whole hardware system. At the end of this paper, we analyze the error source of distortion correctionhardware system, compare the effect of distortion correction, summarize thecharacters of system and put forward the improvement way. This hardware systemworks in PAL; field frequency is 50Hz; size of correcting image is 702x576 pixels;input and output are both standard video signals so that corrected images can bedisplayed on monitor directly. In distortion correction aspect, the distorted image’srelative distortion is –19.2% and the corrected image’s relative distortion is -0.7%, sowe can conclude that the hardware system effectively reduce the distortion of optical II<WP=5>system. In real-time aspect, delay time between distorted images’ input and correctedimages’ output is 40ms, which human’s eyes cannot be aware of at all, so thehardware system reaches the demand of real-time character.

Table of contents

Abstract 3-4 Abstract 4-9 first chapter 9-18 1.1 electronic endoscope to develop an overview of 9-12 1.1.1 endoscope development Introduction 9-10 1.1.2 electronic endoscope imaging principle and constitute 10-11 1.1 .3 electronic endoscope in the clinical application on the merits 11 1.1.4 electronic endoscope main function 11-12 1.2 image distortion real-time correction system the purpose and significance 12-15 1.2.1 aberration is generated and corrected significance 13-14 1.2.2 at home and abroad study dynamic 14-15 1.3 paper 15-18 the second chapter of the image distortion correction principles and methods of 18-28 2.1 image geometric computing, the general principle 18 -20 2.1.1 geometric computing 18-19 2.1.2 Space Transformation to achieve 19 2.1.3 grayscale interpolation 19 -20 2.2 Distortion Correction Method choice 20-24 2.2.1 known optical parameters of demand distortion curve 20-23 2.2.2 Standard model calibration France 23-24 2.3 lattice model calibration process 24-26 Chapter Summary 26-28 lattice model correction algorithm software design and hardware simulation 28-44 3.1 of MATLAB Introduction 28-29 3.2 image gray 29-30 3.3 image threshold split 30-36 3.3.1 simple histogram segmentation 31-32 3.3.2 optimal threshold segmentation 32-34 3.3. three types of variance threshold segmentation 34-36 3.4 Interpolation and correction.; 36-37 3.5 hardware calibration software simulation and Methods 37-43 3.5.1 RGB and YCbCr conversion and digital video sampling 37-39 3.5.2 is suitable for hardware calibration method options 39-41 3.5.3 lookup table data distribution 41-43 Chapter Summary 43-44 the fourth chapter of the hardware circuit design 44-56 4.1 overall program nbsp 44 4.2 hardware systems function and composition; 44-51 4.2.1 video decoder 45-47 4.2.2 frame memory 47 4.2.3 line drive 47-49 4.2.4 video processor FPGA 49-51 4.2.5 lookup table 51 4.2.6 video encoder 51 4.3 hardware circuit PCB design 51-55 4.3.1 PCB design of the general principles 52-53 < br /> 4.3.2 circuit anti-jamming measures 53-54 4.3.3 mixed-signal PCB design principles 54-55 Chapter Summary 55-56 < br /> Chapter FPGA programming 56-84 5.1 decoder and encoder I2C register settings 56-63 5.1.1 I2C bus, the basic principles of 56-57 5.1.2 AHDL for I2C communication 57-61 5.1.3 decoder and encoder I2C configuration 61-63 5.2 encoder synchronization control 63-72 5.2.1 Television System 63-67 5.2.2 encoders is the synchronous design 67-72 5.3 memory read / write control 72-77 5.3.1 The frame memory addressing 72-73 5.3.2 chip select and read and write control signal 73-77 5.4 line driver control logic 77-78 5.5 YUV and YCbCr conversion 78-80 5.5.1 the CCIR -601 video standard 78 5.5.2 YUV and YCbCr, 78-79 5.5.3 latch buffer design 79-80 5.6 Find table reads 80-81 5.7 overall circuit debugging 81-83 5.7.1 standard color bar signal 81-82 5.7. the original image input 2 - output 82 5.7.3 output correction image 82-83 Chapter Summary 83-84 source of error Accuracy Analysis and Prospect 84-92 6.1 sources of error and accuracy analysis 84-87 6.2 calibration image image quality evaluation 87-90 <br / 6.3 Conclusions and Outlook 90-92 References 92-95 thank 95-96 during the period of the master's degree and recruitment of academic papers 96

Related dissertations

  1. Research on Real-Time Distortion Correction and Automatic Brightness Control Hardware System for Medical Electronic Endoscope
    ZhangShuHua ·Tianjin University ·2005 ·Master's thesis
  2. The Design and Development of Video Control Node Based on DM6467T
  3. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  4. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  5. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  6. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  7. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  8. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  9. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  11. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  12. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  13. The Design of Digital Ultrasonic Nondestructive Testing System
  14. Design and Implementation of High Speed Data Recorder Based on FPGA
  15. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  16. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  17. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  18. The Design and Research of PCI Data Acquisition Card Based on FPGA
  19. Usb Without Invasive Data Collection Technology Research
  20. Research on On-line Diameter Measurement System Based on FPGA