Does the following image classification problem be termed as image retrieval ?
조회 수: 1 (최근 30일)
이전 댓글 표시
%------------ 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 ?
댓글 수: 0
채택된 답변
Walter Roberson
2013년 2월 27일
No, there are no images involved in the above. The fisheriris data does not use images.
댓글 수: 2
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 Exchange에서 Import, Export, and Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!