| [mmMaxsubimage] [Up] [mmMaxopenrec] | Reconstruction and Marker Propagation |
| User Feedback |
Creates the image y by iterating until stability the dilation of f by bc conditioned to g. We say the y is the inf-reconstruction of g from the marker f.
Image a = mmReadgray("galeao.jpg");
//
Image mk = Image(a.width(), a.height(), 1, "uint16", 0.0);
mk.putpixel(380, 143, 0, a.getpixel(380, 143, 0));
mk.putpixel(183, 310, 0, a.getpixel(183, 310, 0));
mk.putpixel(576, 346, 0, a.getpixel(576, 346, 0));
//
MaxTree mxt = mmMaxtree(a, "8");
Image b = mmMaxinfrec(mxt, mk);
mmShow(b);
![]() |
|
| b |
| [mmMaxsubimage] [Up] [mmMaxopenrec] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |