skimage 0.17.2

NotesParametersReturnsBackRef
ifrt2(a)

Notes

The FRT has a unique inverse if and only if n is prime. See for an overview. The idea for this algorithm is due to Vlad Negnevitski.

Parameters

a : array_like

A 2-D (n+1) row x n column integer array.

Returns

iFRT : 2-D n x n ndarray

Inverse Finite Radon Transform array of n x n integer coefficients.

Compute the 2-dimensional inverse finite radon transform (iFRT) for an (n+1) x n integer array.

See Also

frt2

The two-dimensional FRT

Examples

This example is valid syntax, but we were not able to check execution
>>> SIZE = 59
... img = np.tri(SIZE, dtype=np.int32)

Apply the Finite Radon Transform:

This example is valid syntax, but we were not able to check execution
>>> f = frt2(img)

Apply the Inverse Finite Radon Transform to recover the input

This example is valid syntax, but we were not able to check execution
>>> fi = ifrt2(f)

Check that it's identical to the original

This example is valid syntax, but we were not able to check execution
>>> assert len(np.nonzero(img-fi)[0]) == 0
See :

Back References

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

skimage.transform.finite_radon_transform.frt2 skimage.transform.finite_radon_transform.ifrt2

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/transform/finite_radon_transform.py#71
type: <class 'function'>
Commit: