Questions tagged [occlusion]

74 questions
3
votes
0 answers

What is the difference between occlusion culling and occlusion handling?

I've researched the occlusion problem in Augmented reality. I read some academic articles and they categorized them as "Occlusion Handling". Then I googled the same question and I realized people discuss "Occlusion Culling" with some known…
3
votes
2 answers

Occlusion in AR

I'm trying make virtual objects be hidden when a real world object is positioned in front of it, but not having any luck with it, i've been playing with the occlusion settings in unity but the virtual objects do not become hidden?
Tim
  • 47
  • 1
  • 4
2
votes
1 answer

Count image similarity on GPU [OpenGL/OcclusionQuery]

OpenGL. Let's say I've drawn one image and then the second one using XOR. Now I've got black buffer with non-black pixels somewhere, I've read that I can use shaders to count black [ rgb(0,0,0) ] pixels ON GPU? I've also read that it has to do…
Slava V
  • 16,686
  • 14
  • 60
  • 63
2
votes
2 answers

action script 3 - is it possible to trigger click event only when mouse is clicked on the image part?

I have a problem and I have potential solution. But I wanted to confirm if there is an easy and simple way to solve my problem. App type: Isometric Game Problem statement: I am loading images in my flash app and have mouse events attached to…
dejjub-AIS
  • 1,501
  • 2
  • 24
  • 50
2
votes
0 answers

How does the Occlusion Sensitivity and predicted class map works in the given link?

I am working on CIFAR-10 dataset and trying to understand how the model predicts the image (i.e. Explainable and Interpretation of the AI). One of the ways to do this is using occlusion sensitivity. I found this wonderful code on Occlusion…
2
votes
1 answer

Person Segmentation on iPhone XR with ARKit 3.0

The following piece of code returns false on iPhone XR even-though it person segmentation is working on XR. ARConfiguration.supportsFrameSemantics(.personSegmentation) I want to know if it does officially supports person segmentation and person…
Mubashir Ali
  • 349
  • 1
  • 10
2
votes
2 answers

Occlusion estimation in pointcloud using pcl voxelgridOcclusionEstimation

I need to find out which points of a pointcloud are visible from a RGBD sensor located at origin(0,0,0). I tried to use the voxelgridOcclusionEstimation class of pcl to determine the visible region in the cloud as seen by the sensor. It uses ray…
user27665
  • 673
  • 7
  • 27
2
votes
1 answer

Parallax shader

I recently tried adding parallax occlusion mapping to my landscape renderer and it looks and works fine, but I've faced some problems. Here are 2 images (one with only normal texture mapping, another with parallax occlusion mapping also). I have…
Yippie-Ki-Yay
  • 22,026
  • 26
  • 90
  • 148
2
votes
0 answers

Matplotlib multiple `plot_surface`s, how do you get proper occlusion of surfaces?

I have two Matplotlib plot_surfaces that intersect. For example, two spheres that are close enough to intersect. When I use the mouse to move the camera angle, I expect proper occlusion (I.e. not to see the parts of the sphere that are hidden by…
Trevor Boyd Smith
  • 18,164
  • 32
  • 127
  • 177
2
votes
1 answer

Occlusion with octrees

I just started learning opengl and writing a first person shooter but I'm getting horrible framerates when I draw 5000 cubes. So now I'm attempting to perform occlusion and culling using an octree. What I'm confused about is where to cast the rays…
Xavier
  • 8,828
  • 13
  • 64
  • 98
2
votes
3 answers

Occlusion with camshift

I am working on object tracking by camshift algorithm. For the time being I am using the inbuilt opencv code wherein I have trouble dealing with occlusion. hsv = cv2.cvtColor(self.frame, cv2.COLOR_BGR2HSV) mask = cv2.inRange(hsv, np.array((0.,…
kushal
  • 301
  • 1
  • 7
  • 18
2
votes
1 answer

C/C++ OpenGL Occlusion Culling

I'm trying out raw OpenGL, so I decided to code very, very simple game based on 3d blocks, something a'la retarded Minecraft game, just to improve my skills. Last problems I've met with were cullings. I've finally figured out how to make Frustum…
1
vote
0 answers

Occlusion Culling for Grid Aligned Cells

Given: A 3d, axis aligned grid of cells with side length L. A plane with start position, side L and a axis aligned normal; A arbitrary positioned/rotated camera with variable vertical field of view I need to check what cells lies completely behind…
Pedro
  • 11
  • 1
1
vote
1 answer

2D overlapping rectangles occlusion

I'm looking for an algorithm that can find intersecting rectangles that overlap each other. The catch is that my data structure is similar to a quadtree with bounding boxes instead of points. I'm doing a basic rectangle intersection check but the…
1
vote
1 answer

Registration of Real Objects in video frame

I would like to ask if it is possible to deal inside openCV with the registration of an virtual object into a real image(real world object). After detecting the region of interest in a real captured image frame, I would like to substitute the…