skimage 0.17.2

Parameters

Inner function to local_maxima that detects all local maxima (including plateaus) in the image. The result is stored inplace inside :None:None:`flags` with the value of "QUEUED_CANDIDATE".

Parameters

image : ndarray, one-dimensional

The raveled view of a n-dimensional array.

flags : ndarray

An array of flags that is used to store the state of each pixel during evaluation and is MODIFIED INPLACE. Initially, pixels that border the image edge must be marked as "BORDER_INDEX" while all other pixels should be marked with "NOT_MAXIMUM".

neighbor_offsets : ndarray

A one-dimensional array that contains the offsets to find the connected neighbors for any index in :None:None:`image`.

Detect local maxima in n-dimensional array.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: None#None
type: <class 'fused_cython_function'>
Commit: