Personal tools

Demos

From LRDE

Jump to: navigation, search



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