This work focuses on reformulating point set registration using Gaussian Mixture Models while considering attributes associated with each point. Our approach introduces class score vectors as additional features to the spatial data information. By incorporating these attributes, we enhance the optimization process by penalizing incorrect matching terms. See the paper: Improving GMM registration with class encoding
Jian&Vemuri (2011) have proposed to estimate deformation
where
For simplicity, we have chosen isotropic covariance
for 2D case we have :
We propose to extend the GMMreg by concatenating a class vector (noted
The main code is gmmreg_extenstion.py
utilizing the following functions:
- Pre-processing We first normalize the data points with the z-score method. Then we augment the class score vector to each point, for example :
We assume that each point represents one class. For this example, we have three data points associated with three classes.
-
transforms
The affine transformation between shapes is defined by three basic transformations: rotation, translation, and scaling. In the case of 2D shapes, for instance, the latent variable
to estimate can be defined by the following parameters :
$$\theta = [t_1,t_2,\phi]$$ Where$\phi$ is rotation parameter, and$t_1$ and$t_2$ are rotation parameters.
-
L2_objective
To compute the L2 distance between the two Gaussian mixture densities constructed from a 'model' point set and a 'scene' point set at a given
$\sigma$ (or scale), we need to the inner product between two spherical Gaussian mixtures, computed using the Gauss Transform.The centers of the two mixtures are given in terms of two point sets A and B (of the same dimension d)represented by an$m$ x$d$ matrix and an$n$ x$d$ matrix, respectively. It is assumed that all the components have the same covariance matrix represented by a scale parameter ($\sigma$ ). The inner products are implemented in thegauss_transform
function. To optimize the$L_2$ distance computing fromgauss_transform
function, simulating annealing with temperature parameter$\sigma$ is used due to the fact that for large$\sigma$ the$L_2$ distance tends to be non-convex.