Read brightness level of the video
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I have been wondering about it and tried searching for software that could basically give me the maximum brightness value of the video. The video duration is 20 seconds and I just want to know the maximum brightness value. Could this value be obtained using matlab? If so, how would it be?
0 个评论
回答(1 个)
Walter Roberson
2014-2-27
rgb2gray() gives you the brightness values of each pixel. Then you can max() that to get the maximum for the frame.
3 个评论
Walter Roberson
2014-2-27
You do each frame in turn. If you store the maximum intensity for each frame into a vector, then the maximum intensity for the video as a whole would be max() of that vector.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!