OpenCV naming conventions

OpenCV naming conventions
Function naming conventions:
cvActionTargetMod(...)
Action = the core functionality (e.g. set, create)
Target = the target image area (e.g. contour, polygon)
Mod = optional modifiers (e.g. argument type)
Matrix data types:
CV_(S|U|F)C
S = Signed integer
U = Unsigned integer
F = Float
E.g.: CV_8UC1 means an 8-bit unsigned single-channel matrix,
CV_32FC2 means a 32-bit float matrix with two channels.
Image data types:
IPL_DEPTH_(S|U|F)
E.g.: IPL_DEPTH_8U means an 8-bit unsigned image.
IPL_DEPTH_32F means a 32-bit float image.

Header files:
#include
#include
#include
#include // unnecessary - included in cv.h

No comments: