This message was posted on behalf of Intel Corporation
It is possible to do segmentation using SDK 2.0--refer to the align example at https://github.com/IntelRealSense/librealsense/tree/master/examples/align. This example is not distributed with the Windows installer, only on Ubuntu, because it depends on the IMGUI tool. But you can compile it on Windows if you get the tool or just extract what you need from it and use it in your own application.
For best segmentation results, we recommend configuring the depth camera for“High Density” + post-processing + hole-filling
See the measure example for how to use hole-filling: https://github.com/IntelRealSense/librealsense/blob/ba01147d65db16fdf4da36a3e718fe81c8421034/examples/measure/readme.md.
Intel Customer Support