Refactored the PvAPI capture class to better facilitate dynamic property changes
authoraskforeric <askforeric@gmail.com>
Tue, 13 Nov 2012 21:10:22 +0000 (16:10 -0500)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Wed, 28 Nov 2012 07:28:16 +0000 (11:28 +0400)
commit3923484341ec8366520879cea7296ffe8e87398c
treed394e3ecbed43d33188fb39c74c0b8f5247c73ca
parent4d059e9e5bc4aa4d7532a95037bb38ab3bdbef43
Refactored the PvAPI capture class to better facilitate dynamic property changes

- Added Gain control
- Changed default acquisition mode to grayscale
- Fixed a signed/unsigned compare issue
- Implemented frame resizing
- Implemented automatic buffer resizing on frame resize
- Corrected camera initialization so that it attempts to put the camera in Mono8
  but does not fail if this doesn't succeed.
modules/highgui/src/cap_pvapi.cpp