Friday, November 09, 2007

MATLAB: bwselect, url

blob = bwselect(bw);

the function displays bw and waits for you to click on the image with the mouse. You can click on one or multiple points. To finish your selection, double-click on the last point, or just press RETURN. bwselect then returns a binary image containing only the objects ("blobs") that you clicked on. You can also chose one position (10, 23) with:

blob = bwselect(bw, 10, 23);
clf % clear figure;

Read image from Internet link:

url = '';
bw = imread(url);

No comments:

Post a Comment