eplist {edci}R Documentation

Conversion of Matrices returned by edgepoints

Description

The matrices returned by edgepoints are converted into a list of edgepoints and a list of corresponding angles. This is useful for processing the results of edgepoints by oregMclust.

Usage

  eplist(data, maxval, test=FALSE, xc=NULL, yc=NULL)

Arguments

data list object returned from edgepoints.
maxval positive numbers. Critical value for deciding, if an pixel belongs to an edge or not.
test optional boolean. Must be set to TRUE if edgepoints was used with estimator="test_mean" or estimator="test_median". Then maxval is the level of the test.
xc,yc optional numerical vectors defining the coordinates of the edgepoints. A pixel with jump height data[[1]][i,j] gets the coordinates (xc[i],yc[j]). As default, the coordinates are assumed as equidistant within [0,1], e.g. if the matrix of jump heights is a n-m-matrix, the pixel at position i,j gets the coordinates (i/n,j/m).

Value

A numerical matrix is returned. The first two columns contain the coordinates of the pixels, for which the detected jump height is larger than maxval (or smaller then maxval, if test=TRUE). The third column contains the corresponding angles.

Author(s)

Tim Garlipp, garlipp@mathematik.uni-oldenburg.de

See Also

edgepoints


[Package Contents]