Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Finding Labels of Image Region while using SVM

Subject: Finding Labels of Image Region while using SVM

From: Khalid Iqbal

Date: 26 Nov, 2012 06:41:11

Message: 1 of 1

Dear Friends

I am using SVM to classify image regions. These regions have unequal dimension sizes.
I resized these regions into 20x20 for uniformity of dimensions. I used labels like this in matlab:
labels:[zeros(10,1),ones(10,1)];

I am using svm to classify these regions into two classes (1) selected and (2) de-selected.
How can I label each image region into (1) selected and (2) de-selected?

for example:
ImageRegion is of 12x25 while resized image region in binary form is 20x20.
My requirement is to get a label value 1 for selected image region and 0 for de-selected region.

Thanks in advance

Regards

KK

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us