Added imgproc to CMakeLists.txt. I now segment the image into 128 cells from which I save the average hue value for each cell and the depth for its center pixel. With this I can convert the hue to a tone and reproject it into the 3d space using the depth.