synthesis | R Documentation |
synthesis
computes the graph signal synthesis from its transform coefficients using the provided frame coefficients.
synthesis(coeff, tf)
coeff |
Numeric vector/matrix. Transformed coefficients of the graph signal. |
tf |
Numeric matrix. Frame coefficients. |
The synthesis
operator uses the frame coefficients to retrieve the graph signal from its representation in the transform domain. It is the adjoint of the analysis operator T_{\mathfrak F}
and is defined by the linear map T_{\mathfrak F}^\ast : \mathbb R^I \rightarrow \mathbb R^V
. For a vector of coefficients (c_i)_{i \in I}
, the synthesis operation is defined as:
T^\ast_{\mathfrak F}(c_i)_{i \in I}=\sum_{i \in I} c_i r_i
The synthesis is computed as:
\code{y} = \code{coeff}^T\code{tf}
y
Numeric vector/matrix. Synthesized graph signal.
analysis
, tight_frame
## Not run:
# Extract the adjacency matrix from the grid1 and compute the Laplacian
L <- laplacian_mat(grid1$sA)
# Compute the spectral decomposition of L
decomp <- eigensort(L)
# Generate the tight frame coefficients using the tight_frame function
tf <- tight_frame(decomp$evalues, decomp$evectors)
# Create a random graph signal.
f <- rnorm(nrow(L))
# Compute the transform coefficients using the analysis operator
coef <- analysis(f, tf)
# Retrieve the graph signal using the synthesis operator
f_rec <- synthesis(coef, tf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.