Description Usage Arguments Examples
View source: R/nhapply_manipulation.R
A Function to generate built-in Pixel-Neighbourhood of custom size
1 | generate_coords_default(neighb_type = 1, width = 1, include.own = FALSE)
|
neighb_type |
specifies the type of surrounding: Type 1 is square-shaped ("Moore-Neighbourhood") Type 2 is cross-shaped ("Von-Neumann-Neighbourhood") Type 3 is diamond-shape |
width |
specifies how many neighbour pixels horizontally and vertically from center pixel should be included |
include.own |
tells, if the value of the center pixel should be included |
1 | co <- generate_coords_default(neighb_type = "moore", width = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.