Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

getPixelsRef returns the depth pixels #82

Closed
danomatika opened this Issue · 1 comment

1 participant

@danomatika
Collaborator

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
Collaborator

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 issue from a commit
@danomatika danomatika getPixelsRef now returns ref to video pixels, fixes #82; added getDep…
…thPixelsRef; renamed some internal variables for readability
03cfe56
@danomatika danomatika closed this in 03cfe56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.