[Top] [Up] [Prev] [Next] [Up] [Tutorial] mmtutor V1.0 30abr2001

mmsg - Subgraph of a function.


Synopsis
SG = mmsg( f, k )
Input
f: Gray-scale uint8 image.
k: Number of gray levels. Default: 256.
Output
SG: Binary image (logical uint8).
Description
The subgraph of a function f, SG(f) is the set of points (x,t) below the function.
Limitation
This implementation is restricted to 1-D gray scale functions.
Examples
f=[3 0 5 4 5 2 3 1 4];
sg=mmsg(f,6)

sg =
     0     0     0     0     0     0     0     0     0
     0     0     1     0     1     0     0     0     0
     0     0     1     1     1     0     0     0     1
     1     0     1     1     1     0     1     0     1
     1     0     1     1     1     1     1     0     1
     1     0     1     1     1     1     1     1     1
Equation

equation

See Also
mmtop - Top of a set.

[Top] [Up] [Prev] [Next] [Up] [Tutorial] Valid XHTML 1.0!
Copyright (c) 1998-20001 by SDC Information SystemsCopyright (c) 1998-20001 by SDC Information Systems