Modality that computes quantized surface normals from a dense depth map.
More...
#include <objdetect.hpp>
Inherits cv::linemod::Modality.
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.
- 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. |
virtual std::string cv::linemod::DepthNormal::name |
( |
| ) |
const |
|
virtual |
virtual void cv::linemod::DepthNormal::read |
( |
const FileNode & |
fn | ) |
|
|
virtual |
Form a quantized image pyramid from a source image.
- Parameters
-
[in] | src | The source image. Type depends on the modality. |
[in] | mask | Optional mask. If not empty, unmasked pixels are set to zero in quantized image and cannot be extracted as features. |
Create modality by name.
The following modality types are supported:
- "ColorGradient"
- "DepthNormal"
Load a modality from file.
int cv::linemod::DepthNormal::distance_threshold |
int cv::linemod::DepthNormal::difference_threshold |
size_t cv::linemod::DepthNormal::num_features |
int cv::linemod::DepthNormal::extract_threshold |
The documentation for this class was generated from the following file: