I am a beginner in Blender. This is what I do to save the depth: enter image description here

I can get the real Z in meter from the camera to the object. But how to simulate the field of view of the depth sensor?

Concretely, this is what I would like to do but using some mathematical nodes:

if (depth(i,j) < z_max) {
  if (depth(i,j) > z_min) {
    depth_clean(i,j) = depth(i,j);
  } else {
    depth_clean(i,j) = 0;
} else {
  depth_clean(i,j) = 0;
New contributor
Catree is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Catree is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.