getPixelsRef() currently returns a reference to the depth pixels when it should return the reference to the video pixels, as does getPixels(). This is my fault and occurred during the latest cleanup.
In fixing this, I think a getDepthPixelsRef() should be added to complement getDepthPixels().
Also, Kyle, this was what was causing the assertion in cv::toCv as the cvtColor command was failing since it wasn't dealing with RGB or RGBA data. Is Mat strictly color?
getPixelsRef now returns ref to video pixels, fixes #82; added getDep…
…thPixelsRef; renamed some internal variables for readability