In simple words what do you mean by feature vector in image processing ?

2 views (last 30 days)
i am getting cofused by the basic definition of feature vector . is too technical
in simple words how will you define feature vector

Answers (1)

Image Analyst
Image Analyst on 10 Jan 2015
It's simply a list of all the measurements you make on an image . Let's say you measure your image and find out area = 12345, perimeter= 678, mean gray level=73, and average solidity of the blobs in the image = 0.7. Then you could make a feature vector
featureVector = [12345, 678, 73, 0.7];
Then you can do whatever you want with that, for example put it in an Excel workbook, or pass it on to some other function for further processing, for example to see what other feature vectors that you've cataloged in a database of human faces this particular feature vector matches best.
  2 Comments
Image Analyst
Image Analyst on 21 Sep 2017
The area of the entire image in pixels is
[rows, columns, numberOfColorChannels] = size(theImage);
area = rows * columns;
The perimeter is the length of the sides:
perimeter = 2 * (rows + columns) - 4;

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!