How to analyze every single pixels intensity in a video clip?
Mostra commenti meno recenti
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 Commenti
The set of all pixels in a video is the video itself. If you have read the video, there's nothing else to "get". Since we don't know what you're actually trying to do, there's really not much else to add other than to say that doing it one pixel at a time is probably not appropriate -- but then again, that's just a guess.
Hirithar
il 11 Mag 2024
Image Analyst
il 12 Mag 2024
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?
Hirithar
il 12 Mag 2024
Risposte (2)
Image Analyst
il 11 Mag 2024
1 voto
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.
Hirithar
il 17 Mag 2024
0 voti
3 Commenti
Image Analyst
il 18 Mag 2024
Since crop is a 3-D array, what is your intention here when you use only two indexes to reference it?
array_Single(row,column,end) = crop(row ,column);
array_Single(row,column,(1:end-1)) = array_Single(row,column,(2:end));
% array_Single(row,column,c) = crop(row,column);
%array_Single(1:end-1) = array_Single(2:end);
Hirithar
il 19 Mag 2024
Image Analyst
il 19 Mag 2024
I strongly suggest that you use all three indexes when referencing a 3-D array.
Categorie
Scopri di più su Matrox Hardware in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!