Description Usage Arguments Value Author(s) See Also Examples
edgecluster
is a simple combination of edgepoints
and oregMclust
. It just passes the results of
edgepoints
to oregMclust
.
1 2 3 4 5 |
data |
See description of |
h1n, h2n |
See description of |
asteps |
See description of |
estimator |
See description of |
kernel |
See description of |
score |
See description of |
sigma |
See description of |
kernelfunc |
See description of |
maxval |
See description of |
bw |
See description of |
A list of two numerical matrices. The first matrix
contains the results of oregMclust
, which are the
'edgeclusters'. The second matrix contains the result of
edgepoints
.
Tim Garlipp, TimGarlipp@gmx.de
edgepoints
, oregMclust
,
eplist
1 2 3 4 5 6 7 8 9 10 11 12 13 | # generate a 60x60 zero matrix
y = matrix(rep(0, 60 * 60), nrow = 60)
# set a square-shaped set of elements to 1
y[21:40, 21:40] = 1
# add some noise
y = y + matrix(rnorm(60 * 60, 0, 0.2), nrow = 60)
# plot it
image(y, col = gray(seq(0, 1, 1/255)))
# find edge points of the square-shaped object
ec = edgecluster(y, 0.05, 0.05, 0.7,
estimator = "M_median", kernel = "gauss")
plot(bestMclust(ec[[1]], 4), ec[[2]], xlim = c(0, 1), ylim = c(0, 1))
|
row: 0/60
row: 1/60
row: 2/60
row: 3/60
row: 4/60
row: 5/60
row: 6/60
row: 7/60
row: 8/60
row: 9/60
row: 10/60
row: 11/60
row: 12/60
row: 13/60
row: 14/60
row: 15/60
row: 16/60
row: 17/60
row: 18/60
row: 19/60
row: 20/60
row: 21/60
row: 22/60
row: 23/60
row: 24/60
row: 25/60
row: 26/60
row: 27/60
row: 28/60
row: 29/60
row: 30/60
row: 31/60
row: 32/60
row: 33/60
row: 34/60
row: 35/60
row: 36/60
row: 37/60
row: 38/60
row: 39/60
row: 40/60
row: 41/60
row: 42/60
row: 43/60
row: 44/60
row: 45/60
row: 46/60
row: 47/60
row: 48/60
row: 49/60
row: 50/60
row: 51/60
row: 52/60
row: 53/60
row: 54/60
row: 55/60
row: 56/60
row: 57/60
row: 58/60
row: 59/60
Break with <CTRL>-C (linux) or <ESC> (windows)
starting point: 0/156
starting point: 100/156
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.