Real-Time Image Processing for Biological Applications Through Morphological Operations using LabVIEW

DOI : 10.17577/IJERTV3IS051475

Download Full-Text PDF Cite this Publication

Text Only Version

Real-Time Image Processing for Biological Applications Through Morphological Operations using LabVIEW

Ajay P. Dhawale Prof. S. R. Hirekhan

Department of electronics Department of electronics Government college of engineering Aurangabad. Government college of engineering Aurangabad.


Abstract – This investigation develops a multiple diagnosis for the anemia using Microscopic Images of RBC (Red blood corpuscles). This system can identify, analyse and save records of microscopic images. Real Time analysis of RBC (erythrocytes), the most common type of blood cell has been implemented. Microscopic analysis of cell plays a vital role in diagnosis and treatment. Real-Time Image Processing for Biomedical Image Analysis, RBC Analysis is the basis to perform higher level tasks such as automatic differential counting which play an vital role in diagnosis of various diseases. To prepare and Interpret Peripheral Blood Smear examination, Researchers have developed various effective methods such as A Hematology Analyzer for blood smear . However , they always depend on special and expensive instruments.

Keywords: Biomedical Image Processing, Pattern Matching, Analysis of RBC counting, Possible analysis of image samples.


    Images are the main source of acquiring information from the real world. Images are captured in various ways hence it needs the preprocessing for unwanted data of images. The System is implemented by using USB 800X Magnification Digital microscope and a software tool Laboratory Virtual Instrumentation Engineering Workbench (LabVIEW). The algorithm for processing of the images and detection of cells which is anemic or not using LabVIEW.

    The importance of being able to quickly and accurately identify and count the particles in a blood sample of a patient. Previously, this crucial but tedious work has been carried out manually by lab technicians. This introduces a component of subjectivity and human error into the results that can sometimes cause problems. However, advances in microscopy and computing technology can now allow

    scientists to write software that can perform this job automatically, thus removing the risk of human error.

    There are several different approaches that can be taken to write the type of software that would be necessary for such an application. The one taken in this report involved the use of LabVIEW and National Instruments Vision Assistant software. Using knowledge of the characteristics of the particles found in the blood, with particular attention to white and red blood cells and the differences between them, one can allow design a program that can distinguish specific particles of interest. Gathering data this way could be done far more efficiently than it is now and could prove invaluable for doctors and patients. If a system could be developed to pattern matching to the numerous targets simultaneously, then experiments would take less time, require less human effort and fewer other resources, such as microorganism being and medicinal resources.


    A] The Image is capture through the Microscopic USB camera and take as a input.

    In this study, a pattern matching system for RBCs was developed. It includes the following subsystems:

    1. For observing a panoramic and snap view of the anemia completely, an ingenious circular experimental pool is self-made on a microscope slide.

    2. A Digital biological microscope with a 5X digital zoom target lens 40X-800X which is used to magnify the RBCs. images and enable the RBCs to be observed by the naked eye.

    3. A computerized image shape matching system which was designed to help observe and record the shape match and particle analysis of each RBCs.

    4. A man-machine interface which was programmed using LabVIEW software to enable the pattern matching system be used to locate and identify the abnormal RBCs and analysis of anemia.

    5. An image processing procedures which includes color Plane extraction, thresholding, background subtraction, and morphology.

    6. A pattern matching algorithm which can match N number of normal and abnormal RBCs and Anemia.

    The block diagram of the multi-target tracking system is shown in Figure 1.

    1. Image Processing And Pattern Matching

      In feature extraction, digital image processing is adopted to recognize the shape of the Anemia. The image is analyzed by

      Figure: 1 Block Diagram Of pattern matching system

      a software developed in LabVIEW-2013 (National Instruments, USA), a graphical programming development tool, which can be used to pattern match, analyze, and particle filter of an image. In this study, the system is divided into the two parts that are shown in Fig.1 pre- processing, and image analysis. In the pre-processing stage, the system processes of snap images that record the behavior of the RBCs as JPG, JPEJ file in LabVIEW. Increasing the effectiveness of data processing, reducing the required human resources and time. The proposed image processing algorithm consists of the following Six procedures. In the color space extraction, the system converts the HIS or HSL images from the JPEG, JPG file to the images with a uniform grayscale. The threshold algorithm is applied to compute the local thresholds for each pixel based on its local statistics and seek the dark objects to make the intended target stand out against the complex background and convert to the binary image. In Advance. (Adv.) Morphology the binary image operation removing the border touching objects and fill hole of object and in gray morphology the remove small object, erosion and dilation functions to finishing the image.

      The adv. morphology filter the particle which was unwanted. The system particle analysis gives the particle report to the display which contain the number of particle and size in pixels. The pattern matching algorithm match the shape of particle from the standard template and gives the

      final shape matching report which is number of matches found of a iron deficiency anemia (IDA) and sickle cell anemia when gives that template to it.

      The input image and processing image was developed in this system. The input image after processing and the background correction and count the number of object in the input image and gives for the next processing. The step by step image process is shown in the Figure 2. The process automation algorithm was developed for minimize the human errors and time and save the result data automatically.

      Input Color plane extraction

      Thresholding Morphology

      Particle analysis particle matches

      Figure: 2 The image processing and RBCs counting procedures for IDA

    2. Algorithm

      To verify the accuracy of shape matching, analysis IDA Pattern match algorithm was developed.


      1. Give the input image

      2. Color plane extraction-HSL or HSI

      3. Thresholding

      4. Adv. Morphology – Remove Border object

        • Fill Holes

        • Remove Small objects

      5. Gray Morphology erode

      6. Particle filter center of mass x

      7. Particle analysis

      8. Shape matching

    The algorithm describes the procedure for carrying out the system work. In this investigations used the simple algorithm which was automated only gives the input image and run the system. The particle analysis, particle shape match and selected particle report display on front panel of LabVIEW window.


    To confirm that the developed system can match the shape of Iron deficiency anemia accurately using the above- mentioned positioning algorithm for the image analysis of the system.

    Table: 1 Total number of particles in image

    Figure 3: Analysis of Image

    Figure 3: presents the proposed man-machine interface, which was developed using LabVIEW software. Through this interface, the center of Mass X and center of Mass Y adopted to detect Object position. The table:1 shows the total number of object in image. In red highlighted objects was the IDA which was the pattern matched by algorithm and equivalent result shown in table: 2.

    Table 2: Number of Matches of IDA and position in pixels

    Figure 3: presents five display windows as shown in the following.

    1. Morphology and Pattern Match (image) Display Window: This window presents the results of image processing.

    2. Selected particle analysis window which display the area, center of Mass X Center of Mass Y etc.

    3. The shape report which matched the pattern, display on third window.

    4. In this window Selected particle numbers (0 to n-1) If 29 object is detected then display (0 to 29-1) the numbers 0 to 28.

    5. The fifth window for standard template file path from which template path can be selected.

    Figure 4: Performance Meter For Algorithm


