1 | initial version |
Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...
WITH_V4L=ON ... WITH_LIBV4L=OFF...
in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...
So I add in those file other camera V4L2_CID control.... and re-compile...
(a good result...)
Regards Giorgio
2 | No.2 Revision |
Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...
WITH_V4L=ON ... WITH_LIBV4L=OFF...
in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...
So I add in those file other camera V4L2_CID control.... and re-compile...
(a good result...)
the modified file....link text
Regards Giorgio
3 | No.3 Revision |
Ok Ok ... I see cap_v4l.cpp and cap_libv4l.cpp inside modules/videoio foldef of opencv3.0 installation folder.... In cap_v4l.cpp there is already a support for sony camera with BA81 grab format .... so I unistall opencv3.0 clean build folder and all folder and file redirect from pkconfig and re-compile with these option...
WITH_V4L=ON ... WITH_LIBV4L=OFF...
in these way I cai grab BRG image from my camera in BA81 mode without use a c function for demosaicing, start, stop, init, buffer usage, and clear device .... only with VideoCapture call....obviusly cvtcolor function convert BRG to RGB image ...
So I add in those file other camera V4L2_CID control.... and re-compile...
(a good result...)
the modified file....link text
Regards Giorgio