Calculating Light Intensity through video

9 ビュー (過去 30 日間)
Andrew
Andrew 2014 年 6 月 19 日
コメント済み: Image Analyst 2022 年 3 月 3 日
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
  2 件のコメント
YOGITAA YOGITAA
YOGITAA YOGITAA 2022 年 3 月 2 日
Could you please share the code?
Image Analyst
Image Analyst 2022 年 3 月 3 日
@YOGITAA YOGITAA See attached. Start a new question if you have question.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2014 年 6 月 19 日
Use the Image Acquisition Toolbox and call getsnapshot(). Then get the intensity from whatever pixels you want in the image.
  2 件のコメント
Andrew
Andrew 2014 年 6 月 19 日
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
Image Analyst
Image Analyst 2014 年 6 月 30 日
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by