#include <GradientVector.h>
rdf::GradientVector::GradientVector |
( |
const cv::Mat & |
img, |
|
|
const cv::Mat & |
mask = cv::Mat() |
|
) |
| |
cv::Point rdf::GradientVector::anchor |
( |
| ) |
const |
bool rdf::GradientVector::checkInput |
( |
| ) |
const |
|
overrideprotectedvirtual |
checks if all input images are in the specified format.
Implements rdf::Module.
bool rdf::GradientVector::compute |
( |
| ) |
|
|
overridevirtual |
Runs the algorithm implemented by the module.
- Returns
- True on success.
Implements rdf::Module.
void rdf::GradientVector::computeGradAngle |
( |
| ) |
|
|
protected |
void rdf::GradientVector::computeGradients |
( |
| ) |
|
|
protected |
void rdf::GradientVector::computeGradMag |
( |
bool |
norm | ) |
|
|
protected |
cv::Mat rdf::GradientVector::debugGaussImg |
( |
| ) |
|
bool rdf::GradientVector::isEmpty |
( |
| ) |
const |
|
overridevirtual |
Returns true if the module was initialized with the default constructor. Note, if empty is true, nothing can be computed.
- Returns
- Returns true if the module was initialized.
Implements rdf::Module.
cv::Mat rdf::GradientVector::magImg |
( |
| ) |
|
cv::Mat rdf::GradientVector::mask |
( |
| ) |
|
double rdf::GradientVector::maxVal |
( |
| ) |
const |
double rdf::GradientVector::minVal |
( |
| ) |
const |
cv::Mat rdf::GradientVector::radImg |
( |
| ) |
|
void rdf::GradientVector::setAnchor |
( |
cv::Point |
a | ) |
|
void rdf::GradientVector::setDxKernel |
( |
const cv::Mat & |
m | ) |
|
void rdf::GradientVector::setDyKernel |
( |
const cv::Mat & |
m | ) |
|
QString rdf::GradientVector::toString |
( |
| ) |
const |
|
overridevirtual |
Converts the module's parameters and results to a string.
- Returns
- The string containing all parameters and results of the module.
Reimplemented from rdf::Module.
The documentation for this class was generated from the following files: