skimage 0.17.2

NotesParametersReturns
_line_profile_coordinates(src, dst, linewidth=1)

Notes

This is a utility method meant to be used internally by skimage functions. The destination point is included in the profile, in contrast to standard numpy indexing.

Parameters

src : 2-tuple of numeric scalar (float or int)

The start point of the scan line.

dst : 2-tuple of numeric scalar (float or int)

The end point of the scan line.

linewidth : int, optional

Width of the scan, perpendicular to the line

Returns

coords : array, shape (2, N, C), float

The coordinates of the profile along the scan line. The length of the profile is the ceil of the computed length of the scan line.

Return the coordinates of the profile of an image along a scan line.

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/measure/profile.py#130
type: <class 'function'>
Commit: