Image Component Library (ICL)
|
#include <SoftPosit.h>
Public Member Functions | |
SoftPosit () | |
~SoftPosit () | |
void | init () |
math::DynMatrix< icl64f > | getRotationMat () |
math::DynMatrix< icl64f > | getTranslation () |
int | numMatches (math::DynMatrix< icl64f > &assignMat) |
void | softPosit (math::DynMatrix< icl64f > imagePts, math::DynMatrix< icl64f > worldPts, double beta0, int noiseStd, math::DynMatrix< icl64f > initRot, math::DynMatrix< icl64f > initTrans, double focalLength, math::DynMatrix< icl64f > center=math::DynMatrix< icl64f >(2, 0), bool draw=true) |
void | softPosit (math::DynMatrix< icl64f > imagePts, math::DynMatrix< icl64f > imageAdj, math::DynMatrix< icl64f > worldPts, math::DynMatrix< icl64f > worldAdj, double beta0, int noiseStd, math::DynMatrix< icl64f > initRot, math::DynMatrix< icl64f > initTrans, double focalLength, qt::ICLDrawWidget &w, math::DynMatrix< icl64f > center=math::DynMatrix< icl64f >(2, 0), bool draw=true) |
void | softPosit (std::vector< utils::Point32f > imagePts, std::vector< math::FixedColVector< double, 3 > > worldPts, double beta0, int noiseStd, math::DynMatrix< icl64f > initRot, math::DynMatrix< icl64f > initTrans, double focalLength, math::DynMatrix< icl64f > center=math::DynMatrix< icl64f >(2, 0)) |
void | softPosit (std::vector< utils::Point32f > imagePts, math::DynMatrix< icl64f > imageAdj, std::vector< math::FixedColVector< double, 3 > > worldPts, math::DynMatrix< icl64f > worldAdj, double beta0, int noiseStd, math::DynMatrix< icl64f > initRot, math::DynMatrix< icl64f > initTrans, double focalLength, qt::ICLDrawWidget &w, math::DynMatrix< icl64f > center=math::DynMatrix< icl64f >(2, 0), bool draw=true) |
void | proj3dto2d (math::DynMatrix< icl64f > pts3d, math::DynMatrix< icl64f > &rot, math::DynMatrix< icl64f > &trans, double flength, int objdim, math::DynMatrix< icl64f > ¢er, math::DynMatrix< icl64f > &pts2d) |
bool | isNullMatrix (const math::DynMatrix< icl64f > &M) |
void | visualize (const math::DynMatrix< icl64f > &imagePts, const math::DynMatrix< icl64f > &projWorldPts, unsigned int delay=200) |
void | visualize (qt::ICLDrawWidget &w, const math::DynMatrix< icl64f > &imagePts, const math::DynMatrix< icl64f > &imageAdj, const math::DynMatrix< icl64f > &projWorldPts, const math::DynMatrix< icl64f > &worldAdj, unsigned int delay=200) |
Private Member Functions | |
math::DynMatrix< icl64f > & | cross (math::DynMatrix< icl64f > &x, math::DynMatrix< icl64f > &y, math::DynMatrix< icl64f > &r) |
void | maxPosRatio (math::DynMatrix< icl64f > &assignMat, math::DynMatrix< icl64f > &pos, math::DynMatrix< icl64f > &ratios) |
math::DynMatrix< icl64f > & | sinkhornImp (math::DynMatrix< icl64f > &M) |
double | cond (math::DynMatrix< icl64f > &A) |
double | max (math::DynMatrix< icl64f > s) |
Static Private Attributes | |
static const double | betaUpdate |
static const double | betaZero |
icl::geom::SoftPosit::SoftPosit | ( | ) |
icl::geom::SoftPosit::~SoftPosit | ( | ) |
|
private |
|
private |
|
inline |
|
inline |
void icl::geom::SoftPosit::init | ( | ) |
|
inline |
|
private |
|
private |
int icl::geom::SoftPosit::numMatches | ( | math::DynMatrix< icl64f > & | assignMat | ) |
void icl::geom::SoftPosit::proj3dto2d | ( | math::DynMatrix< icl64f > | pts3d, |
math::DynMatrix< icl64f > & | rot, | ||
math::DynMatrix< icl64f > & | trans, | ||
double | flength, | ||
int | objdim, | ||
math::DynMatrix< icl64f > & | center, | ||
math::DynMatrix< icl64f > & | pts2d | ||
) |
|
private |
void icl::geom::SoftPosit::softPosit | ( | math::DynMatrix< icl64f > | imagePts, |
math::DynMatrix< icl64f > | worldPts, | ||
double | beta0, | ||
int | noiseStd, | ||
math::DynMatrix< icl64f > | initRot, | ||
math::DynMatrix< icl64f > | initTrans, | ||
double | focalLength, | ||
math::DynMatrix< icl64f > | center = math::DynMatrix< icl64f >(2, 0) , |
||
bool | draw = true |
||
) |
void icl::geom::SoftPosit::softPosit | ( | math::DynMatrix< icl64f > | imagePts, |
math::DynMatrix< icl64f > | imageAdj, | ||
math::DynMatrix< icl64f > | worldPts, | ||
math::DynMatrix< icl64f > | worldAdj, | ||
double | beta0, | ||
int | noiseStd, | ||
math::DynMatrix< icl64f > | initRot, | ||
math::DynMatrix< icl64f > | initTrans, | ||
double | focalLength, | ||
qt::ICLDrawWidget & | w, | ||
math::DynMatrix< icl64f > | center = math::DynMatrix< icl64f >(2, 0) , |
||
bool | draw = true |
||
) |
void icl::geom::SoftPosit::softPosit | ( | std::vector< utils::Point32f > | imagePts, |
std::vector< math::FixedColVector< double, 3 > > | worldPts, | ||
double | beta0, | ||
int | noiseStd, | ||
math::DynMatrix< icl64f > | initRot, | ||
math::DynMatrix< icl64f > | initTrans, | ||
double | focalLength, | ||
math::DynMatrix< icl64f > | center = math::DynMatrix< icl64f >(2, 0) |
||
) |
void icl::geom::SoftPosit::softPosit | ( | std::vector< utils::Point32f > | imagePts, |
math::DynMatrix< icl64f > | imageAdj, | ||
std::vector< math::FixedColVector< double, 3 > > | worldPts, | ||
math::DynMatrix< icl64f > | worldAdj, | ||
double | beta0, | ||
int | noiseStd, | ||
math::DynMatrix< icl64f > | initRot, | ||
math::DynMatrix< icl64f > | initTrans, | ||
double | focalLength, | ||
qt::ICLDrawWidget & | w, | ||
math::DynMatrix< icl64f > | center = math::DynMatrix< icl64f >(2, 0) , |
||
bool | draw = true |
||
) |
void icl::geom::SoftPosit::visualize | ( | const math::DynMatrix< icl64f > & | imagePts, |
const math::DynMatrix< icl64f > & | projWorldPts, | ||
unsigned int | delay = 200 |
||
) |
void icl::geom::SoftPosit::visualize | ( | qt::ICLDrawWidget & | w, |
const math::DynMatrix< icl64f > & | imagePts, | ||
const math::DynMatrix< icl64f > & | imageAdj, | ||
const math::DynMatrix< icl64f > & | projWorldPts, | ||
const math::DynMatrix< icl64f > & | worldAdj, | ||
unsigned int | delay = 200 |
||
) |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |