First time here? Check out the FAQ!
cv::Mat::forEach() sliding window Is it possible to access multiple pixels at once (e.g. a 3x3 grid) in Mat::forEach()?