laplacian | R Documentation |
laplacian
calculates the Laplacian of the source image by
adding up the second x and y derivatives calculated using the Sobel operator.
laplacian(image, k_size = 5, scale = 1, target = "new", in_place = NULL)
image |
An |
k_size |
The half-size in pixels of the kernel (default: 5). |
scale |
The scale factor for the computed Laplacian values (default: 1). |
target |
The location where the results should be stored. It can take 3 values:
|
in_place |
Deprecated. Use |
If target="new"
, the function returns an Image
object. If target="self"
, the function returns nothing and modifies
image
in place. If target
is an Image
object,
the function returns nothing and modifies that Image
object in
place.
Simon Garnier, garnier@njit.edu
Image
, sobel
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
balloon_laplacian <- laplacian(balloon, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.