Effacer les filtres
Effacer les filtres

color space difference between videoinput/webcam or getsnapshot/snapshot

1 vue (au cours des 30 derniers jours)
Gerard
Gerard le 24 Avr 2020
i have been using vid = videoinput('winvideo', device_number, 'YUY2_324x240') and getsnapshot(vid); for years to get video from a monochrome 14 bit image encoded as YuY2, it gets a little processing done to the 3 arrays returned by getsnapshot in order to recover the 16 bit monochrome image.
i wanted to start using newer webcam and snapshot function, but the the arrays returned are arranged very differently so the same processing does not work, do we know the returned colorspace for snapshot and getsnapshot and is there a way to transform 1 to the other.
Thanks in advance

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by