ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::core::OcclusionQuery Struct Reference

Tunables for visible_frames_occluded(). More...

#include <frame_visibility.hpp>

Collaboration diagram for reusex::core::OcclusionQuery:

Public Attributes

VisibilityQuery visibility {}
 The frustum test applied to each probe's anchor first.
double depth_tolerance = 0.15
 A probe point counts as seen when its camera-frame depth is within this many metres of the frame's measured depth at its pixel.
int depth_search_radius = 1
 Also compare against depth pixels up to this many pixels away (in the depth image) and take the closest match, so a probe on a thin edge or next to a depth hole is not lost to one bad pixel.
bool keep_frames_without_depth = true
 A frame with no depth image cannot be occlusion-tested.

Detailed Description

Tunables for visible_frames_occluded().

Definition at line 99 of file frame_visibility.hpp.

Member Data Documentation

◆ depth_search_radius

int reusex::core::OcclusionQuery::depth_search_radius = 1

Also compare against depth pixels up to this many pixels away (in the depth image) and take the closest match, so a probe on a thin edge or next to a depth hole is not lost to one bad pixel.

0 = one pixel.

Definition at line 110 of file frame_visibility.hpp.

◆ depth_tolerance

double reusex::core::OcclusionQuery::depth_tolerance = 0.15

A probe point counts as seen when its camera-frame depth is within this many metres of the frame's measured depth at its pixel.

Covers depth noise and the distance between a fused-cloud point and the surface the sensor measured.

Definition at line 106 of file frame_visibility.hpp.

◆ keep_frames_without_depth

bool reusex::core::OcclusionQuery::keep_frames_without_depth = true

A frame with no depth image cannot be occlusion-tested.

true keeps it on the frustum test alone (so a project imported without depth still has photos); false drops it.

Definition at line 114 of file frame_visibility.hpp.

◆ visibility

VisibilityQuery reusex::core::OcclusionQuery::visibility {}

The frustum test applied to each probe's anchor first.

Definition at line 101 of file frame_visibility.hpp.


The documentation for this struct was generated from the following file: