Closed JeroenDelcour closed 4 years ago
Thanks. Will take a look and make changes accordingly.
Dear Bing-jian: I am so confused that data "fish_X_nohead" and "fish_ynotail" have poor performance on point set registration. For what reason? weather should I set some good initial value?
Thanks!
@bing-jian
Dear Bing-jian:
Thanks for your kindness to answer my question so soon. Maybe I have some wrong operations . I use the main,m to run the program. The main.m is as follows:
Thank you very much!
addpath(genpath(pwd)) model = textread('C:\Users\Administrator\Desktop\gmmreg-master\data\fish_data\fish_X_nohead.txt'); scene = textread('C:\Users\Administrator\Desktop\gmmreg-master\data\fish_data\fish_Y_notail.txt'); [config] = initialize_config(model,scene,'tps'); [param, transformed_model, history, config] = gmmreg_L2(config); figure(1) DisplayPoints2D(model,scene); figure(2) DisplayPoints2D(transformed_model,scene);
Now there is a new repo for the Python implementation of gmmreg: https://github.com/bing-jian/gmmreg-python And this one should work for Python 3. If not, please let me know. Thanks!
In
_core.py
, the following two lines are commented out:However, it seems
_extension
contains a function calledgauss_transform
which is required to run the examplegmmreg.test('fish_partial.ini')
stated in the readme.Simply uncommenting worked for me, but being relatively new to compiling Python code, it took me a bloody long time to figure it out. To make it easier for future dwellers, I recommend these lines be uncommented :)