Commit 95c45fce authored by actb's avatar actb

round on aiareaopen

parent 39d06b21
......@@ -4,6 +4,7 @@ if ~is3D(bw)
% 2d - use pi*r^2 approximation
radius=min_radius_pixels(1);
area = radius^2 * pi;
area=round(area);
bw=bwareaopen(bw,area);
return;
end
......
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