Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
icl::io::ImageUndistortion Class Reference

#include <ImageUndistortion.h>

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

Public Member Functions

 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
 
const core::Img32fcreateWarpMap () const
 
bool isNull () const
 

Private Attributes

Impl * impl
 internal impl More...
 

Constructor & Destructor Documentation

icl::io::ImageUndistortion::ImageUndistortion ( )

creates a null instance

icl::io::ImageUndistortion::ImageUndistortion ( const std::string &  model,
const std::vector< double > &  params,
const utils::Size imageSize 
)

creates an Undistortion instance given parameters

Parameters
modeldistortion mode possible values are MatlabModel5Params and SimpleARTBased
paramsparameters for the given model (MatlabModel5Params needs 10 parameters: fx, fy, ix, iy, skew, k1, k2, k3, k4, k5; SimpleARTBased needs 4 parameters: x, y, f, scale)
imageSizeunderlying image size
icl::io::ImageUndistortion::ImageUndistortion ( const ImageUndistortion other)

copy constructor

icl::io::ImageUndistortion::ImageUndistortion ( const std::string &  filename)

loads ImageUndistortion from file using the istream operator

Member Function Documentation

const core::Img32f& icl::io::ImageUndistortion::createWarpMap ( ) const
const utils::Size& icl::io::ImageUndistortion::getImageSize ( ) const

returns current image size

const std::string& icl::io::ImageUndistortion::getModel ( ) const
const std::vector<double>& icl::io::ImageUndistortion::getParams ( ) const
bool icl::io::ImageUndistortion::isNull ( ) const
inline
const utils::Point32f icl::io::ImageUndistortion::operator() ( const utils::Point32f distortedPos) const
ImageUndistortion& icl::io::ImageUndistortion::operator= ( const ImageUndistortion other)

assignment operator

Member Data Documentation

Impl* icl::io::ImageUndistortion::impl
private

internal impl

internal impl pointer


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