I am trying to write a program that takes a video of someone's face, extracts the RGB values, and then uses the color change (imperceptible to the human eye) to map onto heart rate. When I use a logitech C270 HD WEBCAM recording .avi video files, my program works really well because the RGB data is very rich with little noise.
When I switch to using my macbook webcam or an iphone/ipad camera, the RGB data looses its richness and becomes more noisy (lower signal to noise ratio). Why is this? I would think apple cameras would be similar or better quality than the $40 logitech.
The biggest difference I see is that the logitech .avi files run 184410 kb/s and the mac .mov or .mp4 files are ~7000 kb/s.
I know for sure the logitech files are uncompressed. I'm pretty sure that the apple mov or mp4 files are uncompressed (I didn't do any compressing, but maybe its done automatically on the device?).
Any ideas how I can get my mac or iphone/pad to match the quality (interms of kb/s) of the logitech?