ISSN ONLINE(2319-8753)PRINT(2347-6710)

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

Implementation of Evolutionary Computing Techniques for Cancer Diagnosis Using Digital Signal Processor

Dr. Rajendra D. Kanphade1, Devesh D. Nawgaje2
  1. Professor & Principal, NMIET, Pune-410507, India
  2. Astt. Professor, EXTC Dept, Shri Sant Gajanan Maharaj College of Engineering Shegaon, Maharastra, India 444203
Related article at Pubmed, Scholar Google

Visit for more related articles at International Journal of Innovative Research in Science, Engineering and Technology


This paper presents a novel approach to implement Evolutionary Computing (EI) techniques like Fuzzy Logic, Genetic Algorithm, Neural Network, and Adoptive Neuro-Fuzzy Inference System (ANFIS) for diagnosis of cancer using TMS320C6713 (Texas Instruments) DSP (Digital Signal Processor). The simulator has been developed using MATLAB and Neurosolution, while implementation has been done using code composer studio for TMS320C6713 DSP. Performance is compared by considering the metrics like accuracy of diagnosis and mean square error. The simulation and implementation result show that this EI approach can be effectively used for cancer detection to help oncologist to enhance the survival rates significantly.


Evolutionary Computing, Fuzzy Logic, Genetic Algorithm, Neural Network, Adaptive Neuro Fuzzy Inference System, Digital Signal Processor.


Evolutionary computing system focus on systems that use knowledge based techniques to support human decisionmaking, learning and action. Such systems are capable of cooperating with human user and so the quality of support given and the manner of its presentation are important issue [1,2]. Evolutionary Computing is dedicated to system solutions based on soft computing techniques. It provides rapid dissemination of important results in evolutionary computing technologies, a fusion of research in genetic programming, neural science, neural net systems, fuzzy set theory, fuzzy systems, chaos theory and chaotic systems. Evolutionary computing encourages the integration of soft computing techniques and tools into both everyday and advanced applications. [6] Cancer is a group of diseases in which cells in the body grow, change, and multiply out of control. Usually, cancer is named after the body part in which it originated; thus, breast cancer refers to the erratic growth and proliferation of cells that originate in the breast tissue. A group of rapidly dividing cells may form a lump or mass of extra tissue. These masses are called tumors. Tumors can either be cancerous (malignant) or non-cancerous (benign). Malignant tumors penetrate and destroy healthy body tissues. A group of cells within a tumor may also break away and spread to other parts of the body. Cells that spread from one region of the body into another are called metastases.[4][5] A major class of problem in medical science involves the diagnosis of disease, based upon various tests performed upon the patient. When several tests are involved, the ultimate diagnosis may be difficult to obtain, even for a medical expert. This has given rise, over the past few decades, to computerized diagnostic tools [3], intended to aid the physician in making sense out of the confusion of data.
A. Related Work
Fuzzy logic, Neural Network, Genetic algorithm and adaptive neuro fuzzy inference system approaches have been used earlier in the computerized diagnostic system for cancer [5][7-14]. After experiments with Fuzzy logic, ANN and ANFIS they achieved a classification accuracies ranging from 50% to 90%. The work in this paper is aimed to find not only a better accuracy and usage of Evolutionary computing approach in diagnosis of cancer but also its implementation on TMS320C6713 digital signal processor.

II. TMS320C6713 DSP

The C6713 device is based on the high-performance, advanced very-long-instruction-word (VLIW) architecture developed by Texas Instruments. The TMS320C62x is a 16-bit fixed point processor and the „67x is a floating point processor, with 32-bit integer support. The C6713 DSK is a low-cost standalone development platform that enables users to evaluate and develop applications for the TI C67xx DSP family. The DSK also serves as a hardware reference design for the TMS320C6713 DSP [20]. In our work we have develop a program of segmentation using c-code. After writing the code, the next step is to compile the code to machine language. The Build command will compile all the files that are included in this project and make an executable file for the DSP. Finally, to run the program, load the executable file (.out) that the compiler generated into the DSP and run the file loaded into DSP. The generated output of DSP is then open code composer studio.


