skimage 0.17.2

ParametersReturns
_log_polar_mapping(output_coords, k_angle, k_radius, center)

Parameters

output_coords : ndarray

:None:None:`(M, 2)` array of :None:None:`(col, row)` coordinates in the output image

k_angle : float

Scaling factor that relates the intended number of rows in the output image to angle: k_angle = nrows / (2 * np.pi)

k_radius : float

Scaling factor that relates the radius of the circle bounding the area to be transformed to the intended number of columns in the output image: k_radius = width / np.log(radius)

center : tuple (row, col)

Coordinates that represent the center of the circle that bounds the area to be transformed in an input image.

Returns

coords : ndarray

:None:None:`(M, 2)` array of :None:None:`(col, row)` coordinates in the input image that correspond to the :None:None:`output_coords` given as input.

Inverse mapping function to convert from cartesian to polar coordinates

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/transform/_warps.py#966
type: <class 'function'>
Commit: