Class cv::linemod::Modality#
Interface for modalities that plug into the LINE template matching representation. View details
#include <opencv2/rgbd/linemod.hpp>Collaboration diagram for cv::linemod::Modality:
Detailed Description#
Interface for modalities that plug into the LINE template matching representation.
- Todo:
Max response, to allow optimization of summing (255/MAX) features as uint8
Subclassed by cv::linemod::ColorGradient, cv::linemod::DepthNormal
Constructor & Destructor Documentation#
~Modality()#
Member Function Documentation#
name()#
process()#
Ptr< QuantizedPyramid > cv::linemod::Modality::process(
const Mat & src,
const Mat & mask = Mat() )
Form a quantized image pyramid from a source image.
Parameters
src— The source image. Type depends on the modality.mask— Optional mask. If not empty, unmasked pixels are set to zero in quantized image and cannot be extracted as features.
read()#
write()#
void cv::linemod::Modality::write(FileStorage & fs)
create()#
static Ptr< Modality > cv::linemod::Modality::create(const FileNode & fn)
Load a modality from file.
create()#
static Ptr< Modality > cv::linemod::Modality::create(const String & modality_type)
Create modality by name.
The following modality types are supported:
“ColorGradient”
“DepthNormal”
processImpl()#
Ptr< QuantizedPyramid > cv::linemod::Modality::processImpl(
const Mat & src,
const Mat & mask )
Source file#
The documentation for this class was generated from the following file:
opencv2/rgbd/linemod.hpp