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 15:04, 12 November 2014
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: