![]() |
BoB robotics
The Brains on Board robotics library
|
Public Member Functions | |
OpenCVUnwrap360 (const cv::Size &cameraResolution, const cv::Size &unwrappedResolution, double centreX=0.5, double centreY=0.5, double inner=0.1, double outer=0.5, degree_t offsetAngle=0.0_deg, bool flip=false) | |
OpenCVUnwrap360 (const cv::Size &cameraResolution, const cv::Size &unwrappedResolution, const std::string &cameraName) | |
void | create (const cv::Size &cameraResolution, const cv::Size &unwrappedResolution, double centreX=0.5, double centreY=0.5, double inner=0.1, double outer=0.5, degree_t offsetAngle=0_deg, bool flip=false) |
const cv::Size & | getInputSize () const |
const cv::Size & | getOutputSize () const |
void | updateMaps () |
void | unwrap (const cv::Mat &input, cv::Mat &output) const |
void | write (cv::FileStorage &fs) const |
Serialise this object. | |
void | read (const cv::FileNode &node) |
Deserialise from a cv::FileStorage object (e.g. read from file). More... | |
Public Attributes | |
cv::Point | m_CentrePixel |
int | m_InnerPixel = 0 |
int | m_OuterPixel = 0 |
degree_t | m_OffsetAngle = 0.0_deg |
bool | m_Flip = false |
void BoBRobotics::ImgProc::OpenCVUnwrap360::read | ( | const cv::FileNode & | node | ) |
Deserialise from a cv::FileStorage object (e.g. read from file).
!
TODO: Check that we are actually reading values from the file