need to display image not found
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a code below, in which in displays when the query image is from same dataset (dataset consists of 70 images, if i take query image from dataset my image is displayed), if i take other image which is not in dataset, i need to display image not found plz help,
t = {'descend','ascend'}
imageCells = arrayfun(@(i1)sort(rand(200,200,3),randi(3),t{randi(2)}),1:8,'un',0)
A=centroid;
query=G1q;
t = abs(A - query) < 100*eps
if any(t),figure, imshow(imageCells{t}); end
댓글 수: 0
채택된 답변
Walter Roberson
2012년 2월 17일
if any(t),figure, imshow(imageCells{t});
else disp('image not found plz help'); end
댓글 수: 0
추가 답변 (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!