Skip to content
Snippets Groups Projects
Commit ccbd22c2 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Improved confidence

parent 965dd96d
No related branches found
No related tags found
1 merge request!122Implements #183 depth ray correspondences
This commit is part of merge request !122. Comments created here will be created in the context of that merge request.
......@@ -187,7 +187,7 @@ __global__ void correspondence_energy_vector_kernel(
}
const float avgcolour = totalcolour/(float)count;
const float confidence = bestcolour - avgcolour;
const float confidence = bestcolour / totalcolour; //bestcolour - avgcolour;
if (bestweight > 0.0f) {
float old = conf.tex2D(x,y);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment