Interface for modalities that plug into the LINE template matching representation.
More...
#include <opencv2/rgbd/linemod.hpp>
Interface for modalities that plug into the LINE template matching representation.
- Todo:
- Max response, to allow optimization of summing (255/MAX) features as uint8
◆ ~Modality()
virtual cv::linemod::Modality::~Modality |
( |
| ) |
|
|
inlinevirtual |
◆ create() [1/2]
Python: |
---|
| cv.linemod.Modality.create( | modality_type | ) -> | retval |
| cv.linemod.Modality.create( | fn | ) -> | retval |
| cv.linemod.Modality_create( | modality_type | ) -> | retval |
| cv.linemod.Modality_create( | fn | ) -> | retval |
Load a modality from file.
◆ create() [2/2]
Python: |
---|
| cv.linemod.Modality.create( | modality_type | ) -> | retval |
| cv.linemod.Modality.create( | fn | ) -> | retval |
| cv.linemod.Modality_create( | modality_type | ) -> | retval |
| cv.linemod.Modality_create( | fn | ) -> | retval |
Create modality by name.
The following modality types are supported:
- "ColorGradient"
- "DepthNormal"
◆ name()
virtual String cv::linemod::Modality::name |
( |
| ) |
const |
|
pure virtual |
Python: |
---|
| cv.linemod.Modality.name( | | ) -> | retval |
◆ process()
Python: |
---|
| cv.linemod.Modality.process( | src[, mask] | ) -> | retval |
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. |
◆ processImpl()
◆ read()
virtual void cv::linemod::Modality::read |
( |
const FileNode & |
fn | ) |
|
|
pure virtual |
Python: |
---|
| cv.linemod.Modality.read( | fn | ) -> | None |
◆ write()
virtual void cv::linemod::Modality::write |
( |
FileStorage & |
fs | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: