回答済み Image Segmentation built into MATLAB?!
Hi Philip, look at the function watershed. In addition, there is a very good example using morphological reconstruction.
do...
13年以上 前 | 0
回答済み Draw normal to edge detection image
You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors.
HTH, W.
回答済み finding distance within a range of distance
How about
[X,Y] = meshgrid(1:size(I,2),1:size(I,1));
ix = find(I == 5);
d = hypot(bsxfun(@minus,X(ix),X(ix)'),bsxfun(@min...