Commit 260a0ff4 authored by Yann Jacquelet's avatar Yann Jacquelet
Browse files

Update the demo for debugging purpose.

	* green/demo/clustering/kmean3d/kmean3d.cc (do_demo): Update.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4619 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 1d386e97
2009-10-07 Yann Jacquelet <jacquelet@lrde.epita.fr>
Update the demo for debugging purpose.
* green/demo/clustering/kmean3d/kmean3d.cc (do_demo): Update.
2009-10-07 Yann Jacquelet <jacquelet@lrde.epita.fr>
Describe the milena/sandbox/green arborescence.
......
......@@ -51,7 +51,6 @@ void do_demo(const std::string& image,
kmean.launch_n_times();
// Not safe because we don't test kmean.is_valid()
// Pb à la création des images de debug.
t_kmean::t_color_dbg color_img = kmean.get_color_dbg();
t_kmean::t_mean_dbg mean_img = kmean.get_mean_dbg();
......@@ -63,6 +62,7 @@ void do_demo(const std::string& image,
mln::io::ppm::save(color_img, "color.ppm");
mln::io::pgm::save(label_img, "label.pgm");
mln::io::plot::save_image_sh(mean_img, "mean.sh");
mln::io::plot::save_image_sh(mean_cnv, "mean_cnv.sh");
mln::io::plot::save_image_sh(variance_cnv, "variance_cnv.sh");
}
......
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