Using median within regions lbpm_uCT_pp

This commit is contained in:
James E McClure 2016-04-25 19:25:16 -04:00
commit e9099ce814

View File

@ -779,7 +779,7 @@ int main(int argc, char **argv)
for (i=0;i<nsx;i++){
float dst = spDist(i,j,k);
// use exponential weight based on the distance
float temp = 1.0-exp(-lambda*fabs(dst)));
float temp = 1.0-exp(-lambda*fabs(dst));
float value;
if (dst > 0){
value = temp*mean_plus;