Click here to Skip to main content
15,904,653 members

Comments by Kiana Mahtabi Nourani (Top 1 by date)

Kiana Mahtabi Nourani 23-Jul-23 3:17am View    
Hi. In this code I have 3 types or classes of images, benign, malignant, and normal where from each of these have image classes I have 60 images. I saved all the images in a main folder. inside that folder I have 3 different folders related to each image class respectively. so first the code is trying to find and read the main folder and the classed image folders(benign,malignant,normal). The code will label the images and show the extracted features in matrix form. the using a for loop, the code will first read the original images and then, apply histogram equalization as enhancement method on each of the images and threshold the enhanced images. after that the code will move to feature extraction part and represent the extracted features on matrix form. Then it will start applying SVM classifier in the preprocessed images that we already extracted their features and finally it will find the extracted features accuracy. where after running the code I got the accuracy as 64.44% and I want to increase this accuracy.