Closed Jingnan-Jia closed 1 year ago
Well noticed! I made here the classical mistake of taking the mean of some means - which works well, when both are of the same size, but not in the present case, where the surface voxel of A
and B
might differ in number.
Luckily, the numbers won't we off by much as long as |A|
and |B|
are of similar size.
Will close after merge. Thank you for contributing!
Average symmetric surface distance (assd) seems implemented wrongly here.
In this line%20)), assd = (asd(A, B) + asd(B, A))/2, where A and B are two sets of points respresenting the reference and result. However, it is wrong.
The correct equaton of
assd
should be: assd = (asd(A, B) + asd(B, A))/(N_A + N_B), where N_A and N_B are the total pixel numbers of A and B.A great number of academic papers used the second equation, for instance: