Using median within regions lbpm_uCT_pp
This commit is contained in:
commit
e9099ce814
@ -779,7 +779,7 @@ int main(int argc, char **argv)
|
|||||||
for (i=0;i<nsx;i++){
|
for (i=0;i<nsx;i++){
|
||||||
float dst = spDist(i,j,k);
|
float dst = spDist(i,j,k);
|
||||||
// use exponential weight based on the distance
|
// 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;
|
float value;
|
||||||
if (dst > 0){
|
if (dst > 0){
|
||||||
value = temp*mean_plus;
|
value = temp*mean_plus;
|
||||||
|
Loading…
Reference in New Issue
Block a user