orbbec / OrbbecSDK-K4A-Wrapper

This repo is forked from Azure-kinect-Sensor-SDK,contain the K4A wrapper for OrbbecSDK.
https://www.orbbec.com/
MIT License
24 stars 7 forks source link

Soft Filter Does Very Little #62

Open jbrownkramer opened 2 months ago

jbrownkramer commented 2 months ago

Describe the bug I have added a call to k4a_device_enable_soft_filter in the hopes that it would filter depth less aggressively than the previous version of the SDK. That does not seem to be the case. I fail to see a significant difference between the depth image with Soft Filter True and Soft Filter False.

Here is a surface normal image with it set false:

image

Here it is set true:

image

To Reproduce Add the end of the code that opens the cameras, call ::k4a_device_enable_soft_filter(device, false); or ::k4a_device_enable_soft_filter(device, true);

Expected behavior Some notable difference in the depth images. Hopefully less aggressive filtering than the default.

Desktop (please complete the following information):

zzuliys commented 2 months ago

Currently using default parameters, we are considering adding corresponding coordination parameters to the interface in the future

Current expected output:

Depth resolution: 1024*1024

image

Depth resolution: 640*576

image

Depth resolution: 512*512

image

Depth resolution: 320*288

image

jbrownkramer commented 2 months ago

Interesting! Is it on or off by default? Do you have info on how fast the soft filter is?