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

3 次查看(过去 30 天)
i am getting cofused by the basic definition of feature vector . is too technical
in simple words how will you define feature vector

回答(1 个)

Image Analyst
Image Analyst 2015-1-10
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 个评论
Image Analyst
Image Analyst 2017-9-21
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;

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by