My aim is to classify types of cars (Sedans,SUV,Hatchbacks) and earlier I was using corner features for classification but it didn't work out very well so now I am trying Gabor features.

code from here

Now the features are extracted and suppose when I give an image as input then for 5 scales and 8 orientations I get 2 [1x40] matrices.

1. 40 columns of squared Energy.

2. 40 colums of mean Amplitude.

Problem is I want to use these two matrices for classification and I have about 230 images of 3 classes (SUV,sedan,hatchback).

I do not know how to create a [N x 230] matrix which can be taken as vInputs by the neural netowrk in matlab.(where N be the total features of one image).

My question:

  1. How to create a one dimensional image vector from the 2 [1x40] matrices for one image.(should I append the mean Amplitude to square energy matrix to get a [1x80] matrix or something else?)

  2. Should I be using these gabor features for my purpose of classification in first place? if not then what?

Thanks in advance

  • 1
    $\begingroup$ This question seems more suitable for Cross Validated. $\endgroup$ – Kaveh Nov 14 '13 at 8:43
  • $\begingroup$ Ok but I learnt from metastackoverflow that this site can also be useful....anyways I got my answer myself thanks :) $\endgroup$ – noobmaster69 Nov 16 '13 at 13:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.