dKQ {DRIP} | R Documentation |
Performance Measure of Edge Detector
Description
Compute the dissimilarity measure between two sets of edge pixels. It is used as a performance measure for step or roof edge detectors.
Usage
dKQ(edge1, edge2)
Arguments
edge1 |
One set of pixels. |
edge2 |
The other set of pixels. |
Details
The mathematical definition of is as follows.
, where
and
are two point sets, and
denotes the Euclidean distance.
Value
Value of the
References
Kang, Y. and Qiu, P., "Jump Detection in Blurred Regression Surfaces," Technometrics, 56, 2014, 539-550, doi:10.1080/00401706.2013.844732.
Examples
mat1 <- matrix(c(1, rep(0, 3)), ncol = 2)
mat2 <- matrix(c(rep(0, 3), 1), ncol = 2)
dKQ(mat1, mat2)
[Package DRIP version 2.0 Index]