If the glass has reflective qualities even if painted then this can affect the depth quality. This noise may be intensified if you have bright lighting in the room. Reflectiveness can be dampened for better image results by spraying a fine powder such as foot powder or baby powder onto the surface.
In regard to depth accuracy, there is a relationship between accuracy and the resolution you are using. The lower the resolution that you scan at, the grater the depth error that can be introduced. I believe that a minimum resolution of 848x480 is recommended for good accuracy, with higher resolution (1280x720) being better.
With black borders like the one in your image, I usually recommend de-selecting the 'Auto Exposure' option in the RealSense Viewer software and changing the Exposure and Gain sliders manually until you get less noise in the image.
Thanks for the quick follow-up. Unfortunately, I see the same noise shape and intensity why I use a cardboard as the flat surface; I don't like using cardboard since its flatness is not that great, but since it does show the exact same noise, I must acknowledge that it is flat enough. That lead me to say that this noise is not related to reflectiveness. I also closed all the lights in the room and I still see the same noise shape and intensity.
As for the resolution, at 25 cm I did not measured significant difference between 640 x 360 and 1280 x 720 on the noise shape and intensity. I did saw a difference on the noise intensity when I moved my surface further such as a distance of 34 cm.
I also removed the auto-exposure and changed manually the exposure as well as the gain, but the noise shape and intensity are still there and do not seem to be really affected by these settings.
Is there any advanced settings that are controlling the noise compensation or that have a direct effect on the noise and its shape?
I already tried that. It does indeed affect the noise. By reducing the emitter power or even turning it off (with a flat surface that has texture), the noise shape is more smooth. Actually, the images I previously posted where with the emitter enabled set to off. By turning it on with a strong power I get a grid effect on top of the noise I already described. See attached image for the difference.
Anythings else I could try?
The IR emitter projects a pattern of dots onto what the camera is observing. Reducing laser power reduces the visibility of the dot pattern, as you observed.
Does the room that the camera is in have florescent lights like ceiling strip lights? These can create more noise than bulb lights because of a flicker rate that is hard for the human eye to see.
Yes, our lights are florescent lights but even after closing them and use the emitter as the lowest power as possible to still see something, I do see the same noise pattern and intensity.
Should I compensate the noise with some post-processing or is there any advanced settings that directly affect the noise shape and intensity?
In cases where there is noise that you cannot get rid of, doing a Point Cloud scan instead of a conventional depth scan can provide a tidier image. You can view the data as a point cloud in RealSense Viewer by clicking on the '3D' option in the top right side of the window.
I also recall an old trick about turning the camera side on or upside down so the projection light falls on the object differently.
You may also get more detail if you put a background sheet / board behind the object to act as a horizon for the image ,or surround the object with other objects to give the camera more depth points to lock on to.