44 #include <visp3/visual_features/vpBasicFeature.h> 45 #include <visp3/visual_features/vpFeatureDepth.h> 48 #include <visp3/core/vpException.h> 49 #include <visp3/visual_features/vpFeatureException.h> 52 #include <visp3/core/vpDebug.h> 55 #include <visp3/core/vpMath.h> 57 #include <visp3/core/vpFeatureDisplay.h> 225 if (
flags[i] ==
false) {
228 vpTRACE(
"Warning !!! The interaction matrix is computed but x was " 232 vpTRACE(
"Warning !!! The interaction matrix is computed but y was " 236 vpTRACE(
"Warning !!! The interaction matrix is computed but z was " 240 vpTRACE(
"Problem during the reading of the variable flags");
255 std::cout <<
"Z = " << Z_ << std::endl;
260 if (fabs(Z_) < 1e-6) {
262 std::cout <<
"Z = " << Z_ << std::endl;
350 std::cout <<
"Point: x=" <<
get_x();
351 std::cout <<
" Point: y=" <<
get_y();
352 std::cout <<
" Point: Z=" <<
get_Z();
356 std::cout << std::endl;
374 s[0] = LogZoverZstar;
382 std::cout <<
"Z = " << Z << std::endl;
387 if (fabs(Z) < 1e-6) {
389 std::cout <<
"Z = " << Z << std::endl;
420 const vpColor & ,
unsigned int )
const 422 static int firsttime = 0;
424 if (firsttime == 0) {
437 const vpColor & ,
unsigned int )
const 439 static int firsttime = 0;
441 if (firsttime == 0) {
Implementation of a matrix and operations on matrices.
void resize(unsigned int nrows, unsigned int ncols, bool flagNullify=true, bool recopy_=true)
Class to define RGB colors available for display functionnalities.
void buildFrom(double x, double y, double Z, double LogZoverZstar)
Class that defines a 3D point visual feature which is composed by one parameters that is that defin...
unsigned int dim_s
Dimension of the visual feature.
vpColVector get_s(unsigned int select=FEATURE_ALL) const
Get the feature vector .
class that defines what is a visual feature
void print(unsigned int select=FEATURE_ALL) const
Error that can be emited by the vpBasicFeature class and its derivates.
Generic class defining intrinsic camera parameters.
void set_xyZLogZoverZstar(double x, double y, double Z, double logZZs)
void set_LogZoverZstar(double LogZoverZstar)
vpFeatureDepth * duplicate() const
vpColVector error(const vpBasicFeature &s_star, unsigned int select=FEATURE_ALL)
void display(const vpCameraParameters &cam, const vpImage< unsigned char > &I, const vpColor &color=vpColor::green, unsigned int thickness=1) const
void resize(unsigned int i, bool flagNullify=true)
vpBasicFeatureDeallocatorType deallocate
double get_LogZoverZstar() const
Implementation of column vector and the associated operations.
vpMatrix interaction(unsigned int select=FEATURE_ALL)
unsigned int nbParameters
Number of parameters needed to compute the interaction matrix.
vpColVector s
State of the visual feature.