This class holds Pixel statistics which are found when computing the local orientation.
More...
#include <Pixel.h>
|
| void | convertData (const cv::Mat &orHist, const cv::Mat &sparsity) |
| |
This class holds Pixel statistics which are found when computing the local orientation.
- See also
- BaseElement
| Enumerator |
|---|
| all_data |
|
| max_val_idx |
|
| sparsity_idx |
|
| spacing_idx |
|
| combined_idx |
|
| idx_end |
|
| rdf::PixelStats::PixelStats |
( |
const cv::Mat & |
orHist = cv::Mat(), |
|
|
const cv::Mat & |
sparsity = cv::Mat(), |
|
|
double |
scale = 0.0, |
|
|
QSharedPointer< ScaleFactory > |
scaleFactory = QSharedPointer<ScaleFactory>(new ScaleFactory()), |
|
|
const QString & |
id = QString() |
|
) |
| |
| void rdf::PixelStats::convertData |
( |
const cv::Mat & |
orHist, |
|
|
const cv::Mat & |
sparsity |
|
) |
| |
|
protected |
| bool rdf::PixelStats::isEmpty |
( |
| ) |
const |
| double rdf::PixelStats::lineSpacing |
( |
| ) |
const |
| int rdf::PixelStats::lineSpacingIndex |
( |
| ) |
const |
| double rdf::PixelStats::minVal |
( |
| ) |
const |
| int rdf::PixelStats::numOrientations |
( |
| ) |
const |
| double rdf::PixelStats::orientation |
( |
| ) |
const |
| int rdf::PixelStats::orientationIndex |
( |
| ) |
const |
| Vector2D rdf::PixelStats::orVec |
( |
| ) |
const |
Returns the orientation vector scaled to unit length.
- Returns
- The orientation vector (0° = postive y-axis).
| void rdf::PixelStats::scale |
( |
double |
factor | ) |
|
|
overridevirtual |
| double rdf::PixelStats::scaleFactor |
( |
| ) |
const |
| void rdf::PixelStats::setLineSpacing |
( |
int |
ls | ) |
|
| void rdf::PixelStats::setOrientationIndex |
( |
int |
orIdx | ) |
|
| void rdf::PixelStats::setScaleFactory |
( |
const QSharedPointer< ScaleFactory > & |
scaleFactory | ) |
|
| QString rdf::PixelStats::toString |
( |
| ) |
const |
|
virtual |
| cv::Mat rdf::PixelStats::mData |
|
protected |
| int rdf::PixelStats::mHistSize = 0 |
|
protected |
| int rdf::PixelStats::mLineSpacing = -1 |
|
protected |
| double rdf::PixelStats::mMinVal = 0.0 |
|
protected |
| int rdf::PixelStats::mOrIdx = -1 |
|
protected |
| double rdf::PixelStats::mScale = 0.0 |
|
protected |
The documentation for this class was generated from the following files: