0% found this document useful (0 votes)
16 views19 pages

Ciml Mini Project

Uploaded by

Rohan s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views19 pages

Ciml Mini Project

Uploaded by

Rohan s
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

CIML MINI PROJECT

{ECE3020}
TOPIC- Image
Segmentation
Rohan S
20201ECE0197
5ECE3
Table of Contents

❖Description
❖Data set information
❖Attribute information
❖Steps to finish Project
❖Accuracy without PCA
❖Accuracy with PCA
❖ Accuracy with SVM (PCA ON)
❖Accuracy with SWM(PCA OFF)
❖ Conclusion
DESCRIPTION

▪ Image segmentation involves converting an image into a collection


of regions of pixels that are represented by a labeled image.
▪ The goal of segmentation is to simplify and change the
representation of an image into something that is more meaningful
and easier to analyze.
▪ Image segmentation is used in traffic control system,
video surveillance , Face recognition, Fingerprint recognition etc.
DATA SET INFORMATION

▪ The instances were drawn randomly from a database of 7 outdoor


images.
▪ The images were hand segmented to create a classification for every
pixel.
▪ Each instance is a 3x3 region.
▪ The 7 outdoor images are - Brick Face, Sky, Foliage, Cement,
Window, Path, Grass .
▪ The values of REGIONCENTROIDROW,INTENSITYMEAN were
Given to Analize the Data
DATA Attribute Information

1. region-centroid-col: the column of the center pixel of the region.


2. region-centroid-row: the row of the center pixel of the region.
3. region-pixel-count: the number of pixels in a region = 9.
4. short-line-density-5: the results of a line extraction algorithm that counts
how many lines of length 5 (any orientation) with low contrast, less than or
equal to 5, go through the region.
5. short-line-density-2: same as short-line-density-5 but counts lines of high
contrast, greater than 5.
6. saturation-mean
7. Hue-mean
8. intensity-mean: the average over the region of (R + G + B)/3
9. Raw red -mean: the average over the region of the R value.
10. Raw blue -mean: the average over the region of the B value.
11. Raw green -mean: the average over the region of the G value.
12. Ex red-mean: measure the excess red: (2R - (G + B))
13. Ex blue -mean: measure the excess blue: (2B - (G + R))
14. Ex green -mean: measure the excess green: (2G - (R + B))
Steps to complete project

Download the data


Importing Data set to
given to you from the
Matlab .
link (Data set folder).

Obtaining scatter
Analyzing the Data. plot of original
Data set.
Applying SVM(PCA
Applying PCA and
ON) and training the
training the data set.
data set.

Applying Checking
STEPS SVM(PCA OFF) and the accuracy of
training the data set. the process.

Concluding
the Project.
Importing data set to Matlab
ORIGINAL DATA SET
SCATTER PLOT
Training Data
set PCA is
Applied
Now the PCA is on (Enabled) the accuracy was observed
to be 71.9%

PCA can be abbreviated as Principal Component Analysis.

What Is PCA ?
PCA can be mainly used for Dimensionality Reduction

The key aim of PCA is to reduce the number of variables


of a data set while preserving as much information as
possible.
SVM is applied (PCA IS
ON) To Data set

▪ When SVM was applied


to data set and Trained
with PCA on accuracy
was observed to be
75.7%
Linear SVM

➢SVM stands for Support Vector Machine.


➢which is used for Classification as well as Regression problems.
➢The goal of the SVM algorithm is to create the best line that can segregate n-
dimensional space into classes so that we can easily put the new data point in the
correct category in the future.
➢Linear SVM is used for linearly separable data, which means if a dataset can be
classified into two classes by using a single straight line.
CONCLUSION
➢ The accuracy of the Data is
71.9% when trained data with
PCA ON.
➢ The accuracy of the Data is
75.7% (SVM ) (PCA ON)
➢ The accuracy of the Data is
90% (SVM ) (PCA OFF)
THANK YOU

You might also like