| As information technology continues to develop, digital image processing techniques are increasingly being applied to aerospace, biomedical engineering, industrial inspection, robot vision, and military guidance and culture and the arts and other fields. Image processing is increasingly becoming an eye-catching, and the prospects lofty subjects, and MATLAB language to a powerful scientific computing, flexible program design process, high-quality graphics and interface design visualization, and other procedures and language convenient interface functions, the Internet has become the international scientific community (especially the automatic control areas) the most influential, the most dynamic software. MATLAB also known as Matrix Laboratories, its powerful computing capability matrix other languages is incomparable, and the matrix operation is the fundamental point for image processing. Therefore, this paper attempts to MATLAB as a platform for image processing system development and design.The development of the system based on software design principles to determine the design of the general steps, as follows:(1) By the demands of the interface of the main function, clear design task.(2) In writing paper on the draft charted interface, and its review.(3) In accordance with the concept of the draft, on the production of static interface, and to be checked.(4) Dynamic interface function of the preparation process, its functions itemized checks. Based on the above steps, the first to use MATLAB graphical user interface (GUI) design of the system's static interface. When the static interface design is complete, GUI will be generated automatically .FIG and .M documents, in which. FIG document on the preservation of all the static window interface object attribute values. M documents include GUI design, function and control of the user controls for Functions callback function, mainly when launched for the control of various GUI features. This M document can be divided into GUI initialization and callback function of two parts, user control callback function according to the specific user and interactive GUI were called. The callback function is the calling object, the object is to respond to the movements. Therefore, how to prepare object callback function of the system is a major difficulty. In the preparation of a callback function when it was the function of the handle is to achieve the targets of motor function key. Handle is actually allocated to the digital identification of each object, each object creation, for its MATLAB will automatically create a unique handle, so as long as we can find the handle, the object will be able to operate. Commonly used in the MATLAB access handle functions as follows:Gcf: access to the graphics window handleGca: access to the current coordinate axis handleGco: Object handle the current accessGcbo: Access is currently the object of the handle callsGcbf: access to those who are calling for the implementation ofthe handle graphic objectWe can use these functions to be operated Object handle. For example, we can get use of the above functions with the use of several functions to be operated on can be targeted figures logo.. Once the operation was to be targeted handle, the next task is the design and system functions to achieve.Theoretically, the two-dimensional image is a continuous function, but in the computer image on the digital processing time, we must first of its brightness in the room and on the digital, and this is the image sampling and quantization process. Two-dimensional images uniform sampling, it can be turned into an M x N discrete samples of digital image, the digital image is an integer array, thus matrix to describe the digital image is the most of the easiest and most intuitive. The strengths and MATLAB is handling matrix computation, digital image processing using MATLAB very convenience.The system supports five types of images, or indexing images, gray image, binary image, RGB images and multi-frame image array; Support for BMP, GIF, JPEG, and TIFF image file formats, such as reading, writing and display. And with many image processing functions, For example, image conversion function realized color images, image indexing binary image and the interface between the conversion; Editing features of the image to achieve the geometric operation; Image module provides a gray-scale image processing, expansion, corrosion, border map extraction, and other functions; Orthogonal Transform module realized its image compression and reconstruction functions. These functions are realized in MATLAB language on the basis of the paper prepared by the M code achievable. The gray-scale image to the menu function modules for example, is through design piecewise linear transformation algorithm, and then using MATLAB provided by the mat2gray () function gray enhance the image of the region to choose gray conversion. Its main source is as follows: xl= getimage(gco);figureimshow(xl)f0=0;g0=0;fl=20;gl=10f2=180;g2=230;f3=255;g3=255;figure,Plot([f0,fl,f2,f3],[g0,gl,g2,g3])rl=(gl-g0)/(fl-f0);bl=g0-rl*f0;r2=(g2-gl)/(f2-fl);b2=gl-r2*fl;r3=(g3-g2)/(f3-f2);b3=g2-r3*f2;[m,n]=size(xl);x2=d0uble(xl);for i=l:mfor j=l:nf=x2(i,j);g(ij)=0;if(f>=fl)&(f... |