Does the following image classification problem be termed as image retrieval ?

1 回表示 (過去 30 日間)
Mohan
Mohan 2013 年 2 月 27 日
%------------ taken from matlab help ---------- %
%-----------------------------------------------%
%-------------- svmclassify code --------------%
load fisheriris
xdata = meas(51:end,3:4);
group = species(51:end);
svmStruct = svmtrain(xdata,group,'showplot',true);
species = svmclassify(svmStruct,[5 2],'showplot',true)
hold on;plot(5,2,'ro','MarkerSize',12);hold off
%--------------------% code ends %------------------------%
The above code gives the result ---> species = 'virginica'
The species is classified as 'virginica'. This is just one image. Can this process of classification be termed as "image retrieval" ???
Or do we have to retrieve many images, in order for it to be termed as image retrieval ?

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 27 日
No, there are no images involved in the above. The fisheriris data does not use images.
  2 件のコメント
Mohan
Mohan 2013 年 2 月 27 日
編集済み: Mohan 2013 年 2 月 27 日
Thank you for the reply Walter. I have changed the code according to my classification problem. I can retrieve an image from the result.
The problem is, I am retrieving only one image. Can this be termed as image retrieval ?
Why I am asking this question is, usually many images are retrieved in an image retrieval system when it is provided with a query image. In my system, only one image is retrieved.
Walter Roberson
Walter Roberson 2013 年 2 月 27 日
Retrieving one image at a time can be okay for an image retrieval system. It depends on the purpose of the system.
If the purpose is to display exact matches for the retrieval criteria, then it could be that only one image matches the criteria exactly.
If the purpose is to display close matches for the retrieval criteria, then it could be that only one image is "close" to within the cut-off. For example, if there is only one red image in the database and the retrieval request requires strong red, then there might not be any point in retrieving the images of the blue sky and clouds.
Now consider if you had asked to classify [5 1.55]. If I read the graphs correctly, that would be just a hair over the dividing line into virginica, but it would also be very close to one of the versicolor samples. There would be reason to doubt the classification, but svmtrain is going to tell you virginica without qualification. That close to the boundary you should "morally" be retrieving both as possibilities. You should be figuring out a certainty measure for the classification and displaying multiple possibilities when the certainty is low enough.
Also, if there are only two images in the database, it would not usually be called image retrieval.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by