![]() |
OpenCV
3.1.0
Open Source Computer Vision
|
Modality that computes quantized surface normals from a dense depth map. More...
#include "linemod.hpp"
Public Member Functions | |
| DepthNormal () | |
| Default constructor. Uses reasonable default parameter values. More... | |
| DepthNormal (int distance_threshold, int difference_threshold, size_t num_features, int extract_threshold) | |
| Constructor. More... | |
| virtual String | name () const |
| virtual void | read (const FileNode &fn) |
| virtual void | write (FileStorage &fs) const |
Public Member Functions inherited from cv::linemod::Modality | |
| virtual | ~Modality () |
| Ptr< QuantizedPyramid > | process (const Mat &src, const Mat &mask=Mat()) const |
| Form a quantized image pyramid from a source image. More... | |
Public Attributes | |
| int | difference_threshold |
| int | distance_threshold |
| int | extract_threshold |
| size_t | num_features |
Protected Member Functions | |
| virtual Ptr< QuantizedPyramid > | processImpl (const Mat &src, const Mat &mask) const |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::linemod::Modality | |
| static Ptr< Modality > | create (const String &modality_type) |
| Create modality by name. More... | |
| static Ptr< Modality > | create (const FileNode &fn) |
| Load a modality from file. More... | |
Modality that computes quantized surface normals from a dense depth map.
| cv::linemod::DepthNormal::DepthNormal | ( | ) |
Default constructor. Uses reasonable default parameter values.
| cv::linemod::DepthNormal::DepthNormal | ( | int | distance_threshold, |
| int | difference_threshold, | ||
| size_t | num_features, | ||
| int | extract_threshold | ||
| ) |
Constructor.
| 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. |
|
virtual |
Implements cv::linemod::Modality.
|
protectedvirtual |
Implements cv::linemod::Modality.
|
virtual |
Implements cv::linemod::Modality.
|
virtual |
Implements cv::linemod::Modality.
| int cv::linemod::DepthNormal::difference_threshold |
| int cv::linemod::DepthNormal::distance_threshold |
| int cv::linemod::DepthNormal::extract_threshold |
| size_t cv::linemod::DepthNormal::num_features |
1.8.9.1