warp_polar(image, center=None, *, radius=None, output_shape=None, scaling='linear', multichannel=False, **kwargs)
Input image. Only 2-D arrays are accepted by default. If :None:None:`multichannel=True`
, 3-D arrays are accepted and the last axis is interpreted as multiple channels.
Point in image that represents the center of the transformation (i.e., the origin in cartesian space). Values can be of type :None:None:`float`
. If no value is given, the center is assumed to be the center point of the image.
Radius of the circle that bounds the area to be transformed.
Specify whether the image warp is polar or log-polar. Defaults to 'linear'.
Whether the image is a 3-D array in which the third axis is to be interpreted as multiple channels. If set to :None:None:`False`
(default), only 2-D arrays are accepted.
Passed to :None:None:`transform.warp`
.
The polar or log-polar warped image.
Remap image to polar or log-polar coordinates space.
Perform a basic polar warp on a grayscale image:
This example is valid syntax, but we were not able to check execution>>> from skimage import data
... from skimage.transform import warp_polar
... image = data.checkerboard()
... warped = warp_polar(image)
Perform a log-polar warp on a grayscale image:
This example is valid syntax, but we were not able to check execution>>> warped = warp_polar(image, scaling='log')
Perform a log-polar warp on a grayscale image while specifying center, radius, and output shape:
This example is valid syntax, but we were not able to check execution>>> warped = warp_polar(image, (100,100), radius=100,
... output_shape=image.shape, scaling='log')
Perform a log-polar warp on a color image:
This example is valid syntax, but we were not able to check execution>>> image = data.astronaut()See :
... warped = warp_polar(image, scaling='log', multichannel=True)
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.transform._warps.warp_polar
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