title: Flipping an image to get mirror effect
body: <p>I am working on a video processing project which needs some flipping of frame. I tried using cvFlip but doesnt seem to flip along y axis (x axis working...) and results in segmentation fault. Is there any other option??</p>
  
  <pre><code>cv::Mat dst=src;      //src= source image from cam
  cv::flip(dst, dst, 1);     //segmentation fault shown
  
  imshow("flipped",dst);
  </code></pre>