title: OpenCV python Bayer conversion error
body: <p>The following code:</p>
  
  <pre><code>filePath = os.path.join(root,file)
  image = cv2.imread(filePath)
  convertedImage = cv2.cvtColor(image, cv2.COLOR_BAYER_GR2RGB)
  </code></pre>
  
  <p>Produces this error:</p>
  
  <pre><code>opencv\modules\imgproc\src\color.cpp:4196: error: (-215) scn == 1 &amp;&amp; dcn == 3 in function cv::cvtColor
  </code></pre>
  
  <p>What does this error mean (other than stating the number of channels in source and destination)? How can I fix this? Is it to do with the way I load the image?</p>