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*epsif any(t),figure, imshow(imageCells{t}); end
Best Answer