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

댓글 수: 2

Could you please share the code?
@YOGITAA YOGITAA See attached. Start a new question if you have question.

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2014년 6월 19일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

질문:

2014년 6월 19일

댓글:

2022년 3월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by