Feeds
已回答
Detecting rectangle shape in an image
img = imread('rect.jpg'); bw = im2bw(img); % find both black and white regions stats = [regionprops(bw); regionpr...
Detecting rectangle shape in an image
img = imread('rect.jpg'); bw = im2bw(img); % find both black and white regions stats = [regionprops(bw); regionpr...
12 years 前 | 2
已回答
CBIR
[val idx]=sort(sqrt(sum((A-B).^2))); It will calculate Euclidean Distance for you. Val contains the difference Value and Id...
CBIR
[val idx]=sort(sqrt(sum((A-B).^2))); It will calculate Euclidean Distance for you. Val contains the difference Value and Id...
13 years 前 | 0


