Questions tagged [depth]

The depth of a node in a tree is the length of the path to its root. The depth of an image is the number of bits used to indicate the color of a single pixel.

The depth of a node in a tree is the length of the path to its root. The depth of the tree is the maximum depth of all nodes.

See also:


The depth of an image is the number of bits used to indicate the color of a single pixel.

See also:

742 questions
-1
votes
1 answer

depth limited search - Not giving me the right result due to the depth I guess?

/*for example using a graph of this nature ----1-----0 /\ ---2----3----1 /\ /\ --4--5--6--7---2 at level 2 it will return 1,2,4,5,3 instead of…
Tunde
  • 1
  • 3
-1
votes
1 answer

Why do I get incomplete attachment when setting up opengl fbo for rendering to cubemap depth texture?

I am attempting to render a scene's depth to a cubemap texture, but upon checking the framebuffer status it returns GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT and of course no rendering occurs. Obviously I am missing something but I cannot seem to figure…
Daniel N
  • 53
  • 1
  • 11
-1
votes
1 answer

c++ Navigating a "Maze" of Nodes mysterious error

I have an issue that I can't seem to figure out. Below is all of my code detailing two classes System and Node. What I am creating is a program that reads in a file and creates a "maze" (map rooms) of Nodes and then navigates from a specified…
-1
votes
2 answers

Error in implementing a recursive depth first algorithm in python

I am doing some practice problems on udacity and have to write some recursive code to find path to friends in a node. And i came up with this. However the recursive definition is missing a stopping condition i think where the connection is not…
-1
votes
1 answer

OpenGL GL_DEPTH_TEST with custom projection matrix

I am developping an augmented reality application for desktop using OpenCV and OpenGL, for that I am using custom projection matrix with camera calibration parameters to do that. The next step is to extract the depth map from the scene. The problem…
Amine
  • 17
  • 7
-1
votes
1 answer

surface feature detection on image processing

An example of detectSURFFeatures in comparison of 2 image is in below. I couldn't make detectSURFFeatures function work in my MATLAB. no help or doc detectSURFFeatures gives any clue. the error says " > UncalibratedSterio Undefined function…
-1
votes
2 answers

parent-child depth will change in actionscript

Please have a look at this project, in this project I have two symbol, one of them create and add another symbol as child. Child symbol is drawn over parent as I expected. Parent symbol has two frames. When parent goes to second frame, child symbol…
Sajjjj
  • 3
  • 1
-1
votes
1 answer

depth buffer is not rendered properly

I'm facing a problem rendering the depth buffer. I get some strange artifacts when I try to render my depth buffer to a texture. In the end, I want to render topography data. As a toy example, I would like to render a square. The colour of the…
Thomas
  • 13
  • 1
-1
votes
1 answer

Looking for c / c++ library to generate a PointCloud ot an Depth Image / Ranged Map

I am looking a c / c++ library where I can throw in an depth image and a few camera parameters and get a point cloud out it. Does someone know such a library? Like: cv::Mat depthImage; glm::vec3 cameraPosition(x,y,z); glm::vec3…
stupidstudent
  • 678
  • 4
  • 13
-1
votes
1 answer

Remove background from kinect depth data

I want to remove background from kinect depth data. how can ı do that. Another way can ı change kinect max. distange range. Any suggestions? Thanks
AylinCoskun
  • 3
  • 1
  • 3
-1
votes
1 answer

A way to check if a category is a last level node in category.tpl, prestashop

I know it is possible to know what depth you are at with $category->depth, but is there a straght-forward way to check if it is indeed last level node? Thanks
-1
votes
1 answer

Opengl ES 2.0 Depth test doesn't work properly

I'm trying to learn OpenGL ES 2.0 and I went to load 3d models on Android. I can now load properly with the model texture, but I have a problem on the display depth. When I place my model in perspective, and part of the model is hidden by another…
Maxime4000
  • 77
  • 2
  • 11
-1
votes
1 answer

convert kinect depth image to real world dimensions

I am working on a project that uses kinect to avoid obstacles I am using Visual Studio C++, OpenCV library, and code laboratories drivers (CL NUI Platform).And i want to convert the depth image to a real world dimensions. Thanks in advance Here is…
-1
votes
2 answers

Binary Tree in c -> crashes at depth of more than 7

I have made a simple binary tree structure in c. In main(), a tree is CREATED, PRINTED and DELETED (to test if everything is in order). It works fine to the depth of 7 nodes but if i set the depth to 8 or more it crashes. I've tried many things…
-2
votes
2 answers

Get the level of a key in a Object

now I'm using JSON Objects to compare information, and I don't know if there is a way to get the level of depth in a specific key. For example, I have this JSON Object: { hi : "everyone", hereIs : { an : "Object" } } And I need to…
1 2 3
49
50