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.