Skip to content
Snippets Groups Projects
Commit 95c45fce authored by actb's avatar actb
Browse files

round on aiareaopen

parent 39d06b21
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment