Difference between revisions of "Olena/MilenaDemoGenericityNeighborhood"

From LRDE

(Add the OlenaMenu on each Olena pages)
(Don't include the menu if the page is used included in another page)
 
Line 1: Line 1:
{{OlenaMenu}}
+
<noinclude>{{OlenaMenu}}</noinclude>
   
 
{{DISPLAYTITLE:Demos}}
 
{{DISPLAYTITLE:Demos}}

Latest revision as of 14:04, 12 November 2014



Genericity

Neighborhood

Source files are accessible in this directory.

File neighborhood.cc

In the following images, every detected component has its own color.

Input is drawing.png:

Olena-drawing.png


With c8:

Olena-c8.png




Olena-c8.png

image2d<bool> pic;
pic = io::pbm::load("drawing.pbm");
image2d<unsigned> lab = labeling::blobs(pic, nbh, n);
image2d<rgb8>	  out = labeling::colorize(rgb8(), lab, n);
io::ppm::save(out, "c8.ppm");




With c4:

Olena-c4.png


With c6:

Olena-c6.png


With cX:

Olena-cX.png


With cZ:

Olena-cZ.png


Input is world.png:

Olena-world.png


Output is:

Olena-world one.png


Output is:

Olena-world bis.png