How to analyze every single pixels intensity in a video clip?
조회 수: 5 (최근 30일)
이전 댓글 표시
I need help get each single pixel's intensity in a video clip (grayscale). For example, in a video clip containing 150x250 pixels and 1000 frames, I need to obtain the intensity one by one, either row-wise or column-wise.
댓글 수: 4
Image Analyst
2024년 5월 12일
If you have, say, a million pixels in your video frame, you can't do a million line plots. But you can plot the average color or brightness of one, or a few, regions over time. This is what my Answer below does. Did you even see it (scroll down) or try it? If not, why not?
답변 (2개)
Image Analyst
2024년 5월 11일
See my attached demo where I find the mean R, G, and B mean of every frame in a video and plot them. Adapt the region to what you need, like a single row or column instead of the whole frame.
댓글 수: 0
Hirithar
2024년 5월 17일
댓글 수: 3
Image Analyst
2024년 5월 19일
I strongly suggest that you use all three indexes when referencing a 3-D array.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!