The algorithm described in this paper is based on the subjection of a set of four pixels, part of a 2x2 window of an image to a set of fuzzy conditions which help to highlight all the edges that are associated with an image. The fuzzy conditions help to test the relative values of pixels which can be present in case of presence on an edge. So the relative pixel values are instrumental in extracting all the edges associated to an image. The system implementation is carried out considering that the input image and the output image obtained after defuzzification are both 8-bit quantized; this way, their gray levels are always between 0 and 255. The fuzzy sets are created to represent each variable‟s intensities; these sets are associated to the linguistic variables “Black”, Edge and “White”. The adopted membership functions for the fuzzy sets associated to the input are trapezoidal and to the output are triangular. The functions adopted to implement the “and” and “or” operations are the minimum and maximum functions, respectively. The Mamdani method is chosen as the defuzzification procedure, which means that the fuzzy sets obtained by applying each inference rule to the input data are joined through the add function; the output of the system is then computed using weighted average method of the resulting membership function. The values of the three membership functions of the output are designed to separate the values of the blacks, whites and edges of the image. The inference rules depend on the weights of the four neighbour gray level pixels, if the neighbours‟ weights are degree of blacks or degree of whites. The powerful of these rules is the ability to extract all edges in the processed image directly. This study is assaying all the pixels of the processed image by studying the situation of each neighbour of each pixel. The condition of each pixel is decided by using the floating 2x2 mask which can be scanning the all grays. In this location, some of the desired rules are explained. The proposed system is tested with different images. The algorithm to find the edges associated with cancer cells had been introduced which has been instrumental to abridge the concepts of fuzzy logic and digital image processing. The FIS algorithm has tremendous scope of application in the area of cancer image processing. The image edge detection and segmentation using FIS algorithm has been successful in obtaining the edges of the cancer affected cells that are present in medical images. FIS is implemented on TMS320c6713 DSP kit. Outputs have been shown to make to understand the accuracy of the algorithm and which helps to detect exact shape of cancer cells.[5][19]
This paper adopts OSTU Principle as the image segmentation standard. In this method, we can directly calculate the threshold without pretreatment to histogram. This algorithm is simple and is a remarkable method for selecting the threshold. Here‟s the fundamental principle. The gray value of a grey-scale map is 0~255.The total number of pixels is defined as N, ni is the number of pixels which‟s gray value is i. By normalizing the histogram, the following equations could be obtained.
fmax the maximum fitness; favg the average of the fitness; f‟ the larger fitness of the two individual which will take the cross-operation. f the fitness of the individual. GA gives better result for the segmentation of mammogram image which is helpful for the diagnosis of cancer treatment. Simulation is done on CCS whereas implementation is done on TMS320C6713 digital signal processor on number of images. The average computing time for simulation of GA using Intel core I3, 2.13GHz processor is 8.39 minutes, whereas computing time using TMS320C6713, 225MHz DSP is 24 seconds which shows the implementation using DSP decreases run time greatly.[20]


ANNs are massively distributed parallel processing systems made up of highly interconnected neural computing elements that have the ability to learn and thereby acquire knowledge and make it available for use [15,16,17]. Neural networks are applicable in virtually every situation in which a relationship between the predictor variables (independents, inputs) and predicted variables (dependents, outputs) exists, even when that relationship is very complex and not easy to articulate in the usual terms of “correlations” or “differences between groups”[21,22]. In this paper Jordan and Elman network is used.
A. Simulation models
Jordan and Elman network and ANFIS were evaluated on the same data set. The data set consist of 125 clinical cases. All cases are first segmented based on fuzzy logic and after feature extraction database was generated. Out of 125 clinical cases 90 cases are used for training the network, 20 cases are used for cross validation and 15 cases are used for testing. Each case has to be categorized into either of the two categories: Benign or malignant
B. Architecture of Network Used Jordan and Elman network is train using I/P PEs 10, O/P PEs 2, Hidden Layers = 2, for Both Hidden Layers & O/P Layer Transfer Function TanhAxon, Learning Rule Momentum, Momentum = 0.7, Maximum Epoch 2000 C. Jordan and Elman networks Jordan and Elman networks extend the multilayer perceptron with context units, which are processing elements (PEs) that remember past activity. Context units provide the network with the ability to extract temporal information from the data. In the Elman network, the activity of the first hidden PEs are copied to the context units, while the Jordan network copies the output of the network. Networks which feed the input and the last hidden layer to the context units are also available. Figure 1 shows the training MSE versus Epoch graph of Jordan and Elman network
Figure 1: Training MSE versus Epoch graph of Jordan and Elman networks


