Skip to content

Commit 429b434

Browse files
committed
Update depth_packet_processor.cpp
Just a check, like in cocktails with 4 thirds....
1 parent 40ba27c commit 429b434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/depth_packet_processor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ DepthPacketProcessor::Parameters::Parameters()
6161
gaussian_kernel[1] = 0.1131098f;
6262
gaussian_kernel[2] = 0.1069973f;
6363
gaussian_kernel[3] = 0.1131098f;
64-
gaussian_kernel[4] = 0.1195715f;
64+
gaussian_kernel[4] = 0.1195716f; // sum shall be 1.0f, not 0.9999999f ? (rounding errors accumulating here)
6565
gaussian_kernel[5] = 0.1131098f;
6666
gaussian_kernel[6] = 0.1069973f;
6767
gaussian_kernel[7] = 0.1131098f;

0 commit comments

Comments
 (0)