OpenCV:Core
lastmod 2026-11-10created 2015-09-042 edits
OpenCV Core (the core module) is the module containing the basic data structures and functions that every other OpenCV module depends on. It provides the Mat class for representing images and matrices, basic types such as Point, Rect, and Scalar, arithmetic, comparison, and bitwise operations, channel splitting and merging, file I/O (FileStorage), random number generation, and more. Understanding how images are accessed and how memory is managed is the foundation for using OpenCV as a whole.