OpenCV Computer Vision Application Programming Cookbook Second Edition
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, folder names, filenames, file extensions, pathnames, dummy URLs, and user input are shown as follows: "Very conveniently, this check is encapsulated inside the create method of cv::Mat."

A block of code is set as follows:

  // use image with a Mat_ template
  cv::Mat_<uchar> im2(image);
   im2(50,100)= 0; // access to row 50 and column 100