#include <kd_nodeopenface.h>
|
static float | cosDistance (const float *const pos1, const float *const pos2, int dimension) |
|
static float | sqrDistance (const float *const pos1, const float *const pos2, int dimension) |
|
◆ KDNodeOpenFace()
Digikam::KDNodeOpenFace::KDNodeOpenFace |
( |
const cv::Mat & |
nodePos, |
|
|
const int |
identity, |
|
|
int |
splitAxis, |
|
|
int |
dimension |
|
) |
| |
|
explicit |
◆ ~KDNodeOpenFace()
Digikam::KDNodeOpenFace::~KDNodeOpenFace |
( |
| ) |
|
|
overridevirtual |
◆ cosDistance()
float Digikam::KDNodeBase::cosDistance |
( |
const float *const |
pos1, |
|
|
const float *const |
pos2, |
|
|
int |
dimension |
|
) |
| |
|
staticinherited |
◆ createNode()
KDNodeBase * Digikam::KDNodeOpenFace::createNode |
( |
const cv::Mat & |
nodePos, |
|
|
const int |
identity, |
|
|
int |
splitAxis, |
|
|
int |
dimension |
|
) |
| |
|
overrideprotectedvirtual |
◆ getClosestNeighbors()
double Digikam::KDNodeBase::getClosestNeighbors |
( |
QMap< double, QVector< int > > & |
neighborList, |
|
|
const cv::Mat & |
position, |
|
|
float |
sqRange, |
|
|
float |
cosThreshold, |
|
|
int |
maxNbNeighbors |
|
) |
| const |
|
inherited |
◆ getDimension()
int Digikam::KDNodeBase::getDimension |
( |
| ) |
|
|
inherited |
◆ getIdentity()
int Digikam::KDNodeBase::getIdentity |
( |
| ) |
|
|
inherited |
Return identity of the node.
◆ getPosition()
cv::Mat Digikam::KDNodeBase::getPosition |
( |
| ) |
const |
|
inherited |
◆ insert()
KDNodeBase * Digikam::KDNodeBase::insert |
( |
const cv::Mat & |
nodePos, |
|
|
const int |
identity |
|
) |
| |
|
inherited |
◆ nodeCompare()
KDNodeBase::NodeCompareResult Digikam::KDNodeOpenFace::nodeCompare |
( |
const cv::Mat & |
queryPosition, |
|
|
const cv::Mat & |
currentPosition, |
|
|
float |
sqRange, |
|
|
float |
cosThreshold, |
|
|
int |
nbDimension |
|
) |
| const |
|
overrideprotectedvirtual |
◆ setNodeId()
void Digikam::KDNodeBase::setNodeId |
( |
int |
id | ) |
|
|
inherited |
◆ sqrDistance()
float Digikam::KDNodeBase::sqrDistance |
( |
const float *const |
pos1, |
|
|
const float *const |
pos2, |
|
|
int |
dimension |
|
) |
| |
|
staticinherited |
The documentation for this class was generated from the following files: