sobel | R Documentation |
sobel
calculates the first, second, third, or mixed image
derivatives of an image using an extended Sobel operator.
sobel(
image,
dx = 1,
dy = 1,
k_size = 5,
scale = 1,
target = "new",
in_place = NULL
)
image |
An |
dx |
Order of the x derivative (default: 1). |
dy |
Order of the y derivative (default: 1), |
k_size |
The half-size in pixels of the kernel (default: 5). |
scale |
The scale factor for the computed derivative 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
, laplacian
, scharr
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
balloon_sobel <- sobel(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.