title: Error to create matrix with zeros in kotlin using Mat.zeros
body: <p>I'm working on developing an application using opencv. I'm uploading an image and assigning a new matrix with the same size as the original image, but in this matrix I need to fill all the rows and columns with 0. However, the function Mat.zeros is not assigning 0 in my matrix and I have the output filled with values: [D @ 13a5b9d, [D @ f3978b1, [D @ 30c17d0 ...
  Oh, and I need it to be a matrix of type Mat () because I will work with opencv. Can someone help me solve this error
  Code:</p>
  
  <pre><code>val srcOriginal = Imgcodecs.imread(currentPhotoPath)
  
  val markers = Mat.zeros(srcOriginal.rows(), srcOriginal.cols(), CvType.CV_32S)
  
  for(x in 0..markers.rows()) {
     for(y in 0..markers.cols()) {
        Log.i("teste", markers[x,y])
    }
  }
  </code></pre>
  
  <p>Output expected:</p>
  
  <pre><code>[[0 0 0 ... 0 0 0]
  [0 0 0 ... 0 0 0]
  [0 0 0 ... 0 0 0]
  ...
  [0 0 0 ... 0 0 0]
  [0 0 0 ... 0 0 0]
  [0 0 0 ... 0 0 0]]
  </code></pre>
  
  <p>output:</p>
  
  <p><a href="https://i.stack.imgur.com/17Uzm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/17Uzm.jpg" alt="enter image description here"></a></p>