title: How to convert an int[] to an OpenCV Mat? (and vice-versa)
body: <p>I am reading bufferedImages in from PNGs, and converting them to int arrays using the PixelGrabber. My question is then: how do I use the integer array to make the corresponding OpenCV Mat? Where the array is 1D, with each value representing a pixel's combined RGB value.</p>
  
  <p>I have already tried using byte arrays.</p>