bk5115545 / camera_array_multitouch_cpp

0 stars 0 forks source link

CameraDevice::decodeFrame Channels #3

Closed agjaeger closed 9 years ago

agjaeger commented 9 years ago

When called, capture.retrieve puts data into the mat and then converts it into a new frame, however when channel is greater than 0, it is possible that the extra dimensions will not fit into the frame and therefore produce bugs.

To fix we need to wait until more sophisticated cameras are implemented and then test with the correct channel numbers. Webcams should not be affected by this bug.

bk5115545 commented 9 years ago

This won't be a problem because the Frame object takes a reference to a cv::Mat and stores a copy locally. Any number of channels that is supported by cv::Mat is supported by Frame.