Function tuw::append(const cv::Vec<double, 2>&, double)

Function Documentation

inline cv::Vec<double, 3> tuw::append(const cv::Vec<double, 2> &src, double value = 1.0)

creates a new vector by adding a single component usable to homogeneous vectors

Parameters:
  • src – to normalize

  • value

Returns:

extended vector