Milena (Olena)
User documentation 2.0a Id
|
00001 #include <mln/core/image/image2d.hh> 00002 #include <mln/value/label_8.hh> 00003 #include <mln/labeling/blobs.hh> 00004 #include <mln/core/alias/neighb2d.hh> 00005 #include <mln/geom/bbox.hh> 00006 00007 int main() 00008 { 00009 using namespace mln; 00010 using namespace mln::value; 00011 00012 image2d<bool> ima(200,300); 00013 label_8 nlabels; 00014 // \{ 00015 // ... 00016 trace::quiet = false; 00017 // \} 00018 trace::quiet = true; 00019 // \{ 00020 labeling::blobs(ima, c4(), nlabels); 00021 00022 trace::quiet = true; 00023 00024 geom::bbox(ima); 00025 // ... 00026 // \} 00027 }