#include <SQFitter.h>
|
struct | eulerPosError |
| Structure, that contains the error function for the euler angles and position parameters. More...
|
|
struct | shapeError |
| Structure, that contains the error function for the shape parameters. More...
|
|
|
void | fitSQ (LM::Matrix &Mx, math::Vec3 &viewDir, const std::string &sShapePreference) |
| internal function, that fits a superquadric into given point cloud More...
|
|
void | preProcess (LM::Matrix &Mx, math::Vec3 &viewDir, const std::string &sShapePreference, icl::math::FixedMatrix< float, 3, 3 > &R, math::Vec3 ¢er, math::Vec3 &size, math::Vec3 &origin, float &scale) |
| internal function, that prepares some data for fitting of superquadrics More...
|
|
LM::Result | fitShape (int i, icl::math::FixedMatrix< float, 3, 3 > &R, LM::Matrix &Mx, SQParams ¶ms, math::Vec3 &size, math::Vec3 &euler) |
| internal function, that determines the shape parameters More...
|
|
◆ LM
◆ SQFitter()
◆ fit()
bool icl::geom::SQFitter::fit |
( |
icl::geom::PointCloudObject & |
pcObj, |
|
|
const std::string & |
sShapePreference = "bsc" , |
|
|
size_t |
maxNumPoints = 0 |
|
) |
| |
fits superquadrics into given point cloud, considering only given number of points
◆ fitShape()
internal function, that determines the shape parameters
◆ fitSQ()
void icl::geom::SQFitter::fitSQ |
( |
LM::Matrix & |
Mx, |
|
|
math::Vec3 & |
viewDir, |
|
|
const std::string & |
sShapePreference |
|
) |
| |
|
private |
internal function, that fits a superquadric into given point cloud
◆ getParams()
const SQParams& icl::geom::SQFitter::getParams |
( |
| ) |
const |
|
inline |
returns the last calculated parameters
◆ preProcess()
internal function, that prepares some data for fitting of superquadrics
◆ setCameraCenter()
void icl::geom::SQFitter::setCameraCenter |
( |
const Vec & |
c | ) |
|
changes the camera center
◆ camCenter
◆ ePError
structure containing an error function
◆ ePErrorFunc
error function for the euler angles and the position
◆ eulerPosLM
LM icl::geom::SQFitter::eulerPosLM |
|
private |
Levenberg-Marquardt for the euler angles and the position.
◆ params
◆ sError
structure containing an error function
◆ sErrorFunc
error function for the shape
◆ shapeLM
LM icl::geom::SQFitter::shapeLM |
|
private |
Levenberg-Marquardt for the shape.
The documentation for this class was generated from the following file:
- /Users/alneuman/vm/icl/ICLGeom/src/ICLGeom/SQFitter.h