Demos
From LRDE
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Resources
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:
With c8:
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:
With c6:
With cX:
With cZ:
Input is world.png:
Output is:
Output is: