Questions tagged [occlusion]
74 questions
1
vote
0 answers
How can I linearly index a masked image
I have an image which i applied a mask to
Input_image = double(imread('re1.jpg')); % original image
mask = double(imread(/block_text.bmp')); % text mask
mask = mask ./ max(mask(:));
X = Input_image.*mask; % partially observed…

Rebecca20
- 13
- 3
1
vote
1 answer
Unity Occlusion Culling breaks in fully enclosed room
In my game I have closed rooms with teleporters in them to bring you to the outside. However, when baking Occlusion in Unity, when the camera is inside of the enclosed room, it starts to cull away objects inside the room.
For example:
While flying…

FireFlyForLife
- 93
- 1
- 7
1
vote
1 answer
OpenGL render interior faces with occlusion
Is there a way in OpenGL to render only interior faces while exterior faces still cover/occlude the interior ones? To better understand what I want to accomplish, if I would slice a randomly positioned cylinder, I would see only an ellipse.
I have…

Marc
- 1,029
- 1
- 10
- 27
1
vote
0 answers
Detecting occluded face image
I have a face dataset, some of them contain partial occlusion, I want to discard the images with partial occlusion and keep only occlusion-free one. Partial occlusion may be sunglasses, hand, hair, etc. bellow is some examples.
Can anyone please…

hh tt
- 395
- 5
- 22
1
vote
0 answers
Blender (Python): Checking if vertex is visible from camera in script (with occlusion)
How can I check if a vertex in a model can be seen by a camera or if it's hidden behind another object?
I aim to use that information to find the coordinates and size of a bounding box that would be drawn around an object viewed from a camera, then…

mgrandmont
- 35
- 6
1
vote
1 answer
object (parallel lines) detection where a part is occluded
I have encountered some issues while doing object detection with opencv/python.
If you look at the image, I already know the four corners of the two green boxes. The object I am trying to detect is the red lined one, a shape of a hose.
My plan is…

SSS
- 621
- 2
- 7
- 25
1
vote
1 answer
ARKit Occlusion Invisible Plane Reference Image
I'm trying to hide SCNPlanes behind an invisible SCNPlane the same size as the ARReferenceImage. Using SCNAction I want to reveal those planes next to the ARReferenceImage
Problem
The SCNPlanes are still visible and not hidden.
This is the code I…

Mike Koene
- 330
- 3
- 15
1
vote
0 answers
Vuforia occlusion management sample
I am new to augmented reality and trying to run Vuforia sample in Unity. I am using windows 7 32 bit. I downloaded occlusion management sample from unity site : here and imported OcclusionManagement-6-2-10.unitypackage into a new project. I am also…

webcodervk
- 145
- 8
1
vote
0 answers
opengl occlusion query, for GL_SAMPLES_PASSED result is always zero
I am trying to write a sample opengl application for occlusion query to identify visible triangles. But occlusion query always returns zero count for pixel sampling.
I follow below steps to do so:
Setup opengl\glut
Call lookat from a point (from…

varad
- 11
- 1
1
vote
1 answer
Hardware occlusion query result seems not accurate
I came across an issue about occlusion query. In my case, the query result seems always larger than it is supposed to be. e.g. i use a 1024*1024 resolution for rendering, but the query result of an object in the scene is 2085029(>1024*1024).
The…

bitxue
- 31
- 4
1
vote
0 answers
Occlusion culles too early
My occlusion setup is wrong somehow because it ocludes too early sometimes
Here it looks good the red arrow marks the problem tunnel
If i move the camera just a decimeter or two back the tunnel section is culled too early, you can see that the…

Anders
- 17,306
- 10
- 76
- 144
1
vote
1 answer
OpenGL - Occlusion query depth buffer?
I've just started getting into the topic of occlusion queries in OpenGL, but I'm a bit confused about how they actually work.
In most examples I've found, the depth and color masks are deactivated before drawing with the occlusion query (Because we…

Silverlan
- 2,783
- 3
- 31
- 66
1
vote
1 answer
DirectX: Mesh displaying occluded faces
Using an old mesh, I noticed that faces in the back of the mesh were being displayed (DirectX 11) Having defined a state:
D3D11_RASTERIZER_DESC…

Rashid Ellis
- 330
- 3
- 22
1
vote
0 answers
Conservatively cover bitmap with small number of primitives?
I'm researching the the possibility of performing occlusion culling in voxel/cube-based games like Minecraft and I've come across a challenging sub-problem. I'll give the 2D version of it.
I have a bitmap, which infrequently has pixels get either…

Chris Conlon
- 103
- 7
1
vote
4 answers
Foreground Extraction
I am doing some work regarding tracking a person, I am using this dataset. I am trying right now to extract foreground using background subtraction method i.e. Mean Filter
My background is like
and if I try to subtract my current frame like…

Muaz Usmani
- 1,298
- 6
- 26
- 48