Neuro Fuzzy (NF) computing is a popular framework for solving complex problems and is an integrated system combining the concept of FIS (Fuzzy Inference System) and ANNs. ANFIS is a fuzzy inference system implemented in the framework of adaptive networks, and hence has the advantages of both FIS and NNs.[23,24] A. ANFIS Structure Figure 2 shows the structure of ANFIS. The first and fourth layers in the ANFIS are learning rules, used to tune the model adaptive layers. The first layer contains premise parameters which characterize the shape of the input membership functions. These parameters are associated with the IF part of the rule. The fourth layer also has consequent parameters, which are associated with the THEN part of the rule. Suitable learning rules are used to tune the model parameters. A hybrid learning algorithm used in ANFIS combines the gradient descent and the least squares method for an effective search for the optimal parameters. In this procedure, an ANFIS system can learn from the existing data with correct output and possibly predict a result with new input set by tuning its internal node values
Figure 2 ANFIS structure


The Performance Measures component provides two values that can be used to measure the performance of the network for a data set The mean squared error is simply two times the average cost. The formula for the mean squared error is


The success of an image analysis system depends on the quality of segmentation. In the analysis of medical images for computer-aided diagnosis and therapy, segmentation is often required as a preliminary processing task. In this paper fuzzy logic and genetic algorithm is used to select the threshold in cancer image segmentation. Experimental data demonstrate the accuracy of segmentation which helps doctor for diagnosis purpose. Moreover the hardware implementation of both algorithm on DSP TMS320C6713 is achieved successfully. Whereas Jordan and Elman network and ANFIS were develop for differentiating the malignant and benign cancer and run on Matlab for the medical images obtained from the radiologist. Outputs have been shown to make to understand the accuracy of the algorithm and which helps us to detect the cancer. After the training of Jordan and Elman network and ANFIS, an unknown images was taken and tested for malignant or benign. After working, we find Jordan and Elman network has achieved a top result of accuracy 98.04%.


[1] G. Schaefer, A. Hassanien, J. Jiang, Book on “Computational Intelligence in Medical Imaging: Techniques and Applications”, by Chapman and Hall/CRC press (March 24, 2009).

[2] I.S. Torsun, Book on “Foundation of intelligent knowledge based system”, Academic press; 1 edition (August 28, 1995).

[3] Antal, P., Meszaros, T. 2001, in proceedings of fourteenth IEEE Symposium on computer based Medical Systems, July 26-27, Bethesda, MD, 177-182.


[5] Devesh D. Nawgaje, Dr. R.D. Kanphade, Dr. N.B. Chopade, S. B. Patil, “White Blood Cell Cancer Detection Using Fuzzy Logic”, CIT Journal of research, Vol 1, No 1, May 2010, pp 174-182.

[6] J.-S.R. Jang, C.-T.Sun, E. Mizutani, “Neuro-Fuzzy and Soft Computing”, Prentice-Hall, U.S.A 1996.

[7] Keyvanfard, F.; Shoorehdeli, M.A.; Teshnehlab, M.; “Feature selection and classification of breast MRI lesions based on Multi classifier”, IEEE, Artificial Intelligence and Signal Processing (AISP), 2011 , Page(s): 54 – 58.

