ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
ReUseX::vision::common::object::Depth Struct Reference

Depth map result with per-pixel depth values. More...

#include <object.hpp>

Public Member Functions

float point_depth (int x, int y) const
 Returns the depth at pixel (x, y).
float average_depth () const
 Returns the average depth over the entire map.
float min_depth () const
 Returns the minimum depth value.
float max_depth () const
 Returns the maximum depth value.
float area_average_depth (const cv::Mat &seg) const
 Returns the average depth within the region indicated by a segmentation mask.
float area_average_depth (const Box &box) const
 Returns the average depth within the given bounding box region.

Public Attributes

cv::Mat depth
 CV_32F depth image.
float fog_data = 0.0f
 Optional fog/haze estimate.

Detailed Description

Depth map result with per-pixel depth values.

Definition at line 149 of file object.hpp.

Member Function Documentation

◆ area_average_depth() [1/2]

float ReUseX::vision::common::object::Depth::area_average_depth ( const Box & box) const

Returns the average depth within the given bounding box region.

◆ area_average_depth() [2/2]

float ReUseX::vision::common::object::Depth::area_average_depth ( const cv::Mat & seg) const

Returns the average depth within the region indicated by a segmentation mask.

◆ average_depth()

float ReUseX::vision::common::object::Depth::average_depth ( ) const

Returns the average depth over the entire map.

◆ max_depth()

float ReUseX::vision::common::object::Depth::max_depth ( ) const

Returns the maximum depth value.

◆ min_depth()

float ReUseX::vision::common::object::Depth::min_depth ( ) const

Returns the minimum depth value.

◆ point_depth()

float ReUseX::vision::common::object::Depth::point_depth ( int x,
int y ) const

Returns the depth at pixel (x, y).

Member Data Documentation

◆ depth

cv::Mat ReUseX::vision::common::object::Depth::depth

CV_32F depth image.

Definition at line 150 of file object.hpp.

◆ fog_data

float ReUseX::vision::common::object::Depth::fog_data = 0.0f

Optional fog/haze estimate.

Definition at line 151 of file object.hpp.


The documentation for this struct was generated from the following file:
  • libs/reusex/include/ReUseX/vision/common/object.hpp