Rank: 60605 based on 0 downloads (last 30 days) and 0 file submitted
photo

Andy

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Andy View all
Updated File Comments Rating
25 May 2011 Functions for the rectangular assignment problem This package provides m- and mex-functions for solving the rectangular assignment problem. Author: Markus Buehren

25 May 2011 LAPJV - Jonker-Volgenant Algorithm for Linear Assignment Problem V3.0 A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. Author: Yi Cao

My post was deleted somehow

I am having a problem with bad assignments. The data I am using is two sets of 8x2 centroids specified by (row,col). The first set is measured data and tsecond data is predicted via alpha-beta filter. I using the assignemtn algorithm to match up masured data with existing filter pipelines, but even for a simple scenario such as:

meas =
[122.9178,122.9178;122.9178,202.9178;0,0;0,0;0,0;0,0;0,0;0,0];
pred =
[122.4879,121.0182;0,0;0,0;0,0;0,0;0,0;0,0;0,0];

i get
rowsol = [2;3;6;7;8;1;4;5],

wich is obviously not right. Even with Munkres i get
rowsol_munkres = [2;1;3;4;5;6;7;8],

which is still off.

Any suggestions?

25 May 2011 LAPJV - Jonker-Volgenant Algorithm for Linear Assignment Problem V3.0 A Matlab implementation of the Jonker-Volgenant algorithm solving LAPs. Author: Yi Cao

Sorry here is the costmat code:

costMat = zeros(n,n);

%Populate nxn error matrix
%--------------------------------
for j = 1:n
for k = 1:n
costMat(j,k) = ( x_pred(j)-x_meas(k) )^2 + ( y_pred(j)-y_meas(k) )^2;
end
end

Contact us