[8] Dheeba, J.; Tamil Selvi, S.; “Screening mammogram images for abnormalities using radial basis Function Neural Network”, IEEE, Communication Control and Computing Technologies (ICCCCT), 2010, Page(s): 554 – 559.

[9] Ashraf, M.; Kim Le; Xu Huang; “Information gain and adaptive neuro-fuzzy inference system for breast cancer diagnoses”, IEEE, Computer Sciences and Convergence Information Technology (ICCIT), 2010, Page(s): 911 – 915.

[10] Osareh, A.; Shadgar, B.;” Machine learning techniques to diagnose breast cancer”, IEEE Health Informatics and Bioinformatics (HIBIT), 2010 , Page(s): 114 – 120.

[11] K.Woods, C. Doss, K. Bowyer, J. Solka, C. Priebe, andW. Kegelmeyer, “Comparative evaluation of pattern recognition techniques for detection of microcalcifications in mammography,” Int. J. Pattern Recog. Artif. Intell., vol. 7, no. 6, pp. 1417–1436, 1994.

[12] R. Nishikawa, M. Giger, K. Doi, C. Vyborny, and R. Schmidt, “Computer- aided detection and diagnosis of masses and clustered microcalcifications from digital mammograms,” in State of the Art of Digital Mammographic Image Analysis. Singapore: World Scientific, 1994, vol. 7, pp. 82–102.

[13] H. Yoshida, R. Nishikawa, K. Muto, K. Doi, and M. Tsuda, “Application of the wavelet transform to automated detection of clustered microcalcifications in digital mammograms,” Tokyo Inst. Polytech., Tokyo, Japan, Academic Rep., vol. 16, 1994.

[14] H. Yoshida, R. Nishikawa, G. Maryellen, and K. Doi, “Computer-aided diagnosis in mammography: Detection of clustered microcalcifications based on multiscale edge representation,” in Computer Assisted Radiology. Amsterdam, The Netherlands: Elsevier, 1996.

[15] Basheer, I.A., and Hajmeer, M.: “Artificial neural networks: fundamentals, computing, design, and applications”, J. Microbiol. Methods 43 (2000) 3-31.

[16] Haykin, S.: “Neural networks – comprehensive foundation” (Prentice Hall, New Jersey, USA, 2 edition, 1999).

[17] Freeman, J.A., and Skapura, D.M.: “Neural Network” (Addison-Wesley, 1999).

[18] Texas Instruments, TMS320C6713, Floating-Point Digital Signal Processors, Data Sheet, Dallas, TX, 2002.

[19] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Implementation of Fuzzy Logic For Detection of Suspicious Masses in Mammograms using DSP TMS320C6711”, International Journal of Advanced Engineering & Applications, ISSN 0975-7783, Vol 3, No. 11, pp 262-266, January 2011

[20] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Implementation of Genetic algorithm for Ovarian Cancer Image Segmentation”, International Journal of Soft Computing and Engineering (IJSCE) ISSN: 2231-2307, Volume-2, Issue-6, 304-306, January 2013.

[21] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Implementation Of Neural Network For Cancer Diagnosis”, International Journal of Computer Applications, No.1, Article 3, Proceeding of National conference on Information and communication Technology, Nagpur, December 2011.

[22] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Comparison of Various Neural Networks For Diagnosis of Breast Cancer”, International Transactions on Electrical, Electronics and Communication Engineering, Vol 2, No.3, May 2012

[23] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Implementation Of Adaptive Neuro Fuzzy Inference System For Cancer Detection Using TMS320C6711 DSP”, ACM New York, NY, USA ©2011 proceeding of International Conference and workshop on Emerging Trends and Technology ICWET2011, Mumbai, pp 608-612, February 2011

[24] Devesh D. Nawgaje, Dr. R.D. Kanphade, “Implementation of ANFIS for Breast Cancer Detection using TMS320C6713 DSP”, International Journal of Computer Applications, No. 13, Article 2, February 2011.