Commit a3fffc37 authored by Thierry Geraud's avatar Thierry Geraud
Browse files

Rename win::ball3d into win::sphere3d.

	* fabien/igr/seg_vol_irm.cc,
	* theo/exec/closing_isotropic.cc: Update.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3460 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 7585f8c6
2009-03-02 Thierry Geraud <thierry.geraud@lrde.epita.fr>
Rename win::ball3d into win::sphere3d.
* fabien/igr/seg_vol_irm.cc,
* theo/exec/closing_isotropic.cc: Update.
2009-03-02 Fabien Freling <fabien.freling@lrde.epita.fr>
Update working file.
......
......@@ -86,7 +86,7 @@
#include <mln/morpho/erosion.hh>
#include <mln/win/disk2d.hh>
#include <mln/win/ball3d.hh>
#include <mln/win/sphere3d.hh>
#include <mln/math/diff_abs.hh>
......@@ -137,7 +137,7 @@ template <typename I>
I
close_threshold(const Image<I>& input, metal::int_<3>)
{
return morpho::erosion(morpho::dilation(input, win::ball3d(5)), win::ball3d(7));
return morpho::erosion(morpho::dilation(input, win::sphere3d(5)), win::sphere3d(7));
}
......
......@@ -2,7 +2,7 @@
#include <mln/morpho/closing.hh>
#include <mln/win/disk2d.hh>
#include <mln/win/ball3d.hh>
#include <mln/win/sphere3d.hh>
......@@ -50,7 +50,7 @@ int main(int argc, char* argv[])
{
image3d<bool> ima, out;
io::dump::load(ima, argv[1]);
out = morpho::closing(ima, win::ball3d(2 * r + 1));
out = morpho::closing(ima, win::sphere3d(2 * r + 1));
io::dump::save(out, argv[3]);
}
break;
......
Supports Markdown
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