title: ValueError: operands could not be broadcast together with shapes (400,400,3) (400,400)
body: <p>I am using pyshearlab package to denoise image.The function expects an image shape of equal size.After the code is executed denoising is ok for some images
  but some images generates an error like this.
  ValueError: operands could not be broadcast together with shapes (400,400,3) (400,400).
  so i i printed the shape of the image using img.size and it gives (400,400,3)</p>
  
  <p>My question is,, is it possible to eliminate the third parameter from the image.
  someone please help me.</p>
  
  <p>I am using this for image denoising transformations.There are many toolkits available for image transformations in matlab.Is there any packages to do contourlet denoising,curvelet denoising,bandlet denoising  etc in python.</p>