title: Accessing certain pixel's intensity value(grayscale image) in openCV
body: <p>I just realised that there is nothing on the web, after much searching about how to access a pixel's intensity value in OpenCv. A grayscale image.</p>
  
  <p>Most online searches are about how to access BGR values of a colour image, like this one: <a href="https://stackoverflow.com/questions/8932893/accessing-certain-pixel-rgb-value-in-opencv">Accessing certain pixel RGB value in openCV</a></p>
  
  <p>image.at&lt;> is basically for 3 channels, namely the BGR, out of curiousity, is there another similar method from OpenCV of accessing a certain pixel value of a grayscale image?</p>