peak_local_max: Feature detection functions. Peak local max

View source: R/feature.R

peak_local_maxR Documentation

Feature detection functions. Peak local max

Description

Determine local maxima of marked point pattern. Indentifies local maxima of marks and returns the point pattern with only those marks.

Usage

peak_local_max(points, min_distance, threshold = 50, which.marks = NULL)

Arguments

points

Marked planar point pattern (ppp)

min_distance

Min distance around a local max in which other maxima cannot occur

threshold

Minimal value that maxima can have (default = 50).

which.marks

If ppp is marked with multiple types, this specifies which marks to calculated peaks from.

Value

ppp containing only the detected maxima.


keithschulze/supr documentation built on Nov. 26, 2022, 7:09 a.m.