title: how to convert pixels values to display image in opencv
body: <p>I'm unable to process the pixel values (<code>unsigned int</code>) to convert into an image.
  I want the syntax which converts the pixel value into image format. <code>cvset</code> (all type of commands) is not working, I'm getting only a particular color image as if only red or only green etc. Please help me with a syntax for reconstructing the pixel values into a image.
                     I'm able to convert image to pixels but I'm unable to convert the image back from these same pixel values.</p>