title: Convert pixel color in image using openCV
body: <p>So what i'm basically trying to do is converting the pixel in image to the color i want, i'm not finding anything in openCV for java , the only way i come up with is this :</p>
  
  <pre><code>     for (int i = 0; i &lt; image.cols(); i++) {
       for (int j = 0; j &lt; image.rows(); j++) {
  
       double[] data = image.get(i, j);
       data[0] = 255;
       data[1] = 255;
       data[2] = 255;
       image.put(i, j, data);
       }
       }
       Utils.matToBitmap(image, bmp);
       return bmp;;
  </code></pre>
  
  <p>trying to imtate this <a href="https://stackoverflow.com/a/23002034/4196092">c++ code</a> in java, but its not working</p>