Class cv::linemod::DepthNormal#

Modality that computes quantized surface normals from a dense depth map.

Collaboration diagram for cv::linemod::DepthNormal:

Public Member Functions#

Public Member Functions inherited from cv::linemod::Modality

Static Public Member Functions#

Static Public Member Functions inherited from cv::linemod::Modality

Return

Name

Description

static Ptr< Modality >

create(const FileNode & fn)

Load a modality from file.

static Ptr< Modality >

create(const String & modality_type)

Create modality by name.

Additional Inherited Members#

Protected Member Functions inherited from cv::linemod::Modality

Detailed Description#

Modality that computes quantized surface normals from a dense depth map.

Constructor & Destructor Documentation#

DepthNormal()#

cv::linemod::DepthNormal::DepthNormal()

Default constructor. Uses reasonable default parameter values.

DepthNormal()#

cv::linemod::DepthNormal::DepthNormal(
int distance_threshold,
int difference_threshold,
size_t num_features,
int extract_threshold )

Constructor.

Parameters

  • distance_threshold — Ignore pixels beyond this distance.

  • difference_threshold — When computing normals, ignore contributions of pixels whose depth difference with the central pixel is above this threshold.

  • num_features — How many features a template must contain.

  • extract_threshold — Consider as candidate feature only if there are no differing orientations within a distance of extract_threshold.

Member Function Documentation#

name()#

String cv::linemod::DepthNormal::name()

read()#

void cv::linemod::DepthNormal::read(const FileNode & fn)

write()#

void cv::linemod::DepthNormal::write(FileStorage & fs)

create()#

static Ptr< DepthNormal > cv::linemod::DepthNormal::create(
int distance_threshold,
int difference_threshold,
size_t num_features,
int extract_threshold )

processImpl()#

Ptr< QuantizedPyramid > cv::linemod::DepthNormal::processImpl(
const Mat & src,
const Mat & mask )

Member Data Documentation#

difference_threshold#

int cv::linemod::DepthNormal::difference_threshold

distance_threshold#

int cv::linemod::DepthNormal::distance_threshold

extract_threshold#

int cv::linemod::DepthNormal::extract_threshold

num_features#

size_t cv::linemod::DepthNormal::num_features

Source file#

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