digiKam
shapepredictor.h File Reference

Go to the source code of this file.

Classes

struct  Digikam::RedEye::RegressionTree
 
class  Digikam::RedEye::ShapePredictor
 
struct  Digikam::RedEye::SplitFeature
 

Namespaces

 Digikam
 
 Digikam::RedEye
 

Functions

void Digikam::RedEye::createShapeRelativeEncoding (const std::vector< float > &shape, const std::vector< std::vector< float > > &pixel_coordinates, std::vector< unsigned long > &anchor_idx, std::vector< std::vector< float > > &deltas)
 
void Digikam::RedEye::extractFeaturePixelValues (const cv::Mat &img_, const cv::Rect &rect, const std::vector< float > &current_shape, const std::vector< float > &reference_shape, const std::vector< unsigned long > &reference_pixel_anchor_idx, const std::vector< std::vector< float > > &reference_pixel_deltas, std::vector< float > &feature_pixel_values)
 
PointTransformAffine Digikam::RedEye::findTformBetweenShapes (const std::vector< float > &from_shape, const std::vector< float > &to_shape)
 
unsigned long Digikam::RedEye::left_child (unsigned long idx)
 
template<class T >
std::vector< TDigikam::RedEye::location (const std::vector< T > &shape, unsigned long idx)
 
unsigned long Digikam::RedEye::nearestShapePoint (const std::vector< float > &shape, const std::vector< float > &pt)
 
PointTransformAffine Digikam::RedEye::normalizingTform (const cv::Rect &rect)
 
QDataStream & Digikam::RedEye::operator<< (QDataStream &dataStream, const RegressionTree &regtree)
 
QDataStream & Digikam::RedEye::operator<< (QDataStream &dataStream, const ShapePredictor &shape)
 
QDataStream & Digikam::RedEye::operator<< (QDataStream &dataStream, const SplitFeature &sp)
 
QDataStream & Digikam::RedEye::operator>> (QDataStream &dataStream, RegressionTree &regtree)
 
QDataStream & Digikam::RedEye::operator>> (QDataStream &dataStream, ShapePredictor &shape)
 
QDataStream & Digikam::RedEye::operator>> (QDataStream &dataStream, SplitFeature &sp)
 
bool Digikam::RedEye::pointContained (const cv::Rect &rect, const std::vector< float > &point)
 
unsigned long Digikam::RedEye::right_child (unsigned long idx)
 
PointTransformAffine Digikam::RedEye::unnormalizingTform (const cv::Rect &rect)