Commit 95838369 authored by actb's avatar actb

allocateShake - use aiAreaOpen on allocated image

parent 0da7f3ab
......@@ -10,7 +10,7 @@ idx=unique(LX(bw));
% the boundary image, remove the connected components not from bw (e.g.
% bw2 only)
bwBoundary=bwBoundary&ismember(LX,idx);
bwBoundary=Segment.aiAreaOpen(bw,min_radius_pixels);
bwBoundary=Segment.aiAreaOpen(bwBoundary,min_radius_pixels);
% now, the boundary has been resent, label that and done
[L,num]=bwlabeln(bwBoundary);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment