Description Usage Arguments Details Value References See Also Examples

Modify detected edges to make them thin.

1 |

`image` |
A matrix that represents the image. |

`bandwidth` |
A positive integer to specify the number of pixels used in the local smoothing. |

`edge` |
A matrix of 0 and 1 represents detected edge pixels. |

`plot` |
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 *(x_i, y_j)* is flagged,
then its neighboring pixels will be flagged with high probability.
This kind of deceptive candidates can make the detected edges
thick. This modification procedure makes the detected edges
thin.

Returns a matrix of zeros and ones of the same size as edge.

Qiu, P. and Yandell, B., "Jump detection in regression surfaces,"
*Journal of Computational and Graphical Statistics* **6(3)**, 1997,
332-354.

1 2 3 4 |

```
Loading required package: readbitmap
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.