deriche | R Documentation |
The Deriche filter is a fast approximation to a Gaussian filter (order = 0), or Gaussian derivatives (order = 1 or 2).
deriche(im, sigma, order = 0L, axis = "x", neumann = FALSE)
im |
an image |
sigma |
Standard deviation of the filter. |
order |
Order of the filter. 0 for a smoothing filter, 1 for first-derivative, 2 for second. |
axis |
Axis along which the filter is computed ( 'x' , 'y', 'z' or 'c'). |
neumann |
If true, use Neumann boundary conditions (default false, Dirichlet) |
deriche(boats,sigma=2,order=0) %>% plot("Zeroth-order Deriche along x")
deriche(boats,sigma=2,order=1) %>% plot("First-order Deriche along x")
deriche(boats,sigma=2,order=1) %>% plot("Second-order Deriche along x")
deriche(boats,sigma=2,order=1,axis="y") %>% plot("Second-order Deriche along y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.