skimage 0.17.2

ParametersReturnsBackRef
laplacian(ndim, shape, is_real=True)

Laplacian is the second order difference, on row and column.

Parameters

ndim : int

The dimension of the Laplacian.

shape : tuple

The support on which to compute the transfer function.

is_real : boolean, optional

If True (default), imp_resp is assumed to be real-valued and the Hermitian property is used with rfftn Fourier transform to return the transfer function.

Returns

tf : array_like, complex

The transfer function.

impr : array_like, real

The Laplacian.

Return the transfer function of the Laplacian.

Examples

This example is valid syntax, but we were not able to check execution
>>> tf, ir = laplacian(2, (32, 32))
... np.all(ir == np.array([[0, -1, 0], [-1, 4, -1], [0, -1, 0]])) True
This example is valid syntax, but we were not able to check execution
>>> np.all(tf == ir2tf(ir, (32, 32)))
True
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

skimage.restoration.uft.laplacian

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/restoration/uft.py#408
type: <class 'function'>
Commit: