Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

getPixelsRef returns the depth pixels #82

danomatika opened this Issue Nov 3, 2011 · 1 comment


None yet
1 participant

danomatika commented Nov 3, 2011

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().


danomatika commented Nov 3, 2011

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?

@danomatika danomatika closed this in 03cfe56 Nov 3, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment