generate_coords_default: Coordinates of Default Pixel-Neighbourhoods

Description Usage Arguments Examples

View source: R/nhapply_manipulation.R

Description

A Function to generate built-in Pixel-Neighbourhood of custom size

Usage

1
generate_coords_default(neighb_type = 1, width = 1, include.own = FALSE)

Arguments

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

Examples

1
co <- generate_coords_default(neighb_type = "moore", width = 2)

Tobiaspk/RPackage_nhapply documentation built on Feb. 19, 2021, 12:13 a.m.