| [mmmaxgetimage] [Up] [mmmaxgetnodes] | Introspection Functions |
| User Feedback |
The index array and the level array (the image, see mmmaxgetimage ) jointly maps image pixels to MaxTree nodes. The index array is an Int32 array and has the same dimension as the image.
orig_image = mmreadgray('cameraman.tif');
mt = mmmaxtree(orig_image);
lev = mmmaxgetimage(mt);
ind = mmmaxgetindex(mt);
i = lev(15,90);
j = ind(15,90);
node_image = mmmaxsubimage(mt, i, j);
mmshow(orig_image);
mmshow(node_image);
![]() |
![]() |
|
| orig_image | node_image |
| [mmmaxgetimage] [Up] [mmmaxgetnodes] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |