Modules
cv::Mat
With C++ interface in OpenCV 2.0, Mat supports automatic memory management.
Mat has two data parts: the matrix header (constant size) and a pointer to the matrix containing the pixel values (varying size).
For computational efficiency, OpenCV uses a reference counting system.
Each Mat object has its own header, however the matrix may be shared.
The copy operators will only copy the headers and the pointer to the large matrix, not the data itself.
Making a modification using any of them will affect all the other ones as well.
To copy the matrix itself, use
cv::Mat::clone()
andcv::Mat::copyTo()
Color space options
RGB is the most common one (however OpenCV uses BGR instead)
The HSV and HLS decompose colors into their hue, saturation and value/luminance components (more natural way for us to describe colors)
YCrCb is used by the popular JPEG image format
CIE L*a*b* is a perceptually uniform color space
cv::ORB
cv::FileStorage
Line Features
OpenCV contrib modules Line Features Tutorial
cv::LineSegmentDetector implements the LSD detector.
cv::line_descriptor provides the line descriptors as one of the contrib modules. Not sure if this implements the Line Band Descriptors (LBD) that is commonly used for line matching.
Last updated