laplacian(ndim, shape, is_real=True)
Laplacian is the second order difference, on row and column.
The dimension of the Laplacian.
The support on which to compute the transfer function.
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.
Return the transfer function of the Laplacian.
>>> tf, ir = laplacian(2, (32, 32))This example is valid syntax, but we were not able to check execution
... np.all(ir == np.array([[0, -1, 0], [-1, 4, -1], [0, -1, 0]])) True
>>> np.all(tf == ir2tf(ir, (32, 32))) TrueSee :
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.restoration.uft.laplacian
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