skimage 0.17.2

ParametersReturns
_blob_overlap(blob1, blob2, *, sigma_dim=1)

Returns a float representing fraction of overlapped area. Note that 0.0 is always returned for dimension greater than 3.

Parameters

blob1 : sequence of arrays

A sequence of (row, col, sigma) or (pln, row, col, sigma) , where row, col (or (pln, row, col) ) are coordinates of blob and sigma is the standard deviation of the Gaussian kernel which detected the blob.

blob2 : sequence of arrays

A sequence of (row, col, sigma) or (pln, row, col, sigma) , where row, col (or (pln, row, col) ) are coordinates of blob and sigma is the standard deviation of the Gaussian kernel which detected the blob.

sigma_dim : int, optional

The dimensionality of the sigma value. Can be 1 or the same as the dimensionality of the blob space (2 or 3).

Returns

f : float

Fraction of overlapped area (or volume in 3D).

Finds the overlapping area fraction between two blobs.

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: /skimage/feature/blob.py#84
type: <class 'function'>
Commit: