pyramid_reduce(image, downscale=2, sigma=None, order=1, mode='reflect', cval=0, multichannel=False, preserve_range=False)
Input image.
Downscale factor.
Sigma for Gaussian filter. Default is :None:None:`2 * downscale / 6.0`
which corresponds to a filter mask twice the size of the scale factor that covers more than 99% of the Gaussian distribution.
Order of splines used in interpolation of downsampling. See skimage.transform.warp
for detail.
The mode parameter determines how the array borders are handled, where cval is the value when mode is equal to 'constant'.
Value to fill past edges of input if mode is 'constant'.
Whether the last axis of the image is to be interpreted as multiple channels or another spatial dimension.
Whether to keep the original range of values. Otherwise, the input image is converted according to the conventions of img_as_float
. Also see https://scikit-image.org/docs/dev/user_guide/data_types.html
Smoothed and downsampled float image.
Smooth and then downsample image.
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.transform.pyramids.pyramid_gaussian
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