src.factorize_graph_matching

Functions

construct_aff_mat

Construct the complete affinity matrix with edge-wise affinity matrix \(\mathbf{K}_e\), node-wise matrix \(\mathbf{K}_p\) and graph connectivity matrices \(\mathbf{G}_1, \mathbf{H}_1, \mathbf{G}_2, \mathbf{H}_2\)

construct_sparse_aff_mat

Construct sparse affinity matrix with edge-wise affinity matrix \(\mathbf{K}_e\), node-wise matrix \(\mathbf{K}_p\) and graph connectivity matrices \(\mathbf{G}_1, \mathbf{H}_1, \mathbf{G}_2, \mathbf{H}_2\)

kronecker_sparse

Compute the kronecker product of \(\mathbf{T}_1\) and \(\mathbf{T}_2\).

kronecker_torch

Compute the kronecker product of \(\mathbf{T}_1\) and \(\mathbf{T}_2\).

Classes

RebuildFGM

Rebuild sparse affinity matrix in the formula of the paper “Factorized Graph Matching, in TPAMI 2015”