title: Save Different Channels of Ycbcr as seperate images | Python
body: <p>I need to apply some transformations to the individual channels of the Ycbcr color space.</p>
  
  <p>I have an tiff format image as the source and I need to convert it to ycbcr color space. I have not been able to successfully save the different channels as separate images. I have been only able to extract the luminescence channel using this code:</p>
  
  <pre><code>import numpy
  import Image as im
  image = im.open('1.tiff')
  ycbcr = image.convert('YCbCr')
  
  B = numpy.ndarray((image.size[1], image.size[0], 3), 'u1', ycbcr.tobytes())
  im.fromarray(B[:,:,0], "L").show()
  </code></pre>
  
  <p>Can someone pls help.</p>
  
  <p>Thank you </p>