Class cv::linemod::ColorGradient#
Modality that computes quantized gradient orientations from a color image.
#include <opencv2/rgbd/linemod.hpp>Collaboration diagram for cv::linemod::ColorGradient:
Public Member Functions#
Public Member Functions inherited from cv::linemod::Modality
Return |
Name |
Description |
|---|---|---|
Form a quantized image pyramid from a source image. |
||
|
||
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::linemod::Modality
Return |
Name |
Description |
|---|---|---|
Load a modality from file. |
||
Create modality by name. |
Additional Inherited Members#
Protected Member Functions inherited from cv::linemod::Modality
Return |
Name |
Description |
|---|---|---|
Detailed Description#
Modality that computes quantized gradient orientations from a color image.
Constructor & Destructor Documentation#
ColorGradient()#
cv::linemod::ColorGradient::ColorGradient()
Default constructor. Uses reasonable default parameter values.
ColorGradient()#
cv::linemod::ColorGradient::ColorGradient(
float weak_threshold,
size_t num_features,
float strong_threshold )
Constructor.
Parameters
weak_threshold— When quantizing, discard gradients with magnitude less than this.num_features— How many features a template must contain.strong_threshold— Consider as candidate features only gradients whose norms are larger than this.
Member Function Documentation#
name()#
String cv::linemod::ColorGradient::name()
read()#
void cv::linemod::ColorGradient::read(const FileNode & fn)
write()#
void cv::linemod::ColorGradient::write(FileStorage & fs)
create()#
static Ptr< ColorGradient > cv::linemod::ColorGradient::create(
float weak_threshold,
size_t num_features,
float strong_threshold )
processImpl()#
Ptr< QuantizedPyramid > cv::linemod::ColorGradient::processImpl(
const Mat & src,
const Mat & mask )
Member Data Documentation#
num_features#
size_t cv::linemod::ColorGradient::num_features
strong_threshold#
float cv::linemod::ColorGradient::strong_threshold
weak_threshold#
float cv::linemod::ColorGradient::weak_threshold
Source file#
The documentation for this class was generated from the following file:
opencv2/rgbd/linemod.hpp