Calculating Light Intensity through video

Using a camera, how can I detect light intensity and use that as a marker. Can someone guide me to a thread that could help me develop a script for this.
Thank you

 采纳的回答

Use the Image Acquisition Toolbox and call getsnapshot(). Then get the intensity from whatever pixels you want in the image.

2 个评论

Thank you for the reply. Unfortunately, I do not have access to that toolbox. Is there any way I can achieve this from scratch? Maybe get the video stream as a matrix and calculate the intensity through that?
Thanks
With Release R2014a you can now access the webcam without the Image Acquisition Toolbox. See http://www.mathworks.com/support/2014a/matlab/8.3/demos/webcam-support.html

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Support Package for IP Cameras 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by