Converting livestream RGB video to gray scale
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jose
am 4 Jul. 2022
Kommentiert: Image Analyst
am 5 Jul. 2022
Hello I am wondering if it is possible to convert a livestream RGB into grayscale while still remaining in live video
this is what i have so far to obtain live video however I am stuck on how to make gray scale
or how to put the live video on a plot
cam = webcam
preview(cam)
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 4 Jul. 2022
Bearbeitet: Image Analyst
am 4 Jul. 2022
vidobj = videoinput(theVideoAdaptor, cameraDeviceID, selectedCameraFormats{selectedFormatIndex});
vidobj.ReturnedColorSpace = 'grayscale';
6 Kommentare
Image Analyst
am 5 Jul. 2022
Maybe - with my Logitech demo you might have to debug it and figure out what the adapter name of your camera is and replace Logitech with your computer camera's name.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!