inpaint_biharmonic(image, mask, multichannel=False)
Input image.
Array of pixels to be inpainted. Have to be the same shape as one of the 'image' channels. Unknown pixels have to be represented with 1, known pixels - with 0.
If True, the last :None:None:`image`
dimension is considered as a color channel, otherwise as spatial.
Input image with masked pixels inpainted.
Inpaint masked points in image with biharmonic equations.
>>> img = np.tile(np.square(np.linspace(0, 1, 5)), (5, 1))See :
... mask = np.zeros_like(img)
... mask[2, 2:] = 1
... mask[1, 3:] = 1
... mask[0, 4:] = 1
... out = inpaint_biharmonic(img, mask)
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.restoration.inpaint.inpaint_biharmonic
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