title: Rotating an image 90° at the origin of the coordinate system
body: <p>I want to rotate image by 90 degrees and keep the image in positive part of coordinate system. I am using code below:</p>
  
  <pre><code>val center = Point(imageHeight.toDouble()/2, imageWidth.toDouble()/2)
  val rot = Imgproc.getRotationMatrix2D(center, 90.0, 1.0)
  </code></pre>
  
  <p>But unfortunately image is rotated in way that part of it lays in negative x and y axes. It looks like it has some offset added. Is there any way to have this rotation matrix without this offset?</p>
  
  <p>Thanks!</p>