assign.by.size: Assign categories to features based on size & shape

Description Usage Arguments Value Examples

Description

For each feature, get the ratio of the longest to shortest bounding edge. Small features with a ratio close to 1 are set as post-holes; slightly larger as annotations; the largest as linear features.

Usage

1
2
assign.by.size(site, lower = 3, mid = 50, upper = 100, ratio = 0.8,
  density = 0.2, plot = T)

Arguments

site

Feature set list, containing a raster of all features, and a matrix assigning each feature to a particular type.

lower

Cell count threshold below which a feature is classed as noise.

mid

Cell count threshold below which a feature is classed as a post-hole.

upper

Cell count threshold above which a feature is classed as a linear feature of the map.

ratio

Ratio (of longest to shortest edge) above which

Value

New feature set list containing the original raster of numbered features and a matrix of newly assigned feature types. Also plots the new feature types.

Examples

1

ClairBee/AS.preprocessing documentation built on May 6, 2019, 11:50 a.m.