title: Splitting of an RGB image to R G B using OpenCv Python
body: <p>When i am splitting my image I am not getting the frames in colors of Red,Green,Blue. The frames I got in output are three Gray color images.</p>
  
  <pre><code>import numpy as np
  import cv2
  img=cv2.imread("C:\\Users\\Pavan\\Desktop\\bird.jpg")
  #display an image
  cv2.imshow('image',img)
  b,g,r=cv2.split(img)
  cv2.imshow('b',b)
  cv2.imshow('g',g)
  cv2.imshow('r',r)
  cv2.waitKey(0)
  cv2.destroyAllWindows()
  </code></pre>