Image Component Library (ICL)
Public Member Functions | List of all members
icl::io::IntrinsicCalibrator::Result Struct Reference

Simple struct for handle result of computation of intrinsics. More...

#include <IntrinsicCalibrator.h>

Inheritance diagram for icl::io::IntrinsicCalibrator::Result:
icl::io::ImageUndistortion

Public Member Functions

 Result ()
 create a null result More...
 
 Result (const std::vector< double > &params, const utils::Size &size)
 create a result with given parameters More...
 
double getFocalLengthX () const
 returns focal length for x direction More...
 
double getFocalLengthY () const
 returns focal length for y direction More...
 
double getPrincipalX () const
 returns new computed principal point x component More...
 
double getPrincipalY () const
 returns new computed principal point y component More...
 
double getSkew () const
 returns the skew More...
 
double getK1 () const
 returns first radial distortion param More...
 
double getK2 () const
 returns second radial distortion param More...
 
double getK3 () const
 returns third radial distortion param More...
 
double getP1 () const
 returns first tangential distortion param More...
 
double getP2 () const
 returns second tangential distortion param More...
 
- Public Member Functions inherited from icl::io::ImageUndistortion
 ImageUndistortion ()
 creates a null instance More...
 
 ImageUndistortion (const std::string &model, const std::vector< double > &params, const utils::Size &imageSize)
 creates an Undistortion instance given parameters More...
 
 ImageUndistortion (const ImageUndistortion &other)
 copy constructor More...
 
ImageUndistortionoperator= (const ImageUndistortion &other)
 assignment operator More...
 
 ImageUndistortion (const std::string &filename)
 loads ImageUndistortion from file using the istream operator More...
 
const utils::SizegetImageSize () const
 returns current image size More...
 
const std::vector< double > & getParams () const
 
const std::string & getModel () const
 
const utils::Point32f operator() (const utils::Point32f &distortedPos) const
 
void setParams (const std::vector< double > &params)
 
const core::Img32fcreateWarpMap () const
 
bool isNull () const
 

Detailed Description

Simple struct for handle result of computation of intrinsics.

Constructor & Destructor Documentation

◆ Result() [1/2]

icl::io::IntrinsicCalibrator::Result::Result ( )
inline

create a null result

◆ Result() [2/2]

icl::io::IntrinsicCalibrator::Result::Result ( const std::vector< double > &  params,
const utils::Size size 
)
inline

create a result with given parameters

Member Function Documentation

◆ getFocalLengthX()

double icl::io::IntrinsicCalibrator::Result::getFocalLengthX ( ) const
inline

returns focal length for x direction

return x component of focal length

◆ getFocalLengthY()

double icl::io::IntrinsicCalibrator::Result::getFocalLengthY ( ) const
inline

returns focal length for y direction

return y component of focal length

◆ getK1()

double icl::io::IntrinsicCalibrator::Result::getK1 ( ) const
inline

returns first radial distortion param

Returns
first radial distortion param

◆ getK2()

double icl::io::IntrinsicCalibrator::Result::getK2 ( ) const
inline

returns second radial distortion param

Returns
second radial distortion param

◆ getK3()

double icl::io::IntrinsicCalibrator::Result::getK3 ( ) const
inline

returns third radial distortion param

Returns
third radial distortion param

◆ getP1()

double icl::io::IntrinsicCalibrator::Result::getP1 ( ) const
inline

returns first tangential distortion param

Returns
first tangential distortion param

◆ getP2()

double icl::io::IntrinsicCalibrator::Result::getP2 ( ) const
inline

returns second tangential distortion param

Returns
second tangential distortion param

◆ getPrincipalX()

double icl::io::IntrinsicCalibrator::Result::getPrincipalX ( ) const
inline

returns new computed principal point x component

return x component of principal point

◆ getPrincipalY()

double icl::io::IntrinsicCalibrator::Result::getPrincipalY ( ) const
inline

returns new computed principal point y component

return y component of principal point

◆ getSkew()

double icl::io::IntrinsicCalibrator::Result::getSkew ( ) const
inline

returns the skew

Returns
skew

The documentation for this struct was generated from the following file: