OpenCV basics


Understanding an Image

Grid-like representation A 2D image can be represented as a rectangular grid, composed of many square cells, called pixels. How do these pixels look like? Just try to imagine a chessboard: Just like the black and white squares on the chessboard, pixels are nicely aligned in straight lines, both horizontally and vertically. We will refer to the horizontal ones as…