This study utilizes LabVIEW software to implement the proposed pattern matching algorithm. And the analysis of the Iron Deficiency Anemia depends on their standard template shape matched. The proposed computerized pattern matching system not only can save significant time and manpower for the researchers, while still produces optimal results, but also gather numerous meaningful data simultaneously. Experimental results reveal the effectiveness of the pattern matched system, which maintains pattern. In the future, methods for processing RBCs images covered by obstacles, which will includes Optical Flow method as well as an algorithm for automatically adjusting the number of eroding time to suit different body shapes and sizes for microorganisms match pattern shall be developed.


The authors would like to thank the Government College Of Engineering, Aurangabad, (M.H.) India. for their financial supports under the Technical Education Quality Improvement Program ( TEQIP ) Phase-II.


  1. Thomas Klinger, Image Processing with LabVIEW and IMAQ Vision, Upper Saddle River, NJ : Prentice Hall PTR,2003.

  2. Rafael C. Gonzalez, Richard E. Woods, Digital Image Processing, Translator: Ruan Qiuqi, Ruan Yuzhi. Second Edition. BeiJing:

    Publishing House of Electronics Industry.,2005, pp.:234

  3. practical applications and solutions using labview software edited by silviu folea.

  4. Bishop R.H. (2009) LabVIEW 2009 Student Edition, National Instruments.


  6. P. Girshovitz and N. Shaked, BGeneralized cell morphological parameters based on interferometric phase microscopy

    and their application to cell life cycle characterization,[ Biomed. Opt. Exp., vol. 3, no. 8, pp. 17571773, Aug. 2012.

  7. P. Marquet, B. Rappaz, P. Magistretti, E. Cuche, Y. Emery, T.

Colomb, and C. Depeursinge, BDigital holographic

microscopy: A noninvasive contrast imaging technique allowing quantitative visualization of living cells with

subwavelength axial accuracy,[ Opt. Lett., vol. 30, no. 5, pp. 468470, Mar. 2005.

Leave a Reply