
Modify detected edges to make them thin.
modify1(bandwidth, image, edge, plot)
Returns a matrix of zeros and ones of the same size as edge.
A matrix that represents the image.
A positive integer to specify the number of pixels used in the local smoothing.
A matrix of 0 and 1 represents detected edge pixels.
If plot = TRUE, images of detected edges before the modification and after the modification are plotted.
A local-smoothing based edge detection algorithm may flag deceptive edge
pixel candidates. One kind of such candidates consists of those close
to the real edges. They occur due to the nature of local
smoothing. That is, if the point
Qiu, P. and Yandell, B., "Jump detection in regression surfaces," Journal of Computational and Graphical Statistics 6(3), 1997, 332-354.
modify2
data(sar) # SAR image is bundled with the package and it is a
# standard test image in statistics literature.
edge = stepEdgeLCK(sar, 4, 20)
out = modify1(4, sar, edge)
Run the code above in your browser using DataLab