Description Usage Arguments Examples
Makes all the values in the edges of a matrix or image a value
1 | clean_image_border(img, clean_size, val = 0)
|
img |
image to use |
clean_size |
number of rows or cols to remove on each edge |
val |
value to be used to replace 0 |
1 2 3 4 | x = readImage(system.file('images', 'shapes.png', package='EBImage'))
sobel <- sobel_filter(x, 15)
display(sobel, "raster")
display(clean_image_border(sobel, 50, 0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.